-
Notifications
You must be signed in to change notification settings - Fork 524
[SDK] Feature: Update sdk bridge functions with new schema #6830
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
[SDK] Feature: Update sdk bridge functions with new schema #6830
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
🦋 Changeset detectedLatest commit: e526f75 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. |
size-limit report 📦
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6830 +/- ##
==========================================
+ Coverage 55.18% 55.20% +0.01%
==========================================
Files 896 896
Lines 56953 56986 +33
Branches 3946 3950 +4
==========================================
+ Hits 31429 31458 +29
- Misses 25428 25432 +4
Partials 96 96
🚀 New features to boost your workflow:
|
Merge activity
|
<!-- ## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes" If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000): ## Notes for the reviewer Anything important to call out? Be sure to also clarify these in your comments. ## How to test Unit tests, playground, etc. --> <!-- start pr-codex --> --- ## PR-Codex overview This PR enhances the SDK Bridge functionality by standardizing parameter naming, introducing a `purchaseData` field, and improving quote structures with a `steps` array. It also updates API interactions to use JSON bodies for complex data. ### Detailed summary - Standardized parameter naming: `buyAmountWei` and `sellAmountWei` changed to `amount`. - Added optional `purchaseData` parameter to Buy and Sell functions. - Introduced `steps` array in quotes for detailed transaction information. - Enhanced status responses to include `purchaseData`. - Updated API interactions to use JSON body instead of query parameters for prepare functions. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
9fde346
to
e526f75
Compare
PR-Codex overview
This PR enhances the SDK Bridge functionality by standardizing parameter naming, adding detailed quote structures, and supporting
purchaseData
. It improves the API interactions and status responses to include more comprehensive information for buy/sell operations.Detailed summary
buyAmountWei
andsellAmountWei
changed toamount
.purchaseData
parameter for Buy and Sell functions.steps
array to quote responses for detailed transaction information.purchaseData
.