@funkit/connect 6.12.2 → 6.13.0
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 +17 -0
- package/dist/components/FunInfoBanner/ChainInfoBanners.d.ts +7 -0
- package/dist/components/FunInfoBanner/InfoBanner.d.ts +1 -1
- package/dist/consts/customers.d.ts +1 -0
- package/dist/hooks/useCheckoutAccountBalanceTransfer.d.ts +1 -1
- package/dist/index.js +758 -688
- package/dist/utils/checkout.d.ts +1 -1
- package/dist/utils/flags/config.d.ts +6 -2
- 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 +62 -62
- 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 +5 -5
package/dist/utils/checkout.d.ts
CHANGED
|
@@ -54,6 +54,7 @@ export declare function getFunkitEnvForCheckoutEstimation({ chainId, bypassWalle
|
|
|
54
54
|
bypassInit: boolean;
|
|
55
55
|
apiKey?: string;
|
|
56
56
|
nonce?: bigint | undefined;
|
|
57
|
+
logger?: import("@funkit/api-base").Logger | undefined;
|
|
57
58
|
fee?: {
|
|
58
59
|
token?: string;
|
|
59
60
|
amount?: number;
|
|
@@ -61,7 +62,6 @@ export declare function getFunkitEnvForCheckoutEstimation({ chainId, bypassWalle
|
|
|
61
62
|
recipient: Address;
|
|
62
63
|
} | undefined;
|
|
63
64
|
skipDBAction?: boolean | undefined;
|
|
64
|
-
logger?: import("@funkit/api-base").Logger | undefined;
|
|
65
65
|
};
|
|
66
66
|
export type TokenInfo = {
|
|
67
67
|
symbol: string;
|
|
@@ -265,14 +265,18 @@ export declare const flagConfig: {
|
|
|
265
265
|
readonly if_any: [{
|
|
266
266
|
readonly key: "userId";
|
|
267
267
|
readonly type: "pctRollout";
|
|
268
|
-
readonly pct:
|
|
268
|
+
readonly pct: 0;
|
|
269
269
|
}, {
|
|
270
270
|
readonly key: "userId";
|
|
271
271
|
readonly type: "isAnyOf";
|
|
272
|
-
readonly values: ["0x236c60C57a8B9ca563Fb0dA5199FDdCB686d91E8", "0x2e0Fa1cE3F0F6a85542c1E4F941116c0E885292E", "0x28b8848C6c3aaBF4669997563dc07888eb3B0960", "0x9C64fD7d9826E6d552dD8bc53e5C96F7C3F38528", "0xfe5AD22465dc20340bfFb641F4AbbcAA7a1BB2Ed", "0x9CB7F86F360459cC96C74a0F81aF2C4cC7a54bd2", "0x21b94a3E67c4a72d3D15f478A696c5175f036092", "0x2A8Bd916E85d98d8175258De99fc0ddbcC102eF6", "0x8a5505F1b274d8fC23986AF60Dd3Ca3857095BB8", "0x0B6E49e9D1528F59BaBF3C5337A4c96E987f81aa", "0x84Bc1AC5621d2B44C5D3e3E79b45C2885406026D", "0x0D0377aa9CCA769931821842aB0E1A75e7DD6dD6", "0x7B0195921183f7E04f0D331c1DAF7C1bB208CC4E", "0xda6b07Eb94f699F511a943e9bFC12B64B7fe3486", "0x3c937d73f7FE55b386c309C65087d9F5bdd1a780"];
|
|
272
|
+
readonly values: ["0x236c60C57a8B9ca563Fb0dA5199FDdCB686d91E8", "0x2e0Fa1cE3F0F6a85542c1E4F941116c0E885292E", "0x28b8848C6c3aaBF4669997563dc07888eb3B0960", "0x9C64fD7d9826E6d552dD8bc53e5C96F7C3F38528", "0xfe5AD22465dc20340bfFb641F4AbbcAA7a1BB2Ed", "0x9CB7F86F360459cC96C74a0F81aF2C4cC7a54bd2", "0x21b94a3E67c4a72d3D15f478A696c5175f036092", "0x2A8Bd916E85d98d8175258De99fc0ddbcC102eF6", "0x8a5505F1b274d8fC23986AF60Dd3Ca3857095BB8", "0x0B6E49e9D1528F59BaBF3C5337A4c96E987f81aa", "0x84Bc1AC5621d2B44C5D3e3E79b45C2885406026D", "0x0D0377aa9CCA769931821842aB0E1A75e7DD6dD6", "0x7B0195921183f7E04f0D331c1DAF7C1bB208CC4E", "0xda6b07Eb94f699F511a943e9bFC12B64B7fe3486", "0x3c937d73f7FE55b386c309C65087d9F5bdd1a780", "0xe9F1a56452A6f1fFA396241a0fB4A0655C1ed523"];
|
|
273
273
|
}];
|
|
274
274
|
readonly value: true;
|
|
275
275
|
}];
|
|
276
276
|
};
|
|
277
|
+
readonly chain_info_banners: {
|
|
278
|
+
readonly type: "string";
|
|
279
|
+
readonly default_value: string;
|
|
280
|
+
};
|
|
277
281
|
};
|
|
278
282
|
export type FlagConfig = typeof flagConfig;
|
|
@@ -1,153 +1,153 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import {
|
|
6
|
-
uniswapWallet
|
|
7
|
-
} from "./chunk-LH7BMNFZ.js";
|
|
3
|
+
walletConnectWallet
|
|
4
|
+
} from "./chunk-NP5QGWNL.js";
|
|
8
5
|
import {
|
|
9
6
|
zerionWallet
|
|
10
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-SULRQO27.js";
|
|
8
|
+
import {
|
|
9
|
+
zealWallet
|
|
10
|
+
} from "./chunk-RNBEDQHF.js";
|
|
11
11
|
import {
|
|
12
12
|
tahoWallet
|
|
13
13
|
} from "./chunk-ZZZRUXZE.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./chunk-
|
|
15
|
+
tokenPocketWallet
|
|
16
|
+
} from "./chunk-2L43XSW3.js";
|
|
17
|
+
import {
|
|
18
|
+
subWallet
|
|
19
|
+
} from "./chunk-JWFF4AAL.js";
|
|
17
20
|
import {
|
|
18
21
|
talismanWallet
|
|
19
22
|
} from "./chunk-DRO6WYMM.js";
|
|
20
23
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./chunk-
|
|
24
|
+
trustWallet
|
|
25
|
+
} from "./chunk-VYBAYMP3.js";
|
|
26
|
+
import {
|
|
27
|
+
uniswapWallet
|
|
28
|
+
} from "./chunk-LH7BMNFZ.js";
|
|
23
29
|
import {
|
|
24
30
|
tokenaryWallet
|
|
25
31
|
} from "./chunk-D6AOOO5F.js";
|
|
26
32
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import {
|
|
30
|
-
zealWallet
|
|
31
|
-
} from "./chunk-RNBEDQHF.js";
|
|
32
|
-
import {
|
|
33
|
-
walletConnectWallet
|
|
34
|
-
} from "./chunk-NP5QGWNL.js";
|
|
33
|
+
xdefiWallet
|
|
34
|
+
} from "./chunk-BOU4WKRZ.js";
|
|
35
35
|
import {
|
|
36
36
|
phantomWallet
|
|
37
37
|
} from "./chunk-362NXNTM.js";
|
|
38
|
+
import {
|
|
39
|
+
rainbowWallet
|
|
40
|
+
} from "./chunk-2KUBG3S6.js";
|
|
38
41
|
import {
|
|
39
42
|
rabbyWallet
|
|
40
43
|
} from "./chunk-BBOM42DL.js";
|
|
41
44
|
import {
|
|
42
|
-
|
|
43
|
-
} from "./chunk-
|
|
45
|
+
roninWallet
|
|
46
|
+
} from "./chunk-NWIQNBJU.js";
|
|
44
47
|
import {
|
|
45
48
|
ramperWallet
|
|
46
49
|
} from "./chunk-BYXPFMI7.js";
|
|
47
|
-
import {
|
|
48
|
-
roninWallet
|
|
49
|
-
} from "./chunk-QLVVUKYB.js";
|
|
50
|
-
import {
|
|
51
|
-
safepalWallet
|
|
52
|
-
} from "./chunk-EC6CHBSZ.js";
|
|
53
50
|
import {
|
|
54
51
|
safeheronWallet
|
|
55
52
|
} from "./chunk-RZIO5TFF.js";
|
|
56
53
|
import {
|
|
57
|
-
|
|
58
|
-
} from "./chunk-
|
|
54
|
+
safeWallet
|
|
55
|
+
} from "./chunk-BQQQL6UD.js";
|
|
59
56
|
import {
|
|
60
|
-
|
|
61
|
-
} from "./chunk-
|
|
57
|
+
safepalWallet
|
|
58
|
+
} from "./chunk-NT2HYJKW.js";
|
|
62
59
|
import {
|
|
63
60
|
ledgerWallet
|
|
64
61
|
} from "./chunk-BRBKM4PW.js";
|
|
62
|
+
import {
|
|
63
|
+
kresusWallet
|
|
64
|
+
} from "./chunk-MJXPRJZT.js";
|
|
65
|
+
import {
|
|
66
|
+
oktoWallet
|
|
67
|
+
} from "./chunk-ADIXAKUL.js";
|
|
65
68
|
import {
|
|
66
69
|
metaMaskWallet
|
|
67
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-2HYNUNAS.js";
|
|
68
71
|
import {
|
|
69
72
|
okxWallet
|
|
70
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-TDIEHTMB.js";
|
|
71
74
|
import {
|
|
72
|
-
|
|
73
|
-
} from "./chunk-
|
|
75
|
+
omniWallet
|
|
76
|
+
} from "./chunk-7CUY5G6R.js";
|
|
74
77
|
import {
|
|
75
78
|
oneInchWallet
|
|
76
79
|
} from "./chunk-OESTDX6I.js";
|
|
77
80
|
import {
|
|
78
81
|
oneKeyWallet
|
|
79
82
|
} from "./chunk-SHBUZ7U7.js";
|
|
80
|
-
import {
|
|
81
|
-
omniWallet
|
|
82
|
-
} from "./chunk-7CUY5G6R.js";
|
|
83
83
|
import {
|
|
84
84
|
frameWallet
|
|
85
85
|
} from "./chunk-IFON7E6U.js";
|
|
86
86
|
import {
|
|
87
87
|
foxWallet
|
|
88
|
-
} from "./chunk-
|
|
89
|
-
import {
|
|
90
|
-
imTokenWallet
|
|
91
|
-
} from "./chunk-COZ7MIQS.js";
|
|
88
|
+
} from "./chunk-7QONTUXT.js";
|
|
92
89
|
import {
|
|
93
90
|
gateWallet
|
|
94
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-FKJJQNKX.js";
|
|
95
92
|
import {
|
|
96
93
|
frontierWallet
|
|
97
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-TCAGNB4B.js";
|
|
98
95
|
import {
|
|
99
|
-
|
|
100
|
-
} from "./chunk-
|
|
96
|
+
imTokenWallet
|
|
97
|
+
} from "./chunk-COZ7MIQS.js";
|
|
101
98
|
import {
|
|
102
99
|
injectedWallet
|
|
103
100
|
} from "./chunk-XWUJE7MW.js";
|
|
101
|
+
import {
|
|
102
|
+
mewWallet
|
|
103
|
+
} from "./chunk-OL5ZO7E4.js";
|
|
104
|
+
import {
|
|
105
|
+
bybitWallet
|
|
106
|
+
} from "./chunk-2STUC6QL.js";
|
|
104
107
|
import {
|
|
105
108
|
clvWallet
|
|
106
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-M3NZ6R2E.js";
|
|
107
110
|
import {
|
|
108
|
-
|
|
109
|
-
} from "./chunk-
|
|
111
|
+
coreWallet
|
|
112
|
+
} from "./chunk-VR4TBQ6S.js";
|
|
110
113
|
import {
|
|
111
|
-
|
|
112
|
-
} from "./chunk-
|
|
114
|
+
dawnWallet
|
|
115
|
+
} from "./chunk-HWPKCIBE.js";
|
|
113
116
|
import {
|
|
114
117
|
coinbaseWallet
|
|
115
118
|
} from "./chunk-H4IRCEZN.js";
|
|
116
119
|
import {
|
|
117
|
-
|
|
118
|
-
} from "./chunk-
|
|
120
|
+
coin98Wallet
|
|
121
|
+
} from "./chunk-OBOVHCEI.js";
|
|
119
122
|
import {
|
|
120
123
|
desigWallet
|
|
121
124
|
} from "./chunk-OPAZMNA7.js";
|
|
122
|
-
import {
|
|
123
|
-
coreWallet
|
|
124
|
-
} from "./chunk-JCHN6A47.js";
|
|
125
125
|
import {
|
|
126
126
|
enkryptWallet
|
|
127
127
|
} from "./chunk-OLOIXTYS.js";
|
|
128
128
|
import {
|
|
129
129
|
argentWallet
|
|
130
130
|
} from "./chunk-WSQ2YJO2.js";
|
|
131
|
+
import {
|
|
132
|
+
bitgetWallet
|
|
133
|
+
} from "./chunk-TDAVGY5F.js";
|
|
131
134
|
import {
|
|
132
135
|
bifrostWallet
|
|
133
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-A5N6B5UW.js";
|
|
134
137
|
import {
|
|
135
138
|
bitverseWallet
|
|
136
139
|
} from "./chunk-3HZRRP4Y.js";
|
|
137
|
-
import {
|
|
138
|
-
bitgetWallet
|
|
139
|
-
} from "./chunk-5W7VDOCL.js";
|
|
140
140
|
import {
|
|
141
141
|
bitskiWallet
|
|
142
142
|
} from "./chunk-HS3C7OQV.js";
|
|
143
143
|
import {
|
|
144
144
|
bloomWallet
|
|
145
145
|
} from "./chunk-S27IADFU.js";
|
|
146
|
+
import "./chunk-23WIEY36.js";
|
|
146
147
|
import {
|
|
147
|
-
|
|
148
|
-
} from "./chunk-
|
|
148
|
+
braveWallet
|
|
149
|
+
} from "./chunk-BPZ2XJO2.js";
|
|
149
150
|
import "./chunk-DNSG5Q7V.js";
|
|
150
|
-
import "./chunk-23WIEY36.js";
|
|
151
151
|
export {
|
|
152
152
|
argentWallet,
|
|
153
153
|
bifrostWallet,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@funkit/connect",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.13.0",
|
|
4
4
|
"description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -92,12 +92,12 @@
|
|
|
92
92
|
"ua-parser-js": "^1.0.37",
|
|
93
93
|
"use-debounce": "^10.0.5",
|
|
94
94
|
"uuid": "^9.0.1",
|
|
95
|
-
"@funkit/api-base": "1.12.
|
|
96
|
-
"@funkit/core": "2.3.46",
|
|
97
|
-
"@funkit/utils": "1.1.9",
|
|
95
|
+
"@funkit/api-base": "1.12.2",
|
|
98
96
|
"@funkit/fun-relay": "2.0.2",
|
|
99
97
|
"@funkit/chains": "0.4.0",
|
|
100
|
-
"@funkit/
|
|
98
|
+
"@funkit/core": "2.3.47",
|
|
99
|
+
"@funkit/utils": "1.1.10",
|
|
100
|
+
"@funkit/wagmi-tools": "3.0.70"
|
|
101
101
|
},
|
|
102
102
|
"repository": {
|
|
103
103
|
"type": "git",
|