Releases: thirdweb-dev/js
Releases · thirdweb-dev/js
@thirdweb-dev/nebula@0.2.98
thirdweb@5.115.0
Minor Changes
- #8484
9e43da4Thanks @joaquim-verges! - Support erc5792 batch transactions for swaps, add slippage option to Bridge API
Patch Changes
-
#8469
98d8f29Thanks @joaquim-verges! - Allow passing NATIVE_TOKEN_ADDRESS to getWalletBalance() -
#8486
3ebca18Thanks @joaquim-verges! - Fix getWalletBalance with native token address -
#8485
4c5696eThanks @joaquim-verges! - Add caching and timeout for fetching capabilities
@thirdweb-dev/wagmi-adapter@0.2.194
@thirdweb-dev/wagmi-adapter@0.2.194
@thirdweb-dev/nebula@0.2.97
thirdweb@5.114.1
Patch Changes
-
#8465
629efc1Thanks @joaquim-verges! - Add customization options for the signIn modal shown from useFetchWithPayment -
#8465
629efc1Thanks @joaquim-verges! - Add monad chain definition
thirdweb@5.114.0
Minor Changes
-
#8457
35aaf24Thanks @joaquim-verges! - Add "upto" payment scheme option for x402 verify and settleconst paymentArgs = { resourceUrl: "https://api.example.com/premium-content", method: "GET", paymentData, payTo: "0x1234567890123456789012345678901234567890", network: arbitrum, scheme: "upto", // enables dynamic pricing price: "$0.10", // max payable amount facilitator: thirdwebFacilitator, }; // First verify the payment is valid for the max amount const verifyResult = await verifyPayment(paymentArgs); if (verifyResult.status !== 200) { return Response.json(verifyResult.responseBody, { status: verifyResult.status, headers: verifyResult.responseHeaders, }); } // Do the expensive work that requires payment const { tokensUsed } = await doExpensiveWork(); const pricePerTokenUsed = 0.00001; // Now settle the payment based on actual usage const settleResult = await settlePayment({ ...paymentArgs, price: tokensUsed * pricePerTokenUsed, // adjust final price based on usage });
@thirdweb-dev/wagmi-adapter@0.2.193
@thirdweb-dev/wagmi-adapter@0.2.193
@thirdweb-dev/wagmi-adapter@0.2.192
@thirdweb-dev/wagmi-adapter@0.2.192
@thirdweb-dev/nebula@0.2.96
@thirdweb-dev/nebula@0.2.95
Patch Changes
- Updated dependencies [
35aaf24]:- thirdweb@5.114.0