@thirdweb-dev/react 4.4.20 → 4.4.21-beta-dd7e87422cda1fa7ee8522b37d8505b2f11c5919-20240318164030

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/dist/{Tooltip-f1f794ec.esm.js → Tooltip-3999d8ef.esm.js} +1 -1
  2. package/dist/{Tooltip-11f884cd.cjs.dev.js → Tooltip-8ab7081d.cjs.dev.js} +1 -1
  3. package/dist/{Tooltip-4592ae25.browser.esm.js → Tooltip-b08a464d.browser.esm.js} +1 -1
  4. package/dist/{Tooltip-3c4516f1.cjs.prod.js → Tooltip-fc5f1d06.cjs.prod.js} +1 -1
  5. package/dist/declarations/src/evm/providers/thirdweb-provider.d.ts +1 -1
  6. package/dist/declarations/src/wallet/ConnectWallet/ConnectWallet.d.ts +2 -2
  7. package/dist/declarations/src/wallet/wallets/localWallet/types.d.ts +1 -1
  8. package/dist/{formElements-c9f9b97c.cjs.prod.js → formElements-8ef06f1e.cjs.prod.js} +4 -4
  9. package/dist/{formElements-556d0493.browser.esm.js → formElements-c39105f7.browser.esm.js} +4 -4
  10. package/dist/{formElements-370759d5.esm.js → formElements-d22c07cb.esm.js} +4 -4
  11. package/dist/{formElements-53d5ad03.cjs.dev.js → formElements-dc85850a.cjs.dev.js} +4 -4
  12. package/dist/{frameWallet-14827aea.browser.esm.js → frameWallet-10d6bd36.esm.js} +2 -2
  13. package/dist/{frameWallet-a4ddfc38.esm.js → frameWallet-49acd215.browser.esm.js} +2 -2
  14. package/dist/{frameWallet-c27459d2.cjs.prod.js → frameWallet-9d36b7da.cjs.prod.js} +2 -2
  15. package/dist/{frameWallet-476d02e4.cjs.dev.js → frameWallet-c8547b92.cjs.dev.js} +2 -2
  16. package/dist/{magicLink-def6e85f.cjs.prod.js → magicLink-2222dc44.cjs.prod.js} +2 -2
  17. package/dist/{magicLink-fc223d8c.browser.esm.js → magicLink-a638d4f0.browser.esm.js} +2 -2
  18. package/dist/{magicLink-41104d8b.cjs.dev.js → magicLink-ab8e0ba0.cjs.dev.js} +2 -2
  19. package/dist/{magicLink-cea2fa50.esm.js → magicLink-c7ea6a91.esm.js} +2 -2
  20. package/dist/{oneKeyWallet-2ef53d11.browser.esm.js → oneKeyWallet-081c183d.browser.esm.js} +25 -25
  21. package/dist/{oneKeyWallet-5a19393f.esm.js → oneKeyWallet-bdb14b15.esm.js} +25 -25
  22. package/dist/{oneKeyWallet-d854903f.cjs.dev.js → oneKeyWallet-d314cc01.cjs.dev.js} +25 -25
  23. package/dist/{oneKeyWallet-50e37165.cjs.prod.js → oneKeyWallet-e5fa5b72.cjs.prod.js} +25 -25
  24. package/dist/{paperWallet-b2768416.cjs.prod.js → paperWallet-0df15743.cjs.prod.js} +4 -4
  25. package/dist/{paperWallet-21130822.cjs.dev.js → paperWallet-67ead2fb.cjs.dev.js} +4 -4
  26. package/dist/{paperWallet-22a56503.browser.esm.js → paperWallet-8f6876f1.browser.esm.js} +4 -4
  27. package/dist/{paperWallet-c8d8c69f.esm.js → paperWallet-c9d586f4.esm.js} +4 -4
  28. package/dist/{safeChainSlug-d64d6e2a.cjs.prod.js → safeChainSlug-2a1c3478.cjs.prod.js} +1 -1
  29. package/dist/{safeChainSlug-bca88c60.browser.esm.js → safeChainSlug-71a6ee7c.browser.esm.js} +1 -1
  30. package/dist/{safeChainSlug-afcee04e.esm.js → safeChainSlug-b1ace34b.esm.js} +1 -1
  31. package/dist/{safeChainSlug-78ad50c2.cjs.dev.js → safeChainSlug-b75cc300.cjs.dev.js} +1 -1
  32. package/dist/{safeWallet-06a6216a.cjs.prod.js → safeWallet-3fed2391.cjs.prod.js} +2 -2
  33. package/dist/{safeWallet-36fb6be6.esm.js → safeWallet-45640d13.esm.js} +2 -2
  34. package/dist/{safeWallet-82fb9f15.cjs.dev.js → safeWallet-721a60f5.cjs.dev.js} +2 -2
  35. package/dist/{safeWallet-959085a5.browser.esm.js → safeWallet-d7626c36.browser.esm.js} +2 -2
  36. package/dist/thirdweb-dev-react.browser.esm.js +18 -18
  37. package/dist/thirdweb-dev-react.cjs.dev.js +15 -15
  38. package/dist/thirdweb-dev-react.cjs.prod.js +15 -15
  39. package/dist/thirdweb-dev-react.esm.js +18 -18
  40. package/dist/{useMagic-ffb2a195.browser.esm.js → useMagic-949ae221.browser.esm.js} +1 -1
  41. package/dist/{useMagic-f9fee574.cjs.dev.js → useMagic-b42b36cc.cjs.dev.js} +1 -1
  42. package/dist/{useMagic-cbe7bcc0.esm.js → useMagic-ee285fda.esm.js} +1 -1
  43. package/dist/{useMagic-552adcd6.cjs.prod.js → useMagic-f7323dff.cjs.prod.js} +1 -1
  44. package/dist/{useSafe-986a2510.cjs.prod.js → useSafe-6214931d.cjs.prod.js} +1 -1
  45. package/dist/{useSafe-56f7ce3b.cjs.dev.js → useSafe-7ec42282.cjs.dev.js} +1 -1
  46. package/dist/{useSafe-89f2ff05.esm.js → useSafe-8b51a489.esm.js} +1 -1
  47. package/dist/{useSafe-88e40fe2.browser.esm.js → useSafe-d014c5af.browser.esm.js} +1 -1
  48. package/dist/{walletConnectV1-a47d9608.cjs.dev.js → walletConnectV1-146c4b36.cjs.dev.js} +2 -2
  49. package/dist/{walletConnectV1-f6c0d03e.esm.js → walletConnectV1-57ba2dc5.esm.js} +2 -2
  50. package/dist/{walletConnectV1-873b6e10.cjs.prod.js → walletConnectV1-c4ce4f4e.cjs.prod.js} +2 -2
  51. package/dist/{walletConnectV1-9a7c898e.browser.esm.js → walletConnectV1-e11cb68f.browser.esm.js} +2 -2
  52. package/evm/connectors/gnosis/dist/thirdweb-dev-react-evm-connectors-gnosis.browser.esm.js +1 -1
  53. package/evm/connectors/gnosis/dist/thirdweb-dev-react-evm-connectors-gnosis.cjs.dev.js +1 -1
  54. package/evm/connectors/gnosis/dist/thirdweb-dev-react-evm-connectors-gnosis.cjs.prod.js +1 -1
  55. package/evm/connectors/gnosis/dist/thirdweb-dev-react-evm-connectors-gnosis.esm.js +1 -1
  56. package/evm/connectors/magic/dist/thirdweb-dev-react-evm-connectors-magic.browser.esm.js +1 -1
  57. package/evm/connectors/magic/dist/thirdweb-dev-react-evm-connectors-magic.cjs.dev.js +1 -1
  58. package/evm/connectors/magic/dist/thirdweb-dev-react-evm-connectors-magic.cjs.prod.js +1 -1
  59. package/evm/connectors/magic/dist/thirdweb-dev-react-evm-connectors-magic.esm.js +1 -1
  60. package/evm/dist/thirdweb-dev-react-evm.browser.esm.js +6 -6
  61. package/evm/dist/thirdweb-dev-react-evm.cjs.dev.js +6 -6
  62. package/evm/dist/thirdweb-dev-react-evm.cjs.prod.js +6 -6
  63. package/evm/dist/thirdweb-dev-react-evm.esm.js +6 -6
  64. package/package.json +8 -8
