Upgrade native bindings to v1.3.0 and add setLogLevel export#63
Upgrade native bindings to v1.3.0 and add setLogLevel export#63
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (7)
📝 WalkthroughWalkthroughVersion bump to 1.3.0 across platform-specific packages with native binding version enforcement update, type definition reordering in the TypeScript declarations, and addition of a new Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
This PR updates the hypersync-client native bindings from v1.2.0 to v1.3.0 across all supported platforms and adds a new
setLogLevelfunction export to the public API.Key Changes
index.jsversion checks for all 26 supported platform/architecture combinationssetLogLevelfunction export inindex.jsto expose the underlying Rust logger configurationsetLogLevel(level: string)function with documentation explaining its usage and constraintsHypersyncClientclass methods in type definitions to group streaming methods together (streamHeightandstreammoved beforegetWithRateLimit)index.d.tsto placeQueryResponseWithRateLimitandRateLimitInfoafterQueryResponseDatafor better logical groupingImplementation Details
setLogLevelfunction accepts log level strings like "info", "warn", "debug", "trace", "error" or full filter directives like "hypersync_client=debug"HypersyncClientinstanceshttps://claude.ai/code/session_012S4bi3pn9iQ8aT9iMv4s5i
Summary by CodeRabbit
Release Notes v1.3.0
New Features
setLogLevel(level: string)function to configure logging before initializing the client.Chores