-
Notifications
You must be signed in to change notification settings - Fork 17
YNU-496: feat(sdk): v0.5.2 #458
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The PR removes the signer parameter from multiple read-only query message creation functions across the SDK and integration tests. These functions now return unsigned JSON request strings instead of signed payloads, while mutation operations retain signing capability.
* fix(sdk): v0.5.1 types * feat(sdk): bump version to 0.5.2
|
Caution Review failedThe pull request is closed. WalkthroughMultiple RPC message creation functions transition from signed to unsigned request payloads by removing the signer parameter and returning JSON-stringified unsigned requests. Concurrently, type definitions evolve: protocol fields change from enum to string, application fields are removed from app definition responses, and network name fields are added. Request parameter structures are simplified by removing redundant filters. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (11)
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 of ChangesHello @nksazonov, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request introduces version Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request introduces a minor version bump (0.5.1 to 0.5.2) for the SDK, primarily refactoring RPC message creation functions. Several create*Message functions (ping, get_config, get_ledger_entries, get_ledger_transactions, get_app_definition, get_app_sessions, get_channels, get_assets) in sdk/src/rpc/api.ts no longer require a signer parameter and do not perform internal message signing, which is reflected in updated JSDoc comments and corresponding integration and unit tests. The createGetLedgerBalancesMessage function was updated to accept an optional accountId instead of a required participant address. Additionally, the GetAppDefinition RPC response structure was made more explicit, removing an application field from its schema and adding protocol, participants, weights, quorum, and challenge fields. Network information (RPCNetworkInfo) now includes a name field, and two new transaction types, EscrowLock and EscrowUnlock, were added to RPCTxType.
Summary by CodeRabbit
Release Notes v0.5.2
New Features
Refactor
✏️ Tip: You can customize this high-level summary in your review settings.