@funkit/connect 1.0.21 → 1.0.22
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 +9 -0
- package/dist/{chunk-W67MRJ5R.js → chunk-2GFNZKMA.js} +4 -2
- package/dist/{chunk-AKTCSKQA.js → chunk-RA4J3G3B.js} +3 -1
- package/dist/components/Box/Box.d.ts +21 -21
- package/dist/components/FunButton/FunViewTxButton.d.ts +2 -1
- package/dist/components/FunCheckoutHistoryModal/FunCheckoutHistoryDetail.d.ts +1 -1
- package/dist/components/FunCheckoutHistoryModal/FunCheckoutHistoryModal.d.ts +3 -5
- package/dist/components/FunSelect/FunSelect.d.ts +6 -2
- package/dist/components/FunkitProvider/FunkitThemeProvider.d.ts +8 -0
- package/dist/components/FunkitProvider/ModalContext.d.ts +1 -1
- package/dist/components/ProfileDetails/FunProfileViews/Home/Home.css.d.ts +0 -1
- package/dist/css/scrollStyles.css.d.ts +1 -0
- package/dist/css/sprinkles.css.d.ts +25 -21
- package/dist/index.css +712 -620
- package/dist/index.js +1317 -1046
- package/dist/themes/darkTheme.d.ts +2 -0
- package/dist/themes/darkTheme.js +1 -1
- package/dist/themes/lightTheme.d.ts +2 -0
- package/dist/themes/lightTheme.js +1 -1
- package/dist/utils/checkoutHistory.d.ts +15 -0
- package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
- package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
- package/dist/wallets/walletConnectors/coinbaseWallet/coinbaseWallet.js +2 -2
- package/dist/wallets/walletConnectors/dawnWallet/dawnWallet.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 +74 -74
- 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/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-VWZEDVW6.js +0 -27
- package/dist/wallets/walletConnectors/chunk-YC7XNS7C.js +0 -98
- package/dist/wallets/walletConnectors/{chunk-75A2U7T7.js → chunk-2B3SPBRY.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-OR3PU2W4.js → chunk-7KDOXASH.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-OAEJQOAV.js → chunk-CRSPGVPF.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-XSSD5ZVD.js → chunk-DV3SI63E.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-N3VZE65M.js → chunk-HD5VYJNC.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-SL4VH23R.js → chunk-KGTZ6E7L.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-FDIIMYTB.js → chunk-RCWZ4KBR.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-2PC2XXUH.js → chunk-VSZ7PAHS.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-SQGFKNNZ.js → chunk-XNNLZXHE.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-X255T3C4.js → chunk-XRMAVTK7.js} +4 -4
|
@@ -53,7 +53,9 @@ export declare const darkTheme: {
|
|
|
53
53
|
buttonProcessing: string;
|
|
54
54
|
buttonDisabled: string;
|
|
55
55
|
buttonWarning: string;
|
|
56
|
+
buttonSuccess: string;
|
|
56
57
|
buttonTextWarning: string;
|
|
58
|
+
buttonTextSuccess: string;
|
|
57
59
|
buttonTextPrimary: string;
|
|
58
60
|
buttonTextSecondary: string;
|
|
59
61
|
buttonTextDisabled: string;
|
package/dist/themes/darkTheme.js
CHANGED
|
@@ -53,7 +53,9 @@ export declare const lightTheme: {
|
|
|
53
53
|
buttonProcessing: string;
|
|
54
54
|
buttonDisabled: string;
|
|
55
55
|
buttonWarning: string;
|
|
56
|
+
buttonSuccess: string;
|
|
56
57
|
buttonTextWarning: string;
|
|
58
|
+
buttonTextSuccess: string;
|
|
57
59
|
buttonTextPrimary: string;
|
|
58
60
|
buttonTextSecondary: string;
|
|
59
61
|
buttonTextDisabled: string;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare enum HistoryModalPages {
|
|
2
|
+
DETAIL = "detail",
|
|
3
|
+
HELP = "help"
|
|
4
|
+
}
|
|
5
|
+
export declare const combineDepositAddressAndInitialPage: ({ depositAddress, initialPage, }: {
|
|
6
|
+
depositAddress: string;
|
|
7
|
+
initialPage: HistoryModalPages;
|
|
8
|
+
}) => string;
|
|
9
|
+
export declare const deconstructDepositAddressAndInitialPage: (combined: string) => {
|
|
10
|
+
depositAddress: `0x${string}`;
|
|
11
|
+
initialPage: HistoryModalPages;
|
|
12
|
+
};
|
|
13
|
+
export declare function getLatestReportSubmitTime(): number;
|
|
14
|
+
export declare function setLatestReportSubmitTime(timeMs: number): void;
|
|
15
|
+
export declare function clearLatestWalletId(): void;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
bifrostWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-QII6PY2D.js";
|
|
4
|
+
} from "../chunk-KGTZ6E7L.js";
|
|
6
5
|
import "../chunk-ZOLACFTK.js";
|
|
6
|
+
import "../chunk-QII6PY2D.js";
|
|
7
7
|
import "../chunk-ZDU3JFGR.js";
|
|
8
8
|
export {
|
|
9
9
|
bifrostWallet
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
bitgetWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-QII6PY2D.js";
|
|
4
|
+
} from "../chunk-2B3SPBRY.js";
|
|
6
5
|
import "../chunk-ZOLACFTK.js";
|
|
6
|
+
import "../chunk-QII6PY2D.js";
|
|
7
7
|
import "../chunk-ZDU3JFGR.js";
|
|
8
8
|
export {
|
|
9
9
|
bitgetWallet
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
frontierWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-QII6PY2D.js";
|
|
4
|
+
} from "../chunk-HD5VYJNC.js";
|
|
6
5
|
import "../chunk-ZOLACFTK.js";
|
|
6
|
+
import "../chunk-QII6PY2D.js";
|
|
7
7
|
import "../chunk-ZDU3JFGR.js";
|
|
8
8
|
export {
|
|
9
9
|
frontierWallet
|
|
@@ -3,151 +3,151 @@ import {
|
|
|
3
3
|
zealWallet
|
|
4
4
|
} from "./chunk-DPXMP5KS.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./chunk-
|
|
6
|
+
coinbaseWallet
|
|
7
|
+
} from "./chunk-XBUTWYE4.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./chunk-
|
|
9
|
+
zerionWallet
|
|
10
|
+
} from "./chunk-XNNLZXHE.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./chunk-
|
|
12
|
+
talismanWallet
|
|
13
|
+
} from "./chunk-H273OTQA.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./chunk-
|
|
15
|
+
tokenPocketWallet
|
|
16
|
+
} from "./chunk-7KDOXASH.js";
|
|
17
17
|
import {
|
|
18
18
|
tokenaryWallet
|
|
19
19
|
} from "./chunk-ENZLEAG2.js";
|
|
20
20
|
import {
|
|
21
21
|
trustWallet
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import {
|
|
24
|
-
roninWallet
|
|
25
|
-
} from "./chunk-GW6EF4G2.js";
|
|
26
|
-
import {
|
|
27
|
-
talismanWallet
|
|
28
|
-
} from "./chunk-H273OTQA.js";
|
|
22
|
+
} from "./chunk-CRSPGVPF.js";
|
|
29
23
|
import {
|
|
30
24
|
uniswapWallet
|
|
31
25
|
} from "./chunk-XRSY4JVH.js";
|
|
26
|
+
import {
|
|
27
|
+
braveWallet
|
|
28
|
+
} from "./chunk-ABYQAXUX.js";
|
|
32
29
|
import {
|
|
33
30
|
walletConnectWallet
|
|
34
31
|
} from "./chunk-ASPRR7T3.js";
|
|
35
32
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./chunk-
|
|
33
|
+
xdefiWallet
|
|
34
|
+
} from "./chunk-L734HTUS.js";
|
|
38
35
|
import {
|
|
39
36
|
rainbowWallet
|
|
40
|
-
} from "./chunk-
|
|
41
|
-
import {
|
|
42
|
-
safepalWallet
|
|
43
|
-
} from "./chunk-RTW6PVQI.js";
|
|
44
|
-
import {
|
|
45
|
-
safeheronWallet
|
|
46
|
-
} from "./chunk-63NPZXAL.js";
|
|
37
|
+
} from "./chunk-RCWZ4KBR.js";
|
|
47
38
|
import {
|
|
48
39
|
ramperWallet
|
|
49
40
|
} from "./chunk-ZOL6ZMTJ.js";
|
|
50
41
|
import {
|
|
51
|
-
|
|
52
|
-
} from "./chunk-
|
|
53
|
-
import {
|
|
54
|
-
tokenPocketWallet
|
|
55
|
-
} from "./chunk-OR3PU2W4.js";
|
|
42
|
+
roninWallet
|
|
43
|
+
} from "./chunk-GW6EF4G2.js";
|
|
56
44
|
import {
|
|
57
45
|
safeWallet
|
|
58
46
|
} from "./chunk-D3DCQ72J.js";
|
|
59
47
|
import {
|
|
60
|
-
|
|
61
|
-
} from "./chunk-
|
|
48
|
+
safepalWallet
|
|
49
|
+
} from "./chunk-RTW6PVQI.js";
|
|
62
50
|
import {
|
|
63
|
-
|
|
64
|
-
} from "./chunk-
|
|
51
|
+
safeheronWallet
|
|
52
|
+
} from "./chunk-63NPZXAL.js";
|
|
53
|
+
import {
|
|
54
|
+
subWallet
|
|
55
|
+
} from "./chunk-2GAW2UBU.js";
|
|
56
|
+
import {
|
|
57
|
+
tahoWallet
|
|
58
|
+
} from "./chunk-H76YCX2M.js";
|
|
59
|
+
import {
|
|
60
|
+
mewWallet
|
|
61
|
+
} from "./chunk-PWYTDYBE.js";
|
|
65
62
|
import {
|
|
66
63
|
oktoWallet
|
|
67
64
|
} from "./chunk-WKHTUEF5.js";
|
|
65
|
+
import {
|
|
66
|
+
omniWallet
|
|
67
|
+
} from "./chunk-SVN7OEQR.js";
|
|
68
|
+
import {
|
|
69
|
+
okxWallet
|
|
70
|
+
} from "./chunk-DV3SI63E.js";
|
|
68
71
|
import {
|
|
69
72
|
oneInchWallet
|
|
70
73
|
} from "./chunk-LCPIZUR3.js";
|
|
71
|
-
import {
|
|
72
|
-
mewWallet
|
|
73
|
-
} from "./chunk-PWYTDYBE.js";
|
|
74
74
|
import {
|
|
75
75
|
oneKeyWallet
|
|
76
76
|
} from "./chunk-4WOV4ITL.js";
|
|
77
|
+
import {
|
|
78
|
+
phantomWallet
|
|
79
|
+
} from "./chunk-KGBLSE7L.js";
|
|
77
80
|
import {
|
|
78
81
|
rabbyWallet
|
|
79
82
|
} from "./chunk-XPEBP6XV.js";
|
|
80
|
-
import {
|
|
81
|
-
omniWallet
|
|
82
|
-
} from "./chunk-SVN7OEQR.js";
|
|
83
|
-
import {
|
|
84
|
-
frameWallet
|
|
85
|
-
} from "./chunk-XXFJVY73.js";
|
|
86
|
-
import {
|
|
87
|
-
foxWallet
|
|
88
|
-
} from "./chunk-OKWOB3DN.js";
|
|
89
83
|
import {
|
|
90
84
|
frontierWallet
|
|
91
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-HD5VYJNC.js";
|
|
86
|
+
import {
|
|
87
|
+
imTokenWallet
|
|
88
|
+
} from "./chunk-5MVV7OVS.js";
|
|
92
89
|
import {
|
|
93
90
|
gateWallet
|
|
94
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-VSZ7PAHS.js";
|
|
92
|
+
import {
|
|
93
|
+
injectedWallet
|
|
94
|
+
} from "./chunk-KIHCNUU3.js";
|
|
95
95
|
import {
|
|
96
96
|
kresusWallet
|
|
97
97
|
} from "./chunk-X6T3CICZ.js";
|
|
98
98
|
import {
|
|
99
|
-
|
|
100
|
-
} from "./chunk-
|
|
99
|
+
ledgerWallet
|
|
100
|
+
} from "./chunk-Y6VY6E3L.js";
|
|
101
101
|
import {
|
|
102
102
|
metaMaskWallet
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-XRMAVTK7.js";
|
|
104
104
|
import {
|
|
105
|
-
|
|
106
|
-
} from "./chunk-
|
|
105
|
+
bitverseWallet
|
|
106
|
+
} from "./chunk-NL4I7WOT.js";
|
|
107
107
|
import {
|
|
108
|
-
|
|
109
|
-
} from "./chunk-
|
|
108
|
+
coreWallet
|
|
109
|
+
} from "./chunk-IBWFKX7P.js";
|
|
110
|
+
import {
|
|
111
|
+
dawnWallet
|
|
112
|
+
} from "./chunk-4XQDKOGF.js";
|
|
110
113
|
import {
|
|
111
114
|
desigWallet
|
|
112
115
|
} from "./chunk-P4JLZ42R.js";
|
|
113
|
-
import {
|
|
114
|
-
braveWallet
|
|
115
|
-
} from "./chunk-ABYQAXUX.js";
|
|
116
116
|
import {
|
|
117
117
|
enkryptWallet
|
|
118
118
|
} from "./chunk-FLY7F4XA.js";
|
|
119
119
|
import {
|
|
120
|
-
|
|
121
|
-
} from "./chunk-
|
|
122
|
-
import {
|
|
123
|
-
coinbaseWallet
|
|
124
|
-
} from "./chunk-YC7XNS7C.js";
|
|
125
|
-
import {
|
|
126
|
-
coreWallet
|
|
127
|
-
} from "./chunk-IBWFKX7P.js";
|
|
120
|
+
foxWallet
|
|
121
|
+
} from "./chunk-OKWOB3DN.js";
|
|
128
122
|
import {
|
|
129
123
|
bitgetWallet
|
|
130
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-2B3SPBRY.js";
|
|
131
125
|
import {
|
|
132
|
-
|
|
133
|
-
} from "./chunk-
|
|
126
|
+
frameWallet
|
|
127
|
+
} from "./chunk-XXFJVY73.js";
|
|
134
128
|
import {
|
|
135
129
|
argentWallet
|
|
136
130
|
} from "./chunk-NZ5G23JP.js";
|
|
131
|
+
import {
|
|
132
|
+
bifrostWallet
|
|
133
|
+
} from "./chunk-KGTZ6E7L.js";
|
|
137
134
|
import {
|
|
138
135
|
bitskiWallet
|
|
139
136
|
} from "./chunk-C67TQJ6W.js";
|
|
140
137
|
import {
|
|
141
|
-
|
|
142
|
-
} from "./chunk-
|
|
138
|
+
bloomWallet
|
|
139
|
+
} from "./chunk-NTGZF5BY.js";
|
|
140
|
+
import "./chunk-ZOLACFTK.js";
|
|
143
141
|
import {
|
|
144
142
|
bybitWallet
|
|
145
143
|
} from "./chunk-CUKVUCIP.js";
|
|
146
|
-
import "./chunk-QII6PY2D.js";
|
|
147
144
|
import {
|
|
148
|
-
|
|
149
|
-
} from "./chunk-
|
|
150
|
-
import
|
|
145
|
+
clvWallet
|
|
146
|
+
} from "./chunk-T6JVHES7.js";
|
|
147
|
+
import {
|
|
148
|
+
coin98Wallet
|
|
149
|
+
} from "./chunk-Z2HIQYVN.js";
|
|
150
|
+
import "./chunk-QII6PY2D.js";
|
|
151
151
|
import "./chunk-ZDU3JFGR.js";
|
|
152
152
|
export {
|
|
153
153
|
argentWallet,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
metaMaskWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-QII6PY2D.js";
|
|
4
|
+
} from "../chunk-XRMAVTK7.js";
|
|
6
5
|
import "../chunk-ZOLACFTK.js";
|
|
6
|
+
import "../chunk-QII6PY2D.js";
|
|
7
7
|
import "../chunk-ZDU3JFGR.js";
|
|
8
8
|
export {
|
|
9
9
|
metaMaskWallet
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
rainbowWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-QII6PY2D.js";
|
|
4
|
+
} from "../chunk-RCWZ4KBR.js";
|
|
6
5
|
import "../chunk-ZOLACFTK.js";
|
|
6
|
+
import "../chunk-QII6PY2D.js";
|
|
7
7
|
import "../chunk-ZDU3JFGR.js";
|
|
8
8
|
export {
|
|
9
9
|
rainbowWallet
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
tokenPocketWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-QII6PY2D.js";
|
|
4
|
+
} from "../chunk-7KDOXASH.js";
|
|
6
5
|
import "../chunk-ZOLACFTK.js";
|
|
6
|
+
import "../chunk-QII6PY2D.js";
|
|
7
7
|
import "../chunk-ZDU3JFGR.js";
|
|
8
8
|
export {
|
|
9
9
|
tokenPocketWallet
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
trustWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-QII6PY2D.js";
|
|
4
|
+
} from "../chunk-CRSPGVPF.js";
|
|
6
5
|
import "../chunk-ZOLACFTK.js";
|
|
6
|
+
import "../chunk-QII6PY2D.js";
|
|
7
7
|
import "../chunk-ZDU3JFGR.js";
|
|
8
8
|
export {
|
|
9
9
|
trustWallet
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
zerionWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-QII6PY2D.js";
|
|
4
|
+
} from "../chunk-XNNLZXHE.js";
|
|
6
5
|
import "../chunk-ZOLACFTK.js";
|
|
6
|
+
import "../chunk-QII6PY2D.js";
|
|
7
7
|
import "../chunk-ZDU3JFGR.js";
|
|
8
8
|
export {
|
|
9
9
|
zerionWallet
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@funkit/connect",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.22",
|
|
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.8",
|
|
77
|
+
"@funkit/wagmi-tools": "^1.0.9",
|
|
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,27 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getInjectedConnector,
|
|
4
|
-
hasInjectedProvider
|
|
5
|
-
} from "./chunk-QII6PY2D.js";
|
|
6
|
-
import {
|
|
7
|
-
isIOS
|
|
8
|
-
} from "./chunk-ZOLACFTK.js";
|
|
9
|
-
|
|
10
|
-
// src/wallets/walletConnectors/dawnWallet/dawnWallet.ts
|
|
11
|
-
var dawnWallet = () => ({
|
|
12
|
-
id: "dawn",
|
|
13
|
-
name: "Dawn",
|
|
14
|
-
iconUrl: async () => (await import("./dawnWallet-MN7QMTX3.js")).default,
|
|
15
|
-
iconBackground: "#000000",
|
|
16
|
-
installed: hasInjectedProvider({ flag: "isDawn" }),
|
|
17
|
-
hidden: () => !isIOS(),
|
|
18
|
-
downloadUrls: {
|
|
19
|
-
ios: "https://apps.apple.com/us/app/dawn-ethereum-wallet/id1673143782",
|
|
20
|
-
mobile: "https://dawnwallet.xyz"
|
|
21
|
-
},
|
|
22
|
-
createConnector: getInjectedConnector({ flag: "isDawn" })
|
|
23
|
-
});
|
|
24
|
-
|
|
25
|
-
export {
|
|
26
|
-
dawnWallet
|
|
27
|
-
};
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
hasInjectedProvider
|
|
4
|
-
} from "./chunk-QII6PY2D.js";
|
|
5
|
-
import {
|
|
6
|
-
isIOS
|
|
7
|
-
} from "./chunk-ZOLACFTK.js";
|
|
8
|
-
|
|
9
|
-
// src/wallets/walletConnectors/coinbaseWallet/coinbaseWallet.ts
|
|
10
|
-
import { createConnector } from "wagmi";
|
|
11
|
-
import { coinbaseWallet as coinbaseWagmiWallet } from "wagmi/connectors";
|
|
12
|
-
var coinbaseWallet = ({
|
|
13
|
-
appName,
|
|
14
|
-
appIcon
|
|
15
|
-
}) => {
|
|
16
|
-
const isCoinbaseWalletInjected = hasInjectedProvider({
|
|
17
|
-
flag: "isCoinbaseWallet"
|
|
18
|
-
});
|
|
19
|
-
const getUri = (uri) => uri;
|
|
20
|
-
const ios = isIOS();
|
|
21
|
-
return {
|
|
22
|
-
id: "coinbase",
|
|
23
|
-
name: "Coinbase Wallet",
|
|
24
|
-
shortName: "Coinbase",
|
|
25
|
-
rdns: "com.coinbase.wallet",
|
|
26
|
-
iconUrl: async () => (await import("./coinbaseWallet-2OUR5TUP.js")).default,
|
|
27
|
-
iconAccent: "#2c5ff6",
|
|
28
|
-
iconBackground: "#2c5ff6",
|
|
29
|
-
installed: isCoinbaseWalletInjected || void 0,
|
|
30
|
-
downloadUrls: {
|
|
31
|
-
android: "https://play.google.com/store/apps/details?id=org.toshi",
|
|
32
|
-
ios: "https://apps.apple.com/us/app/coinbase-wallet-store-crypto/id1278383455",
|
|
33
|
-
mobile: "https://coinbase.com/wallet/downloads",
|
|
34
|
-
qrCode: "https://coinbase-wallet.onelink.me/q5Sx/fdb9b250",
|
|
35
|
-
chrome: "https://chrome.google.com/webstore/detail/coinbase-wallet-extension/hnfanknocfeofbddgcijnmhnfnkdnaad",
|
|
36
|
-
browserExtension: "https://coinbase.com/wallet"
|
|
37
|
-
},
|
|
38
|
-
...ios ? {} : {
|
|
39
|
-
qrCode: {
|
|
40
|
-
getUri,
|
|
41
|
-
instructions: {
|
|
42
|
-
learnMoreUrl: "https://coinbase.com/wallet/articles/getting-started-mobile",
|
|
43
|
-
steps: [
|
|
44
|
-
{
|
|
45
|
-
description: "wallet_connectors.coinbase.qr_code.step1.description",
|
|
46
|
-
step: "install",
|
|
47
|
-
title: "wallet_connectors.coinbase.qr_code.step1.title"
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
description: "wallet_connectors.coinbase.qr_code.step2.description",
|
|
51
|
-
step: "create",
|
|
52
|
-
title: "wallet_connectors.coinbase.qr_code.step2.title"
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
description: "wallet_connectors.coinbase.qr_code.step3.description",
|
|
56
|
-
step: "scan",
|
|
57
|
-
title: "wallet_connectors.coinbase.qr_code.step3.title"
|
|
58
|
-
}
|
|
59
|
-
]
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
extension: {
|
|
63
|
-
instructions: {
|
|
64
|
-
learnMoreUrl: "https://coinbase.com/wallet/articles/getting-started-extension",
|
|
65
|
-
steps: [
|
|
66
|
-
{
|
|
67
|
-
description: "wallet_connectors.coinbase.extension.step1.description",
|
|
68
|
-
step: "install",
|
|
69
|
-
title: "wallet_connectors.coinbase.extension.step1.title"
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
description: "wallet_connectors.coinbase.extension.step2.description",
|
|
73
|
-
step: "create",
|
|
74
|
-
title: "wallet_connectors.coinbase.extension.step2.title"
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
description: "wallet_connectors.coinbase.extension.step3.description",
|
|
78
|
-
step: "refresh",
|
|
79
|
-
title: "wallet_connectors.coinbase.extension.step3.title"
|
|
80
|
-
}
|
|
81
|
-
]
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
|
-
createConnector: (walletDetails) => createConnector((config) => ({
|
|
86
|
-
...coinbaseWagmiWallet({
|
|
87
|
-
appName,
|
|
88
|
-
appLogoUrl: appIcon,
|
|
89
|
-
headlessMode: true
|
|
90
|
-
})(config),
|
|
91
|
-
...walletDetails
|
|
92
|
-
}))
|
|
93
|
-
};
|
|
94
|
-
};
|
|
95
|
-
|
|
96
|
-
export {
|
|
97
|
-
coinbaseWallet
|
|
98
|
-
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import {
|
|
3
|
+
isAndroid
|
|
4
|
+
} from "./chunk-ZOLACFTK.js";
|
|
2
5
|
import {
|
|
3
6
|
getInjectedConnector,
|
|
4
7
|
hasInjectedProvider
|
|
5
8
|
} from "./chunk-QII6PY2D.js";
|
|
6
|
-
import {
|
|
7
|
-
isAndroid
|
|
8
|
-
} from "./chunk-ZOLACFTK.js";
|
|
9
9
|
import {
|
|
10
10
|
getWalletConnectConnector
|
|
11
11
|
} from "./chunk-ZDU3JFGR.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import {
|
|
3
|
+
isMobile
|
|
4
|
+
} from "./chunk-ZOLACFTK.js";
|
|
2
5
|
import {
|
|
3
6
|
getInjectedConnector,
|
|
4
7
|
hasInjectedProvider
|
|
5
8
|
} from "./chunk-QII6PY2D.js";
|
|
6
|
-
import {
|
|
7
|
-
isMobile
|
|
8
|
-
} from "./chunk-ZOLACFTK.js";
|
|
9
9
|
import {
|
|
10
10
|
getWalletConnectConnector
|
|
11
11
|
} from "./chunk-ZDU3JFGR.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import {
|
|
3
|
+
isMobile
|
|
4
|
+
} from "./chunk-ZOLACFTK.js";
|
|
2
5
|
import {
|
|
3
6
|
getInjectedConnector,
|
|
4
7
|
hasInjectedProvider
|
|
5
8
|
} from "./chunk-QII6PY2D.js";
|
|
6
|
-
import {
|
|
7
|
-
isMobile
|
|
8
|
-
} from "./chunk-ZOLACFTK.js";
|
|
9
9
|
import {
|
|
10
10
|
getWalletConnectConnector
|
|
11
11
|
} from "./chunk-ZDU3JFGR.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import {
|
|
3
|
+
isAndroid
|
|
4
|
+
} from "./chunk-ZOLACFTK.js";
|
|
2
5
|
import {
|
|
3
6
|
getInjectedConnector,
|
|
4
7
|
hasInjectedProvider
|
|
5
8
|
} from "./chunk-QII6PY2D.js";
|
|
6
|
-
import {
|
|
7
|
-
isAndroid
|
|
8
|
-
} from "./chunk-ZOLACFTK.js";
|
|
9
9
|
import {
|
|
10
10
|
getWalletConnectConnector
|
|
11
11
|
} from "./chunk-ZDU3JFGR.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import {
|
|
3
|
+
isAndroid
|
|
4
|
+
} from "./chunk-ZOLACFTK.js";
|
|
2
5
|
import {
|
|
3
6
|
getInjectedConnector,
|
|
4
7
|
hasInjectedProvider
|
|
5
8
|
} from "./chunk-QII6PY2D.js";
|
|
6
|
-
import {
|
|
7
|
-
isAndroid
|
|
8
|
-
} from "./chunk-ZOLACFTK.js";
|
|
9
9
|
import {
|
|
10
10
|
getWalletConnectConnector
|
|
11
11
|
} from "./chunk-ZDU3JFGR.js";
|