@matchain/matchid-sdk-react 0.1.42-alpha.4 → 0.1.42-alpha.6
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/assets/icon/index.d.mts +133 -0
- package/dist/assets/icon/index.d.ts +133 -0
- package/dist/{chunk-GEM2V3W6.mjs → chunk-MRGV6YS3.mjs} +21 -6
- package/dist/chunk-MRGV6YS3.mjs.map +1 -0
- package/dist/{chunk-FZUZ63FZ.mjs → chunk-XPTMBR7D.mjs} +2 -2
- package/dist/components/index.d.mts +5 -0
- package/dist/components/index.d.ts +5 -0
- package/dist/components/index.js +20 -5
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/config/chains/index.d.mts +2 -0
- package/dist/config/chains/index.d.ts +2 -0
- package/dist/hooks/api/index.d.mts +5 -0
- package/dist/hooks/api/index.d.ts +5 -0
- package/dist/hooks/api/index.js.map +1 -1
- package/dist/hooks/api/index.mjs +2 -2
- package/dist/hooks/index.d.mts +7 -0
- package/dist/hooks/index.d.ts +7 -0
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/index.mjs +1 -1
- package/dist/index-BxS06a5O.d.ts +50 -0
- package/dist/index-Ca9nh_8s.d.ts +65 -0
- package/dist/index-CmH9iRLd.d.mts +102 -0
- package/dist/index-DFZpfAfc.d.mts +65 -0
- package/dist/index-DKMrpRJC.d.ts +137 -0
- package/dist/index-DXRGMAbv.d.mts +83 -0
- package/dist/index-DXRGMAbv.d.ts +83 -0
- package/dist/index-DY_ReBra.d.ts +102 -0
- package/dist/index-q5XDobUF.d.mts +50 -0
- package/dist/index-sOVSnYF4.d.mts +137 -0
- package/dist/index.d.mts +37 -0
- package/dist/index.d.ts +37 -0
- package/dist/index.js +20 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/mpc-CTbBWHld.d.mts +20 -0
- package/dist/mpc-CTbBWHld.d.ts +20 -0
- package/dist/types/index.d.mts +3 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types-CVwZEgQ0.d.mts +244 -0
- package/dist/types-CVwZEgQ0.d.ts +244 -0
- package/package.json +1 -1
- package/dist/chunk-GEM2V3W6.mjs.map +0 -1
- /package/dist/{chunk-FZUZ63FZ.mjs.map → chunk-XPTMBR7D.mjs.map} +0 -0
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import React, { CSSProperties } from 'react';
|
|
3
|
+
import { s as IconProps$1 } from '../../types-CVwZEgQ0.mjs';
|
|
4
|
+
|
|
5
|
+
declare function BackIcon({ color, size, className, style }: {
|
|
6
|
+
color?: string;
|
|
7
|
+
size?: number;
|
|
8
|
+
style?: CSSProperties;
|
|
9
|
+
className?: string;
|
|
10
|
+
}): react_jsx_runtime.JSX.Element;
|
|
11
|
+
|
|
12
|
+
declare function CloseIcon({ color, size, style }: {
|
|
13
|
+
color?: string;
|
|
14
|
+
size?: number;
|
|
15
|
+
style?: CSSProperties;
|
|
16
|
+
}): react_jsx_runtime.JSX.Element;
|
|
17
|
+
|
|
18
|
+
declare function XIcon({ size }: {
|
|
19
|
+
size?: number;
|
|
20
|
+
}): react_jsx_runtime.JSX.Element;
|
|
21
|
+
|
|
22
|
+
declare function GoogleIcon({ size }: {
|
|
23
|
+
size?: number;
|
|
24
|
+
}): react_jsx_runtime.JSX.Element;
|
|
25
|
+
|
|
26
|
+
declare function WalletIcon({ size, }: {
|
|
27
|
+
size?: number;
|
|
28
|
+
}): react_jsx_runtime.JSX.Element;
|
|
29
|
+
|
|
30
|
+
declare function TelegramIcon({ size, }: {
|
|
31
|
+
size?: number;
|
|
32
|
+
}): react_jsx_runtime.JSX.Element;
|
|
33
|
+
|
|
34
|
+
declare function EmailIcon({ size, }: {
|
|
35
|
+
size?: number;
|
|
36
|
+
}): react_jsx_runtime.JSX.Element;
|
|
37
|
+
|
|
38
|
+
declare function ArrowRightIcon({ color, size, className, style }: IconProps$1): react_jsx_runtime.JSX.Element;
|
|
39
|
+
|
|
40
|
+
declare function CloseRoundIcon({ size, ...props }: IconProps$1): react_jsx_runtime.JSX.Element;
|
|
41
|
+
|
|
42
|
+
interface LoadingIconProps {
|
|
43
|
+
size?: number;
|
|
44
|
+
className?: string;
|
|
45
|
+
color?: string;
|
|
46
|
+
}
|
|
47
|
+
declare const LoadingIcon: React.FC<LoadingIconProps>;
|
|
48
|
+
|
|
49
|
+
declare function EmailLineIcon({ size, color, ...props }: IconProps$1): react_jsx_runtime.JSX.Element;
|
|
50
|
+
|
|
51
|
+
declare const UnLoginIcon: React.FC<IconProps$1>;
|
|
52
|
+
|
|
53
|
+
declare const LoginIcon: React.FC<IconProps$1>;
|
|
54
|
+
|
|
55
|
+
declare function CheckRoundIcon({ size, color, ...props }: Omit<IconProps$1, 'width' | 'height'>): react_jsx_runtime.JSX.Element;
|
|
56
|
+
|
|
57
|
+
declare function PasswordRoundIcon(): react_jsx_runtime.JSX.Element;
|
|
58
|
+
|
|
59
|
+
type IconProps = {
|
|
60
|
+
color?: string,
|
|
61
|
+
height?: string|number,
|
|
62
|
+
width?: string|number,
|
|
63
|
+
className?: string
|
|
64
|
+
size?: number
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
type IconSizeColorProps = Omit<IconProps, 'height' |'width'>
|
|
68
|
+
|
|
69
|
+
type IconSizeProps = Omit<IconProps, 'color'|'height'|'width'>
|
|
70
|
+
|
|
71
|
+
declare function CloseEyeIcon({ size, color }: IconSizeColorProps): react_jsx_runtime.JSX.Element;
|
|
72
|
+
|
|
73
|
+
declare function OpenEyeIcon({ size, color }: IconSizeColorProps): react_jsx_runtime.JSX.Element;
|
|
74
|
+
|
|
75
|
+
declare function DeleteRoundIcon({ height, width, color, ...props }: IconProps$1): react_jsx_runtime.JSX.Element;
|
|
76
|
+
|
|
77
|
+
declare function FacebookIcon({ size }: {
|
|
78
|
+
size?: number | string;
|
|
79
|
+
}): react_jsx_runtime.JSX.Element;
|
|
80
|
+
|
|
81
|
+
declare function ArrowLeftIcon({ color, width, height, ...props }: IconProps$1): react_jsx_runtime.JSX.Element;
|
|
82
|
+
|
|
83
|
+
declare function GithubIcon({ size }: {
|
|
84
|
+
size?: number | string;
|
|
85
|
+
}): react_jsx_runtime.JSX.Element;
|
|
86
|
+
|
|
87
|
+
declare function DiscordIcon({ size }: {
|
|
88
|
+
size?: number | string;
|
|
89
|
+
}): react_jsx_runtime.JSX.Element;
|
|
90
|
+
|
|
91
|
+
declare function CheckIcon({ size, color, ...props }: IconSizeColorProps): react_jsx_runtime.JSX.Element;
|
|
92
|
+
|
|
93
|
+
declare function CopyIcon({ size, color, ...props }: IconSizeColorProps): react_jsx_runtime.JSX.Element;
|
|
94
|
+
|
|
95
|
+
declare function LinkedinIcon({ size, ...props }: IconSizeColorProps): react_jsx_runtime.JSX.Element;
|
|
96
|
+
|
|
97
|
+
declare function YoutubeIcon({ size, ...props }: IconSizeColorProps): react_jsx_runtime.JSX.Element;
|
|
98
|
+
|
|
99
|
+
declare function BTCDarkIcon({ size, ...props }: IconSizeProps): react_jsx_runtime.JSX.Element;
|
|
100
|
+
|
|
101
|
+
declare function BTCLightIcon({ size, ...props }: IconSizeProps): react_jsx_runtime.JSX.Element;
|
|
102
|
+
|
|
103
|
+
declare function EVMDarkIcon({ size, ...props }: IconSizeProps): react_jsx_runtime.JSX.Element;
|
|
104
|
+
|
|
105
|
+
declare function EVMLightIcon({ size, ...props }: IconSizeProps): react_jsx_runtime.JSX.Element;
|
|
106
|
+
|
|
107
|
+
declare function SOLDarkIcon({ size, ...props }: IconSizeProps): react_jsx_runtime.JSX.Element;
|
|
108
|
+
|
|
109
|
+
declare function SOLLightIcon({ size, ...props }: IconSizeProps): react_jsx_runtime.JSX.Element;
|
|
110
|
+
|
|
111
|
+
declare function TRXDarkIcon({ size, ...props }: IconSizeProps): react_jsx_runtime.JSX.Element;
|
|
112
|
+
|
|
113
|
+
declare function TRXLightIcon({ size, ...props }: IconSizeProps): react_jsx_runtime.JSX.Element;
|
|
114
|
+
|
|
115
|
+
declare function ArrowDownIcon({ width, height, color, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
116
|
+
|
|
117
|
+
declare function LeatherIcon({ size, ...props }: IconSizeProps): react_jsx_runtime.JSX.Element;
|
|
118
|
+
|
|
119
|
+
declare function UnisatIcon({ size, ...props }: IconSizeProps): react_jsx_runtime.JSX.Element;
|
|
120
|
+
|
|
121
|
+
declare function XverseIcon({ size, ...props }: IconSizeProps): react_jsx_runtime.JSX.Element;
|
|
122
|
+
|
|
123
|
+
declare function TronLinkIcon({ size, ...props }: IconSizeProps): react_jsx_runtime.JSX.Element;
|
|
124
|
+
|
|
125
|
+
declare function OKXIcon({ size, ...props }: IconSizeProps): react_jsx_runtime.JSX.Element;
|
|
126
|
+
|
|
127
|
+
declare function BitgetIcon({ size, ...props }: IconSizeProps): react_jsx_runtime.JSX.Element;
|
|
128
|
+
|
|
129
|
+
declare function TonLightIcon$1({ size, ...props }: IconSizeProps): react_jsx_runtime.JSX.Element;
|
|
130
|
+
|
|
131
|
+
declare function TonLightIcon({ size, ...props }: IconSizeProps): react_jsx_runtime.JSX.Element;
|
|
132
|
+
|
|
133
|
+
export { ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, BTCDarkIcon, BTCLightIcon, BackIcon, BitgetIcon, CheckIcon, CheckRoundIcon, CloseEyeIcon, CloseIcon, CloseRoundIcon, CopyIcon, DeleteRoundIcon, DiscordIcon, EVMDarkIcon, EVMLightIcon, EmailIcon, EmailLineIcon, FacebookIcon, GithubIcon, GoogleIcon, LeatherIcon, LinkedinIcon, LoadingIcon, LoginIcon, OKXIcon, OpenEyeIcon, PasswordRoundIcon, SOLDarkIcon, SOLLightIcon, TRXDarkIcon, TRXLightIcon, TelegramIcon, TonLightIcon$1 as TonDarkIcon, TonLightIcon, TronLinkIcon, UnLoginIcon, UnisatIcon, WalletIcon, XIcon, XverseIcon, YoutubeIcon };
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import React, { CSSProperties } from 'react';
|
|
3
|
+
import { s as IconProps$1 } from '../../types-CVwZEgQ0.js';
|
|
4
|
+
|
|
5
|
+
declare function BackIcon({ color, size, className, style }: {
|
|
6
|
+
color?: string;
|
|
7
|
+
size?: number;
|
|
8
|
+
style?: CSSProperties;
|
|
9
|
+
className?: string;
|
|
10
|
+
}): react_jsx_runtime.JSX.Element;
|
|
11
|
+
|
|
12
|
+
declare function CloseIcon({ color, size, style }: {
|
|
13
|
+
color?: string;
|
|
14
|
+
size?: number;
|
|
15
|
+
style?: CSSProperties;
|
|
16
|
+
}): react_jsx_runtime.JSX.Element;
|
|
17
|
+
|
|
18
|
+
declare function XIcon({ size }: {
|
|
19
|
+
size?: number;
|
|
20
|
+
}): react_jsx_runtime.JSX.Element;
|
|
21
|
+
|
|
22
|
+
declare function GoogleIcon({ size }: {
|
|
23
|
+
size?: number;
|
|
24
|
+
}): react_jsx_runtime.JSX.Element;
|
|
25
|
+
|
|
26
|
+
declare function WalletIcon({ size, }: {
|
|
27
|
+
size?: number;
|
|
28
|
+
}): react_jsx_runtime.JSX.Element;
|
|
29
|
+
|
|
30
|
+
declare function TelegramIcon({ size, }: {
|
|
31
|
+
size?: number;
|
|
32
|
+
}): react_jsx_runtime.JSX.Element;
|
|
33
|
+
|
|
34
|
+
declare function EmailIcon({ size, }: {
|
|
35
|
+
size?: number;
|
|
36
|
+
}): react_jsx_runtime.JSX.Element;
|
|
37
|
+
|
|
38
|
+
declare function ArrowRightIcon({ color, size, className, style }: IconProps$1): react_jsx_runtime.JSX.Element;
|
|
39
|
+
|
|
40
|
+
declare function CloseRoundIcon({ size, ...props }: IconProps$1): react_jsx_runtime.JSX.Element;
|
|
41
|
+
|
|
42
|
+
interface LoadingIconProps {
|
|
43
|
+
size?: number;
|
|
44
|
+
className?: string;
|
|
45
|
+
color?: string;
|
|
46
|
+
}
|
|
47
|
+
declare const LoadingIcon: React.FC<LoadingIconProps>;
|
|
48
|
+
|
|
49
|
+
declare function EmailLineIcon({ size, color, ...props }: IconProps$1): react_jsx_runtime.JSX.Element;
|
|
50
|
+
|
|
51
|
+
declare const UnLoginIcon: React.FC<IconProps$1>;
|
|
52
|
+
|
|
53
|
+
declare const LoginIcon: React.FC<IconProps$1>;
|
|
54
|
+
|
|
55
|
+
declare function CheckRoundIcon({ size, color, ...props }: Omit<IconProps$1, 'width' | 'height'>): react_jsx_runtime.JSX.Element;
|
|
56
|
+
|
|
57
|
+
declare function PasswordRoundIcon(): react_jsx_runtime.JSX.Element;
|
|
58
|
+
|
|
59
|
+
type IconProps = {
|
|
60
|
+
color?: string,
|
|
61
|
+
height?: string|number,
|
|
62
|
+
width?: string|number,
|
|
63
|
+
className?: string
|
|
64
|
+
size?: number
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
type IconSizeColorProps = Omit<IconProps, 'height' |'width'>
|
|
68
|
+
|
|
69
|
+
type IconSizeProps = Omit<IconProps, 'color'|'height'|'width'>
|
|
70
|
+
|
|
71
|
+
declare function CloseEyeIcon({ size, color }: IconSizeColorProps): react_jsx_runtime.JSX.Element;
|
|
72
|
+
|
|
73
|
+
declare function OpenEyeIcon({ size, color }: IconSizeColorProps): react_jsx_runtime.JSX.Element;
|
|
74
|
+
|
|
75
|
+
declare function DeleteRoundIcon({ height, width, color, ...props }: IconProps$1): react_jsx_runtime.JSX.Element;
|
|
76
|
+
|
|
77
|
+
declare function FacebookIcon({ size }: {
|
|
78
|
+
size?: number | string;
|
|
79
|
+
}): react_jsx_runtime.JSX.Element;
|
|
80
|
+
|
|
81
|
+
declare function ArrowLeftIcon({ color, width, height, ...props }: IconProps$1): react_jsx_runtime.JSX.Element;
|
|
82
|
+
|
|
83
|
+
declare function GithubIcon({ size }: {
|
|
84
|
+
size?: number | string;
|
|
85
|
+
}): react_jsx_runtime.JSX.Element;
|
|
86
|
+
|
|
87
|
+
declare function DiscordIcon({ size }: {
|
|
88
|
+
size?: number | string;
|
|
89
|
+
}): react_jsx_runtime.JSX.Element;
|
|
90
|
+
|
|
91
|
+
declare function CheckIcon({ size, color, ...props }: IconSizeColorProps): react_jsx_runtime.JSX.Element;
|
|
92
|
+
|
|
93
|
+
declare function CopyIcon({ size, color, ...props }: IconSizeColorProps): react_jsx_runtime.JSX.Element;
|
|
94
|
+
|
|
95
|
+
declare function LinkedinIcon({ size, ...props }: IconSizeColorProps): react_jsx_runtime.JSX.Element;
|
|
96
|
+
|
|
97
|
+
declare function YoutubeIcon({ size, ...props }: IconSizeColorProps): react_jsx_runtime.JSX.Element;
|
|
98
|
+
|
|
99
|
+
declare function BTCDarkIcon({ size, ...props }: IconSizeProps): react_jsx_runtime.JSX.Element;
|
|
100
|
+
|
|
101
|
+
declare function BTCLightIcon({ size, ...props }: IconSizeProps): react_jsx_runtime.JSX.Element;
|
|
102
|
+
|
|
103
|
+
declare function EVMDarkIcon({ size, ...props }: IconSizeProps): react_jsx_runtime.JSX.Element;
|
|
104
|
+
|
|
105
|
+
declare function EVMLightIcon({ size, ...props }: IconSizeProps): react_jsx_runtime.JSX.Element;
|
|
106
|
+
|
|
107
|
+
declare function SOLDarkIcon({ size, ...props }: IconSizeProps): react_jsx_runtime.JSX.Element;
|
|
108
|
+
|
|
109
|
+
declare function SOLLightIcon({ size, ...props }: IconSizeProps): react_jsx_runtime.JSX.Element;
|
|
110
|
+
|
|
111
|
+
declare function TRXDarkIcon({ size, ...props }: IconSizeProps): react_jsx_runtime.JSX.Element;
|
|
112
|
+
|
|
113
|
+
declare function TRXLightIcon({ size, ...props }: IconSizeProps): react_jsx_runtime.JSX.Element;
|
|
114
|
+
|
|
115
|
+
declare function ArrowDownIcon({ width, height, color, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
116
|
+
|
|
117
|
+
declare function LeatherIcon({ size, ...props }: IconSizeProps): react_jsx_runtime.JSX.Element;
|
|
118
|
+
|
|
119
|
+
declare function UnisatIcon({ size, ...props }: IconSizeProps): react_jsx_runtime.JSX.Element;
|
|
120
|
+
|
|
121
|
+
declare function XverseIcon({ size, ...props }: IconSizeProps): react_jsx_runtime.JSX.Element;
|
|
122
|
+
|
|
123
|
+
declare function TronLinkIcon({ size, ...props }: IconSizeProps): react_jsx_runtime.JSX.Element;
|
|
124
|
+
|
|
125
|
+
declare function OKXIcon({ size, ...props }: IconSizeProps): react_jsx_runtime.JSX.Element;
|
|
126
|
+
|
|
127
|
+
declare function BitgetIcon({ size, ...props }: IconSizeProps): react_jsx_runtime.JSX.Element;
|
|
128
|
+
|
|
129
|
+
declare function TonLightIcon$1({ size, ...props }: IconSizeProps): react_jsx_runtime.JSX.Element;
|
|
130
|
+
|
|
131
|
+
declare function TonLightIcon({ size, ...props }: IconSizeProps): react_jsx_runtime.JSX.Element;
|
|
132
|
+
|
|
133
|
+
export { ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, BTCDarkIcon, BTCLightIcon, BackIcon, BitgetIcon, CheckIcon, CheckRoundIcon, CloseEyeIcon, CloseIcon, CloseRoundIcon, CopyIcon, DeleteRoundIcon, DiscordIcon, EVMDarkIcon, EVMLightIcon, EmailIcon, EmailLineIcon, FacebookIcon, GithubIcon, GoogleIcon, LeatherIcon, LinkedinIcon, LoadingIcon, LoginIcon, OKXIcon, OpenEyeIcon, PasswordRoundIcon, SOLDarkIcon, SOLLightIcon, TRXDarkIcon, TRXLightIcon, TelegramIcon, TonLightIcon$1 as TonDarkIcon, TonLightIcon, TronLinkIcon, UnLoginIcon, UnisatIcon, WalletIcon, XIcon, XverseIcon, YoutubeIcon };
|
|
@@ -1880,7 +1880,10 @@ function WalletContent({
|
|
|
1880
1880
|
try {
|
|
1881
1881
|
setStatus("nonce");
|
|
1882
1882
|
statusRef.current = "nonce";
|
|
1883
|
-
const res = type == "bind" ? await getWalletInitApi({
|
|
1883
|
+
const res = type == "bind" ? await getWalletInitApi({
|
|
1884
|
+
address,
|
|
1885
|
+
type: "SOL"
|
|
1886
|
+
}) : await getWalletNonceApi({ address, type: "SOL" });
|
|
1884
1887
|
if (!isSuccess(res)) {
|
|
1885
1888
|
throw new Error(res.message);
|
|
1886
1889
|
}
|
|
@@ -1984,7 +1987,7 @@ var wallets = [
|
|
|
1984
1987
|
new TrustWalletAdapter(),
|
|
1985
1988
|
new XDEFIWalletAdapter()
|
|
1986
1989
|
];
|
|
1987
|
-
function
|
|
1990
|
+
function SOLConnectModal({
|
|
1988
1991
|
type = "login",
|
|
1989
1992
|
onSuccess,
|
|
1990
1993
|
...props
|
|
@@ -1996,6 +1999,9 @@ function SOLModal({
|
|
|
1996
1999
|
name: "SOL"
|
|
1997
2000
|
}), children: /* @__PURE__ */ jsx21(ConnectionProvider, { endpoint: clusterApiUrl("devnet"), children: /* @__PURE__ */ jsx21(WalletProvider, { wallets, autoConnect: true, children: /* @__PURE__ */ jsx21(WalletModalProvider, { children: /* @__PURE__ */ jsx21(WalletContent, { onSuccess, type }) }) }) }) });
|
|
1998
2001
|
}
|
|
2002
|
+
function SOLModal(props) {
|
|
2003
|
+
return props.isOpen && /* @__PURE__ */ jsx21(SOLConnectModal, { ...props });
|
|
2004
|
+
}
|
|
1999
2005
|
|
|
2000
2006
|
// src/components/TRONModal/index.tsx
|
|
2001
2007
|
import React5, { useEffect as useEffect11, useMemo as useMemo7, useState as useState15 } from "react";
|
|
@@ -2110,7 +2116,7 @@ var useTRONWallet = () => {
|
|
|
2110
2116
|
|
|
2111
2117
|
// src/components/TRONModal/index.tsx
|
|
2112
2118
|
import { jsx as jsx22, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
2113
|
-
function
|
|
2119
|
+
function TRONConnectModal({
|
|
2114
2120
|
type = "login",
|
|
2115
2121
|
onSuccess,
|
|
2116
2122
|
...props
|
|
@@ -2261,6 +2267,9 @@ function TRONModal({
|
|
|
2261
2267
|
})
|
|
2262
2268
|
] }) }) });
|
|
2263
2269
|
}
|
|
2270
|
+
function TRONModal(props) {
|
|
2271
|
+
return props.isOpen && /* @__PURE__ */ jsx22(TRONConnectModal, { ...props, type: "" });
|
|
2272
|
+
}
|
|
2264
2273
|
|
|
2265
2274
|
// src/components/TONModal/index.tsx
|
|
2266
2275
|
import React6, { useEffect as useEffect12, useState as useState16 } from "react";
|
|
@@ -2425,7 +2434,7 @@ function WalletContent2({
|
|
|
2425
2434
|
}
|
|
2426
2435
|
);
|
|
2427
2436
|
}
|
|
2428
|
-
function
|
|
2437
|
+
function TONConnectModal({
|
|
2429
2438
|
type = "login",
|
|
2430
2439
|
onSuccess,
|
|
2431
2440
|
...props
|
|
@@ -2445,6 +2454,9 @@ function TONModal({
|
|
|
2445
2454
|
}
|
|
2446
2455
|
) });
|
|
2447
2456
|
}
|
|
2457
|
+
function TONModal(props) {
|
|
2458
|
+
return props.isOpen && /* @__PURE__ */ jsx23(TONConnectModal, { ...props });
|
|
2459
|
+
}
|
|
2448
2460
|
|
|
2449
2461
|
// src/components/BTCModal/index.tsx
|
|
2450
2462
|
import React7, { useEffect as useEffect14, useMemo as useMemo8, useState as useState18 } from "react";
|
|
@@ -2638,7 +2650,7 @@ var useBTCWallet = () => {
|
|
|
2638
2650
|
|
|
2639
2651
|
// src/components/BTCModal/index.tsx
|
|
2640
2652
|
import { jsx as jsx24, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
2641
|
-
function
|
|
2653
|
+
function BTCConnectModal({
|
|
2642
2654
|
type = "login",
|
|
2643
2655
|
onSuccess,
|
|
2644
2656
|
...props
|
|
@@ -2797,6 +2809,9 @@ function BTCModal({
|
|
|
2797
2809
|
})
|
|
2798
2810
|
] }) }) });
|
|
2799
2811
|
}
|
|
2812
|
+
function BTCModal(props) {
|
|
2813
|
+
return props.isOpen && /* @__PURE__ */ jsx24(BTCConnectModal, { ...props });
|
|
2814
|
+
}
|
|
2800
2815
|
|
|
2801
2816
|
// src/components/CEXBindModal/index.tsx
|
|
2802
2817
|
import { useEffect as useEffect15, useMemo as useMemo9, useState as useState19 } from "react";
|
|
@@ -4635,4 +4650,4 @@ export {
|
|
|
4635
4650
|
MatchProvider,
|
|
4636
4651
|
useMatch
|
|
4637
4652
|
};
|
|
4638
|
-
//# sourceMappingURL=chunk-
|
|
4653
|
+
//# sourceMappingURL=chunk-MRGV6YS3.mjs.map
|