-
Notifications
You must be signed in to change notification settings - Fork 495
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
Version Packages #6504
Version Packages #6504
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 📦
|
f93c5cf
to
5fd38ce
Compare
5fd38ce
to
cf21090
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6504 +/- ##
==========================================
- Coverage 54.96% 54.95% -0.01%
==========================================
Files 881 881
Lines 55148 55148
Branches 3767 3765 -2
==========================================
- Hits 30311 30306 -5
- Misses 24742 24747 +5
Partials 95 95
🚀 New features to boost your workflow:
|
cf21090
to
e509112
Compare
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
[email protected]
Minor Changes
#6464
654f879
Thanks @gregfromstl! - Adds a newBridge
module to the thirdweb SDK to access the Universal Bridge.Features
Buy & Sell Operations
The Bridge module makes it easy to buy and sell tokens across chains:
Bridge.Buy
- For specifying the destination amount you want to receiveBridge.Sell
- For specifying the origin amount you want to sendEach operation provides two functions:
quote
- Get an estimate without connecting a walletprepare
- Get a finalized quote with transaction dataBuy Example
Sell Example
Bridge Routes
You can discover available bridge routes using the
routes
function:Bridge Transaction Status
After executing bridge transactions, you can check their status:
Error Handling
The Bridge module provides consistent error handling with descriptive error messages:
Types
The Bridge module exports the following TypeScript types:
Route
- Describes a bridge route between chains and tokensStatus
- Represents the status of a bridge transactionQuote
- Contains quote information for a bridge transactionPreparedQuote
- Extends Quote with transaction dataIntegration
The Bridge module is accessible as a top-level export:
Use
Bridge.Buy
,Bridge.Sell
,Bridge.routes
, andBridge.status
to access the corresponding functionality.Patch Changes
#6503
47f8cd6
Thanks @joaquim-verges! - UI cleanup for multistep swaps in PayEmbed#6506
d854021
Thanks @joaquim-verges! - Pass along chainId to internal 1193 provider when connecting#6505
7890145
Thanks @joaquim-verges! - Fix requireApproval option not enforced for wallet connection@thirdweb-dev/[email protected]
PR-Codex overview
This PR primarily updates the versions of the
@thirdweb-dev/wagmi-adapter
andthirdweb
packages, introduces a newBridge
module for token operations, and enhances the changelog documentation with examples and error handling.Detailed summary
@thirdweb-dev/wagmi-adapter
version from0.2.34
to0.2.35
.thirdweb
version from5.92.3
to5.93.0
.Bridge
module for cross-chain token operations.Bridge.Buy
andBridge.Sell
functionalities with examples.