Releases: thirdweb-dev/js
thirdweb@5.97.2
Patch Changes
-
#6969
4e42158
Thanks @joaquim-verges! - Handle hedera native currency decimal values for smart wallet calls -
#6967
5a069fe
Thanks @joaquim-verges! - Always connect to destination chain if available in PayEmbed
thirdweb@5.97.1
Patch Changes
- #6963
760b250
Thanks @joaquim-verges! - Fix metamask deeplink parsing
@thirdweb-dev/wagmi-adapter@0.2.72
@thirdweb-dev/wagmi-adapter@0.2.72
@thirdweb-dev/wagmi-adapter@0.2.71
@thirdweb-dev/wagmi-adapter@0.2.71
@thirdweb-dev/wagmi-adapter@0.2.70
@thirdweb-dev/wagmi-adapter@0.2.70
@thirdweb-dev/vault-sdk@0.0.2
Patch Changes
- #6639
c81fed3
Thanks @MananTank! - Introducing vault sdk
@thirdweb-dev/service-utils@0.9.7
Patch Changes
- #6960
928113b
Thanks @arcoraven! - chore: Support Engine Core and Webhook usage events
@thirdweb-dev/engine@3.0.0
@thirdweb-dev/insight
1.0.0
Major Changes
-
#6706
185d2f3
Thanks @joaquim-verges! - Initial release of dedicated insight TS sdkThis package is a thin openAPI wrapper for insight, our in-house indexer.
Configuration
import { configure } from "@thirdweb-dev/insight"; // call this once at the startup of your application configure({ clientId: "<YOUR_CLIENT_ID>", });
Example Usage
import { getV1Events } from "@thirdweb-dev/insight"; const events = await getV1Events({ query: { chain: [1, 137], filter_address: "0x1234567890123456789012345678901234567890", }, });
thirdweb@5.97.0
Minor Changes
-
#6956
08cff4b
Thanks @gregfromstl! - feat(bridge): Add chains endpoint to retrieve Universal Bridge supported chainsimport { Bridge } from "thirdweb"; const chains = await Bridge.chains({ client: thirdwebClient, });
Returned chains include chain information such as chainId, name, icon, and nativeCurrency details.
Patch Changes
-
#6953
736c3f8
Thanks @gregfromstl! - Adds themaxSteps
option to Buy.quote, Buy.prepare, Sell.quote, and Sell.prepare functions. This allows users to limit quotes to routes with a specific number of steps or fewer. For example:const quote = await bridge.Buy.quote({ originChainId: 1, originTokenAddress: "0x...", destinationChainId: 137, destinationTokenAddress: "0x...", amount: 1000000n, maxSteps: 2, }); const preparedQuote = await bridge.Buy.prepare({ originChainId: 1, originTokenAddress: "0x...", destinationChainId: 137, destinationTokenAddress: "0x...", amount: 1000000n, sender: "0x...", receiver: "0x...", maxSteps: 2, }); const quote = await bridge.Sell.quote({ originChainId: 1, originTokenAddress: "0x...", destinationChainId: 137, destinationTokenAddress: "0x...", amount: 1000000n, maxSteps: 3, }); const preparedQuote = await bridge.Sell.prepare({ originChainId: 1, originTokenAddress: "0x...", destinationChainId: 137, destinationTokenAddress: "0x...", amount: 1000000n, sender: "0x...", receiver: "0x...", maxSteps: 3, });
-
#6952
055e451
Thanks @gregfromstl! - +Deprecate legacy Pay functions -
#6955
6dd2b09
Thanks @gregfromstl! - Added thesortBy
option to Bridge.routesimport { Bridge } from "thirdweb"; const routes = await Bridge.routes({ originChainId: 1, originTokenAddress: "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE", limit: 10, offset: 0, sortBy: "popularity", client: thirdwebClient, });
-
#6900
e9d0b6e
Thanks @MananTank! - Only attempt autoconnect once
@thirdweb-dev/wagmi-adapter@0.2.69
@thirdweb-dev/wagmi-adapter@0.2.69