Skip to content

thirdweb@5.30.0

Compare
Choose a tag to compare
@jnsdls jnsdls released this 27 Jun 17:40
· 3327 commits to main since this release
5dcc8c5

Minor Changes

  • #3451 2244631 Thanks @gregfromstl! - Adds getTransactionStore to retrieve a transaction store for a given address

  • #3381 6429acc Thanks @gregfromstl! - Adds support for Dawn wallet

  • #3270 b24e9b2 Thanks @gregfromstl! - Adds ecosystemWallet to TS SDK

    Usage

    import { ecosystemWallet } from "thirdweb/wallets";
    
    const wallet = ecosystemWallet("ecosystem.hooli", {
      partnerId: "pied-piper",
    });
  • #3428 fab5cd4 Thanks @jnsdls! - Adds watchAsset support in injected wallet accounts

  • #3428 fab5cd4 Thanks @jnsdls! - - Add purchaseData parameter in getBuyWithFiatQuote and getBuyWithCryptoQuote functions and UI components to store Extra details for the purchase which can be retrieved later via the status API or Webhook

    • Add a required fromAddress parameter in getBuyWithFiatQuote
  • #3429 a3a4008 Thanks @gregfromstl! - Adds WalletConnect disconnect screen

  • #3428 fab5cd4 Thanks @jnsdls! - Added onDisconnect option in useWalletDetailsModal's open method to add a callback when the user disconnects the wallet by clicking the disconnect button in the wallet details modal.

    import { useWalletDetailsModal } from "thirdweb/react";
    
    function Example() {
      const detailsModal = useWalletDetailsModal();
    
      return (
        <button
          onClick={() => {
            detailsModal.open({
              client,
              onDisconnect: ({ wallet, account }) => {
                console.log("disconnected", wallet, account);
              },
            });
          }}
        >
          Show wallet details
        </button>
      );
    }

    onDisconnect prop of ConnectButton now gets called with the disconnected wallet and account as arguments

    <ConnectButton
      onDisconnect={({ wallet, account }) => {
        console.log("disconnected", wallet, account);
      }}
    />
  • #3270 b24e9b2 Thanks @gregfromstl! - Adds ecosystem wallet UI

Patch Changes