@thirdweb-dev/react 4.4.10 → 4.4.11-nightly-d5d7d542c-20240229221934
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/declarations/src/components/OTPInput.d.ts.map +1 -1
- package/dist/{oneKeyWallet-7465c283.cjs.dev.js → oneKeyWallet-2b172eb2.cjs.dev.js} +7 -7
- package/dist/{oneKeyWallet-422fe00c.esm.js → oneKeyWallet-3763333c.esm.js} +7 -7
- package/dist/{oneKeyWallet-d3cb74a6.cjs.prod.js → oneKeyWallet-8388152d.cjs.prod.js} +7 -7
- package/dist/{oneKeyWallet-27201e94.browser.esm.js → oneKeyWallet-c8253f9c.browser.esm.js} +7 -7
- package/dist/{paperWallet-c9b3370d.browser.esm.js → paperWallet-6bf1f980.browser.esm.js} +1 -1
- package/dist/{paperWallet-833bbf2e.cjs.prod.js → paperWallet-928ac7fb.cjs.prod.js} +1 -1
- package/dist/{paperWallet-40994fdd.cjs.dev.js → paperWallet-b6215c34.cjs.dev.js} +1 -1
- package/dist/{paperWallet-85c392cc.esm.js → paperWallet-dcd25ac6.esm.js} +1 -1
- package/dist/thirdweb-dev-react.browser.esm.js +3 -3
- package/dist/thirdweb-dev-react.cjs.dev.js +2 -2
- package/dist/thirdweb-dev-react.cjs.prod.js +2 -2
- package/dist/thirdweb-dev-react.esm.js +3 -3
- package/evm/dist/thirdweb-dev-react-evm.browser.esm.js +1 -1
- package/evm/dist/thirdweb-dev-react-evm.cjs.dev.js +1 -1
- package/evm/dist/thirdweb-dev-react-evm.cjs.prod.js +1 -1
- package/evm/dist/thirdweb-dev-react-evm.esm.js +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OTPInput.d.ts","sourceRoot":"../../../../src/components","sources":["OTPInput.tsx"],"names":[],"mappings":"AAOA,wBAAgB,QAAQ,CAAC,KAAK,EAAE;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,
|
|
1
|
+
{"version":3,"file":"OTPInput.d.ts","sourceRoot":"../../../../src/components","sources":["OTPInput.tsx"],"names":[],"mappings":"AAOA,wBAAgB,QAAQ,CAAC,KAAK,EAAE;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,2CA4GA"}
|
|
@@ -690,7 +690,7 @@ const FadeIn = /* @__PURE__ */formElements.StyledDiv({
|
|
|
690
690
|
});
|
|
691
691
|
|
|
692
692
|
function OTPInput(props) {
|
|
693
|
-
const otp = props.value.split("");
|
|
693
|
+
const otp = props.value.split("").map(Number);
|
|
694
694
|
const setOTP = newOTP => {
|
|
695
695
|
props.setValue(newOTP.join(""));
|
|
696
696
|
};
|
|
@@ -712,13 +712,13 @@ function OTPInput(props) {
|
|
|
712
712
|
"data-error": props.isInvalid,
|
|
713
713
|
ref: e => boxEls.current[i] = e,
|
|
714
714
|
value: otp[i] ?? "",
|
|
715
|
-
type: "
|
|
716
|
-
pattern: "[
|
|
715
|
+
type: "number",
|
|
716
|
+
pattern: "[0-9]*",
|
|
717
717
|
variant: "outline",
|
|
718
|
-
inputMode: "
|
|
718
|
+
inputMode: "numeric",
|
|
719
719
|
onPaste: e => {
|
|
720
720
|
const pastedData = e.clipboardData.getData("text/plain");
|
|
721
|
-
const newOTP = pastedData.slice(0, props.digits).split("");
|
|
721
|
+
const newOTP = pastedData.slice(0, props.digits).split("").filter(n => /\d/.test(n)).map(Number);
|
|
722
722
|
setOTP(newOTP);
|
|
723
723
|
e.preventDefault();
|
|
724
724
|
},
|
|
@@ -769,7 +769,7 @@ function OTPInput(props) {
|
|
|
769
769
|
}
|
|
770
770
|
const newOTP = [...otp];
|
|
771
771
|
const index = i > inputToFocusIndex - 1 ? inputToFocusIndex : i;
|
|
772
|
-
newOTP[index] = value;
|
|
772
|
+
newOTP[index] = Number(value);
|
|
773
773
|
setOTP(newOTP);
|
|
774
774
|
}
|
|
775
775
|
}, i);
|
|
@@ -7351,7 +7351,7 @@ function usePaperWallet() {
|
|
|
7351
7351
|
return React.useCallback(async options => {
|
|
7352
7352
|
const {
|
|
7353
7353
|
paperWallet
|
|
7354
|
-
} = await Promise.resolve().then(function () { return require('./paperWallet-
|
|
7354
|
+
} = await Promise.resolve().then(function () { return require('./paperWallet-b6215c34.cjs.dev.js'); });
|
|
7355
7355
|
return connect(paperWallet(options), {
|
|
7356
7356
|
chainId: options.chainId,
|
|
7357
7357
|
email: options.email
|
|
@@ -659,7 +659,7 @@ const FadeIn = /* @__PURE__ */StyledDiv({
|
|
|
659
659
|
});
|
|
660
660
|
|
|
661
661
|
function OTPInput(props) {
|
|
662
|
-
const otp = props.value.split("");
|
|
662
|
+
const otp = props.value.split("").map(Number);
|
|
663
663
|
const setOTP = newOTP => {
|
|
664
664
|
props.setValue(newOTP.join(""));
|
|
665
665
|
};
|
|
@@ -681,13 +681,13 @@ function OTPInput(props) {
|
|
|
681
681
|
"data-error": props.isInvalid,
|
|
682
682
|
ref: e => boxEls.current[i] = e,
|
|
683
683
|
value: otp[i] ?? "",
|
|
684
|
-
type: "
|
|
685
|
-
pattern: "[
|
|
684
|
+
type: "number",
|
|
685
|
+
pattern: "[0-9]*",
|
|
686
686
|
variant: "outline",
|
|
687
|
-
inputMode: "
|
|
687
|
+
inputMode: "numeric",
|
|
688
688
|
onPaste: e => {
|
|
689
689
|
const pastedData = e.clipboardData.getData("text/plain");
|
|
690
|
-
const newOTP = pastedData.slice(0, props.digits).split("");
|
|
690
|
+
const newOTP = pastedData.slice(0, props.digits).split("").filter(n => /\d/.test(n)).map(Number);
|
|
691
691
|
setOTP(newOTP);
|
|
692
692
|
e.preventDefault();
|
|
693
693
|
},
|
|
@@ -738,7 +738,7 @@ function OTPInput(props) {
|
|
|
738
738
|
}
|
|
739
739
|
const newOTP = [...otp];
|
|
740
740
|
const index = i > inputToFocusIndex - 1 ? inputToFocusIndex : i;
|
|
741
|
-
newOTP[index] = value;
|
|
741
|
+
newOTP[index] = Number(value);
|
|
742
742
|
setOTP(newOTP);
|
|
743
743
|
}
|
|
744
744
|
}, i);
|
|
@@ -7320,7 +7320,7 @@ function usePaperWallet() {
|
|
|
7320
7320
|
return useCallback(async options => {
|
|
7321
7321
|
const {
|
|
7322
7322
|
paperWallet
|
|
7323
|
-
} = await import('./paperWallet-
|
|
7323
|
+
} = await import('./paperWallet-dcd25ac6.esm.js');
|
|
7324
7324
|
return connect(paperWallet(options), {
|
|
7325
7325
|
chainId: options.chainId,
|
|
7326
7326
|
email: options.email
|
|
@@ -690,7 +690,7 @@ const FadeIn = /* @__PURE__ */formElements.StyledDiv({
|
|
|
690
690
|
});
|
|
691
691
|
|
|
692
692
|
function OTPInput(props) {
|
|
693
|
-
const otp = props.value.split("");
|
|
693
|
+
const otp = props.value.split("").map(Number);
|
|
694
694
|
const setOTP = newOTP => {
|
|
695
695
|
props.setValue(newOTP.join(""));
|
|
696
696
|
};
|
|
@@ -712,13 +712,13 @@ function OTPInput(props) {
|
|
|
712
712
|
"data-error": props.isInvalid,
|
|
713
713
|
ref: e => boxEls.current[i] = e,
|
|
714
714
|
value: otp[i] ?? "",
|
|
715
|
-
type: "
|
|
716
|
-
pattern: "[
|
|
715
|
+
type: "number",
|
|
716
|
+
pattern: "[0-9]*",
|
|
717
717
|
variant: "outline",
|
|
718
|
-
inputMode: "
|
|
718
|
+
inputMode: "numeric",
|
|
719
719
|
onPaste: e => {
|
|
720
720
|
const pastedData = e.clipboardData.getData("text/plain");
|
|
721
|
-
const newOTP = pastedData.slice(0, props.digits).split("");
|
|
721
|
+
const newOTP = pastedData.slice(0, props.digits).split("").filter(n => /\d/.test(n)).map(Number);
|
|
722
722
|
setOTP(newOTP);
|
|
723
723
|
e.preventDefault();
|
|
724
724
|
},
|
|
@@ -769,7 +769,7 @@ function OTPInput(props) {
|
|
|
769
769
|
}
|
|
770
770
|
const newOTP = [...otp];
|
|
771
771
|
const index = i > inputToFocusIndex - 1 ? inputToFocusIndex : i;
|
|
772
|
-
newOTP[index] = value;
|
|
772
|
+
newOTP[index] = Number(value);
|
|
773
773
|
setOTP(newOTP);
|
|
774
774
|
}
|
|
775
775
|
}, i);
|
|
@@ -7351,7 +7351,7 @@ function usePaperWallet() {
|
|
|
7351
7351
|
return React.useCallback(async options => {
|
|
7352
7352
|
const {
|
|
7353
7353
|
paperWallet
|
|
7354
|
-
} = await Promise.resolve().then(function () { return require('./paperWallet-
|
|
7354
|
+
} = await Promise.resolve().then(function () { return require('./paperWallet-928ac7fb.cjs.prod.js'); });
|
|
7355
7355
|
return connect(paperWallet(options), {
|
|
7356
7356
|
chainId: options.chainId,
|
|
7357
7357
|
email: options.email
|
|
@@ -659,7 +659,7 @@ const FadeIn = /* @__PURE__ */StyledDiv({
|
|
|
659
659
|
});
|
|
660
660
|
|
|
661
661
|
function OTPInput(props) {
|
|
662
|
-
const otp = props.value.split("");
|
|
662
|
+
const otp = props.value.split("").map(Number);
|
|
663
663
|
const setOTP = newOTP => {
|
|
664
664
|
props.setValue(newOTP.join(""));
|
|
665
665
|
};
|
|
@@ -681,13 +681,13 @@ function OTPInput(props) {
|
|
|
681
681
|
"data-error": props.isInvalid,
|
|
682
682
|
ref: e => boxEls.current[i] = e,
|
|
683
683
|
value: otp[i] ?? "",
|
|
684
|
-
type: "
|
|
685
|
-
pattern: "[
|
|
684
|
+
type: "number",
|
|
685
|
+
pattern: "[0-9]*",
|
|
686
686
|
variant: "outline",
|
|
687
|
-
inputMode: "
|
|
687
|
+
inputMode: "numeric",
|
|
688
688
|
onPaste: e => {
|
|
689
689
|
const pastedData = e.clipboardData.getData("text/plain");
|
|
690
|
-
const newOTP = pastedData.slice(0, props.digits).split("");
|
|
690
|
+
const newOTP = pastedData.slice(0, props.digits).split("").filter(n => /\d/.test(n)).map(Number);
|
|
691
691
|
setOTP(newOTP);
|
|
692
692
|
e.preventDefault();
|
|
693
693
|
},
|
|
@@ -738,7 +738,7 @@ function OTPInput(props) {
|
|
|
738
738
|
}
|
|
739
739
|
const newOTP = [...otp];
|
|
740
740
|
const index = i > inputToFocusIndex - 1 ? inputToFocusIndex : i;
|
|
741
|
-
newOTP[index] = value;
|
|
741
|
+
newOTP[index] = Number(value);
|
|
742
742
|
setOTP(newOTP);
|
|
743
743
|
}
|
|
744
744
|
}, i);
|
|
@@ -7320,7 +7320,7 @@ function usePaperWallet() {
|
|
|
7320
7320
|
return useCallback(async options => {
|
|
7321
7321
|
const {
|
|
7322
7322
|
paperWallet
|
|
7323
|
-
} = await import('./paperWallet-
|
|
7323
|
+
} = await import('./paperWallet-6bf1f980.browser.esm.js');
|
|
7324
7324
|
return connect(paperWallet(options), {
|
|
7325
7325
|
chainId: options.chainId,
|
|
7326
7326
|
email: options.email
|
|
@@ -2,7 +2,7 @@ import { PaperWallet } from '@thirdweb-dev/wallets';
|
|
|
2
2
|
import { useContext, useState, useCallback, useRef, useEffect } from 'react';
|
|
3
3
|
import styled from '@emotion/styled';
|
|
4
4
|
import { b as useTWLocale, u as useCustomTheme, I as Img, i as iconSize, p as TextDivider, q as useScreenContext, f as ModalConfigCtx, C as Container, M as ModalHeader, S as Spacer, B as Button, s as spacing, T as Text, v as Input, d as Spinner, L as Line, A as StyledButton, g as fontSize, R as ModalTitle, D as reservedScreens } from './formElements-556d0493.browser.esm.js';
|
|
5
|
-
import { x as openOauthSignInWindow, O as OTPInput } from './oneKeyWallet-
|
|
5
|
+
import { x as openOauthSignInWindow, O as OTPInput } from './oneKeyWallet-c8253f9c.browser.esm.js';
|
|
6
6
|
import { g as googleIconUri, I as InputSelectionUI, e as emailIcon } from './Tooltip-4592ae25.browser.esm.js';
|
|
7
7
|
import { T as TOS, P as PoweredByThirdweb, W as WalletEntryButton } from './safeChainSlug-bca88c60.browser.esm.js';
|
|
8
8
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
@@ -4,7 +4,7 @@ var wallets = require('@thirdweb-dev/wallets');
|
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var styled = require('@emotion/styled');
|
|
6
6
|
var formElements = require('./formElements-c9f9b97c.cjs.prod.js');
|
|
7
|
-
var oneKeyWallet = require('./oneKeyWallet-
|
|
7
|
+
var oneKeyWallet = require('./oneKeyWallet-8388152d.cjs.prod.js');
|
|
8
8
|
var Tooltip = require('./Tooltip-3c4516f1.cjs.prod.js');
|
|
9
9
|
var coinbaseWallet = require('./safeChainSlug-d64d6e2a.cjs.prod.js');
|
|
10
10
|
var jsxRuntime = require('react/jsx-runtime');
|
|
@@ -4,7 +4,7 @@ var wallets = require('@thirdweb-dev/wallets');
|
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var styled = require('@emotion/styled');
|
|
6
6
|
var formElements = require('./formElements-53d5ad03.cjs.dev.js');
|
|
7
|
-
var oneKeyWallet = require('./oneKeyWallet-
|
|
7
|
+
var oneKeyWallet = require('./oneKeyWallet-2b172eb2.cjs.dev.js');
|
|
8
8
|
var Tooltip = require('./Tooltip-11f884cd.cjs.dev.js');
|
|
9
9
|
var coinbaseWallet = require('./safeChainSlug-78ad50c2.cjs.dev.js');
|
|
10
10
|
var jsxRuntime = require('react/jsx-runtime');
|
|
@@ -2,7 +2,7 @@ import { PaperWallet } from '@thirdweb-dev/wallets';
|
|
|
2
2
|
import { useContext, useState, useCallback, useRef, useEffect } from 'react';
|
|
3
3
|
import styled from '@emotion/styled';
|
|
4
4
|
import { b as useTWLocale, u as useCustomTheme, I as Img, i as iconSize, p as TextDivider, q as useScreenContext, f as ModalConfigCtx, C as Container, M as ModalHeader, S as Spacer, B as Button, s as spacing, T as Text, v as Input, d as Spinner, L as Line, A as StyledButton, g as fontSize, R as ModalTitle, D as reservedScreens } from './formElements-370759d5.esm.js';
|
|
5
|
-
import { x as openOauthSignInWindow, O as OTPInput } from './oneKeyWallet-
|
|
5
|
+
import { x as openOauthSignInWindow, O as OTPInput } from './oneKeyWallet-3763333c.esm.js';
|
|
6
6
|
import { g as googleIconUri, I as InputSelectionUI, e as emailIcon } from './Tooltip-f1f794ec.esm.js';
|
|
7
7
|
import { T as TOS, P as PoweredByThirdweb, W as WalletEntryButton } from './safeChainSlug-afcee04e.esm.js';
|
|
8
8
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { E as ExportLocalWallet, p as packageJson } from './oneKeyWallet-
|
|
2
|
-
export { b as ConnectEmbed, a as ConnectModalInline, C as ConnectWallet, M as MediaRenderer, N as NetworkSelector, w as ThirdwebNftMedia, T as ThirdwebProvider, W as Web3Button, d as defaultTokens, e as embeddedWallet, t as oneKeyWallet, k as useBloctoWallet, i as useCoinbaseWallet, l as useEmbeddedWallet, n as useEmbeddedWalletSendVerificationEmail, m as useEmbeddedWalletUserEmail, j as useFrameWallet, c as useInstalledWallets, h as useMetamask, q as usePaperWallet, o as usePaperWalletUserEmail, f as useRainbowWallet, v as useResolvedMediaType, u as useShowConnectEmbed, g as useTrustWallet, r as useWalletConnect, s as useWalletConnectV1 } from './oneKeyWallet-
|
|
1
|
+
import { E as ExportLocalWallet, p as packageJson } from './oneKeyWallet-c8253f9c.browser.esm.js';
|
|
2
|
+
export { b as ConnectEmbed, a as ConnectModalInline, C as ConnectWallet, M as MediaRenderer, N as NetworkSelector, w as ThirdwebNftMedia, T as ThirdwebProvider, W as Web3Button, d as defaultTokens, e as embeddedWallet, t as oneKeyWallet, k as useBloctoWallet, i as useCoinbaseWallet, l as useEmbeddedWallet, n as useEmbeddedWalletSendVerificationEmail, m as useEmbeddedWalletUserEmail, j as useFrameWallet, c as useInstalledWallets, h as useMetamask, q as usePaperWallet, o as usePaperWalletUserEmail, f as useRainbowWallet, v as useResolvedMediaType, u as useShowConnectEmbed, g as useTrustWallet, r as useWalletConnect, s as useWalletConnectV1 } from './oneKeyWallet-c8253f9c.browser.esm.js';
|
|
3
3
|
import { i as isMobile, F as FormFieldWithIconButton, w as wait, C as ConnectingScreen, G as GetStartedScreen, W as WalletEntryButton, H as HeadlessConnectUI, S as ScanScreen, h as handelWCSessionRequest, E as ExtensionOrWCConnectionUI } from './safeChainSlug-bca88c60.browser.esm.js';
|
|
4
4
|
export { c as coinbaseWallet, d as defaultWallets, m as metamaskWallet, p as phantomWallet, r as rainbowWallet, t as trustWallet, a as walletConnect, z as zerionWallet } from './safeChainSlug-bca88c60.browser.esm.js';
|
|
5
5
|
import { useCreateWalletInstance, useSetConnectionStatus, useSetConnectedWallet, useWalletContext, useWallets, shortenAddress, useConnect, useSDKChainId, useConnectionStatus } from '@thirdweb-dev/react-core';
|
|
@@ -16,7 +16,7 @@ import { UploadIcon, EyeClosedIcon, EyeOpenIcon, ExclamationTriangleIcon } from
|
|
|
16
16
|
import styled from '@emotion/styled';
|
|
17
17
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
18
18
|
export { magicLink } from './magicLink-fc223d8c.browser.esm.js';
|
|
19
|
-
export { paperWallet } from './paperWallet-
|
|
19
|
+
export { paperWallet } from './paperWallet-6bf1f980.browser.esm.js';
|
|
20
20
|
export { safeWallet } from './safeWallet-959085a5.browser.esm.js';
|
|
21
21
|
export { walletConnectV1 } from './walletConnectV1-9a7c898e.browser.esm.js';
|
|
22
22
|
export { u as useSafe } from './useSafe-88e40fe2.browser.esm.js';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var oneKeyWallet = require('./oneKeyWallet-
|
|
5
|
+
var oneKeyWallet = require('./oneKeyWallet-2b172eb2.cjs.dev.js');
|
|
6
6
|
var coinbaseWallet = require('./safeChainSlug-78ad50c2.cjs.dev.js');
|
|
7
7
|
var reactCore = require('@thirdweb-dev/react-core');
|
|
8
8
|
var smartWallet$2 = require('@thirdweb-dev/wallets/evm/wallets/smart-wallet');
|
|
@@ -15,7 +15,7 @@ var reactIcons = require('@radix-ui/react-icons');
|
|
|
15
15
|
var styled = require('@emotion/styled');
|
|
16
16
|
var jsxRuntime = require('react/jsx-runtime');
|
|
17
17
|
var magicLink = require('./magicLink-41104d8b.cjs.dev.js');
|
|
18
|
-
var paperWallet = require('./paperWallet-
|
|
18
|
+
var paperWallet = require('./paperWallet-b6215c34.cjs.dev.js');
|
|
19
19
|
var safeWallet = require('./safeWallet-82fb9f15.cjs.dev.js');
|
|
20
20
|
var walletConnectV1 = require('./walletConnectV1-a47d9608.cjs.dev.js');
|
|
21
21
|
var useSafe = require('./useSafe-56f7ce3b.cjs.dev.js');
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var oneKeyWallet = require('./oneKeyWallet-
|
|
5
|
+
var oneKeyWallet = require('./oneKeyWallet-8388152d.cjs.prod.js');
|
|
6
6
|
var coinbaseWallet = require('./safeChainSlug-d64d6e2a.cjs.prod.js');
|
|
7
7
|
var reactCore = require('@thirdweb-dev/react-core');
|
|
8
8
|
var smartWallet$2 = require('@thirdweb-dev/wallets/evm/wallets/smart-wallet');
|
|
@@ -15,7 +15,7 @@ var reactIcons = require('@radix-ui/react-icons');
|
|
|
15
15
|
var styled = require('@emotion/styled');
|
|
16
16
|
var jsxRuntime = require('react/jsx-runtime');
|
|
17
17
|
var magicLink = require('./magicLink-def6e85f.cjs.prod.js');
|
|
18
|
-
var paperWallet = require('./paperWallet-
|
|
18
|
+
var paperWallet = require('./paperWallet-928ac7fb.cjs.prod.js');
|
|
19
19
|
var safeWallet = require('./safeWallet-06a6216a.cjs.prod.js');
|
|
20
20
|
var walletConnectV1 = require('./walletConnectV1-873b6e10.cjs.prod.js');
|
|
21
21
|
var useSafe = require('./useSafe-986a2510.cjs.prod.js');
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { E as ExportLocalWallet, p as packageJson } from './oneKeyWallet-
|
|
2
|
-
export { b as ConnectEmbed, a as ConnectModalInline, C as ConnectWallet, M as MediaRenderer, N as NetworkSelector, w as ThirdwebNftMedia, T as ThirdwebProvider, W as Web3Button, d as defaultTokens, e as embeddedWallet, t as oneKeyWallet, k as useBloctoWallet, i as useCoinbaseWallet, l as useEmbeddedWallet, n as useEmbeddedWalletSendVerificationEmail, m as useEmbeddedWalletUserEmail, j as useFrameWallet, c as useInstalledWallets, h as useMetamask, q as usePaperWallet, o as usePaperWalletUserEmail, f as useRainbowWallet, v as useResolvedMediaType, u as useShowConnectEmbed, g as useTrustWallet, r as useWalletConnect, s as useWalletConnectV1 } from './oneKeyWallet-
|
|
1
|
+
import { E as ExportLocalWallet, p as packageJson } from './oneKeyWallet-3763333c.esm.js';
|
|
2
|
+
export { b as ConnectEmbed, a as ConnectModalInline, C as ConnectWallet, M as MediaRenderer, N as NetworkSelector, w as ThirdwebNftMedia, T as ThirdwebProvider, W as Web3Button, d as defaultTokens, e as embeddedWallet, t as oneKeyWallet, k as useBloctoWallet, i as useCoinbaseWallet, l as useEmbeddedWallet, n as useEmbeddedWalletSendVerificationEmail, m as useEmbeddedWalletUserEmail, j as useFrameWallet, c as useInstalledWallets, h as useMetamask, q as usePaperWallet, o as usePaperWalletUserEmail, f as useRainbowWallet, v as useResolvedMediaType, u as useShowConnectEmbed, g as useTrustWallet, r as useWalletConnect, s as useWalletConnectV1 } from './oneKeyWallet-3763333c.esm.js';
|
|
3
3
|
import { i as isMobile, F as FormFieldWithIconButton, w as wait, C as ConnectingScreen, G as GetStartedScreen, W as WalletEntryButton, H as HeadlessConnectUI, S as ScanScreen, h as handelWCSessionRequest, E as ExtensionOrWCConnectionUI } from './safeChainSlug-afcee04e.esm.js';
|
|
4
4
|
export { c as coinbaseWallet, d as defaultWallets, m as metamaskWallet, p as phantomWallet, r as rainbowWallet, t as trustWallet, a as walletConnect, z as zerionWallet } from './safeChainSlug-afcee04e.esm.js';
|
|
5
5
|
import { useCreateWalletInstance, useSetConnectionStatus, useSetConnectedWallet, useWalletContext, useWallets, shortenAddress, useConnect, useSDKChainId, useConnectionStatus } from '@thirdweb-dev/react-core';
|
|
@@ -16,7 +16,7 @@ import { UploadIcon, EyeClosedIcon, EyeOpenIcon, ExclamationTriangleIcon } from
|
|
|
16
16
|
import styled from '@emotion/styled';
|
|
17
17
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
18
18
|
export { magicLink } from './magicLink-cea2fa50.esm.js';
|
|
19
|
-
export { paperWallet } from './paperWallet-
|
|
19
|
+
export { paperWallet } from './paperWallet-dcd25ac6.esm.js';
|
|
20
20
|
export { safeWallet } from './safeWallet-36fb6be6.esm.js';
|
|
21
21
|
export { walletConnectV1 } from './walletConnectV1-f6c0d03e.esm.js';
|
|
22
22
|
export { u as useSafe } from './useSafe-89f2ff05.esm.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { m as useIsWalletModalOpen, n as useSetIsWalletModalOpen, o as useSetWalletModalConfig } from '../../dist/formElements-556d0493.browser.esm.js';
|
|
2
2
|
export { u as useSafe } from '../../dist/useSafe-88e40fe2.browser.esm.js';
|
|
3
3
|
export { u as useMagic } from '../../dist/useMagic-ffb2a195.browser.esm.js';
|
|
4
|
-
export { b as ConnectEmbed, a as ConnectModalInline, C as ConnectWallet, M as MediaRenderer, N as NetworkSelector, w as ThirdwebNftMedia, T as ThirdwebProvider, W as Web3Button, d as defaultTokens, t as oneKeyWallet, k as useBloctoWallet, i as useCoinbaseWallet, l as useEmbeddedWallet, n as useEmbeddedWalletSendVerificationEmail, m as useEmbeddedWalletUserEmail, j as useFrameWallet, c as useInstalledWallets, h as useMetamask, q as usePaperWallet, o as usePaperWalletUserEmail, f as useRainbowWallet, v as useResolvedMediaType, u as useShowConnectEmbed, g as useTrustWallet, r as useWalletConnect, s as useWalletConnectV1 } from '../../dist/oneKeyWallet-
|
|
4
|
+
export { b as ConnectEmbed, a as ConnectModalInline, C as ConnectWallet, M as MediaRenderer, N as NetworkSelector, w as ThirdwebNftMedia, T as ThirdwebProvider, W as Web3Button, d as defaultTokens, t as oneKeyWallet, k as useBloctoWallet, i as useCoinbaseWallet, l as useEmbeddedWallet, n as useEmbeddedWalletSendVerificationEmail, m as useEmbeddedWalletUserEmail, j as useFrameWallet, c as useInstalledWallets, h as useMetamask, q as usePaperWallet, o as usePaperWalletUserEmail, f as useRainbowWallet, v as useResolvedMediaType, u as useShowConnectEmbed, g as useTrustWallet, r as useWalletConnect, s as useWalletConnectV1 } from '../../dist/oneKeyWallet-c8253f9c.browser.esm.js';
|
|
5
5
|
export * from '@thirdweb-dev/react-core';
|
|
6
6
|
export { BloctoWallet, Coin98Wallet, CoinbaseWallet, CoreWallet, CryptoDefiWallet, EmbeddedWallet, FrameWallet, InjectedWallet, LocalWallet, MagicLink, MetaMaskWallet, OKXWallet, OneKeyWallet, PaperWallet, PhantomWallet, RabbyWallet, RainbowWallet, SafeWallet, SignerWallet, SmartWallet, TrustWallet, WalletConnect, ZerionWallet, setWalletAnalyticsEnabled } from '@thirdweb-dev/wallets';
|
|
7
7
|
import 'react/jsx-runtime';
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var formElements = require('../../dist/formElements-53d5ad03.cjs.dev.js');
|
|
6
6
|
var useSafe = require('../../dist/useSafe-56f7ce3b.cjs.dev.js');
|
|
7
7
|
var useMagic = require('../../dist/useMagic-f9fee574.cjs.dev.js');
|
|
8
|
-
var oneKeyWallet = require('../../dist/oneKeyWallet-
|
|
8
|
+
var oneKeyWallet = require('../../dist/oneKeyWallet-2b172eb2.cjs.dev.js');
|
|
9
9
|
var reactCore = require('@thirdweb-dev/react-core');
|
|
10
10
|
var wallets = require('@thirdweb-dev/wallets');
|
|
11
11
|
require('react/jsx-runtime');
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var formElements = require('../../dist/formElements-c9f9b97c.cjs.prod.js');
|
|
6
6
|
var useSafe = require('../../dist/useSafe-986a2510.cjs.prod.js');
|
|
7
7
|
var useMagic = require('../../dist/useMagic-552adcd6.cjs.prod.js');
|
|
8
|
-
var oneKeyWallet = require('../../dist/oneKeyWallet-
|
|
8
|
+
var oneKeyWallet = require('../../dist/oneKeyWallet-8388152d.cjs.prod.js');
|
|
9
9
|
var reactCore = require('@thirdweb-dev/react-core');
|
|
10
10
|
var wallets = require('@thirdweb-dev/wallets');
|
|
11
11
|
require('react/jsx-runtime');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { m as useIsWalletModalOpen, n as useSetIsWalletModalOpen, o as useSetWalletModalConfig } from '../../dist/formElements-370759d5.esm.js';
|
|
2
2
|
export { u as useSafe } from '../../dist/useSafe-89f2ff05.esm.js';
|
|
3
3
|
export { u as useMagic } from '../../dist/useMagic-cbe7bcc0.esm.js';
|
|
4
|
-
export { b as ConnectEmbed, a as ConnectModalInline, C as ConnectWallet, M as MediaRenderer, N as NetworkSelector, w as ThirdwebNftMedia, T as ThirdwebProvider, W as Web3Button, d as defaultTokens, t as oneKeyWallet, k as useBloctoWallet, i as useCoinbaseWallet, l as useEmbeddedWallet, n as useEmbeddedWalletSendVerificationEmail, m as useEmbeddedWalletUserEmail, j as useFrameWallet, c as useInstalledWallets, h as useMetamask, q as usePaperWallet, o as usePaperWalletUserEmail, f as useRainbowWallet, v as useResolvedMediaType, u as useShowConnectEmbed, g as useTrustWallet, r as useWalletConnect, s as useWalletConnectV1 } from '../../dist/oneKeyWallet-
|
|
4
|
+
export { b as ConnectEmbed, a as ConnectModalInline, C as ConnectWallet, M as MediaRenderer, N as NetworkSelector, w as ThirdwebNftMedia, T as ThirdwebProvider, W as Web3Button, d as defaultTokens, t as oneKeyWallet, k as useBloctoWallet, i as useCoinbaseWallet, l as useEmbeddedWallet, n as useEmbeddedWalletSendVerificationEmail, m as useEmbeddedWalletUserEmail, j as useFrameWallet, c as useInstalledWallets, h as useMetamask, q as usePaperWallet, o as usePaperWalletUserEmail, f as useRainbowWallet, v as useResolvedMediaType, u as useShowConnectEmbed, g as useTrustWallet, r as useWalletConnect, s as useWalletConnectV1 } from '../../dist/oneKeyWallet-3763333c.esm.js';
|
|
5
5
|
export * from '@thirdweb-dev/react-core';
|
|
6
6
|
export { BloctoWallet, Coin98Wallet, CoinbaseWallet, CoreWallet, CryptoDefiWallet, EmbeddedWallet, FrameWallet, InjectedWallet, LocalWallet, MagicLink, MetaMaskWallet, OKXWallet, OneKeyWallet, PaperWallet, PhantomWallet, RabbyWallet, RainbowWallet, SafeWallet, SignerWallet, SmartWallet, TrustWallet, WalletConnect, ZerionWallet, setWalletAnalyticsEnabled } from '@thirdweb-dev/wallets';
|
|
7
7
|
import 'react/jsx-runtime';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thirdweb-dev/react",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.11-nightly-d5d7d542c-20240229221934",
|
|
4
4
|
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/react",
|
|
5
5
|
"author": "thirdweb eng <eng@thirdweb.com>",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
"@tanstack/react-query": "^4.33.0",
|
|
112
112
|
"@thirdweb-dev/chains": "0.1.74",
|
|
113
113
|
"@thirdweb-dev/payments": "1.0.2",
|
|
114
|
-
"@thirdweb-dev/react-core": "4.4.
|
|
114
|
+
"@thirdweb-dev/react-core": "4.4.11-nightly-d5d7d542c-20240229221934",
|
|
115
115
|
"@thirdweb-dev/sdk": "4.0.37",
|
|
116
116
|
"@thirdweb-dev/wallets": "2.4.12",
|
|
117
117
|
"buffer": "^6.0.3",
|