@funkit/connect 1.2.0 → 1.2.2
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 +22 -0
- package/dist/components/ProfileDetails/FunProfileViews/Settings/Settings.d.ts +1 -2
- package/dist/config/getDefaultConfig.d.ts +32 -2
- package/dist/index.js +214 -226
- package/dist/klaytn-TJOHMGUS.js +6 -0
- package/dist/manta-JIF2AIAW.js +6 -0
- package/dist/mantle-RXIQTLNV.js +6 -0
- package/dist/wallets/Wallet.d.ts +1 -2
- package/dist/wallets/connectorsForWallets.d.ts +1 -3
- 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/{chunk-JRABHUUZ.js → chunk-MD5OPFAT.js} +1 -1
- 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/funkitConnectWallet/funkitConnectWallet.d.ts +1 -5
- package/dist/wallets/walletConnectors/funkitConnectWallet/funkitConnectWallet.js +2 -8
- package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -2
- package/dist/wallets/walletConnectors/index.js +73 -73
- 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/tokenaryWallet/tokenaryWallet.js +1 -1
- package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
- package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
- package/package.json +4 -4
- package/dist/wallets/walletConnectors/chunk-2DWBVWFI.js +0 -87
- package/dist/wallets/walletConnectors/chunk-32KBKKGT.js +0 -182
- package/dist/wallets/walletConnectors/chunk-3CLNL7LR.js +0 -73
- package/dist/wallets/walletConnectors/chunk-3F5GNHAG.js +0 -182
- package/dist/wallets/walletConnectors/chunk-3R3RNCGE.js +0 -100
- package/dist/wallets/walletConnectors/chunk-5L2OLU3J.js +0 -102
- package/dist/wallets/walletConnectors/chunk-7GGRZNT3.js +0 -96
- package/dist/wallets/walletConnectors/chunk-7YDZTPO4.js +0 -100
- package/dist/wallets/walletConnectors/chunk-BCXBFAL4.js +0 -98
- package/dist/wallets/walletConnectors/chunk-CMXZK5RR.js +0 -94
- package/dist/wallets/walletConnectors/chunk-F4EJ42XO.js +0 -105
- package/dist/wallets/walletConnectors/chunk-FL2VIO76.js +0 -71
- package/dist/wallets/walletConnectors/chunk-IIJOJ6AD.js +0 -102
- package/dist/wallets/walletConnectors/chunk-KZFAL4RZ.js +0 -27
- package/dist/wallets/walletConnectors/chunk-LJRV5JY7.js +0 -95
- package/dist/wallets/walletConnectors/chunk-M4SPCKW4.js +0 -66
- package/dist/wallets/walletConnectors/chunk-MFS6NY6T.js +0 -105
- package/dist/wallets/walletConnectors/chunk-MOAWRDEM.js +0 -95
- package/dist/wallets/walletConnectors/chunk-MSRKKVDE.js +0 -98
- package/dist/wallets/walletConnectors/chunk-NK3DYIAB.js +0 -92
- package/dist/wallets/walletConnectors/chunk-OMKARG6Y.js +0 -94
- package/dist/wallets/walletConnectors/chunk-OPO2D6GL.js +0 -102
- package/dist/wallets/walletConnectors/chunk-OXWTS7HX.js +0 -98
- package/dist/wallets/walletConnectors/chunk-PJRUHFBT.js +0 -71
- package/dist/wallets/walletConnectors/chunk-R5GNFRXW.js +0 -96
- package/dist/wallets/walletConnectors/chunk-S2IWMXKX.js +0 -94
- package/dist/wallets/walletConnectors/chunk-WH7S23VZ.js +0 -73
- package/dist/wallets/walletConnectors/chunk-XB2GFXBL.js +0 -107
- package/dist/wallets/walletConnectors/chunk-XUXFYTCV.js +0 -96
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
frontierWallet
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-LOEDYNWO.js";
|
|
5
5
|
import "../chunk-ZOLACFTK.js";
|
|
6
|
-
import "../chunk-F3VCNZXS.js";
|
|
7
6
|
import "../chunk-ZDU3JFGR.js";
|
|
7
|
+
import "../chunk-F3VCNZXS.js";
|
|
8
8
|
export {
|
|
9
9
|
frontierWallet
|
|
10
10
|
};
|
|
@@ -1,6 +1,2 @@
|
|
|
1
1
|
import { Wallet } from '../../Wallet';
|
|
2
|
-
export
|
|
3
|
-
funkitApiKey: string;
|
|
4
|
-
initialChainId: string;
|
|
5
|
-
}
|
|
6
|
-
export declare const funkitConnectWallet: ({ funkitApiKey, initialChainId, }: FunkitConnectWalletConfig) => Wallet;
|
|
2
|
+
export declare const funkitConnectWallet: () => Wallet;
|
|
@@ -32,10 +32,7 @@ var TERMINAL_CHECKOUT_STATES = [
|
|
|
32
32
|
];
|
|
33
33
|
|
|
34
34
|
// src/wallets/walletConnectors/funkitConnectWallet/funkitConnectWallet.ts
|
|
35
|
-
var funkitConnectWallet = ({
|
|
36
|
-
funkitApiKey,
|
|
37
|
-
initialChainId
|
|
38
|
-
}) => {
|
|
35
|
+
var funkitConnectWallet = () => {
|
|
39
36
|
return {
|
|
40
37
|
id: FUNKIT_CONNECT_WALLET_ID,
|
|
41
38
|
name: "FunkitConnect Wallet",
|
|
@@ -46,10 +43,7 @@ var funkitConnectWallet = ({
|
|
|
46
43
|
downloadUrls: void 0,
|
|
47
44
|
createConnector: (walletDetails) => {
|
|
48
45
|
return createConnector((config) => ({
|
|
49
|
-
...funkitWagmiConnectorWallet(
|
|
50
|
-
funkitApiKey,
|
|
51
|
-
chainId: initialChainId
|
|
52
|
-
})(config),
|
|
46
|
+
...funkitWagmiConnectorWallet()(config),
|
|
53
47
|
...walletDetails
|
|
54
48
|
}));
|
|
55
49
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
gateWallet
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-QGQISKXF.js";
|
|
5
5
|
import "../chunk-ZOLACFTK.js";
|
|
6
|
-
import "../chunk-F3VCNZXS.js";
|
|
7
6
|
import "../chunk-ZDU3JFGR.js";
|
|
7
|
+
import "../chunk-F3VCNZXS.js";
|
|
8
8
|
export {
|
|
9
9
|
gateWallet
|
|
10
10
|
};
|
|
@@ -1,154 +1,154 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "./chunk-
|
|
3
|
+
tokenPocketWallet
|
|
4
|
+
} from "./chunk-UWU574XS.js";
|
|
5
5
|
import {
|
|
6
6
|
zealWallet
|
|
7
7
|
} from "./chunk-Z5QFIFDP.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./chunk-
|
|
9
|
+
zerionWallet
|
|
10
|
+
} from "./chunk-G4DNQN67.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./chunk-
|
|
12
|
+
safeheronWallet
|
|
13
|
+
} from "./chunk-FQDX6QIP.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./chunk-
|
|
15
|
+
trustWallet
|
|
16
|
+
} from "./chunk-BMHNXJZK.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./chunk-
|
|
18
|
+
tahoWallet
|
|
19
|
+
} from "./chunk-PILSRRPJ.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./chunk-
|
|
21
|
+
talismanWallet
|
|
22
|
+
} from "./chunk-R2GYJ376.js";
|
|
23
23
|
import {
|
|
24
24
|
uniswapWallet
|
|
25
25
|
} from "./chunk-XRSY4JVH.js";
|
|
26
|
+
import {
|
|
27
|
+
xdefiWallet
|
|
28
|
+
} from "./chunk-JNZ3EYC7.js";
|
|
26
29
|
import {
|
|
27
30
|
walletConnectWallet
|
|
28
31
|
} from "./chunk-ASPRR7T3.js";
|
|
29
32
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./chunk-
|
|
33
|
+
tokenaryWallet
|
|
34
|
+
} from "./chunk-MD5OPFAT.js";
|
|
32
35
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./chunk-
|
|
36
|
+
rainbowWallet
|
|
37
|
+
} from "./chunk-EXN2ODSI.js";
|
|
35
38
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./chunk-
|
|
39
|
+
phantomWallet
|
|
40
|
+
} from "./chunk-4PTY6XNU.js";
|
|
38
41
|
import {
|
|
39
42
|
rabbyWallet
|
|
40
43
|
} from "./chunk-5SIHQ5GA.js";
|
|
41
|
-
import {
|
|
42
|
-
safeWallet
|
|
43
|
-
} from "./chunk-D3DCQ72J.js";
|
|
44
44
|
import {
|
|
45
45
|
ramperWallet
|
|
46
46
|
} from "./chunk-XEZPRJPV.js";
|
|
47
47
|
import {
|
|
48
|
-
|
|
49
|
-
} from "./chunk-
|
|
48
|
+
safeWallet
|
|
49
|
+
} from "./chunk-D3DCQ72J.js";
|
|
50
50
|
import {
|
|
51
51
|
roninWallet
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-CNTLU4ZV.js";
|
|
53
53
|
import {
|
|
54
|
-
|
|
55
|
-
} from "./chunk-
|
|
56
|
-
import {
|
|
57
|
-
tahoWallet
|
|
58
|
-
} from "./chunk-PILSRRPJ.js";
|
|
54
|
+
safepalWallet
|
|
55
|
+
} from "./chunk-PQSJXOGA.js";
|
|
59
56
|
import {
|
|
60
|
-
|
|
61
|
-
} from "./chunk-
|
|
57
|
+
subWallet
|
|
58
|
+
} from "./chunk-WS4EM7AZ.js";
|
|
62
59
|
import {
|
|
63
60
|
kresusWallet
|
|
64
61
|
} from "./chunk-X6T3CICZ.js";
|
|
65
62
|
import {
|
|
66
|
-
|
|
67
|
-
} from "./chunk-
|
|
63
|
+
mewWallet
|
|
64
|
+
} from "./chunk-ZCSUP7CX.js";
|
|
65
|
+
import {
|
|
66
|
+
metaMaskWallet
|
|
67
|
+
} from "./chunk-TUK3HNKY.js";
|
|
68
68
|
import {
|
|
69
69
|
oktoWallet
|
|
70
70
|
} from "./chunk-WKHTUEF5.js";
|
|
71
71
|
import {
|
|
72
|
-
|
|
73
|
-
} from "./chunk-
|
|
74
|
-
import {
|
|
75
|
-
oneInchWallet
|
|
76
|
-
} from "./chunk-LCPIZUR3.js";
|
|
72
|
+
okxWallet
|
|
73
|
+
} from "./chunk-5ZGE5SN5.js";
|
|
77
74
|
import {
|
|
78
|
-
|
|
79
|
-
} from "./chunk-
|
|
75
|
+
omniWallet
|
|
76
|
+
} from "./chunk-SVN7OEQR.js";
|
|
80
77
|
import {
|
|
81
78
|
oneKeyWallet
|
|
82
79
|
} from "./chunk-QS2J6MWB.js";
|
|
83
80
|
import {
|
|
84
|
-
|
|
85
|
-
} from "./chunk-
|
|
81
|
+
oneInchWallet
|
|
82
|
+
} from "./chunk-LCPIZUR3.js";
|
|
83
|
+
import {
|
|
84
|
+
frameWallet
|
|
85
|
+
} from "./chunk-HXGBE5AH.js";
|
|
86
86
|
import {
|
|
87
87
|
frontierWallet
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-LOEDYNWO.js";
|
|
89
89
|
import {
|
|
90
|
-
|
|
91
|
-
} from "./chunk-
|
|
90
|
+
bybitWallet
|
|
91
|
+
} from "./chunk-ZBQT5PV6.js";
|
|
92
92
|
import {
|
|
93
|
-
|
|
94
|
-
} from "./chunk-
|
|
93
|
+
gateWallet
|
|
94
|
+
} from "./chunk-QGQISKXF.js";
|
|
95
95
|
import {
|
|
96
96
|
imTokenWallet
|
|
97
97
|
} from "./chunk-5MVV7OVS.js";
|
|
98
|
+
import {
|
|
99
|
+
injectedWallet
|
|
100
|
+
} from "./chunk-GUJHPWTU.js";
|
|
98
101
|
import {
|
|
99
102
|
ledgerWallet
|
|
100
103
|
} from "./chunk-Y6VY6E3L.js";
|
|
101
104
|
import {
|
|
102
|
-
|
|
103
|
-
} from "./chunk-
|
|
104
|
-
import {
|
|
105
|
-
clvWallet
|
|
106
|
-
} from "./chunk-2DWBVWFI.js";
|
|
105
|
+
bitverseWallet
|
|
106
|
+
} from "./chunk-NL4I7WOT.js";
|
|
107
107
|
import {
|
|
108
108
|
coinbaseWallet
|
|
109
109
|
} from "./chunk-O77H3VWW.js";
|
|
110
110
|
import {
|
|
111
|
-
|
|
112
|
-
} from "./chunk-
|
|
111
|
+
coreWallet
|
|
112
|
+
} from "./chunk-32O7HVBJ.js";
|
|
113
113
|
import {
|
|
114
114
|
coin98Wallet
|
|
115
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-3QXMJHL4.js";
|
|
116
116
|
import {
|
|
117
|
-
|
|
118
|
-
} from "./chunk-
|
|
117
|
+
enkryptWallet
|
|
118
|
+
} from "./chunk-SJWHYD45.js";
|
|
119
119
|
import {
|
|
120
|
-
|
|
121
|
-
} from "./chunk-
|
|
120
|
+
dawnWallet
|
|
121
|
+
} from "./chunk-QUFNIKMV.js";
|
|
122
122
|
import {
|
|
123
123
|
foxWallet
|
|
124
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-TKXMLZXG.js";
|
|
125
125
|
import {
|
|
126
126
|
desigWallet
|
|
127
127
|
} from "./chunk-P4C7ZHIS.js";
|
|
128
|
-
import {
|
|
129
|
-
bifrostWallet
|
|
130
|
-
} from "./chunk-PJRUHFBT.js";
|
|
131
|
-
import {
|
|
132
|
-
bitgetWallet
|
|
133
|
-
} from "./chunk-3R3RNCGE.js";
|
|
134
128
|
import {
|
|
135
129
|
bitskiWallet
|
|
136
130
|
} from "./chunk-IMZRCMZR.js";
|
|
137
131
|
import {
|
|
138
|
-
|
|
139
|
-
} from "./chunk-
|
|
132
|
+
bifrostWallet
|
|
133
|
+
} from "./chunk-AFONKDII.js";
|
|
140
134
|
import {
|
|
141
|
-
|
|
142
|
-
} from "./chunk-
|
|
135
|
+
argentWallet
|
|
136
|
+
} from "./chunk-NZ5G23JP.js";
|
|
137
|
+
import {
|
|
138
|
+
bitgetWallet
|
|
139
|
+
} from "./chunk-OUQ3ZF2W.js";
|
|
143
140
|
import {
|
|
144
141
|
bloomWallet
|
|
145
142
|
} from "./chunk-NTGZF5BY.js";
|
|
146
143
|
import "./chunk-ZOLACFTK.js";
|
|
147
144
|
import {
|
|
148
|
-
|
|
149
|
-
} from "./chunk-
|
|
150
|
-
import
|
|
145
|
+
braveWallet
|
|
146
|
+
} from "./chunk-KJWMF6GZ.js";
|
|
147
|
+
import {
|
|
148
|
+
clvWallet
|
|
149
|
+
} from "./chunk-ND5YG63V.js";
|
|
151
150
|
import "./chunk-ZDU3JFGR.js";
|
|
151
|
+
import "./chunk-F3VCNZXS.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-TUK3HNKY.js";
|
|
5
5
|
import "../chunk-ZOLACFTK.js";
|
|
6
|
-
import "../chunk-F3VCNZXS.js";
|
|
7
6
|
import "../chunk-ZDU3JFGR.js";
|
|
7
|
+
import "../chunk-F3VCNZXS.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-5ZGE5SN5.js";
|
|
5
5
|
import "../chunk-ZOLACFTK.js";
|
|
6
|
-
import "../chunk-F3VCNZXS.js";
|
|
7
6
|
import "../chunk-ZDU3JFGR.js";
|
|
7
|
+
import "../chunk-F3VCNZXS.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-EXN2ODSI.js";
|
|
5
5
|
import "../chunk-ZOLACFTK.js";
|
|
6
|
-
import "../chunk-F3VCNZXS.js";
|
|
7
6
|
import "../chunk-ZDU3JFGR.js";
|
|
7
|
+
import "../chunk-F3VCNZXS.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-UWU574XS.js";
|
|
5
5
|
import "../chunk-ZOLACFTK.js";
|
|
6
|
-
import "../chunk-F3VCNZXS.js";
|
|
7
6
|
import "../chunk-ZDU3JFGR.js";
|
|
7
|
+
import "../chunk-F3VCNZXS.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-BMHNXJZK.js";
|
|
5
5
|
import "../chunk-ZOLACFTK.js";
|
|
6
|
-
import "../chunk-F3VCNZXS.js";
|
|
7
6
|
import "../chunk-ZDU3JFGR.js";
|
|
7
|
+
import "../chunk-F3VCNZXS.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-G4DNQN67.js";
|
|
5
5
|
import "../chunk-ZOLACFTK.js";
|
|
6
|
-
import "../chunk-F3VCNZXS.js";
|
|
7
6
|
import "../chunk-ZDU3JFGR.js";
|
|
7
|
+
import "../chunk-F3VCNZXS.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.2.
|
|
3
|
+
"version": "1.2.2",
|
|
4
4
|
"description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -75,9 +75,9 @@
|
|
|
75
75
|
"react-remove-scroll": "2.5.7",
|
|
76
76
|
"ua-parser-js": "^1.0.37",
|
|
77
77
|
"uuid": "^9.0.1",
|
|
78
|
-
"@funkit/
|
|
79
|
-
"@funkit/wagmi-tools": "
|
|
80
|
-
"@funkit/
|
|
78
|
+
"@funkit/core": "1.0.16",
|
|
79
|
+
"@funkit/wagmi-tools": "2.0.1",
|
|
80
|
+
"@funkit/api-base": "0.0.3"
|
|
81
81
|
},
|
|
82
82
|
"repository": {
|
|
83
83
|
"type": "git",
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getInjectedConnector,
|
|
4
|
-
hasInjectedProvider
|
|
5
|
-
} from "./chunk-F3VCNZXS.js";
|
|
6
|
-
import {
|
|
7
|
-
getWalletConnectConnector
|
|
8
|
-
} from "./chunk-ZDU3JFGR.js";
|
|
9
|
-
|
|
10
|
-
// src/wallets/walletConnectors/clvWallet/clvWallet.ts
|
|
11
|
-
var clvWallet = ({
|
|
12
|
-
projectId,
|
|
13
|
-
walletConnectParameters
|
|
14
|
-
}) => {
|
|
15
|
-
const isCLVInjected = hasInjectedProvider({ namespace: "clover" });
|
|
16
|
-
const shouldUseWalletConnect = !isCLVInjected;
|
|
17
|
-
return {
|
|
18
|
-
id: "clv",
|
|
19
|
-
name: "CLV",
|
|
20
|
-
iconUrl: async () => (await import("./clvWallet-RM4V57ZB.js")).default,
|
|
21
|
-
iconBackground: "#fff",
|
|
22
|
-
iconAccent: "#BDFDE2",
|
|
23
|
-
installed: isCLVInjected,
|
|
24
|
-
downloadUrls: {
|
|
25
|
-
chrome: "https://chrome.google.com/webstore/detail/clv-wallet/nhnkbkgjikgcigadomkphalanndcapjk",
|
|
26
|
-
ios: "https://apps.apple.com/app/clover-wallet/id1570072858",
|
|
27
|
-
mobile: "https://apps.apple.com/app/clover-wallet/id1570072858",
|
|
28
|
-
qrCode: "https://clv.org/"
|
|
29
|
-
},
|
|
30
|
-
extension: {
|
|
31
|
-
instructions: {
|
|
32
|
-
learnMoreUrl: "https://clv.org/",
|
|
33
|
-
steps: [
|
|
34
|
-
{
|
|
35
|
-
description: "wallet_connectors.clv.extension.step1.description",
|
|
36
|
-
step: "install",
|
|
37
|
-
title: "wallet_connectors.clv.extension.step1.title"
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
description: "wallet_connectors.clv.extension.step2.description",
|
|
41
|
-
step: "create",
|
|
42
|
-
title: "wallet_connectors.clv.extension.step2.title"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
description: "wallet_connectors.clv.extension.step3.description",
|
|
46
|
-
step: "refresh",
|
|
47
|
-
title: "wallet_connectors.clv.extension.step3.title"
|
|
48
|
-
}
|
|
49
|
-
]
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
mobile: {
|
|
53
|
-
getUri: shouldUseWalletConnect ? (uri) => uri : void 0
|
|
54
|
-
},
|
|
55
|
-
qrCode: shouldUseWalletConnect ? {
|
|
56
|
-
getUri: (uri) => uri,
|
|
57
|
-
instructions: {
|
|
58
|
-
learnMoreUrl: "https://clv.org/",
|
|
59
|
-
steps: [
|
|
60
|
-
{
|
|
61
|
-
description: "wallet_connectors.clv.qr_code.step1.description",
|
|
62
|
-
step: "install",
|
|
63
|
-
title: "wallet_connectors.clv.qr_code.step1.title"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
description: "wallet_connectors.clv.qr_code.step2.description",
|
|
67
|
-
step: "create",
|
|
68
|
-
title: "wallet_connectors.clv.qr_code.step2.title"
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
description: "wallet_connectors.clv.qr_code.step3.description",
|
|
72
|
-
step: "scan",
|
|
73
|
-
title: "wallet_connectors.clv.qr_code.step3.title"
|
|
74
|
-
}
|
|
75
|
-
]
|
|
76
|
-
}
|
|
77
|
-
} : void 0,
|
|
78
|
-
createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
|
|
79
|
-
projectId,
|
|
80
|
-
walletConnectParameters
|
|
81
|
-
}) : getInjectedConnector({ namespace: "clover" })
|
|
82
|
-
};
|
|
83
|
-
};
|
|
84
|
-
|
|
85
|
-
export {
|
|
86
|
-
clvWallet
|
|
87
|
-
};
|