-
Notifications
You must be signed in to change notification settings - Fork 567
[SDK] Feature: Adds optional transactionId
parameter to Bridge.status
#7681
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 optional transactionId
parameter to Bridge.status
#7681
Conversation
🦋 Changeset detectedLatest commit: a15ef48 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 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 |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
WalkthroughAn optional parameter, Changes
Sequence Diagram(s)sequenceDiagram
participant Caller
participant BridgeStatus
Caller->>BridgeStatus: status(options: {transactionHash, chainId/chain, [transactionId], client})
alt transactionId provided
BridgeStatus->>BridgeStatus: Append transactionId to status request URL
else transactionId not provided
BridgeStatus->>BridgeStatus: Send status request without transactionId
end
BridgeStatus-->>Caller: Return status result
Estimated code review effort2 (~12 minutes) Warning Review ran into problems🔥 ProblemsErrors were encountered while retrieving linked issues. Errors (1)
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
📓 Path-based instructions (2)**/*.{ts,tsx}📄 CodeRabbit Inference Engine (CLAUDE.md)
Files:
**/*.{ts,tsx,js,jsx}📄 CodeRabbit Inference Engine (CLAUDE.md)
Files:
🧠 Learnings (2).changeset/four-trams-fetch.md (1)Learnt from: CR packages/thirdweb/src/bridge/Status.ts (3)Learnt from: MananTank Learnt from: MananTank Learnt from: MananTank 🧰 Additional context used📓 Path-based instructions (2)**/*.{ts,tsx}📄 CodeRabbit Inference Engine (CLAUDE.md)
Files:
**/*.{ts,tsx,js,jsx}📄 CodeRabbit Inference Engine (CLAUDE.md)
Files:
🧠 Learnings (2).changeset/four-trams-fetch.md (1)Learnt from: CR packages/thirdweb/src/bridge/Status.ts (3)Learnt from: MananTank Learnt from: MananTank Learnt from: MananTank ⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (8)
🔇 Additional comments (5)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
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. |
b4b0d4e
to
a15ef48
Compare
size-limit report 📦
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #7681 +/- ##
==========================================
- Coverage 56.39% 56.38% -0.01%
==========================================
Files 908 908
Lines 58244 58247 +3
Branches 4227 4224 -3
==========================================
Hits 32844 32844
- Misses 25290 25293 +3
Partials 110 110
🚀 New features to boost your workflow:
|
PR-Codex overview
This PR introduces an optional
transactionId
parameter to thestatus
function in theBridge
module of thethirdweb
package, enhancing the ability to retrieve bridge status by allowing users to specify the transaction ID received from theprepare
request.Detailed summary
transactionId
parameter to thestatus
function inpackages/thirdweb/src/bridge/Status.ts
.transactionId
in the parameter descriptions.status
function to appendtransactionId
to the request URL if provided.status.Options
andstatus.Result
types to includetransactionId
as an optional field.Summary by CodeRabbit