-
Notifications
You must be signed in to change notification settings - Fork 570
Chore: Update UB jsdocs to include types #7629
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 latest updates on your projects. Learn more about Vercel for Git ↗︎
|
WalkthroughThe changes introduce comprehensive JSDoc comments and TypeScript namespaces for various bridge-related modules, documenting input and output types for key functions such as Changes
Sequence Diagram(s)sequenceDiagram
participant Caller
participant BridgeModule
Caller->>BridgeModule: call quote(options)
BridgeModule-->>Caller: return Result (with intent and quote details)
Caller->>BridgeModule: call prepare(options)
BridgeModule-->>Caller: return Result (with intent and prepared quote)
sequenceDiagram
participant Caller
participant OnrampModule
Caller->>OnrampModule: call prepare(options)
OnrampModule-->>Caller: return Result (onramp link, quote, routing steps)
sequenceDiagram
participant Caller
participant RoutesModule
Caller->>RoutesModule: call routes(options)
RoutesModule-->>Caller: return Result (array of Route objects)
sequenceDiagram
participant Caller
participant StatusModule
Caller->>StatusModule: call status(options)
StatusModule-->>Caller: return Result (transaction status and details)
sequenceDiagram
participant Caller
participant ChainsModule
Caller->>ChainsModule: call chains(options)
ChainsModule-->>Caller: return Result (array of supported chains)
sequenceDiagram
participant Caller
participant TransferModule
Caller->>TransferModule: call prepare(options)
TransferModule-->>Caller: return Result (prepared quote and intent)
Warning Review ran into problems🔥 ProblemsErrors were encountered while retrieving linked issues. Errors (1)
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (8)
✅ Files skipped from review due to trivial changes (1)
🚧 Files skipped from review as they are similar to previous changes (7)
✨ 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. |
4de168f
to
bb2c722
Compare
size-limit report 📦
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7629 +/- ##
==========================================
- Coverage 56.42% 56.42% -0.01%
==========================================
Files 906 906
Lines 58126 58126
Branches 4224 4222 -2
==========================================
- Hits 32796 32795 -1
- Misses 25222 25223 +1
Partials 108 108
🚀 New features to boost your workflow:
|
PR-Codex overview
This PR focuses on enhancing the
thirdweb
bridge functionality by adding detailed TypeScript definitions and documentation for various namespaces related to chains, status, transfer, routes, onramp, sell, and buy operations.Detailed summary
AuthMethodsTabs.tsx
to changeflex-shrink-0
toshrink-0
.chains
,status
,prepare
(transfer, onramp, sell, buy), androutes
.Summary by CodeRabbit