-
Notifications
You must be signed in to change notification settings - Fork 514
[SDK] Feature: Adds action field to Bridge transactions #6613
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: Adds action field to Bridge transactions #6613
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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 📦
|
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com> Signed-off-by: greg <gregfromstl@gmail.com>
🦋 Changeset detectedLatest commit: 1d3136b 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 |
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com> Signed-off-by: greg <gregfromstl@gmail.com>
…ttps://github.com/thirdweb-dev/js into greg/tool-3900-add-transaction-actions-to-the-sdk
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6613 +/- ##
=======================================
Coverage 54.92% 54.93%
=======================================
Files 885 885
Lines 55577 55584 +7
Branches 3795 3796 +1
=======================================
+ Hits 30526 30533 +7
Misses 24956 24956
Partials 95 95
🚀 New features to boost your workflow:
|
@@ -35,4 +36,16 @@ describe.runIf(process.env.TW_SECRET_KEY)("Bridge.status", () => { | |||
} | |||
`); | |||
}); | |||
|
|||
it("should handle successfull status with chain", async () => { |
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.
There's a typo in the test description - "successfull" should be "successful".
it("should handle successfull status with chain", async () => { | |
it("should handle successful status with chain", async () => { |
Spotted by Diamond
Is this helpful? React 👍 or 👎 to let us know.
PR-Codex overview
This PR focuses on enhancing the
Bridge
functionality by addingaction
fields to transaction responses and improving the handling of bridge statuses, including new tests and type definitions.Detailed summary
action
field to transaction types inQuote.ts
.status
function inStatus.ts
to handle optionalchainId
.Status.test.ts
.id
,client
, andchain
inBuy.ts
andSell.ts
.