Skip to content
Compare
Choose a tag to compare
@jnsdls jnsdls released this 15 Aug 05:27
· 1086 commits to main since this release
f2c1278

Minor Changes

  • #4045 3c32b99 Thanks @gregfromstl! - Update SIWE interface

    import { inAppWallet, createWallet } from "thirdweb/wallets";
    import { mainnet } from "thirdweb/chains";
    
    const rabby = createWallet("io.rabby");
    const wallet = inAppWallet();
    
    const account = await wallet.connect({
      client: MY_CLIENT,
      strategy: "wallet",
      wallet: rabby,
      chain: mainnet,
    });
  • #4077 ef9c7df Thanks @joaquim-verges! - Passkey login support in React Native

Patch Changes

  • #4033 141fd53 Thanks @kien-ngo! - Add more Split contract extensions

  • #3998 db8695d Thanks @kien-ngo! - Add NFT extension: updateTokenURI

  • #4101 03a809a Thanks @MananTank! - Add onPurchaseSuccess callback to PayEmbed, ConnectButton, TransactionButton and useSendTransaction and gets called when user completes the purchase using thirdweb pay.

    <PayEmbed
      client={client}
      payOptions={{
        onPurchaseSuccess(info) {
          console.log("purchase success", info);
        },
      }}
    />
    <ConnectButton
      client={client}
      detailsModal={{
        payOptions: {
          onPurchaseSuccess(info) {
            console.log("purchase success", info);
          },
        },
      }}
    />
    <TransactionButton
      transaction={...}
      payModal={{
        onPurchaseSuccess(info) {
          console.log("purchase success", info);
        },
      }}
    >
      Some Transaction
    </TransactionButton>
    const sendTransaction = useSendTransaction({
      payModal: {
        onPurchaseSuccess(info) {
          console.log("purchase success", info);
        },
      },
    });
  • #4047 7a68e3b Thanks @gregfromstl! - Switch to the proper chain prior to signing SIWE payloads

  • #4092 0ca1a79 Thanks @gregfromstl! - UI cosmetic improvements

  • #4091 b9ed753 Thanks @MananTank! - Fix connection with Safe using WalletConnect link

  • #4070 e5a046e Thanks @kien-ngo! - Add contract util method: getCompilerMetadata()