@thirdweb-dev/react 4.4.20 → 4.4.21-nightly-802ba8c5a-20240315214539
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.
- package/dist/{Tooltip-f1f794ec.esm.js → Tooltip-3999d8ef.esm.js} +1 -1
- package/dist/{Tooltip-11f884cd.cjs.dev.js → Tooltip-8ab7081d.cjs.dev.js} +1 -1
- package/dist/{Tooltip-4592ae25.browser.esm.js → Tooltip-b08a464d.browser.esm.js} +1 -1
- package/dist/{Tooltip-3c4516f1.cjs.prod.js → Tooltip-fc5f1d06.cjs.prod.js} +1 -1
- package/dist/declarations/src/evm/providers/thirdweb-provider.d.ts +1 -1
- package/dist/declarations/src/wallet/ConnectWallet/ConnectWallet.d.ts +2 -2
- package/dist/{formElements-c9f9b97c.cjs.prod.js → formElements-8ef06f1e.cjs.prod.js} +4 -4
- package/dist/{formElements-556d0493.browser.esm.js → formElements-c39105f7.browser.esm.js} +4 -4
- package/dist/{formElements-370759d5.esm.js → formElements-d22c07cb.esm.js} +4 -4
- package/dist/{formElements-53d5ad03.cjs.dev.js → formElements-dc85850a.cjs.dev.js} +4 -4
- package/dist/{frameWallet-14827aea.browser.esm.js → frameWallet-10d6bd36.esm.js} +2 -2
- package/dist/{frameWallet-a4ddfc38.esm.js → frameWallet-49acd215.browser.esm.js} +2 -2
- package/dist/{frameWallet-c27459d2.cjs.prod.js → frameWallet-9d36b7da.cjs.prod.js} +2 -2
- package/dist/{frameWallet-476d02e4.cjs.dev.js → frameWallet-c8547b92.cjs.dev.js} +2 -2
- package/dist/{magicLink-def6e85f.cjs.prod.js → magicLink-2222dc44.cjs.prod.js} +2 -2
- package/dist/{magicLink-fc223d8c.browser.esm.js → magicLink-a638d4f0.browser.esm.js} +2 -2
- package/dist/{magicLink-41104d8b.cjs.dev.js → magicLink-ab8e0ba0.cjs.dev.js} +2 -2
- package/dist/{magicLink-cea2fa50.esm.js → magicLink-c7ea6a91.esm.js} +2 -2
- package/dist/{oneKeyWallet-5a19393f.esm.js → oneKeyWallet-1d6f4ee2.esm.js} +13 -13
- package/dist/{oneKeyWallet-2ef53d11.browser.esm.js → oneKeyWallet-96941e8d.browser.esm.js} +13 -13
- package/dist/{oneKeyWallet-d854903f.cjs.dev.js → oneKeyWallet-c6eb054a.cjs.dev.js} +13 -13
- package/dist/{oneKeyWallet-50e37165.cjs.prod.js → oneKeyWallet-e6dd281d.cjs.prod.js} +13 -13
- package/dist/{paperWallet-22a56503.browser.esm.js → paperWallet-3cc7a3e8.browser.esm.js} +4 -4
- package/dist/{paperWallet-b2768416.cjs.prod.js → paperWallet-3ccb72ac.cjs.prod.js} +4 -4
- package/dist/{paperWallet-c8d8c69f.esm.js → paperWallet-89f875f3.esm.js} +4 -4
- package/dist/{paperWallet-21130822.cjs.dev.js → paperWallet-e63c5eb3.cjs.dev.js} +4 -4
- package/dist/{safeChainSlug-d64d6e2a.cjs.prod.js → safeChainSlug-2a1c3478.cjs.prod.js} +1 -1
- package/dist/{safeChainSlug-bca88c60.browser.esm.js → safeChainSlug-71a6ee7c.browser.esm.js} +1 -1
- package/dist/{safeChainSlug-afcee04e.esm.js → safeChainSlug-b1ace34b.esm.js} +1 -1
- package/dist/{safeChainSlug-78ad50c2.cjs.dev.js → safeChainSlug-b75cc300.cjs.dev.js} +1 -1
- package/dist/{safeWallet-06a6216a.cjs.prod.js → safeWallet-3fed2391.cjs.prod.js} +2 -2
- package/dist/{safeWallet-36fb6be6.esm.js → safeWallet-45640d13.esm.js} +2 -2
- package/dist/{safeWallet-82fb9f15.cjs.dev.js → safeWallet-721a60f5.cjs.dev.js} +2 -2
- package/dist/{safeWallet-959085a5.browser.esm.js → safeWallet-d7626c36.browser.esm.js} +2 -2
- package/dist/thirdweb-dev-react.browser.esm.js +18 -18
- package/dist/thirdweb-dev-react.cjs.dev.js +15 -15
- package/dist/thirdweb-dev-react.cjs.prod.js +15 -15
- package/dist/thirdweb-dev-react.esm.js +18 -18
- package/dist/{useMagic-ffb2a195.browser.esm.js → useMagic-949ae221.browser.esm.js} +1 -1
- package/dist/{useMagic-f9fee574.cjs.dev.js → useMagic-b42b36cc.cjs.dev.js} +1 -1
- package/dist/{useMagic-cbe7bcc0.esm.js → useMagic-ee285fda.esm.js} +1 -1
- package/dist/{useMagic-552adcd6.cjs.prod.js → useMagic-f7323dff.cjs.prod.js} +1 -1
- package/dist/{useSafe-986a2510.cjs.prod.js → useSafe-6214931d.cjs.prod.js} +1 -1
- package/dist/{useSafe-56f7ce3b.cjs.dev.js → useSafe-7ec42282.cjs.dev.js} +1 -1
- package/dist/{useSafe-89f2ff05.esm.js → useSafe-8b51a489.esm.js} +1 -1
- package/dist/{useSafe-88e40fe2.browser.esm.js → useSafe-d014c5af.browser.esm.js} +1 -1
- package/dist/{walletConnectV1-a47d9608.cjs.dev.js → walletConnectV1-146c4b36.cjs.dev.js} +2 -2
- package/dist/{walletConnectV1-f6c0d03e.esm.js → walletConnectV1-57ba2dc5.esm.js} +2 -2
- package/dist/{walletConnectV1-873b6e10.cjs.prod.js → walletConnectV1-c4ce4f4e.cjs.prod.js} +2 -2
- package/dist/{walletConnectV1-9a7c898e.browser.esm.js → walletConnectV1-e11cb68f.browser.esm.js} +2 -2
- package/evm/connectors/gnosis/dist/thirdweb-dev-react-evm-connectors-gnosis.browser.esm.js +1 -1
- package/evm/connectors/gnosis/dist/thirdweb-dev-react-evm-connectors-gnosis.cjs.dev.js +1 -1
- package/evm/connectors/gnosis/dist/thirdweb-dev-react-evm-connectors-gnosis.cjs.prod.js +1 -1
- package/evm/connectors/gnosis/dist/thirdweb-dev-react-evm-connectors-gnosis.esm.js +1 -1
- package/evm/connectors/magic/dist/thirdweb-dev-react-evm-connectors-magic.browser.esm.js +1 -1
- package/evm/connectors/magic/dist/thirdweb-dev-react-evm-connectors-magic.cjs.dev.js +1 -1
- package/evm/connectors/magic/dist/thirdweb-dev-react-evm-connectors-magic.cjs.prod.js +1 -1
- package/evm/connectors/magic/dist/thirdweb-dev-react-evm-connectors-magic.esm.js +1 -1
- package/evm/dist/thirdweb-dev-react-evm.browser.esm.js +6 -6
- package/evm/dist/thirdweb-dev-react-evm.cjs.dev.js +6 -6
- package/evm/dist/thirdweb-dev-react-evm.cjs.prod.js +6 -6
- package/evm/dist/thirdweb-dev-react-evm.esm.js +6 -6
- package/package.json +4 -4
|
@@ -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-
|
|
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-
|
|
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-
|
|
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-
|
|
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 [
|
|
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
|
|
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
|
|
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
|
*
|
|
@@ -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
|
|
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
|
|
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
|
|
820
|
-
failedToConnect: "Failed to connect to Smart
|
|
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
|
|
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
|
|
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
|
|
814
|
-
failedToConnect: "Failed to connect to Smart
|
|
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
|
|
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
|
|
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
|
|
814
|
-
failedToConnect: "Failed to connect to Smart
|
|
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
|
|
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
|
|
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
|
|
820
|
-
failedToConnect: "Failed to connect to Smart
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
4
|
+
var coinbaseWallet = require('./safeChainSlug-2a1c3478.cjs.prod.js');
|
|
5
5
|
var React = require('react');
|
|
6
|
-
var formElements = require('./formElements-
|
|
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-
|
|
4
|
+
var coinbaseWallet = require('./safeChainSlug-b75cc300.cjs.dev.js');
|
|
5
5
|
var React = require('react');
|
|
6
|
-
var formElements = require('./formElements-
|
|
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-
|
|
7
|
-
var Tooltip = require('./Tooltip-
|
|
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-
|
|
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-
|
|
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-
|
|
7
|
-
var Tooltip = require('./Tooltip-
|
|
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-
|
|
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-
|
|
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-
|
|
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-d22c07cb.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-
|
|
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-
|
|
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-3999d8ef.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-b1ace34b.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
|
|
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
|
*
|
|
@@ -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 [
|
|
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-
|
|
7220
|
+
} = await import('./safeChainSlug-b1ace34b.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-
|
|
7235
|
+
} = await import('./safeChainSlug-b1ace34b.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-
|
|
7249
|
+
} = await import('./safeChainSlug-b1ace34b.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-
|
|
7264
|
+
} = await import('./safeChainSlug-b1ace34b.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-
|
|
7278
|
+
} = await import('./frameWallet-10d6bd36.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-
|
|
7327
|
+
} = await import('./paperWallet-89f875f3.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-
|
|
7367
|
+
} = await import('./walletConnectV1-57ba2dc5.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-
|
|
7382
|
+
} = await import('./safeChainSlug-b1ace34b.esm.js').then(function (n) { return n.q; });
|
|
7383
7383
|
return connect(walletConnect({
|
|
7384
7384
|
...options,
|
|
7385
7385
|
qrModal: "walletConnect"
|
|
@@ -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-
|
|
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-
|
|
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-
|
|
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
|
|
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
|
*
|
|
@@ -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 [
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
7327
|
+
} = await import('./paperWallet-3cc7a3e8.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-
|
|
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-
|
|
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"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var reactIcons = require('@radix-ui/react-icons');
|
|
4
|
-
var formElements = require('./formElements-
|
|
4
|
+
var formElements = require('./formElements-dc85850a.cjs.dev.js');
|
|
5
5
|
var reactCore = require('@thirdweb-dev/react-core');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var jsxRuntime = require('react/jsx-runtime');
|
|
@@ -10,8 +10,8 @@ var react = require('@emotion/react');
|
|
|
10
10
|
var styled = require('@emotion/styled');
|
|
11
11
|
var RXPopover = require('@radix-ui/react-popover');
|
|
12
12
|
var copy = require('copy-to-clipboard');
|
|
13
|
-
var Tooltip = require('./Tooltip-
|
|
14
|
-
var coinbaseWallet = require('./safeChainSlug-
|
|
13
|
+
var Tooltip = require('./Tooltip-8ab7081d.cjs.dev.js');
|
|
14
|
+
var coinbaseWallet = require('./safeChainSlug-b75cc300.cjs.dev.js');
|
|
15
15
|
var Tabs = require('@radix-ui/react-tabs');
|
|
16
16
|
var Fuse = require('fuse.js');
|
|
17
17
|
var chains = require('@thirdweb-dev/chains');
|
|
@@ -4497,7 +4497,7 @@ const TW_CONNECT_WALLET = "tw-connect-wallet";
|
|
|
4497
4497
|
* ```
|
|
4498
4498
|
*
|
|
4499
4499
|
* ### hideSwitchToPersonalWallet
|
|
4500
|
-
* Hide the "Switch to Personal wallet" option in the wallet modal which is shown when wallet is connected to either Smart
|
|
4500
|
+
* Hide the "Switch to Personal wallet" option in the wallet modal which is shown when wallet is connected to either Smart Account or Safe.
|
|
4501
4501
|
*
|
|
4502
4502
|
* By default it is `false`
|
|
4503
4503
|
*
|
|
@@ -6858,7 +6858,7 @@ function getAnalyticsGlobals() {
|
|
|
6858
6858
|
|
|
6859
6859
|
/**
|
|
6860
6860
|
* The `<ThirdwebProvider />` component lets you control what networks you want users to connect to,
|
|
6861
|
-
* what types of wallets can connect to your app, and the settings for the [
|
|
6861
|
+
* what types of wallets can connect to your app, and the settings for the [thirdweb SDK](https://docs.thirdweb.com/typescript).
|
|
6862
6862
|
*
|
|
6863
6863
|
* @example
|
|
6864
6864
|
* You can wrap your application with the provider as follows:
|
|
@@ -7248,7 +7248,7 @@ function useRainbowWallet() {
|
|
|
7248
7248
|
return React.useCallback(async connectOptions => {
|
|
7249
7249
|
const {
|
|
7250
7250
|
rainbowWallet
|
|
7251
|
-
} = await Promise.resolve().then(function () { return require('./safeChainSlug-
|
|
7251
|
+
} = await Promise.resolve().then(function () { return require('./safeChainSlug-b75cc300.cjs.dev.js'); }).then(function (n) { return n.RainbowWallet; });
|
|
7252
7252
|
return connect(rainbowWallet(), connectOptions);
|
|
7253
7253
|
}, [connect]);
|
|
7254
7254
|
}
|
|
@@ -7263,7 +7263,7 @@ function useTrustWallet() {
|
|
|
7263
7263
|
return React.useCallback(async connectOptions => {
|
|
7264
7264
|
const {
|
|
7265
7265
|
trustWallet
|
|
7266
|
-
} = await Promise.resolve().then(function () { return require('./safeChainSlug-
|
|
7266
|
+
} = await Promise.resolve().then(function () { return require('./safeChainSlug-b75cc300.cjs.dev.js'); }).then(function (n) { return n.TrustWallet; });
|
|
7267
7267
|
return connect(trustWallet(), connectOptions);
|
|
7268
7268
|
}, [connect]);
|
|
7269
7269
|
}
|
|
@@ -7277,7 +7277,7 @@ function useMetamask() {
|
|
|
7277
7277
|
return React.useCallback(async options => {
|
|
7278
7278
|
const {
|
|
7279
7279
|
metamaskWallet
|
|
7280
|
-
} = await Promise.resolve().then(function () { return require('./safeChainSlug-
|
|
7280
|
+
} = await Promise.resolve().then(function () { return require('./safeChainSlug-b75cc300.cjs.dev.js'); }).then(function (n) { return n.metamaskWallet$1; });
|
|
7281
7281
|
return connect(metamaskWallet(), options);
|
|
7282
7282
|
}, [connect]);
|
|
7283
7283
|
}
|
|
@@ -7292,7 +7292,7 @@ function useCoinbaseWallet() {
|
|
|
7292
7292
|
return React.useCallback(async connectOptions => {
|
|
7293
7293
|
const {
|
|
7294
7294
|
coinbaseWallet
|
|
7295
|
-
} = await Promise.resolve().then(function () { return require('./safeChainSlug-
|
|
7295
|
+
} = await Promise.resolve().then(function () { return require('./safeChainSlug-b75cc300.cjs.dev.js'); }).then(function (n) { return n.coinbaseWallet$1; });
|
|
7296
7296
|
return connect(coinbaseWallet(), connectOptions);
|
|
7297
7297
|
}, [connect]);
|
|
7298
7298
|
}
|
|
@@ -7306,7 +7306,7 @@ function useFrameWallet() {
|
|
|
7306
7306
|
return React.useCallback(async connectOptions => {
|
|
7307
7307
|
const {
|
|
7308
7308
|
frameWallet
|
|
7309
|
-
} = await Promise.resolve().then(function () { return require('./frameWallet-
|
|
7309
|
+
} = await Promise.resolve().then(function () { return require('./frameWallet-c8547b92.cjs.dev.js'); });
|
|
7310
7310
|
return connect(frameWallet(), connectOptions);
|
|
7311
7311
|
}, [connect]);
|
|
7312
7312
|
}
|
|
@@ -7355,7 +7355,7 @@ function usePaperWallet() {
|
|
|
7355
7355
|
return React.useCallback(async options => {
|
|
7356
7356
|
const {
|
|
7357
7357
|
paperWallet
|
|
7358
|
-
} = await Promise.resolve().then(function () { return require('./paperWallet-
|
|
7358
|
+
} = await Promise.resolve().then(function () { return require('./paperWallet-e63c5eb3.cjs.dev.js'); });
|
|
7359
7359
|
return connect(paperWallet(options), {
|
|
7360
7360
|
chainId: options.chainId,
|
|
7361
7361
|
email: options.email
|
|
@@ -7395,7 +7395,7 @@ function useWalletConnectV1() {
|
|
|
7395
7395
|
return React.useCallback(async options => {
|
|
7396
7396
|
const {
|
|
7397
7397
|
walletConnectV1
|
|
7398
|
-
} = await Promise.resolve().then(function () { return require('./walletConnectV1-
|
|
7398
|
+
} = await Promise.resolve().then(function () { return require('./walletConnectV1-146c4b36.cjs.dev.js'); });
|
|
7399
7399
|
return connect(walletConnectV1(), options);
|
|
7400
7400
|
}, [connect]);
|
|
7401
7401
|
}
|
|
@@ -7410,7 +7410,7 @@ function useWalletConnect() {
|
|
|
7410
7410
|
return React.useCallback(async options => {
|
|
7411
7411
|
const {
|
|
7412
7412
|
walletConnect
|
|
7413
|
-
} = await Promise.resolve().then(function () { return require('./safeChainSlug-
|
|
7413
|
+
} = await Promise.resolve().then(function () { return require('./safeChainSlug-b75cc300.cjs.dev.js'); }).then(function (n) { return n.walletConnect$1; });
|
|
7414
7414
|
return connect(walletConnect({
|
|
7415
7415
|
...options,
|
|
7416
7416
|
qrModal: "walletConnect"
|