@funkit/connect 1.0.26 → 1.0.28
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 +24 -0
- package/dist/components/FunTransactionSummary/FunTransactionSummary.d.ts +3 -1
- package/dist/components/FunkitProvider/FunkitConfigContext.d.ts +4 -2
- package/dist/components/FunkitProvider/FunkitConnectChainContext.d.ts +1 -5
- package/dist/components/FunkitProvider/provideFunkitConnectChains.d.ts +8 -0
- package/dist/config/getDefaultConfig.d.ts +3649 -0
- package/dist/hooks/useCheckoutChains.d.ts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +147 -115
- package/dist/utils/assets.d.ts +1 -1
- package/dist/utils/formatNumber.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/coreWallet/coreWallet.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 +81 -81
- 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 +3 -3
- 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
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
bitgetWallet
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-ZNXQ4V6G.js";
|
|
5
5
|
import "../chunk-ZOLACFTK.js";
|
|
6
|
-
import "../chunk-QII6PY2D.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-
|
|
4
|
+
} from "../chunk-AM4SSLAP.js";
|
|
5
5
|
import "../chunk-ZOLACFTK.js";
|
|
6
|
-
import "../chunk-QII6PY2D.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-
|
|
4
|
+
} from "../chunk-V45EXW7A.js";
|
|
5
5
|
import "../chunk-ZOLACFTK.js";
|
|
6
|
-
import "../chunk-QII6PY2D.js";
|
|
7
6
|
import "../chunk-ZDU3JFGR.js";
|
|
7
|
+
import "../chunk-QII6PY2D.js";
|
|
8
8
|
export {
|
|
9
9
|
gateWallet
|
|
10
10
|
};
|
|
@@ -1,154 +1,154 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
zerionWallet
|
|
4
|
-
} from "./chunk-XNNLZXHE.js";
|
|
5
2
|
import {
|
|
6
3
|
zealWallet
|
|
7
4
|
} from "./chunk-DPXMP5KS.js";
|
|
8
5
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./chunk-
|
|
6
|
+
trustWallet
|
|
7
|
+
} from "./chunk-Z2DGDHHZ.js";
|
|
11
8
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./chunk-
|
|
9
|
+
bifrostWallet
|
|
10
|
+
} from "./chunk-6LTLPR2Q.js";
|
|
14
11
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./chunk-
|
|
12
|
+
tokenPocketWallet
|
|
13
|
+
} from "./chunk-2UXZAUWT.js";
|
|
14
|
+
import {
|
|
15
|
+
ledgerWallet
|
|
16
|
+
} from "./chunk-Y6VY6E3L.js";
|
|
17
17
|
import {
|
|
18
18
|
talismanWallet
|
|
19
19
|
} from "./chunk-H273OTQA.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import {
|
|
24
|
-
tokenPocketWallet
|
|
25
|
-
} from "./chunk-7KDOXASH.js";
|
|
26
|
-
import {
|
|
27
|
-
trustWallet
|
|
28
|
-
} from "./chunk-CRSPGVPF.js";
|
|
21
|
+
tokenaryWallet
|
|
22
|
+
} from "./chunk-ENZLEAG2.js";
|
|
29
23
|
import {
|
|
30
24
|
walletConnectWallet
|
|
31
25
|
} from "./chunk-ASPRR7T3.js";
|
|
32
26
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./chunk-
|
|
27
|
+
uniswapWallet
|
|
28
|
+
} from "./chunk-XRSY4JVH.js";
|
|
29
|
+
import {
|
|
30
|
+
xdefiWallet
|
|
31
|
+
} from "./chunk-L734HTUS.js";
|
|
32
|
+
import {
|
|
33
|
+
zerionWallet
|
|
34
|
+
} from "./chunk-7CQPABJG.js";
|
|
35
35
|
import {
|
|
36
36
|
roninWallet
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-LVRXH33E.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./chunk-
|
|
39
|
+
safeWallet
|
|
40
|
+
} from "./chunk-D3DCQ72J.js";
|
|
41
41
|
import {
|
|
42
|
-
|
|
43
|
-
} from "./chunk-
|
|
42
|
+
ramperWallet
|
|
43
|
+
} from "./chunk-ZOL6ZMTJ.js";
|
|
44
44
|
import {
|
|
45
|
-
|
|
46
|
-
} from "./chunk-
|
|
45
|
+
rainbowWallet
|
|
46
|
+
} from "./chunk-O5NKWWEG.js";
|
|
47
47
|
import {
|
|
48
48
|
safeheronWallet
|
|
49
49
|
} from "./chunk-63NPZXAL.js";
|
|
50
50
|
import {
|
|
51
|
-
|
|
52
|
-
} from "./chunk-
|
|
51
|
+
subWallet
|
|
52
|
+
} from "./chunk-ZBAQFL6G.js";
|
|
53
|
+
import {
|
|
54
|
+
safepalWallet
|
|
55
|
+
} from "./chunk-SYELB4QO.js";
|
|
53
56
|
import {
|
|
54
57
|
tahoWallet
|
|
55
58
|
} from "./chunk-H76YCX2M.js";
|
|
56
59
|
import {
|
|
57
|
-
|
|
58
|
-
} from "./chunk-
|
|
60
|
+
oktoWallet
|
|
61
|
+
} from "./chunk-WKHTUEF5.js";
|
|
59
62
|
import {
|
|
60
63
|
mewWallet
|
|
61
64
|
} from "./chunk-PWYTDYBE.js";
|
|
62
|
-
import {
|
|
63
|
-
metaMaskWallet
|
|
64
|
-
} from "./chunk-XRMAVTK7.js";
|
|
65
|
-
import {
|
|
66
|
-
kresusWallet
|
|
67
|
-
} from "./chunk-X6T3CICZ.js";
|
|
68
|
-
import {
|
|
69
|
-
phantomWallet
|
|
70
|
-
} from "./chunk-KGBLSE7L.js";
|
|
71
|
-
import {
|
|
72
|
-
oktoWallet
|
|
73
|
-
} from "./chunk-WKHTUEF5.js";
|
|
74
65
|
import {
|
|
75
66
|
okxWallet
|
|
76
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-NGXIHASN.js";
|
|
68
|
+
import {
|
|
69
|
+
oneInchWallet
|
|
70
|
+
} from "./chunk-LCPIZUR3.js";
|
|
77
71
|
import {
|
|
78
72
|
omniWallet
|
|
79
73
|
} from "./chunk-SVN7OEQR.js";
|
|
80
74
|
import {
|
|
81
|
-
|
|
82
|
-
} from "./chunk-
|
|
75
|
+
oneKeyWallet
|
|
76
|
+
} from "./chunk-4WOV4ITL.js";
|
|
83
77
|
import {
|
|
84
|
-
|
|
85
|
-
} from "./chunk-
|
|
78
|
+
rabbyWallet
|
|
79
|
+
} from "./chunk-XPEBP6XV.js";
|
|
86
80
|
import {
|
|
87
|
-
|
|
88
|
-
} from "./chunk-
|
|
81
|
+
phantomWallet
|
|
82
|
+
} from "./chunk-KGBLSE7L.js";
|
|
89
83
|
import {
|
|
90
|
-
|
|
91
|
-
} from "./chunk-
|
|
84
|
+
enkryptWallet
|
|
85
|
+
} from "./chunk-FLY7F4XA.js";
|
|
86
|
+
import {
|
|
87
|
+
frontierWallet
|
|
88
|
+
} from "./chunk-AM4SSLAP.js";
|
|
92
89
|
import {
|
|
93
90
|
gateWallet
|
|
94
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-V45EXW7A.js";
|
|
95
92
|
import {
|
|
96
93
|
injectedWallet
|
|
97
94
|
} from "./chunk-KIHCNUU3.js";
|
|
98
95
|
import {
|
|
99
|
-
|
|
100
|
-
} from "./chunk-
|
|
96
|
+
kresusWallet
|
|
97
|
+
} from "./chunk-X6T3CICZ.js";
|
|
101
98
|
import {
|
|
102
99
|
imTokenWallet
|
|
103
100
|
} from "./chunk-5MVV7OVS.js";
|
|
104
101
|
import {
|
|
105
|
-
|
|
106
|
-
} from "./chunk-
|
|
107
|
-
import {
|
|
108
|
-
braveWallet
|
|
109
|
-
} from "./chunk-ABYQAXUX.js";
|
|
110
|
-
import {
|
|
111
|
-
enkryptWallet
|
|
112
|
-
} from "./chunk-FLY7F4XA.js";
|
|
113
|
-
import {
|
|
114
|
-
frameWallet
|
|
115
|
-
} from "./chunk-XXFJVY73.js";
|
|
102
|
+
metaMaskWallet
|
|
103
|
+
} from "./chunk-3WZRNEZH.js";
|
|
116
104
|
import {
|
|
117
|
-
|
|
118
|
-
} from "./chunk-
|
|
105
|
+
bitskiWallet
|
|
106
|
+
} from "./chunk-C67TQJ6W.js";
|
|
119
107
|
import {
|
|
120
|
-
|
|
121
|
-
} from "./chunk-
|
|
108
|
+
coin98Wallet
|
|
109
|
+
} from "./chunk-4FQLUQNA.js";
|
|
122
110
|
import {
|
|
123
|
-
|
|
124
|
-
} from "./chunk-
|
|
111
|
+
coreWallet
|
|
112
|
+
} from "./chunk-JLQ5HJYV.js";
|
|
125
113
|
import {
|
|
126
114
|
dawnWallet
|
|
127
115
|
} from "./chunk-4XQDKOGF.js";
|
|
128
116
|
import {
|
|
129
|
-
|
|
130
|
-
} from "./chunk-
|
|
117
|
+
coinbaseWallet
|
|
118
|
+
} from "./chunk-XBUTWYE4.js";
|
|
131
119
|
import {
|
|
132
|
-
|
|
133
|
-
} from "./chunk-
|
|
120
|
+
desigWallet
|
|
121
|
+
} from "./chunk-P4JLZ42R.js";
|
|
134
122
|
import {
|
|
135
|
-
|
|
136
|
-
} from "./chunk-
|
|
123
|
+
foxWallet
|
|
124
|
+
} from "./chunk-Q4RLUJJD.js";
|
|
125
|
+
import {
|
|
126
|
+
frameWallet
|
|
127
|
+
} from "./chunk-XXFJVY73.js";
|
|
137
128
|
import {
|
|
138
129
|
argentWallet
|
|
139
130
|
} from "./chunk-NZ5G23JP.js";
|
|
131
|
+
import {
|
|
132
|
+
bitgetWallet
|
|
133
|
+
} from "./chunk-ZNXQ4V6G.js";
|
|
140
134
|
import {
|
|
141
135
|
bitverseWallet
|
|
142
136
|
} from "./chunk-NL4I7WOT.js";
|
|
143
137
|
import {
|
|
144
|
-
|
|
145
|
-
} from "./chunk-
|
|
138
|
+
bloomWallet
|
|
139
|
+
} from "./chunk-NTGZF5BY.js";
|
|
146
140
|
import "./chunk-ZOLACFTK.js";
|
|
141
|
+
import {
|
|
142
|
+
braveWallet
|
|
143
|
+
} from "./chunk-ABYQAXUX.js";
|
|
147
144
|
import {
|
|
148
145
|
bybitWallet
|
|
149
|
-
} from "./chunk-
|
|
150
|
-
import
|
|
146
|
+
} from "./chunk-ZUAHWUEL.js";
|
|
147
|
+
import {
|
|
148
|
+
clvWallet
|
|
149
|
+
} from "./chunk-MIWCKFYE.js";
|
|
151
150
|
import "./chunk-ZDU3JFGR.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-
|
|
4
|
+
} from "../chunk-3WZRNEZH.js";
|
|
5
5
|
import "../chunk-ZOLACFTK.js";
|
|
6
|
-
import "../chunk-QII6PY2D.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-
|
|
4
|
+
} from "../chunk-NGXIHASN.js";
|
|
5
5
|
import "../chunk-ZOLACFTK.js";
|
|
6
|
-
import "../chunk-QII6PY2D.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-
|
|
4
|
+
} from "../chunk-O5NKWWEG.js";
|
|
5
5
|
import "../chunk-ZOLACFTK.js";
|
|
6
|
-
import "../chunk-QII6PY2D.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-
|
|
4
|
+
} from "../chunk-2UXZAUWT.js";
|
|
5
5
|
import "../chunk-ZOLACFTK.js";
|
|
6
|
-
import "../chunk-QII6PY2D.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-
|
|
4
|
+
} from "../chunk-Z2DGDHHZ.js";
|
|
5
5
|
import "../chunk-ZOLACFTK.js";
|
|
6
|
-
import "../chunk-QII6PY2D.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-
|
|
4
|
+
} from "../chunk-7CQPABJG.js";
|
|
5
5
|
import "../chunk-ZOLACFTK.js";
|
|
6
|
-
import "../chunk-QII6PY2D.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.28",
|
|
4
4
|
"description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -73,8 +73,8 @@
|
|
|
73
73
|
},
|
|
74
74
|
"dependencies": {
|
|
75
75
|
"@datadog/browser-logs": "^5.12.0",
|
|
76
|
-
"@funkit/core": "^1.0.
|
|
77
|
-
"@funkit/wagmi-tools": "^1.0.
|
|
76
|
+
"@funkit/core": "^1.0.11",
|
|
77
|
+
"@funkit/wagmi-tools": "^1.0.13",
|
|
78
78
|
"@meshconnect/web-link-sdk": "^2.0.1",
|
|
79
79
|
"@moonpay/moonpay-react": "^1.6.1",
|
|
80
80
|
"@privy-io/js-sdk-core": "^0.18.1",
|
|
@@ -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
|
-
};
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
isMobile
|
|
4
|
-
} from "./chunk-ZOLACFTK.js";
|
|
5
|
-
import {
|
|
6
|
-
getInjectedConnector,
|
|
7
|
-
hasInjectedProvider
|
|
8
|
-
} from "./chunk-QII6PY2D.js";
|
|
9
|
-
import {
|
|
10
|
-
getWalletConnectConnector
|
|
11
|
-
} from "./chunk-ZDU3JFGR.js";
|
|
12
|
-
|
|
13
|
-
// src/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.ts
|
|
14
|
-
var tokenPocketWallet = ({
|
|
15
|
-
projectId,
|
|
16
|
-
walletConnectParameters
|
|
17
|
-
}) => {
|
|
18
|
-
const isTokenPocketInjected = hasInjectedProvider({ flag: "isTokenPocket" });
|
|
19
|
-
const shouldUseWalletConnect = !isTokenPocketInjected;
|
|
20
|
-
const getUri = (uri) => {
|
|
21
|
-
return isMobile() ? `tpoutside://wc?uri=${encodeURIComponent(uri)}` : uri;
|
|
22
|
-
};
|
|
23
|
-
return {
|
|
24
|
-
id: "tokenPocket",
|
|
25
|
-
name: "TokenPocket",
|
|
26
|
-
rdns: "pro.tokenpocket",
|
|
27
|
-
iconUrl: async () => (await import("./tokenPocketWallet-UYD66DEM.js")).default,
|
|
28
|
-
iconBackground: "#2980FE",
|
|
29
|
-
installed: !shouldUseWalletConnect ? isTokenPocketInjected : void 0,
|
|
30
|
-
downloadUrls: {
|
|
31
|
-
chrome: "https://chrome.google.com/webstore/detail/tokenpocket/mfgccjchihfkkindfppnaooecgfneiii",
|
|
32
|
-
browserExtension: "https://extension.tokenpocket.pro/",
|
|
33
|
-
android: "https://play.google.com/store/apps/details?id=vip.mytokenpocket",
|
|
34
|
-
ios: "https://apps.apple.com/us/app/tp-global-wallet/id6444625622",
|
|
35
|
-
qrCode: "https://tokenpocket.pro/en/download/app",
|
|
36
|
-
mobile: "https://tokenpocket.pro/en/download/app"
|
|
37
|
-
},
|
|
38
|
-
mobile: {
|
|
39
|
-
getUri: shouldUseWalletConnect ? getUri : void 0
|
|
40
|
-
},
|
|
41
|
-
qrCode: shouldUseWalletConnect ? {
|
|
42
|
-
getUri,
|
|
43
|
-
instructions: {
|
|
44
|
-
learnMoreUrl: "https://help.tokenpocket.pro/en/",
|
|
45
|
-
steps: [
|
|
46
|
-
{
|
|
47
|
-
description: "wallet_connectors.token_pocket.qr_code.step1.description",
|
|
48
|
-
step: "install",
|
|
49
|
-
title: "wallet_connectors.token_pocket.qr_code.step1.title"
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
description: "wallet_connectors.token_pocket.qr_code.step2.description",
|
|
53
|
-
step: "create",
|
|
54
|
-
title: "wallet_connectors.token_pocket.qr_code.step2.title"
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
description: "wallet_connectors.token_pocket.qr_code.step3.description",
|
|
58
|
-
step: "scan",
|
|
59
|
-
title: "wallet_connectors.token_pocket.qr_code.step3.title"
|
|
60
|
-
}
|
|
61
|
-
]
|
|
62
|
-
}
|
|
63
|
-
} : void 0,
|
|
64
|
-
extension: {
|
|
65
|
-
instructions: {
|
|
66
|
-
learnMoreUrl: "https://help.tokenpocket.pro/en/extension-wallet/faq/installation-tutorial",
|
|
67
|
-
steps: [
|
|
68
|
-
{
|
|
69
|
-
description: "wallet_connectors.token_pocket.extension.step1.description",
|
|
70
|
-
step: "install",
|
|
71
|
-
title: "wallet_connectors.token_pocket.extension.step1.title"
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
description: "wallet_connectors.token_pocket.extension.step2.description",
|
|
75
|
-
step: "create",
|
|
76
|
-
title: "wallet_connectors.token_pocket.extension.step2.title"
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
description: "wallet_connectors.token_pocket.extension.step3.description",
|
|
80
|
-
step: "refresh",
|
|
81
|
-
title: "wallet_connectors.token_pocket.extension.step3.title"
|
|
82
|
-
}
|
|
83
|
-
]
|
|
84
|
-
}
|
|
85
|
-
},
|
|
86
|
-
createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
|
|
87
|
-
projectId,
|
|
88
|
-
walletConnectParameters
|
|
89
|
-
}) : getInjectedConnector({ flag: "isTokenPocket" })
|
|
90
|
-
};
|
|
91
|
-
};
|
|
92
|
-
|
|
93
|
-
export {
|
|
94
|
-
tokenPocketWallet
|
|
95
|
-
};
|