Releases: thirdweb-dev/js
Releases · thirdweb-dev/js
@thirdweb-dev/service-utils@0.9.14
Patch Changes
- #7382
4c29886
Thanks @arcoraven! - chore: add dedicatedSupportChannel to TeamResponse
@thirdweb-dev/nebula@0.1.0
thirdweb@5.103.1
Patch Changes
-
#7360
78b9c8e
Thanks @gregfromstl! - Fix setting explicit amount on TransactionWidget -
#7358
55baa99
Thanks @gregfromstl! - Fix etherlink transfers when too little funds
@thirdweb-dev/wagmi-adapter@0.2.94
@thirdweb-dev/wagmi-adapter@0.2.94
thirdweb@5.103.0
Minor Changes
-
#7354
ed81006
Thanks @gregfromstl! - Adds new components BuyWidget, CheckoutWidget, and TransactionWidgetBuyWidget
A component that allows users to purchase tokens or NFTs directly within your application.
Example:
import { BuyWidget } from "thirdweb/react"; function App() { return ( <BuyWidget client={client} chain={chain} tokenAddress="0x..." // Token or NFT contract address recipient="0x..." // Optional: recipient address theme="light" // Optional: "light" or "dark" /> ); }
CheckoutWidget
A comprehensive checkout experience for purchasing digital assets with multiple payment options.
Example:
import { CheckoutWidget } from "thirdweb/react"; function App() { return ( <CheckoutWidget client={client} chain={chain} items={[ { tokenAddress: "0x...", tokenId: "1", // For NFTs quantity: "1", }, ]} onSuccess={(result) => console.log("Purchase successful:", result)} theme="dark" // Optional: "light" or "dark" /> ); }
TransactionWidget
A widget for executing arbitrary blockchain transactions with a user-friendly interface.
Example:
import { TransactionWidget } from "thirdweb/react"; import { prepareContractCall } from "thirdweb"; function App() { const transaction = prepareContractCall({ contract: myContract, method: "transfer", params: [recipientAddress, amount], }); return ( <TransactionWidget client={client} transaction={transaction} onSuccess={(result) => console.log("Transaction successful:", result)} onError={(error) => console.error("Transaction failed:", error)} theme="light" // Optional: "light" or "dark" /> ); }
Patch Changes
-
#7315
99d6b3b
Thanks @MananTank! - - Add support for blob urls inMediaRenderer
component- Fix
className
prop not set in loading state ofMediaRenderer
component
- Fix
-
#7332
913ea98
Thanks @MananTank! - FixNFTMetadata
type
@thirdweb-dev/wagmi-adapter@0.2.93
@thirdweb-dev/wagmi-adapter@0.2.93
@thirdweb-dev/service-utils@0.9.13
Patch Changes
- #7303
6378f37
Thanks @arcoraven! - chore: pass allowImpersonation to auth server
thirdweb@5.102.6
Patch Changes
- #7296
69bf925
Thanks @gregfromstl! - Allow forcing onramp chain in buyWithFiat options
@thirdweb-dev/wagmi-adapter@0.2.92
@thirdweb-dev/wagmi-adapter@0.2.92
thirdweb@5.102.5
Patch Changes
- #7282
e3e3142
Thanks @catalyst17! - fix implementation resolution for Beacon