Skip to content

thirdweb@5.88.6

Compare
Choose a tag to compare
@joaquim-verges joaquim-verges released this 18 Feb 06:05
· 1119 commits to main since this release
b98c228

Patch Changes

  • #6274 b182302 Thanks @kumaryash90! - bytes32 salt for deterministic deployment

  • #6283 5a08176 Thanks @joaquim-verges! - Respect supportedTokens override in PayEmbed

  • #6281 a0f3557 Thanks @joaquim-verges! - Fix text wrapping for long balances in token selector

  • #6282 45ca033 Thanks @joaquim-verges! - Deprecated viemAdapter.walletClient in favor of viemAdapter.wallet to take wallet instances instead of accounts

    BEFORE:

    import { viemAdapter } from "thirdweb/adapters/viem";
    
    const walletClient = viemAdapter.walletClient.toViem({
      account, // Account
      chain,
      client,
    });

    AFTER:

    import { viemAdapter } from "thirdweb/adapters/viem";
    
    const walletClient = viemAdapter.wallet.toViem({
      wallet, // now pass a connected Wallet instance instead of an account
      chain,
      client,
    });

    This allows for full wallet lifecycle management with the viem adapter, including switching chains, adding chains, events and more.