Skip to content

Releases: thirdweb-dev/js

@thirdweb-dev/service-utils@0.4.37

20 Jul 01:45
9a29beb
Compare
Choose a tag to compare

Patch Changes

thirdweb@5.36.0

18 Jul 19:29
26ca958
Compare
Choose a tag to compare

Minor Changes

Patch Changes

  • #3730 db2cadf Thanks @MananTank! - Update buffer calculation of transaction if gas estimation fails for Pay Modal

  • #3735 6cc3038 Thanks @joaquim-verges! - Add optional 'from' in readContract()

  • #3719 05df89c Thanks @joaquim-verges! - Add support for ERC20 paymaster for smart accounts

  • #3728 0a5af48 Thanks @MananTank! - Fix chain with custom RPC not used if the chain object is passed in the chains prop to ConnectButton, ConnectEmbed or PayEmbed components.

    This also fixes dashboard not using custom chain's RPC since it passes the chain object via chains prop

thirdweb@5.30.0

27 Jun 17:40
5dcc8c5
Compare
Choose a tag to compare

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

@thirdweb-dev/service-utils@0.4.33

27 Jun 17:40
5dcc8c5
Compare
Choose a tag to compare

Patch Changes

thirdweb@5.29.6

18 Jun 01:11
fa4db22
Compare
Choose a tag to compare

Patch Changes

@thirdweb-dev/wallets@2.5.39

18 Jun 01:11
fa4db22
Compare
Choose a tag to compare

Patch Changes

  • Updated dependencies []:
    • @thirdweb-dev/sdk@4.0.99

@thirdweb-dev/unity-js-bridge@0.6.48

18 Jun 01:11
fa4db22
Compare
Choose a tag to compare

Patch Changes

  • Updated dependencies []:
    • @thirdweb-dev/sdk@4.0.99
    • @thirdweb-dev/wallets@2.5.39
    • @thirdweb-dev/auth@4.1.97

@thirdweb-dev/sdk@4.0.99

18 Jun 01:11
fa4db22
Compare
Choose a tag to compare

Patch Changes

@thirdweb-dev/react@4.9.4

18 Jun 01:11
fa4db22
Compare
Choose a tag to compare

Patch Changes

  • Updated dependencies []:
    • @thirdweb-dev/sdk@4.0.99
    • @thirdweb-dev/react-core@4.9.4
    • @thirdweb-dev/wallets@2.5.39

@thirdweb-dev/react-core@4.9.4

18 Jun 01:11
fa4db22
Compare
Choose a tag to compare

Patch Changes

  • Updated dependencies []:
    • @thirdweb-dev/sdk@4.0.99
    • @thirdweb-dev/wallets@2.5.39
    • @thirdweb-dev/auth@4.1.97