@@ -1,5 +1,5 @@
1
1
  import { useState } from 'react';
2
- import { v as Input, S as Spacer, T as Text, B as Button, u as useCustomTheme, r as radius, s as spacing, g as fontSize, O as shadow } from './formElements-370759d5.esm.js';
2
+ import { v as Input, S as Spacer, T as Text, B as Button, u as useCustomTheme, r as radius, s as spacing, g as fontSize, O as shadow } from './formElements-d22c07cb.esm.js';
3
3
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
4
4
  import { keyframes } from '@emotion/react';
5
5
  import styled from '@emotion/styled';
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var React = require('react');
4
- var formElements = require('./formElements-53d5ad03.cjs.dev.js');
4
+ var formElements = require('./formElements-dc85850a.cjs.dev.js');
5
5
  var jsxRuntime = require('react/jsx-runtime');
6
6
  var react = require('@emotion/react');
7
7
  var styled = require('@emotion/styled');
@@ -1,5 +1,5 @@
1
1
  import { useState } from 'react';
2
- import { v as Input, S as Spacer, T as Text, B as Button, u as useCustomTheme, r as radius, s as spacing, g as fontSize, O as shadow } from './formElements-556d0493.browser.esm.js';
2
+ import { v as Input, S as Spacer, T as Text, B as Button, u as useCustomTheme, r as radius, s as spacing, g as fontSize, O as shadow } from './formElements-c39105f7.browser.esm.js';
3
3
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
4
4
  import { keyframes } from '@emotion/react';
5
5
  import styled from '@emotion/styled';
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var React = require('react');
4
- var formElements = require('./formElements-c9f9b97c.cjs.prod.js');
4
+ var formElements = require('./formElements-8ef06f1e.cjs.prod.js');
5
5
  var jsxRuntime = require('react/jsx-runtime');
6
6
  var react = require('@emotion/react');
7
7
  var styled = require('@emotion/styled');
@@ -142,7 +142,7 @@ export interface ThirdwebProviderProps<TChains extends Chain[]> extends Omit<Thi
142
142
  export type DefaultChains = typeof defaultChains;
