Skip to content

Releases: thirdweb-dev/js

thirdweb@5.4.1

09 Apr 19:35
1f6ee22
Compare
Choose a tag to compare

Patch Changes

thirdweb@5.4.0

09 Apr 09:30
031eccb
Compare
Choose a tag to compare

Minor Changes

Patch Changes

  • #2731 1d4fdd6 Thanks @jnsdls! - export ChainMetadata type from thirdweb/chains

  • #2712 02583f8 Thanks @jnsdls! - fix watchBlockNumber polling when fully unsubscribing and later re-subscribing

@thirdweb-dev/wallets@2.5.0

09 Apr 09:30
031eccb
Compare
Choose a tag to compare

Minor Changes

  • #2366 f6a30c0 Thanks @ElasticBottle! - Adds Login with SMS in EmbeddedWallet.

    Note that the phoneNumber requires the + symbol along with the IsoCountry code before the actual phone number.

    For a list of supported country code, you can use the supportedSmsCountries object which contains a list of all support country information.

    Usage:

    const embeddedWalletSdk = new EmbeddedWalletConnector({
      clientId: "YOUR_THIRDWEB_CLIENT_ID",
      // ...
    });
    
    // phone number needs to have the country code as prefix
    await embeddedWalletSdk.sendVerificationSms({ phoneNumber: "+11234567890" });
    
    const authResult = await embeddedWalletSdk.authenticate({
      strategy: "phone_number_verification",
      verificationCode: "123456",
    });
    
    const walletAddress = await embeddedWalletSdk.connect({
      authResult,
    });
    const signer = await embeddedWalletSdk.getSigner();

Patch Changes

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

09 Apr 09:30
031eccb
Compare
Choose a tag to compare

Patch Changes

@thirdweb-dev/sdk@4.0.60

09 Apr 09:30
031eccb
Compare
Choose a tag to compare

Patch Changes

  • Updated dependencies [53e56f4]:
    • @thirdweb-dev/chains@0.1.91

@thirdweb-dev/react@4.5.0

09 Apr 09:30
031eccb
Compare
Choose a tag to compare

Minor Changes

  • #2366 f6a30c0 Thanks @ElasticBottle! - Add Login with SMS in EmbeddedWallet

    Note that by having phone before email in the options array, the phone login option will be presented first.

    Use ['email', 'phone'] to have the email option presented first.

    <ThirdwebProvider
        clientId={import.meta.env.VITE_TEMPLATE_CLIENT_ID}
        activeChain={activeChain}
        supportedWallets={[
        embeddedWallet({
            auth: {
            options: ["phone", "email", "apple", "google"],
            },
        }),
        ...defaultWallets,
        ]}
    >
        <App />
    </ThirdwebProvider>

Patch Changes

  • Updated dependencies [6961e09, f6a30c0, 53e56f4, 5150259]:
    • @thirdweb-dev/wallets@2.5.0
    • @thirdweb-dev/chains@0.1.91
    • @thirdweb-dev/react-core@4.5.0
    • @thirdweb-dev/sdk@4.0.60

@thirdweb-dev/react-native@0.7.31

09 Apr 09:30
031eccb
Compare
Choose a tag to compare

Patch Changes

  • Updated dependencies [6961e09, f6a30c0, 53e56f4, 5150259]:
    • @thirdweb-dev/wallets@2.5.0
    • @thirdweb-dev/chains@0.1.91
    • @thirdweb-dev/react-core@4.5.0
    • @thirdweb-dev/sdk@4.0.60

@thirdweb-dev/react-native-compat@0.7.31

09 Apr 09:30
031eccb
Compare
Choose a tag to compare
@thirdweb-dev/react-native-compat@0.7.31

@thirdweb-dev/react-core@4.5.0

09 Apr 09:30
031eccb
Compare
Choose a tag to compare

Patch Changes

  • Updated dependencies [6961e09, f6a30c0, 53e56f4, 5150259]:
    • @thirdweb-dev/wallets@2.5.0
    • @thirdweb-dev/chains@0.1.91
    • @thirdweb-dev/auth@4.1.58
    • @thirdweb-dev/sdk@4.0.60

@thirdweb-dev/cli@0.13.66

09 Apr 09:30
031eccb
Compare
Choose a tag to compare

Patch Changes

  • Updated dependencies [6961e09, f6a30c0, 53e56f4, 5150259]:
    • @thirdweb-dev/wallets@2.5.0
    • @thirdweb-dev/chains@0.1.91
    • @thirdweb-dev/auth@4.1.58
    • @thirdweb-dev/sdk@4.0.60