@funkit/connect 1.0.23 → 1.0.24
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 +12 -0
- package/dist/components/FunTransactionSummary/FunTransactionSummary.d.ts +1 -0
- package/dist/components/FunkitProvider/FunkitConfigContext.d.ts +2 -0
- package/dist/components/FunkitProvider/FunkitMoonpayProvider.d.ts +20 -0
- package/dist/components/FunkitProvider/GeneralWalletProvider.d.ts +2 -2
- package/dist/consts/funkit.d.ts +3 -0
- package/dist/consts/moonpay.d.ts +3 -0
- package/dist/index.css +12 -0
- package/dist/index.js +631 -453
- package/dist/utils/checkout.d.ts +1 -1
- package/dist/utils/mesh.d.ts +2 -1
- package/dist/wallets/walletConnectors/index.js +45 -45
- package/package.json +1 -1
package/dist/utils/checkout.d.ts
CHANGED
|
@@ -110,7 +110,7 @@ export declare function categorizeCheckoutHistories(checkoutHistoryList: Checkou
|
|
|
110
110
|
currentDepositAddrMap: CheckoutHistoryDepositAddrMap;
|
|
111
111
|
};
|
|
112
112
|
export declare function getCheckoutStateStepNumber(state: CheckoutState): 0 | 1 | 3 | 2;
|
|
113
|
-
export declare function formatTokenAmountForMoonpay(amount: number): string;
|
|
113
|
+
export declare function formatTokenAmountForMoonpay(amount: number, mpCurrencyCode: string): string;
|
|
114
114
|
export declare function combineChainSymbolOrAddress({ chainId, symbolOrAddress, }: {
|
|
115
115
|
chainId: string;
|
|
116
116
|
symbolOrAddress: string;
|
package/dist/utils/mesh.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export declare const FUNKIT_MESH_CLIENT_ID = "8132aff4-56c9-4b1d-85b4-08dbdcc6199d";
|
|
2
|
+
export declare const MESH_DEFAULT_USER_ID = "meshconnectkit";
|
|
2
3
|
export declare enum MeshExchanges {
|
|
3
4
|
Robinhood = "Robinhood",
|
|
4
5
|
ETrade = "ETrade",
|
|
@@ -34,7 +35,7 @@ export declare enum MeshExchanges {
|
|
|
34
35
|
export declare const EXCHANGE_NAME_TO_TYPE: {
|
|
35
36
|
[x: string]: string;
|
|
36
37
|
};
|
|
37
|
-
export declare function fetchMeshLinkToken(selectedExchange: MeshExchanges, funApiKey: string): Promise<any>;
|
|
38
|
+
export declare function fetchMeshLinkToken(funkitUserId: string, selectedExchange: MeshExchanges, funApiKey: string): Promise<any>;
|
|
38
39
|
export declare enum MeshExecuteTransferStatus {
|
|
39
40
|
succeeded = "succeeded",
|
|
40
41
|
failed = "failed",
|
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "./chunk-
|
|
3
|
+
xdefiWallet
|
|
4
|
+
} from "./chunk-L734HTUS.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./chunk-
|
|
6
|
+
zerionWallet
|
|
7
|
+
} from "./chunk-7CQPABJG.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./chunk-
|
|
9
|
+
zealWallet
|
|
10
|
+
} from "./chunk-DPXMP5KS.js";
|
|
11
|
+
import {
|
|
12
|
+
subWallet
|
|
13
|
+
} from "./chunk-ZBAQFL6G.js";
|
|
14
|
+
import {
|
|
15
|
+
tahoWallet
|
|
16
|
+
} from "./chunk-H76YCX2M.js";
|
|
11
17
|
import {
|
|
12
18
|
talismanWallet
|
|
13
19
|
} from "./chunk-H273OTQA.js";
|
|
20
|
+
import {
|
|
21
|
+
tokenPocketWallet
|
|
22
|
+
} from "./chunk-2UXZAUWT.js";
|
|
14
23
|
import {
|
|
15
24
|
tokenaryWallet
|
|
16
25
|
} from "./chunk-ENZLEAG2.js";
|
|
17
26
|
import {
|
|
18
27
|
trustWallet
|
|
19
28
|
} from "./chunk-Z2DGDHHZ.js";
|
|
29
|
+
import {
|
|
30
|
+
uniswapWallet
|
|
31
|
+
} from "./chunk-XRSY4JVH.js";
|
|
20
32
|
import {
|
|
21
33
|
walletConnectWallet
|
|
22
34
|
} from "./chunk-ASPRR7T3.js";
|
|
23
35
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import {
|
|
27
|
-
xdefiWallet
|
|
28
|
-
} from "./chunk-L734HTUS.js";
|
|
29
|
-
import {
|
|
30
|
-
zealWallet
|
|
31
|
-
} from "./chunk-DPXMP5KS.js";
|
|
36
|
+
phantomWallet
|
|
37
|
+
} from "./chunk-KGBLSE7L.js";
|
|
32
38
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./chunk-
|
|
39
|
+
rabbyWallet
|
|
40
|
+
} from "./chunk-XPEBP6XV.js";
|
|
35
41
|
import {
|
|
36
42
|
rainbowWallet
|
|
37
43
|
} from "./chunk-O5NKWWEG.js";
|
|
44
|
+
import {
|
|
45
|
+
ramperWallet
|
|
46
|
+
} from "./chunk-ZOL6ZMTJ.js";
|
|
38
47
|
import {
|
|
39
48
|
roninWallet
|
|
40
49
|
} from "./chunk-LVRXH33E.js";
|
|
41
50
|
import {
|
|
42
51
|
safeWallet
|
|
43
52
|
} from "./chunk-D3DCQ72J.js";
|
|
44
|
-
import {
|
|
45
|
-
ramperWallet
|
|
46
|
-
} from "./chunk-ZOL6ZMTJ.js";
|
|
47
|
-
import {
|
|
48
|
-
oneKeyWallet
|
|
49
|
-
} from "./chunk-4WOV4ITL.js";
|
|
50
53
|
import {
|
|
51
54
|
safepalWallet
|
|
52
55
|
} from "./chunk-SYELB4QO.js";
|
|
53
56
|
import {
|
|
54
|
-
|
|
55
|
-
} from "./chunk-
|
|
56
|
-
import {
|
|
57
|
-
tahoWallet
|
|
58
|
-
} from "./chunk-H76YCX2M.js";
|
|
57
|
+
safeheronWallet
|
|
58
|
+
} from "./chunk-63NPZXAL.js";
|
|
59
59
|
import {
|
|
60
60
|
ledgerWallet
|
|
61
61
|
} from "./chunk-Y6VY6E3L.js";
|
|
@@ -66,32 +66,32 @@ import {
|
|
|
66
66
|
mewWallet
|
|
67
67
|
} from "./chunk-PWYTDYBE.js";
|
|
68
68
|
import {
|
|
69
|
-
|
|
70
|
-
} from "./chunk-
|
|
69
|
+
oktoWallet
|
|
70
|
+
} from "./chunk-WKHTUEF5.js";
|
|
71
71
|
import {
|
|
72
72
|
omniWallet
|
|
73
73
|
} from "./chunk-SVN7OEQR.js";
|
|
74
|
+
import {
|
|
75
|
+
okxWallet
|
|
76
|
+
} from "./chunk-NGXIHASN.js";
|
|
74
77
|
import {
|
|
75
78
|
oneInchWallet
|
|
76
79
|
} from "./chunk-LCPIZUR3.js";
|
|
77
80
|
import {
|
|
78
|
-
|
|
79
|
-
} from "./chunk-
|
|
80
|
-
import {
|
|
81
|
-
rabbyWallet
|
|
82
|
-
} from "./chunk-XPEBP6XV.js";
|
|
81
|
+
oneKeyWallet
|
|
82
|
+
} from "./chunk-4WOV4ITL.js";
|
|
83
83
|
import {
|
|
84
|
-
|
|
85
|
-
} from "./chunk-
|
|
84
|
+
frameWallet
|
|
85
|
+
} from "./chunk-XXFJVY73.js";
|
|
86
86
|
import {
|
|
87
87
|
frontierWallet
|
|
88
88
|
} from "./chunk-AM4SSLAP.js";
|
|
89
|
-
import {
|
|
90
|
-
frameWallet
|
|
91
|
-
} from "./chunk-XXFJVY73.js";
|
|
92
89
|
import {
|
|
93
90
|
gateWallet
|
|
94
91
|
} from "./chunk-V45EXW7A.js";
|
|
92
|
+
import {
|
|
93
|
+
argentWallet
|
|
94
|
+
} from "./chunk-NZ5G23JP.js";
|
|
95
95
|
import {
|
|
96
96
|
imTokenWallet
|
|
97
97
|
} from "./chunk-5MVV7OVS.js";
|
|
@@ -101,9 +101,6 @@ import {
|
|
|
101
101
|
import {
|
|
102
102
|
kresusWallet
|
|
103
103
|
} from "./chunk-X6T3CICZ.js";
|
|
104
|
-
import {
|
|
105
|
-
bybitWallet
|
|
106
|
-
} from "./chunk-ZUAHWUEL.js";
|
|
107
104
|
import {
|
|
108
105
|
clvWallet
|
|
109
106
|
} from "./chunk-MIWCKFYE.js";
|
|
@@ -126,8 +123,8 @@ import {
|
|
|
126
123
|
enkryptWallet
|
|
127
124
|
} from "./chunk-FLY7F4XA.js";
|
|
128
125
|
import {
|
|
129
|
-
|
|
130
|
-
} from "./chunk-
|
|
126
|
+
foxWallet
|
|
127
|
+
} from "./chunk-Q4RLUJJD.js";
|
|
131
128
|
import {
|
|
132
129
|
bifrostWallet
|
|
133
130
|
} from "./chunk-6LTLPR2Q.js";
|
|
@@ -144,10 +141,13 @@ import {
|
|
|
144
141
|
bloomWallet
|
|
145
142
|
} from "./chunk-NTGZF5BY.js";
|
|
146
143
|
import "./chunk-ZOLACFTK.js";
|
|
147
|
-
import "./chunk-ZDU3JFGR.js";
|
|
148
144
|
import {
|
|
149
145
|
braveWallet
|
|
150
146
|
} from "./chunk-ABYQAXUX.js";
|
|
147
|
+
import {
|
|
148
|
+
bybitWallet
|
|
149
|
+
} from "./chunk-ZUAHWUEL.js";
|
|
150
|
+
import "./chunk-ZDU3JFGR.js";
|
|
151
151
|
import "./chunk-QII6PY2D.js";
|
|
152
152
|
export {
|
|
153
153
|
argentWallet,
|