@funkit/connect 1.0.18 → 1.0.20
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/CHANGELOG.md +15 -0
- package/dist/components/FunConnectOptions/FunConnectOptions.d.ts +2 -1
- package/dist/components/FunConnectOptions/FunFarcasterConnectingStep.d.ts +8 -0
- package/dist/components/FunConnectOptions/FunSignInStep.d.ts +2 -1
- package/dist/components/FunkitProvider/FunkitConfigContext.d.ts +7 -6
- package/dist/components/FunkitProvider/FunkitWeb2Provider.d.ts +27 -3
- package/dist/components/Icons/SocialMediaIcons.d.ts +1 -0
- package/dist/consts/funkit.d.ts +1 -0
- package/dist/consts/quote.d.ts +11 -1
- package/dist/farcaster-24TGVAI4.js +6 -0
- package/dist/hooks/useFunListeners.d.ts +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1236 -886
- package/dist/utils/mobile.d.ts +1 -0
- package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
- package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
- package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
- package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
- package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
- package/dist/wallets/walletConnectors/coinbaseWallet/coinbaseWallet.js +2 -2
- package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
- package/dist/wallets/walletConnectors/dawnWallet/dawnWallet.js +2 -2
- package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
- package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
- package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -2
- package/dist/wallets/walletConnectors/index.js +61 -61
- package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
- package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
- package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
- package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +2 -2
- package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
- package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
- package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
- package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
- package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
- package/package.json +2 -2
- package/dist/wallets/walletConnectors/chunk-75A2U7T7.js +0 -100
- package/dist/wallets/walletConnectors/chunk-7KDOXASH.js +0 -95
- package/dist/wallets/walletConnectors/chunk-FDIIMYTB.js +0 -73
- package/dist/wallets/walletConnectors/chunk-HD5VYJNC.js +0 -98
- package/dist/wallets/walletConnectors/chunk-OAEJQOAV.js +0 -105
- package/dist/wallets/walletConnectors/chunk-SL4VH23R.js +0 -71
- package/dist/wallets/walletConnectors/chunk-VSZ7PAHS.js +0 -94
- package/dist/wallets/walletConnectors/chunk-VWZEDVW6.js +0 -27
- package/dist/wallets/walletConnectors/chunk-XNNLZXHE.js +0 -102
- package/dist/wallets/walletConnectors/chunk-XRMAVTK7.js +0 -178
- package/dist/wallets/walletConnectors/chunk-XSSD5ZVD.js +0 -96
- package/dist/wallets/walletConnectors/chunk-YC7XNS7C.js +0 -98
- package/dist/wallets/walletConnectors/{chunk-OR3PU2W4.js → chunk-2UXZAUWT.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-X255T3C4.js → chunk-3WZRNEZH.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-Z2HIQYVN.js → chunk-4FQLUQNA.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-KGTZ6E7L.js → chunk-6LTLPR2Q.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-SQGFKNNZ.js → chunk-7CQPABJG.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-N3VZE65M.js → chunk-AM4SSLAP.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-IBWFKX7P.js → chunk-JLQ5HJYV.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-GW6EF4G2.js → chunk-LVRXH33E.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-T6JVHES7.js → chunk-MIWCKFYE.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-DV3SI63E.js → chunk-NGXIHASN.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-RCWZ4KBR.js → chunk-O5NKWWEG.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-OKWOB3DN.js → chunk-Q4RLUJJD.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-RTW6PVQI.js → chunk-SYELB4QO.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-2PC2XXUH.js → chunk-V45EXW7A.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-CRSPGVPF.js → chunk-Z2DGDHHZ.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-2GAW2UBU.js → chunk-ZBAQFL6G.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-2B3SPBRY.js → chunk-ZNXQ4V6G.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-CUKVUCIP.js → chunk-ZUAHWUEL.js} +3 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function redirectInMobile(mobileUri: string): void;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
bifrostWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-QII6PY2D.js";
|
|
4
|
+
} from "../chunk-6LTLPR2Q.js";
|
|
6
5
|
import "../chunk-ZOLACFTK.js";
|
|
7
6
|
import "../chunk-ZDU3JFGR.js";
|
|
7
|
+
import "../chunk-QII6PY2D.js";
|
|
8
8
|
export {
|
|
9
9
|
bifrostWallet
|
|
10
10
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
bitgetWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-QII6PY2D.js";
|
|
4
|
+
} from "../chunk-ZNXQ4V6G.js";
|
|
6
5
|
import "../chunk-ZOLACFTK.js";
|
|
7
6
|
import "../chunk-ZDU3JFGR.js";
|
|
7
|
+
import "../chunk-QII6PY2D.js";
|
|
8
8
|
export {
|
|
9
9
|
bitgetWallet
|
|
10
10
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
frontierWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-QII6PY2D.js";
|
|
4
|
+
} from "../chunk-AM4SSLAP.js";
|
|
6
5
|
import "../chunk-ZOLACFTK.js";
|
|
7
6
|
import "../chunk-ZDU3JFGR.js";
|
|
7
|
+
import "../chunk-QII6PY2D.js";
|
|
8
8
|
export {
|
|
9
9
|
frontierWallet
|
|
10
10
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
gateWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-QII6PY2D.js";
|
|
4
|
+
} from "../chunk-V45EXW7A.js";
|
|
6
5
|
import "../chunk-ZOLACFTK.js";
|
|
7
6
|
import "../chunk-ZDU3JFGR.js";
|
|
7
|
+
import "../chunk-QII6PY2D.js";
|
|
8
8
|
export {
|
|
9
9
|
gateWallet
|
|
10
10
|
};
|
|
@@ -2,51 +2,51 @@
|
|
|
2
2
|
import {
|
|
3
3
|
zealWallet
|
|
4
4
|
} from "./chunk-DPXMP5KS.js";
|
|
5
|
-
import {
|
|
6
|
-
xdefiWallet
|
|
7
|
-
} from "./chunk-L734HTUS.js";
|
|
8
5
|
import {
|
|
9
6
|
zerionWallet
|
|
10
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-7CQPABJG.js";
|
|
8
|
+
import {
|
|
9
|
+
uniswapWallet
|
|
10
|
+
} from "./chunk-XRSY4JVH.js";
|
|
11
11
|
import {
|
|
12
12
|
subWallet
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ZBAQFL6G.js";
|
|
14
14
|
import {
|
|
15
15
|
tahoWallet
|
|
16
16
|
} from "./chunk-H76YCX2M.js";
|
|
17
17
|
import {
|
|
18
18
|
talismanWallet
|
|
19
19
|
} from "./chunk-H273OTQA.js";
|
|
20
|
-
import {
|
|
21
|
-
tokenaryWallet
|
|
22
|
-
} from "./chunk-ENZLEAG2.js";
|
|
23
20
|
import {
|
|
24
21
|
tokenPocketWallet
|
|
25
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-2UXZAUWT.js";
|
|
26
23
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./chunk-
|
|
24
|
+
tokenaryWallet
|
|
25
|
+
} from "./chunk-ENZLEAG2.js";
|
|
29
26
|
import {
|
|
30
27
|
trustWallet
|
|
31
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-Z2DGDHHZ.js";
|
|
29
|
+
import {
|
|
30
|
+
xdefiWallet
|
|
31
|
+
} from "./chunk-L734HTUS.js";
|
|
32
32
|
import {
|
|
33
33
|
walletConnectWallet
|
|
34
34
|
} from "./chunk-ASPRR7T3.js";
|
|
35
|
+
import {
|
|
36
|
+
phantomWallet
|
|
37
|
+
} from "./chunk-KGBLSE7L.js";
|
|
35
38
|
import {
|
|
36
39
|
rabbyWallet
|
|
37
40
|
} from "./chunk-XPEBP6XV.js";
|
|
38
41
|
import {
|
|
39
42
|
rainbowWallet
|
|
40
|
-
} from "./chunk-
|
|
41
|
-
import {
|
|
42
|
-
phantomWallet
|
|
43
|
-
} from "./chunk-KGBLSE7L.js";
|
|
43
|
+
} from "./chunk-O5NKWWEG.js";
|
|
44
44
|
import {
|
|
45
45
|
ramperWallet
|
|
46
46
|
} from "./chunk-ZOL6ZMTJ.js";
|
|
47
47
|
import {
|
|
48
48
|
roninWallet
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-LVRXH33E.js";
|
|
50
50
|
import {
|
|
51
51
|
safeWallet
|
|
52
52
|
} from "./chunk-D3DCQ72J.js";
|
|
@@ -55,100 +55,100 @@ import {
|
|
|
55
55
|
} from "./chunk-63NPZXAL.js";
|
|
56
56
|
import {
|
|
57
57
|
safepalWallet
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-SYELB4QO.js";
|
|
59
|
+
import {
|
|
60
|
+
ledgerWallet
|
|
61
|
+
} from "./chunk-Y6VY6E3L.js";
|
|
59
62
|
import {
|
|
60
63
|
metaMaskWallet
|
|
61
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-3WZRNEZH.js";
|
|
62
65
|
import {
|
|
63
|
-
|
|
64
|
-
} from "./chunk-
|
|
66
|
+
mewWallet
|
|
67
|
+
} from "./chunk-PWYTDYBE.js";
|
|
65
68
|
import {
|
|
66
69
|
oktoWallet
|
|
67
70
|
} from "./chunk-WKHTUEF5.js";
|
|
68
71
|
import {
|
|
69
|
-
|
|
70
|
-
} from "./chunk-
|
|
72
|
+
okxWallet
|
|
73
|
+
} from "./chunk-NGXIHASN.js";
|
|
71
74
|
import {
|
|
72
75
|
omniWallet
|
|
73
76
|
} from "./chunk-SVN7OEQR.js";
|
|
74
77
|
import {
|
|
75
|
-
|
|
76
|
-
} from "./chunk-
|
|
78
|
+
oneKeyWallet
|
|
79
|
+
} from "./chunk-4WOV4ITL.js";
|
|
77
80
|
import {
|
|
78
81
|
oneInchWallet
|
|
79
82
|
} from "./chunk-LCPIZUR3.js";
|
|
80
83
|
import {
|
|
81
|
-
|
|
82
|
-
} from "./chunk-
|
|
84
|
+
clvWallet
|
|
85
|
+
} from "./chunk-MIWCKFYE.js";
|
|
86
|
+
import {
|
|
87
|
+
frontierWallet
|
|
88
|
+
} from "./chunk-AM4SSLAP.js";
|
|
83
89
|
import {
|
|
84
90
|
frameWallet
|
|
85
91
|
} from "./chunk-XXFJVY73.js";
|
|
86
|
-
import {
|
|
87
|
-
foxWallet
|
|
88
|
-
} from "./chunk-OKWOB3DN.js";
|
|
89
|
-
import {
|
|
90
|
-
enkryptWallet
|
|
91
|
-
} from "./chunk-FLY7F4XA.js";
|
|
92
92
|
import {
|
|
93
93
|
gateWallet
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-V45EXW7A.js";
|
|
95
95
|
import {
|
|
96
96
|
imTokenWallet
|
|
97
97
|
} from "./chunk-5MVV7OVS.js";
|
|
98
|
+
import {
|
|
99
|
+
injectedWallet
|
|
100
|
+
} from "./chunk-KIHCNUU3.js";
|
|
98
101
|
import {
|
|
99
102
|
kresusWallet
|
|
100
103
|
} from "./chunk-X6T3CICZ.js";
|
|
101
|
-
import {
|
|
102
|
-
ledgerWallet
|
|
103
|
-
} from "./chunk-Y6VY6E3L.js";
|
|
104
|
-
import {
|
|
105
|
-
clvWallet
|
|
106
|
-
} from "./chunk-T6JVHES7.js";
|
|
107
|
-
import {
|
|
108
|
-
argentWallet
|
|
109
|
-
} from "./chunk-NZ5G23JP.js";
|
|
110
104
|
import {
|
|
111
105
|
bybitWallet
|
|
112
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-ZUAHWUEL.js";
|
|
113
107
|
import {
|
|
114
|
-
|
|
115
|
-
} from "./chunk-
|
|
108
|
+
coin98Wallet
|
|
109
|
+
} from "./chunk-4FQLUQNA.js";
|
|
116
110
|
import {
|
|
117
111
|
coinbaseWallet
|
|
118
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-XBUTWYE4.js";
|
|
119
113
|
import {
|
|
120
114
|
coreWallet
|
|
121
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-JLQ5HJYV.js";
|
|
122
116
|
import {
|
|
123
|
-
|
|
124
|
-
} from "./chunk-
|
|
117
|
+
dawnWallet
|
|
118
|
+
} from "./chunk-4XQDKOGF.js";
|
|
125
119
|
import {
|
|
126
120
|
desigWallet
|
|
127
121
|
} from "./chunk-P4JLZ42R.js";
|
|
128
122
|
import {
|
|
129
|
-
|
|
130
|
-
} from "./chunk-
|
|
123
|
+
enkryptWallet
|
|
124
|
+
} from "./chunk-FLY7F4XA.js";
|
|
131
125
|
import {
|
|
132
|
-
|
|
133
|
-
} from "./chunk-
|
|
126
|
+
foxWallet
|
|
127
|
+
} from "./chunk-Q4RLUJJD.js";
|
|
134
128
|
import {
|
|
135
|
-
|
|
136
|
-
} from "./chunk-
|
|
129
|
+
argentWallet
|
|
130
|
+
} from "./chunk-NZ5G23JP.js";
|
|
137
131
|
import {
|
|
138
|
-
|
|
139
|
-
} from "./chunk-
|
|
132
|
+
bifrostWallet
|
|
133
|
+
} from "./chunk-6LTLPR2Q.js";
|
|
140
134
|
import {
|
|
141
|
-
|
|
142
|
-
} from "./chunk-
|
|
135
|
+
bitgetWallet
|
|
136
|
+
} from "./chunk-ZNXQ4V6G.js";
|
|
143
137
|
import {
|
|
144
138
|
bitskiWallet
|
|
145
139
|
} from "./chunk-C67TQJ6W.js";
|
|
146
|
-
import
|
|
140
|
+
import {
|
|
141
|
+
bitverseWallet
|
|
142
|
+
} from "./chunk-NL4I7WOT.js";
|
|
147
143
|
import {
|
|
148
144
|
bloomWallet
|
|
149
145
|
} from "./chunk-NTGZF5BY.js";
|
|
150
146
|
import "./chunk-ZOLACFTK.js";
|
|
151
147
|
import "./chunk-ZDU3JFGR.js";
|
|
148
|
+
import {
|
|
149
|
+
braveWallet
|
|
150
|
+
} from "./chunk-ABYQAXUX.js";
|
|
151
|
+
import "./chunk-QII6PY2D.js";
|
|
152
152
|
export {
|
|
153
153
|
argentWallet,
|
|
154
154
|
bifrostWallet,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
metaMaskWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-QII6PY2D.js";
|
|
4
|
+
} from "../chunk-3WZRNEZH.js";
|
|
6
5
|
import "../chunk-ZOLACFTK.js";
|
|
7
6
|
import "../chunk-ZDU3JFGR.js";
|
|
7
|
+
import "../chunk-QII6PY2D.js";
|
|
8
8
|
export {
|
|
9
9
|
metaMaskWallet
|
|
10
10
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
okxWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-QII6PY2D.js";
|
|
4
|
+
} from "../chunk-NGXIHASN.js";
|
|
6
5
|
import "../chunk-ZOLACFTK.js";
|
|
7
6
|
import "../chunk-ZDU3JFGR.js";
|
|
7
|
+
import "../chunk-QII6PY2D.js";
|
|
8
8
|
export {
|
|
9
9
|
okxWallet
|
|
10
10
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
rainbowWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-QII6PY2D.js";
|
|
4
|
+
} from "../chunk-O5NKWWEG.js";
|
|
6
5
|
import "../chunk-ZOLACFTK.js";
|
|
7
6
|
import "../chunk-ZDU3JFGR.js";
|
|
7
|
+
import "../chunk-QII6PY2D.js";
|
|
8
8
|
export {
|
|
9
9
|
rainbowWallet
|
|
10
10
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
tokenPocketWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-QII6PY2D.js";
|
|
4
|
+
} from "../chunk-2UXZAUWT.js";
|
|
6
5
|
import "../chunk-ZOLACFTK.js";
|
|
7
6
|
import "../chunk-ZDU3JFGR.js";
|
|
7
|
+
import "../chunk-QII6PY2D.js";
|
|
8
8
|
export {
|
|
9
9
|
tokenPocketWallet
|
|
10
10
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
trustWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-QII6PY2D.js";
|
|
4
|
+
} from "../chunk-Z2DGDHHZ.js";
|
|
6
5
|
import "../chunk-ZOLACFTK.js";
|
|
7
6
|
import "../chunk-ZDU3JFGR.js";
|
|
7
|
+
import "../chunk-QII6PY2D.js";
|
|
8
8
|
export {
|
|
9
9
|
trustWallet
|
|
10
10
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
zerionWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-QII6PY2D.js";
|
|
4
|
+
} from "../chunk-7CQPABJG.js";
|
|
6
5
|
import "../chunk-ZOLACFTK.js";
|
|
7
6
|
import "../chunk-ZDU3JFGR.js";
|
|
7
|
+
import "../chunk-QII6PY2D.js";
|
|
8
8
|
export {
|
|
9
9
|
zerionWallet
|
|
10
10
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@funkit/connect",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.20",
|
|
4
4
|
"description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"@funkit/wagmi-tools": "^1.0.7",
|
|
78
78
|
"@meshconnect/web-link-sdk": "^2.0.1",
|
|
79
79
|
"@moonpay/moonpay-react": "^1.6.1",
|
|
80
|
-
"@privy-io/js-sdk-core": "^0.
|
|
80
|
+
"@privy-io/js-sdk-core": "^0.18.1",
|
|
81
81
|
"@tanstack/react-query": "^5.28.8",
|
|
82
82
|
"@types/uuid": "^9.0.8",
|
|
83
83
|
"@vanilla-extract/css": "1.14.0",
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getInjectedConnector,
|
|
4
|
-
hasInjectedProvider
|
|
5
|
-
} from "./chunk-QII6PY2D.js";
|
|
6
|
-
import {
|
|
7
|
-
isAndroid
|
|
8
|
-
} from "./chunk-ZOLACFTK.js";
|
|
9
|
-
import {
|
|
10
|
-
getWalletConnectConnector
|
|
11
|
-
} from "./chunk-ZDU3JFGR.js";
|
|
12
|
-
|
|
13
|
-
// src/wallets/walletConnectors/bitgetWallet/bitgetWallet.ts
|
|
14
|
-
var bitgetWallet = ({
|
|
15
|
-
projectId,
|
|
16
|
-
walletConnectParameters
|
|
17
|
-
}) => {
|
|
18
|
-
const isBitKeepInjected = hasInjectedProvider({
|
|
19
|
-
namespace: "bitkeep.ethereum",
|
|
20
|
-
flag: "isBitKeep"
|
|
21
|
-
});
|
|
22
|
-
const shouldUseWalletConnect = !isBitKeepInjected;
|
|
23
|
-
return {
|
|
24
|
-
id: "bitget",
|
|
25
|
-
name: "Bitget Wallet",
|
|
26
|
-
iconUrl: async () => (await import("./bitgetWallet-JVNCB4EB.js")).default,
|
|
27
|
-
iconAccent: "#f6851a",
|
|
28
|
-
iconBackground: "#fff",
|
|
29
|
-
installed: !shouldUseWalletConnect ? isBitKeepInjected : void 0,
|
|
30
|
-
downloadUrls: {
|
|
31
|
-
android: "https://web3.bitget.com/en/wallet-download?type=0",
|
|
32
|
-
ios: "https://apps.apple.com/app/bitkeep/id1395301115",
|
|
33
|
-
mobile: "https://web3.bitget.com/en/wallet-download?type=2",
|
|
34
|
-
qrCode: "https://web3.bitget.com/en/wallet-download",
|
|
35
|
-
chrome: "https://chrome.google.com/webstore/detail/bitkeep-crypto-nft-wallet/jiidiaalihmmhddjgbnbgdfflelocpak",
|
|
36
|
-
browserExtension: "https://web3.bitget.com/en/wallet-download"
|
|
37
|
-
},
|
|
38
|
-
extension: {
|
|
39
|
-
instructions: {
|
|
40
|
-
learnMoreUrl: "https://web3.bitget.com/en/academy",
|
|
41
|
-
steps: [
|
|
42
|
-
{
|
|
43
|
-
description: "wallet_connectors.bitget.extension.step1.description",
|
|
44
|
-
step: "install",
|
|
45
|
-
title: "wallet_connectors.bitget.extension.step1.title"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
description: "wallet_connectors.bitget.extension.step2.description",
|
|
49
|
-
step: "create",
|
|
50
|
-
title: "wallet_connectors.bitget.extension.step2.title"
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
description: "wallet_connectors.bitget.extension.step3.description",
|
|
54
|
-
step: "refresh",
|
|
55
|
-
title: "wallet_connectors.bitget.extension.step3.description"
|
|
56
|
-
}
|
|
57
|
-
]
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
mobile: {
|
|
61
|
-
getUri: shouldUseWalletConnect ? (uri) => {
|
|
62
|
-
return isAndroid() ? uri : `bitkeep://wc?uri=${encodeURIComponent(uri)}`;
|
|
63
|
-
} : void 0
|
|
64
|
-
},
|
|
65
|
-
qrCode: shouldUseWalletConnect ? {
|
|
66
|
-
getUri: (uri) => uri,
|
|
67
|
-
instructions: {
|
|
68
|
-
learnMoreUrl: "https://web3.bitget.com/en/academy",
|
|
69
|
-
steps: [
|
|
70
|
-
{
|
|
71
|
-
description: "wallet_connectors.bitget.qr_code.step1.description",
|
|
72
|
-
step: "install",
|
|
73
|
-
title: "wallet_connectors.bitget.qr_code.step1.title"
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
description: "wallet_connectors.bitget.qr_code.step2.description",
|
|
77
|
-
step: "create",
|
|
78
|
-
title: "wallet_connectors.bitget.qr_code.step2.title"
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
description: "wallet_connectors.bitget.qr_code.step3.description",
|
|
82
|
-
step: "scan",
|
|
83
|
-
title: "wallet_connectors.bitget.qr_code.step3.title"
|
|
84
|
-
}
|
|
85
|
-
]
|
|
86
|
-
}
|
|
87
|
-
} : void 0,
|
|
88
|
-
createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
|
|
89
|
-
projectId,
|
|
90
|
-
walletConnectParameters
|
|
91
|
-
}) : getInjectedConnector({
|
|
92
|
-
namespace: "bitkeep.ethereum",
|
|
93
|
-
flag: "isBitKeep"
|
|
94
|
-
})
|
|
95
|
-
};
|
|
96
|
-
};
|
|
97
|
-
|
|
98
|
-
export {
|
|
99
|
-
bitgetWallet
|
|
100
|
-
};
|