Releases: thirdweb-dev/js
thirdweb@5.102.0
Minor Changes
-
#7190
861e623
Thanks @joaquim-verges! - Enhanced Engine functionality with server wallet management, search transactions and batch transaction support:-
Added
Engine.createServerWallet()
to create a new server wallet with a custom labelimport { Engine } from "thirdweb"; const serverWallet = await Engine.createServerWallet({ client, label: "My Server Wallet", }); console.log(serverWallet.address); console.log(serverWallet.smartAccountAddress);
-
Added
Engine.getServerWallets()
to list all existing server walletsimport { Engine } from "thirdweb"; const serverWallets = await Engine.getServerWallets({ client, }); console.log(serverWallets);
-
Added
Engine.searchTransactions()
to search for transactions by various filters (id, chainId, from address, etc.)// Search by transaction IDs const transactions = await Engine.searchTransactions({ client, filters: [ { field: "id", values: ["1", "2", "3"], }, ], }); // Search by chain ID and sender address const transactions = await Engine.searchTransactions({ client, filters: [ { filters: [ { field: "from", values: ["0x1234567890123456789012345678901234567890"], }, { field: "chainId", values: ["8453"], }, ], operation: "AND", }, ], pageSize: 100, page: 0, });
-
Added
serverWallet.enqueueBatchTransaction()
to enqueue multiple transactions in a single batch// Prepare multiple transactions const transaction1 = claimTo({ contract, to: firstRecipient, quantity: 1n, }); const transaction2 = claimTo({ contract, to: secondRecipient, quantity: 1n, }); // Enqueue as a batch const { transactionId } = await serverWallet.enqueueBatchTransaction({ transactions: [transaction1, transaction2], }); // Wait for batch completion const { transactionHash } = await Engine.waitForTransactionHash({ client, transactionId, });
-
Improved server wallet transaction handling with better error reporting
-
Patch Changes
- Updated dependencies [
861e623
]:- @thirdweb-dev/engine@3.0.3
thirdweb@5.101.2
Patch Changes
-
#7185
41e59a9
Thanks @gregfromstl! - Addscountry
to onramp parameters -
#7157
52d451f
Thanks @RobbyUitbeijerse! - default the spinner stroke color to currentColor and make the color prop optional -
#7158
ec7bc2b
Thanks @joaquim-verges! - Handle large NFT colletions when updating metadata -
#7183
655df03
Thanks @joaquim-verges! - Add ahiddenWallets
prop toConnectEmbed
,ConnectButton
, anduseConnectModal
to hide specific wallets from the connect list. -
#7191
44a7460
Thanks @gregfromstl! - Remove unnecessary Switch Network button in PayEmbed -
#7202
3d3c6f3
Thanks @gregfromstl! - Fixes a bug with purchaseData not being included on PayEmbed transfers -
Updated dependencies [
ec7bc2b
,ec7bc2b
]:- @thirdweb-dev/engine@3.0.2
- @thirdweb-dev/insight@1.0.1
@thirdweb-dev/wagmi-adapter@0.2.86
@thirdweb-dev/wagmi-adapter@0.2.86
@thirdweb-dev/wagmi-adapter@0.2.85
@thirdweb-dev/wagmi-adapter@0.2.85
@thirdweb-dev/insight@1.0.1
Patch Changes
- #7158
ec7bc2b
Thanks @joaquim-verges! - client id optional
@thirdweb-dev/engine@3.0.3
Patch Changes
- #7190
861e623
Thanks @joaquim-verges! - Updated to latest API
@thirdweb-dev/engine@3.0.2
Patch Changes
- #7158
ec7bc2b
Thanks @joaquim-verges! - client id optional
thirdweb@5.101.1
Patch Changes
-
#7151
5277edd
Thanks @gregfromstl! - Fix Webhook schema type -
#7147
3489ece
Thanks @joaquim-verges! - Better Quote errors
@thirdweb-dev/wagmi-adapter@0.2.84
@thirdweb-dev/wagmi-adapter@0.2.84
thirdweb@5.101.0
Minor Changes
-
#7103
f3abea3
Thanks @jnsdls! - Added webhook verification functionality to securely verify incoming webhooks from thirdweb. This includes:- New
Webhook.parse
function to verify webhook signatures and timestamps - Support for both
x-payload-signature
andx-pay-signature
header formats - Timestamp verification with configurable tolerance
- Version 2 webhook payload type support
Example usage:
import { Webhook } from "thirdweb/bridge"; const webhook = await Webhook.parse( payload, headers, secret, 300, // optional tolerance in seconds );
- New