143
143
  /**
144
144
  * The `<ThirdwebProvider />` component lets you control what networks you want users to connect to,
145
- * what types of wallets can connect to your app, and the settings for the [Thirdweb SDK](https://docs.thirdweb.com/typescript).
145
+ * what types of wallets can connect to your app, and the settings for the [thirdweb SDK](https://docs.thirdweb.com/typescript).
146
146
  *
147
147
  * @example
148
148
  * You can wrap your application with the provider as follows:
@@ -259,7 +259,7 @@ export type ConnectWalletProps = {
259
259
  */
260
260
  displayBalanceToken?: Record<number, string>;
261
261
  /**
262
- * Hide the "Switch to Personal wallet" option in the wallet modal which is shown when wallet is connected to either Smart Wallet or Safe.
262
+ * Hide the "Switch to Personal wallet" option in the wallet modal which is shown when wallet is connected to either Smart Account or Safe.
263
263
  *
264
264
  * By default it is `false`
265
265
  *
@@ -535,7 +535,7 @@ export type ConnectWalletProps = {
535
535
  * ```
536
536
  *
537
537
  * ### hideSwitchToPersonalWallet
538
- * Hide the "Switch to Personal wallet" option in the wallet modal which is shown when wallet is connected to either Smart Wallet or Safe.
538
+ * Hide the "Switch to Personal wallet" option in the wallet modal which is shown when wallet is connected to either Smart Account or Safe.
539
539
  *
540
540
  * By default it is `false`
541
541
  *
@@ -6,7 +6,7 @@ import { LocalWallet } from "@thirdweb-dev/wallets";
6
6
  export type LocalWalletConfigOptions = {
7
7
  /**
8
8
  * If `true`, the encrypted wallet JSON will be stored on localStorage with user's password.
9
- * the user will not need to enter their password again when they visit the site. Because of this, the wallet can not be auto connected.
9
+ * the user will need to enter their password again when they visit the site. Because of this, the wallet can not be auto connected.
10
10
  *
11
11
  * If `false`, wallet will not be stored, and no password will be required to connect.
12
12
  * the wallet will be lost when the user leaves or reloads the page.
@@ -735,12 +735,12 @@ function enDefault() {
735
735
  guestWalletWarning: "This is a temporary guest wallet. Backup wallet if you don't want to lose access to it",
736
736
  switchTo: "Switch to",
737
737
  // Used in "Switch to <Wallet-Name>"
738
- connectedToSmartWallet: "Connected To Smart Wallet",
738
+ connectedToSmartWallet: "Connected To Smart Account",
739
739
  confirmInWallet: "Confirm in wallet",
740
740
  disconnectWallet: "Disconnect Wallet",
741
741
  copyAddress: "Copy Address",
742
742
  personalWallet: "Personal Wallet",
743
- smartWallet: "Smart Wallet",
743
+ smartWallet: "Smart Account",
744
744
  or: "OR",
745
745
  goBackButton: "Back",
746
746
  download: {
@@ -816,8 +816,8 @@ function enDefault() {
816
816
  scanInstruction: "Scan this with your wallet app to connect"
817
817
  },
818
818
  smartWallet: {
819
- connecting: "Connecting to Smart Wallet",
820
- failedToConnect: "Failed to connect to Smart Wallet",
819
+ connecting: "Connecting to Smart Account",
820
+ failedToConnect: "Failed to connect to Smart Acount",
821
821
  wrongNetworkScreen: {
822
822
  title: "Wrong Network",
823
823
  subtitle: "Your wallet is not connected to the required network",
@@ -729,12 +729,12 @@ function enDefault() {
729
729
  guestWalletWarning: "This is a temporary guest wallet. Backup wallet if you don't want to lose access to it",
730
730
  switchTo: "Switch to",
731
731
  // Used in "Switch to <Wallet-Name>"
732
- connectedToSmartWallet: "Connected To Smart Wallet",
732
+ connectedToSmartWallet: "Connected To Smart Account",
733
733
  confirmInWallet: "Confirm in wallet",
734
734
  disconnectWallet: "Disconnect Wallet",
735
735
  copyAddress: "Copy Address",
736
736
  personalWallet: "Personal Wallet",
737
- smartWallet: "Smart Wallet",
737
+ smartWallet: "Smart Account",
738
738
  or: "OR",
739
739
  goBackButton: "Back",
740
740
  download: {
@@ -810,8 +810,8 @@ function enDefault() {
810
810
  scanInstruction: "Scan this with your wallet app to connect"
811
811
  },
812
812
  smartWallet: {
813
- connecting: "Connecting to Smart Wallet",
814
- failedToConnect: "Failed to connect to Smart Wallet",
813
+ connecting: "Connecting to Smart Account",
814
+ failedToConnect: "Failed to connect to Smart Acount",
815
815
  wrongNetworkScreen: {
816
816
  title: "Wrong Network",
817
817
  subtitle: "Your wallet is not connected to the required network",
@@ -729,12 +729,12 @@ function enDefault() {
729
729
  guestWalletWarning: "This is a temporary guest wallet. Backup wallet if you don't want to lose access to it",
730
730
  switchTo: "Switch to",
731
731
  // Used in "Switch to <Wallet-Name>"
732
- connectedToSmartWallet: "Connected To Smart Wallet",
732
+ connectedToSmartWallet: "Connected To Smart Account",
733
733
  confirmInWallet: "Confirm in wallet",
734
734
  disconnectWallet: "Disconnect Wallet",
735
735
  copyAddress: "Copy Address",
736
736
  personalWallet: "Personal Wallet",
737
- smartWallet: "Smart Wallet",
737
+ smartWallet: "Smart Account",
738
738
  or: "OR",
739
739
  goBackButton: "Back",
740
740
  download: {
@@ -810,8 +810,8 @@ function enDefault() {
810
810
  scanInstruction: "Scan this with your wallet app to connect"
811
811
  },
812
812
  smartWallet: {
813
- connecting: "Connecting to Smart Wallet",
814
- failedToConnect: "Failed to connect to Smart Wallet",
813
+ connecting: "Connecting to Smart Account",
814
+ failedToConnect: "Failed to connect to Smart Acount",
815
815
  wrongNetworkScreen: {
816
816
  title: "Wrong Network",
817
817
  subtitle: "Your wallet is not connected to the required network",
@@ -735,12 +735,12 @@ function enDefault() {
735
735
  guestWalletWarning: "This is a temporary guest wallet. Backup wallet if you don't want to lose access to it",
736
736
  switchTo: "Switch to",
737
737
  // Used in "Switch to <Wallet-Name>"
738
- connectedToSmartWallet: "Connected To Smart Wallet",
738
+ connectedToSmartWallet: "Connected To Smart Account",
739
739
  confirmInWallet: "Confirm in wallet",
740
740
  disconnectWallet: "Disconnect Wallet",
741
741
  copyAddress: "Copy Address",
742
742
  personalWallet: "Personal Wallet",
743
- smartWallet: "Smart Wallet",
743
+ smartWallet: "Smart Account",
744
744
  or: "OR",
745
745
  goBackButton: "Back",
746
746
  download: {
@@ -816,8 +816,8 @@ function enDefault() {
816
816
  scanInstruction: "Scan this with your wallet app to connect"
817
817
  },
818
818
  smartWallet: {
819
- connecting: "Connecting to Smart Wallet",
820
- failedToConnect: "Failed to connect to Smart Wallet",
819
+ connecting: "Connecting to Smart Account",
820
+ failedToConnect: "Failed to connect to Smart Acount",
821
821
  wrongNetworkScreen: {
822
822
  title: "Wrong Network",
823
823
  subtitle: "Your wallet is not connected to the required network",
@@ -1,7 +1,7 @@
1
1
  import { FrameWallet, assertWindowEthereum } from '@thirdweb-dev/wallets';
2
- import { i as isMobile, o as openWindow, C as ConnectingScreen, G as GetStartedScreen, B as ButtonLink } from './safeChainSlug-bca88c60.browser.esm.js';
2
+ import { i as isMobile, o as openWindow, C as ConnectingScreen, G as GetStartedScreen, B as ButtonLink } from './safeChainSlug-b1ace34b.esm.js';
3
3
  import { useState, useRef, useEffect } from 'react';
4
- import { b as useTWLocale, C as Container, M as ModalHeader, S as Spacer, R as ModalTitle, c as ModalDescription, I as Img, i as iconSize, a2 as HelperLink } from './formElements-556d0493.browser.esm.js';
4
+ import { b as useTWLocale, C as Container, M as ModalHeader, S as Spacer, R as ModalTitle, c as ModalDescription, I as Img, i as iconSize, a2 as HelperLink } from './formElements-d22c07cb.esm.js';
5
5
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
6
6
  import '@emotion/react';
7
7
  import '@radix-ui/react-icons';
@@ -1,7 +1,7 @@
1
1
  import { FrameWallet, assertWindowEthereum } from '@thirdweb-dev/wallets';
2
- import { i as isMobile, o as openWindow, C as ConnectingScreen, G as GetStartedScreen, B as ButtonLink } from './safeChainSlug-afcee04e.esm.js';
2
+ import { i as isMobile, o as openWindow, C as ConnectingScreen, G as GetStartedScreen, B as ButtonLink } from './safeChainSlug-71a6ee7c.browser.esm.js';
3
3
  import { useState, useRef, useEffect } from 'react';
4
- import { b as useTWLocale, C as Container, M as ModalHeader, S as Spacer, R as ModalTitle, c as ModalDescription, I as Img, i as iconSize, a2 as HelperLink } from './formElements-370759d5.esm.js';
4
+ import { b as useTWLocale, C as Container, M as ModalHeader, S as Spacer, R as ModalTitle, c as ModalDescription, I as Img, i as iconSize, a2 as HelperLink } from './formElements-c39105f7.browser.esm.js';
5
5
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
6
6
  import '@emotion/react';
7
7
  import '@radix-ui/react-icons';
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
3
  var wallets = require('@thirdweb-dev/wallets');
4
- var coinbaseWallet = require('./safeChainSlug-d64d6e2a.cjs.prod.js');
4
+ var coinbaseWallet = require('./safeChainSlug-2a1c3478.cjs.prod.js');
5
5
  var React = require('react');
6
- var formElements = require('./formElements-c9f9b97c.cjs.prod.js');
6
+ var formElements = require('./formElements-8ef06f1e.cjs.prod.js');
7
7
  var jsxRuntime = require('react/jsx-runtime');
8
8
  require('@emotion/react');
9
9
  require('@radix-ui/react-icons');
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
3
  var wallets = require('@thirdweb-dev/wallets');
4
- var coinbaseWallet = require('./safeChainSlug-78ad50c2.cjs.dev.js');
4
+ var coinbaseWallet = require('./safeChainSlug-b75cc300.cjs.dev.js');
5
5
  var React = require('react');
6
- var formElements = require('./formElements-53d5ad03.cjs.dev.js');
6
+ var formElements = require('./formElements-dc85850a.cjs.dev.js');
7
7
  var jsxRuntime = require('react/jsx-runtime');
8
8
  require('@emotion/react');
9
9
  require('@radix-ui/react-icons');
@@ -3,8 +3,8 @@
3
3
  var wallets = require('@thirdweb-dev/wallets');
4
4
  var reactCore = require('@thirdweb-dev/react-core');
5
5
  var React = require('react');
6
- var formElements = require('./formElements-c9f9b97c.cjs.prod.js');
7
- var Tooltip = require('./Tooltip-3c4516f1.cjs.prod.js');
6
+ var formElements = require('./formElements-8ef06f1e.cjs.prod.js');
7
+ var Tooltip = require('./Tooltip-fc5f1d06.cjs.prod.js');
8
8
  var styled = require('@emotion/styled');
9
9
  var jsxRuntime = require('react/jsx-runtime');
10
10
  require('@radix-ui/react-icons');
@@ -1,8 +1,8 @@
1
1
  import { MagicLink } from '@thirdweb-dev/wallets';
2
2
  import { useWalletContext } from '@thirdweb-dev/react-core';
3
3
  import { useRef, useEffect, useCallback } from 'react';
4
- import { C as Container, d as Spinner, b as useTWLocale, M as ModalHeader, S as Spacer, q as useScreenContext, D as reservedScreens, I as Img, i as iconSize, p as TextDivider, B as Button, u as useCustomTheme, s as spacing, g as fontSize, z as IconButton } from './formElements-556d0493.browser.esm.js';
5
- import { b as emailAndPhoneIcon, e as emailIcon, p as phoneIcon, T as ToolTip, I as InputSelectionUI, g as googleIconUri, f as facebookIconUri, t as twitterIconUri, c as githubIconUri, a as appleIconUri, l as linkedinIconUri, d as bitbucketIconUri, h as gitlabIconUri, i as twitchIconUri, j as discordIconUri, m as microsoftIconUri } from './Tooltip-4592ae25.browser.esm.js';
4
+ import { C as Container, d as Spinner, b as useTWLocale, M as ModalHeader, S as Spacer, q as useScreenContext, D as reservedScreens, I as Img, i as iconSize, p as TextDivider, B as Button, u as useCustomTheme, s as spacing, g as fontSize, z as IconButton } from './formElements-c39105f7.browser.esm.js';
5
+ import { b as emailAndPhoneIcon, e as emailIcon, p as phoneIcon, T as ToolTip, I as InputSelectionUI, g as googleIconUri, f as facebookIconUri, t as twitterIconUri, c as githubIconUri, a as appleIconUri, l as linkedinIconUri, d as bitbucketIconUri, h as gitlabIconUri, i as twitchIconUri, j as discordIconUri, m as microsoftIconUri } from './Tooltip-b08a464d.browser.esm.js';
6
6
  import styled from '@emotion/styled';
7
7
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
8
8
  import '@radix-ui/react-icons';
@@ -3,8 +3,8 @@
3
3
  var wallets = require('@thirdweb-dev/wallets');
4
4
  var reactCore = require('@thirdweb-dev/react-core');
5
5
  var React = require('react');
6
- var formElements = require('./formElements-53d5ad03.cjs.dev.js');
7
- var Tooltip = require('./Tooltip-11f884cd.cjs.dev.js');
6
+ var formElements = require('./formElements-dc85850a.cjs.dev.js');
7
+ var Tooltip = require('./Tooltip-8ab7081d.cjs.dev.js');
8
8
  var styled = require('@emotion/styled');
9
9
  var jsxRuntime = require('react/jsx-runtime');
10
10
  require('@radix-ui/react-icons');
@@ -1,8 +1,8 @@
1
1
  import { MagicLink } from '@thirdweb-dev/wallets';
2
2
  import { useWalletContext } from '@thirdweb-dev/react-core';
3
3
  import { useRef, useEffect, useCallback } from 'react';
4
- import { C as Container, d as Spinner, b as useTWLocale, M as ModalHeader, S as Spacer, q as useScreenContext, D as reservedScreens, I as Img, i as iconSize, p as TextDivider, B as Button, u as useCustomTheme, s as spacing, g as fontSize, z as IconButton } from './formElements-370759d5.esm.js';
5
- import { b as emailAndPhoneIcon, e as emailIcon, p as phoneIcon, T as ToolTip, I as InputSelectionUI, g as googleIconUri, f as facebookIconUri, t as twitterIconUri, c as githubIconUri, a as appleIconUri, l as linkedinIconUri, d as bitbucketIconUri, h as gitlabIconUri, i as twitchIconUri, j as discordIconUri, m as microsoftIconUri } from './Tooltip-f1f794ec.esm.js';
4
+ import { C as Container, d as Spinner, b as useTWLocale, M as ModalHeader, S as Spacer, q as useScreenContext, D as reservedScreens, I as Img, i as iconSize, p as TextDivider, B as Button, u as useCustomTheme, s as spacing, g as fontSize, z as IconButton } from './formElements-d22c07cb.esm.js';
5
+ import { b as emailAndPhoneIcon, e as emailIcon, p as phoneIcon, T as ToolTip, I as InputSelectionUI, g as googleIconUri, f as facebookIconUri, t as twitterIconUri, c as githubIconUri, a as appleIconUri, l as linkedinIconUri, d as bitbucketIconUri, h as gitlabIconUri, i as twitchIconUri, j as discordIconUri, m as microsoftIconUri } from './Tooltip-3999d8ef.esm.js';
6
6
  import styled from '@emotion/styled';
7
7
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
8
8
  import '@radix-ui/react-icons';
@@ -1,5 +1,5 @@
1
1
  import { LockOpen1Icon, EyeClosedIcon, EyeOpenIcon, CheckIcon, PinBottomIcon, CopyIcon as CopyIcon$1, Cross2Icon, MagnifyingGlassIcon, CrossCircledIcon, CheckCircledIcon, PaperPlaneIcon, ShuffleIcon, TextAlignJustifyIcon, ExitIcon, ChevronRightIcon, EnterIcon, ExternalLinkIcon, ReloadIcon } from '@radix-ui/react-icons';
2
- import { b as useTWLocale, u as useCustomTheme, C as Container, I as Img, p as TextDivider, q as useScreenContext, f as ModalConfigCtx, M as ModalHeader, S as Spacer, B as Button, s as spacing, g as fontSize, i as iconSize, T as Text, d as Spinner, a as StyledDiv, t as fadeInAnimation, v as Input, w as media, L as Line, x as InputContainer, y as InputButton, z as IconButton, A as StyledButton, D as reservedScreens, c as ModalDescription, e as Label, E as ScreenBottomContainer, F as StyledP, G as modalCloseFadeOutDuration, H as wideModalMaxHeight, J as modalMaxWidthCompact, K as modalMaxWidthWide, N as compactModalMaxHeight, r as radius, O as shadow, P as noScrollBar, Q as CustomThemeProvider, R as ModalTitle, U as StyledUl, V as onModalUnmount, W as Link, n as useSetIsWalletModalOpen, X as SetModalConfigCtx, Y as canFitWideModal, Z as useSetupScreen, m as useIsWalletModalOpen, _ as ScreenSetupContext, $ as defaultTheme, a0 as WalletUIStatesProvider, a1 as ThirdwebLocaleContext, k as en } from './formElements-556d0493.browser.esm.js';
2
+ import { b as useTWLocale, u as useCustomTheme, C as Container, I as Img, p as TextDivider, q as useScreenContext, f as ModalConfigCtx, M as ModalHeader, S as Spacer, B as Button, s as spacing, g as fontSize, i as iconSize, T as Text, d as Spinner, a as StyledDiv, t as fadeInAnimation, v as Input, w as media, L as Line, x as InputContainer, y as InputButton, z as IconButton, A as StyledButton, D as reservedScreens, c as ModalDescription, e as Label, E as ScreenBottomContainer, F as StyledP, G as modalCloseFadeOutDuration, H as wideModalMaxHeight, J as modalMaxWidthCompact, K as modalMaxWidthWide, N as compactModalMaxHeight, r as radius, O as shadow, P as noScrollBar, Q as CustomThemeProvider, R as ModalTitle, U as StyledUl, V as onModalUnmount, W as Link, n as useSetIsWalletModalOpen, X as SetModalConfigCtx, Y as canFitWideModal, Z as useSetupScreen, m as useIsWalletModalOpen, _ as ScreenSetupContext, $ as defaultTheme, a0 as WalletUIStatesProvider, a1 as ThirdwebLocaleContext, k as en } from './formElements-c39105f7.browser.esm.js';
3
3
  import { useCreateWalletInstance, shortenAddress, useStorage, useSupportedChains, useSwitchChain, useChainId, useBalance, useChain, useWallet, useAddress, shortenString, useSetConnectionStatus, useSetConnectedWallet, useWalletContext, useWallets, useDisconnect, useWalletConfig, useENS, useSDK, useLogin, useConnectionStatus, useThirdwebAuthContext, useLogout, useNetworkMismatch, useUser, useConnect, resolveMimeType, useSDKChainId, useContract, ThirdwebProviderCore } from '@thirdweb-dev/react-core';
4
4
  import React, { useContext, useState, useRef, useEffect, useCallback, useDeferredValue, useMemo, memo, Suspense, lazy } from 'react';
5
5
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
@@ -8,8 +8,8 @@ import { keyframes } from '@emotion/react';
8
8
  import styled from '@emotion/styled';
9
9
  import * as RXPopover from '@radix-ui/react-popover';
10
10
  import copy from 'copy-to-clipboard';
11
- import { g as googleIconUri, a as appleIconUri, f as facebookIconUri, I as InputSelectionUI, e as emailIcon, T as ToolTip, s as smartWalletIcon } from './Tooltip-4592ae25.browser.esm.js';
12
- import { T as TOS, P as PoweredByThirdweb, W as WalletEntryButton, F as FormFieldWithIconButton, Q as QRCode, i as isMobile, s as safeChainIdToSlug, w as wait, b as WalletLogoSpinner, e as WalletSelector, H as HeadlessConnectUI, f as detectOS, d as defaultWallets, E as ExtensionOrWCConnectionUI } from './safeChainSlug-bca88c60.browser.esm.js';
11
+ import { g as googleIconUri, a as appleIconUri, f as facebookIconUri, I as InputSelectionUI, e as emailIcon, T as ToolTip, s as smartWalletIcon } from './Tooltip-b08a464d.browser.esm.js';
12
+ import { T as TOS, P as PoweredByThirdweb, W as WalletEntryButton, F as FormFieldWithIconButton, Q as QRCode, i as isMobile, s as safeChainIdToSlug, w as wait, b as WalletLogoSpinner, e as WalletSelector, H as HeadlessConnectUI, f as detectOS, d as defaultWallets, E as ExtensionOrWCConnectionUI } from './safeChainSlug-71a6ee7c.browser.esm.js';
13
13
  import * as Tabs from '@radix-ui/react-tabs';
14
14
  import Fuse from 'fuse.js';
15
15
  import { Localhost } from '@thirdweb-dev/chains';
@@ -4466,7 +4466,7 @@ const TW_CONNECT_WALLET = "tw-connect-wallet";
4466
4466
  * ```
4467
4467
  *
4468
4468
  * ### hideSwitchToPersonalWallet
4469
- * Hide the "Switch to Personal wallet" option in the wallet modal which is shown when wallet is connected to either Smart Wallet or Safe.
4469
+ * Hide the "Switch to Personal wallet" option in the wallet modal which is shown when wallet is connected to either Smart Account or Safe.
4470
4470
  *
4471
4471
  * By default it is `false`
4472
4472
  *
@@ -6655,7 +6655,7 @@ const signerWallet = signer => {
6655
6655
 
6656
6656
  var packageJson = {
6657
6657
  name: "@thirdweb-dev/react",
6658
- version: "4.4.20",
6658
+ version: "4.4.21-beta-dd7e87422cda1fa7ee8522b37d8505b2f11c5919-20240318164030",
6659
6659
  repository: "https://github.com/thirdweb-dev/js/tree/main/packages/react",
6660
6660
  author: "thirdweb eng <eng@thirdweb.com>",
6661
6661
  license: "Apache-2.0",
@@ -6736,9 +6736,9 @@ var packageJson = {
6736
6736
  "@microsoft/api-extractor": "^7.36.3",
6737
6737
  "@microsoft/tsdoc": "^0.14.1",
6738
6738
  "@preconstruct/cli": "2.7.0",
6739
- "@thirdweb-dev/auth": "workspace:*",
6740
- "@thirdweb-dev/sdk": "workspace:*",
6741
- "@thirdweb-dev/tsconfig": "workspace:*",
6739
+ "@thirdweb-dev/auth": "^4.1.45-beta-dd7e87422cda1fa7ee8522b37d8505b2f11c5919-20240318164030",
6740
+ "@thirdweb-dev/sdk": "^4.0.48-beta-dd7e87422cda1fa7ee8522b37d8505b2f11c5919-20240318164030",
6741
+ "@thirdweb-dev/tsconfig": "^0.1.7",
6742
6742
  "@types/qrcode": "^1.5.2",
6743
6743
  "@types/react": "^18.2.17",
6744
6744
  "@types/react-dom": "^18.2.7",
@@ -6747,7 +6747,7 @@ var packageJson = {
6747
6747
  "@typescript-eslint/parser": "^6.19.1",
6748
6748
  eslint: "^8.56.0",
6749
6749
  "eslint-config-prettier": "^8.9.0",
6750
- "eslint-config-thirdweb": "workspace:*",
6750
+ "eslint-config-thirdweb": "^0.1.7",
6751
6751
  "eslint-plugin-better-tree-shaking": "0.0.4",
6752
6752
  "eslint-plugin-import": "^2.26.0",
6753
6753
  "eslint-plugin-inclusive-language": "^2.2.0",
@@ -6759,7 +6759,7 @@ var packageJson = {
6759
6759
  react: "^18.2.0",
6760
6760
  "react-dom": "^18.2.0",
6761
6761
  stream: "npm:stream-browserify@^3.0.0",
6762
- "typedoc-gen": "workspace:*",
6762
+ "typedoc-gen": "^1.0.1",
6763
6763
  typescript: "^5.3.3"
6764
6764
  },
6765
6765
  dependencies: {
@@ -6776,11 +6776,11 @@ var packageJson = {
6776
6776
  "@radix-ui/react-tabs": "^1.0.4",
6777
6777
  "@radix-ui/react-tooltip": "^1.0.7",
6778
6778
  "@tanstack/react-query": "^4.33.0",
6779
- "@thirdweb-dev/chains": "workspace:*",
6780
- "@thirdweb-dev/payments": "workspace:*",
6781
- "@thirdweb-dev/react-core": "workspace:*",
6782
- "@thirdweb-dev/sdk": "workspace:*",
6783
- "@thirdweb-dev/wallets": "workspace:*",
6779
+ "@thirdweb-dev/chains": "0.1.81-beta-dd7e87422cda1fa7ee8522b37d8505b2f11c5919-20240318164030",
6780
+ "@thirdweb-dev/payments": "1.0.2",
6781
+ "@thirdweb-dev/react-core": "4.4.21-beta-dd7e87422cda1fa7ee8522b37d8505b2f11c5919-20240318164030",
6782
+ "@thirdweb-dev/sdk": "4.0.48-beta-dd7e87422cda1fa7ee8522b37d8505b2f11c5919-20240318164030",
6783
+ "@thirdweb-dev/wallets": "2.4.23-beta-dd7e87422cda1fa7ee8522b37d8505b2f11c5919-20240318164030",
6784
6784
  buffer: "^6.0.3",
6785
6785
  "copy-to-clipboard": "^3.3.2",
6786
6786
  "detect-browser": "^5.3.0",
@@ -6789,7 +6789,7 @@ var packageJson = {
6789
6789
  "tiny-invariant": "^1.2.0"
6790
6790
  },
6791
6791
  peerDependencies: {
6792
- "@thirdweb-dev/sdk": "workspace:*",
6792
+ "@thirdweb-dev/sdk": "^4.0.48-beta-dd7e87422cda1fa7ee8522b37d8505b2f11c5919-20240318164030",
6793
6793
  ethers: ">=5.5.1",
6794
6794
  react: ">=18.0.0",
6795
6795
  "react-dom": ">=18.0.0"
@@ -6827,7 +6827,7 @@ function getAnalyticsGlobals() {
6827
6827
 
6828
6828
  /**
6829
6829
  * The `<ThirdwebProvider />` component lets you control what networks you want users to connect to,
6830
- * what types of wallets can connect to your app, and the settings for the [Thirdweb SDK](https://docs.thirdweb.com/typescript).
6830
+ * what types of wallets can connect to your app, and the settings for the [thirdweb SDK](https://docs.thirdweb.com/typescript).
6831
6831
  *
6832
6832
  * @example
6833
6833
  * You can wrap your application with the provider as follows:
@@ -7217,7 +7217,7 @@ function useRainbowWallet() {
7217
7217
  return useCallback(async connectOptions => {
7218
7218
  const {
7219
7219
  rainbowWallet
7220
- } = await import('./safeChainSlug-bca88c60.browser.esm.js').then(function (n) { return n.R; });
7220
+ } = await import('./safeChainSlug-71a6ee7c.browser.esm.js').then(function (n) { return n.R; });
7221
7221
  return connect(rainbowWallet(), connectOptions);
7222
7222
  }, [connect]);
7223
7223
  }
@@ -7232,7 +7232,7 @@ function useTrustWallet() {
7232
7232
  return useCallback(async connectOptions => {
7233
7233
  const {
7234
7234
  trustWallet
7235
- } = await import('./safeChainSlug-bca88c60.browser.esm.js').then(function (n) { return n.u; });
7235
+ } = await import('./safeChainSlug-71a6ee7c.browser.esm.js').then(function (n) { return n.u; });
7236
7236
  return connect(trustWallet(), connectOptions);
7237
7237
  }, [connect]);
7238
7238
  }
@@ -7246,7 +7246,7 @@ function useMetamask() {
7246
7246
  return useCallback(async options => {
7247
7247
  const {
7248
7248
  metamaskWallet
7249
- } = await import('./safeChainSlug-bca88c60.browser.esm.js').then(function (n) { return n.n; });
7249
+ } = await import('./safeChainSlug-71a6ee7c.browser.esm.js').then(function (n) { return n.n; });
7250
7250
  return connect(metamaskWallet(), options);
7251
7251
  }, [connect]);
7252
7252
  }
@@ -7261,7 +7261,7 @@ function useCoinbaseWallet() {
7261
7261
  return useCallback(async connectOptions => {
7262
7262
  const {
7263
7263
  coinbaseWallet
7264
- } = await import('./safeChainSlug-bca88c60.browser.esm.js').then(function (n) { return n.l; });
7264
+ } = await import('./safeChainSlug-71a6ee7c.browser.esm.js').then(function (n) { return n.l; });
7265
7265
  return connect(coinbaseWallet(), connectOptions);
7266
7266
  }, [connect]);
7267
7267
  }
@@ -7275,7 +7275,7 @@ function useFrameWallet() {
7275
7275
  return useCallback(async connectOptions => {
7276
7276
  const {
7277
7277
  frameWallet
7278
- } = await import('./frameWallet-14827aea.browser.esm.js');
7278
+ } = await import('./frameWallet-49acd215.browser.esm.js');
7279
7279
  return connect(frameWallet(), connectOptions);
7280
7280
  }, [connect]);
7281
7281
  }
@@ -7324,7 +7324,7 @@ function usePaperWallet() {
7324
7324
  return useCallback(async options => {
7325
7325
  const {
7326
7326
  paperWallet
7327
- } = await import('./paperWallet-22a56503.browser.esm.js');
7327
+ } = await import('./paperWallet-8f6876f1.browser.esm.js');
7328
7328
  return connect(paperWallet(options), {
7329
7329
  chainId: options.chainId,
7330
7330
  email: options.email
@@ -7364,7 +7364,7 @@ function useWalletConnectV1() {
7364
7364
  return useCallback(async options => {
7365
7365
  const {
7366
7366
  walletConnectV1
7367
- } = await import('./walletConnectV1-9a7c898e.browser.esm.js');
7367
+ } = await import('./walletConnectV1-e11cb68f.browser.esm.js');
7368
7368
  return connect(walletConnectV1(), options);
7369
7369
  }, [connect]);
7370
7370
  }
@@ -7379,7 +7379,7 @@ function useWalletConnect() {
7379
7379
  return useCallback(async options => {
7380
7380
  const {
7381
7381
  walletConnect
7382
- } = await import('./safeChainSlug-bca88c60.browser.esm.js').then(function (n) { return n.q; });
7382
+ } = await import('./safeChainSlug-71a6ee7c.browser.esm.js').then(function (n) { return n.q; });
7383
7383
  return connect(walletConnect({
7384
7384
  ...options,
7385
7385
  qrModal: "walletConnect"