@funkit/connect 6.12.3 → 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 +53 -53
- 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,76 +1,76 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "./chunk-
|
|
3
|
+
walletConnectWallet
|
|
4
|
+
} from "./chunk-NP5QGWNL.js";
|
|
5
5
|
import {
|
|
6
6
|
zerionWallet
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-SULRQO27.js";
|
|
8
8
|
import {
|
|
9
9
|
zealWallet
|
|
10
10
|
} from "./chunk-RNBEDQHF.js";
|
|
11
11
|
import {
|
|
12
12
|
tahoWallet
|
|
13
13
|
} from "./chunk-ZZZRUXZE.js";
|
|
14
|
+
import {
|
|
15
|
+
tokenPocketWallet
|
|
16
|
+
} from "./chunk-2L43XSW3.js";
|
|
14
17
|
import {
|
|
15
18
|
subWallet
|
|
16
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-JWFF4AAL.js";
|
|
17
20
|
import {
|
|
18
21
|
talismanWallet
|
|
19
22
|
} from "./chunk-DRO6WYMM.js";
|
|
20
|
-
import {
|
|
21
|
-
tokenPocketWallet
|
|
22
|
-
} from "./chunk-J3LI3FYZ.js";
|
|
23
23
|
import {
|
|
24
24
|
trustWallet
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import {
|
|
27
|
-
tokenaryWallet
|
|
28
|
-
} from "./chunk-D6AOOO5F.js";
|
|
25
|
+
} from "./chunk-VYBAYMP3.js";
|
|
29
26
|
import {
|
|
30
27
|
uniswapWallet
|
|
31
28
|
} from "./chunk-LH7BMNFZ.js";
|
|
32
29
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./chunk-
|
|
30
|
+
tokenaryWallet
|
|
31
|
+
} from "./chunk-D6AOOO5F.js";
|
|
32
|
+
import {
|
|
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
50
|
import {
|
|
48
|
-
|
|
49
|
-
} from "./chunk-
|
|
51
|
+
safeheronWallet
|
|
52
|
+
} from "./chunk-RZIO5TFF.js";
|
|
50
53
|
import {
|
|
51
54
|
safeWallet
|
|
52
55
|
} from "./chunk-BQQQL6UD.js";
|
|
53
|
-
import {
|
|
54
|
-
safeheronWallet
|
|
55
|
-
} from "./chunk-RZIO5TFF.js";
|
|
56
56
|
import {
|
|
57
57
|
safepalWallet
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-NT2HYJKW.js";
|
|
59
59
|
import {
|
|
60
60
|
ledgerWallet
|
|
61
61
|
} from "./chunk-BRBKM4PW.js";
|
|
62
62
|
import {
|
|
63
|
-
|
|
64
|
-
} from "./chunk-
|
|
65
|
-
import {
|
|
66
|
-
mewWallet
|
|
67
|
-
} from "./chunk-OL5ZO7E4.js";
|
|
63
|
+
kresusWallet
|
|
64
|
+
} from "./chunk-MJXPRJZT.js";
|
|
68
65
|
import {
|
|
69
66
|
oktoWallet
|
|
70
67
|
} from "./chunk-ADIXAKUL.js";
|
|
68
|
+
import {
|
|
69
|
+
metaMaskWallet
|
|
70
|
+
} from "./chunk-2HYNUNAS.js";
|
|
71
71
|
import {
|
|
72
72
|
okxWallet
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-TDIEHTMB.js";
|
|
74
74
|
import {
|
|
75
75
|
omniWallet
|
|
76
76
|
} from "./chunk-7CUY5G6R.js";
|
|
@@ -80,18 +80,18 @@ import {
|
|
|
80
80
|
import {
|
|
81
81
|
oneKeyWallet
|
|
82
82
|
} from "./chunk-SHBUZ7U7.js";
|
|
83
|
-
import {
|
|
84
|
-
foxWallet
|
|
85
|
-
} from "./chunk-CNPKISHN.js";
|
|
86
83
|
import {
|
|
87
84
|
frameWallet
|
|
88
85
|
} from "./chunk-IFON7E6U.js";
|
|
89
86
|
import {
|
|
90
|
-
|
|
91
|
-
} from "./chunk-
|
|
87
|
+
foxWallet
|
|
88
|
+
} from "./chunk-7QONTUXT.js";
|
|
92
89
|
import {
|
|
93
90
|
gateWallet
|
|
94
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-FKJJQNKX.js";
|
|
92
|
+
import {
|
|
93
|
+
frontierWallet
|
|
94
|
+
} from "./chunk-TCAGNB4B.js";
|
|
95
95
|
import {
|
|
96
96
|
imTokenWallet
|
|
97
97
|
} from "./chunk-COZ7MIQS.js";
|
|
@@ -99,26 +99,26 @@ import {
|
|
|
99
99
|
injectedWallet
|
|
100
100
|
} from "./chunk-XWUJE7MW.js";
|
|
101
101
|
import {
|
|
102
|
-
|
|
103
|
-
} from "./chunk-
|
|
102
|
+
mewWallet
|
|
103
|
+
} from "./chunk-OL5ZO7E4.js";
|
|
104
104
|
import {
|
|
105
105
|
bybitWallet
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-2STUC6QL.js";
|
|
107
107
|
import {
|
|
108
108
|
clvWallet
|
|
109
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-M3NZ6R2E.js";
|
|
110
110
|
import {
|
|
111
|
-
|
|
112
|
-
} from "./chunk-
|
|
113
|
-
import {
|
|
114
|
-
coinbaseWallet
|
|
115
|
-
} from "./chunk-H4IRCEZN.js";
|
|
111
|
+
coreWallet
|
|
112
|
+
} from "./chunk-VR4TBQ6S.js";
|
|
116
113
|
import {
|
|
117
114
|
dawnWallet
|
|
118
115
|
} from "./chunk-HWPKCIBE.js";
|
|
119
116
|
import {
|
|
120
|
-
|
|
121
|
-
} from "./chunk-
|
|
117
|
+
coinbaseWallet
|
|
118
|
+
} from "./chunk-H4IRCEZN.js";
|
|
119
|
+
import {
|
|
120
|
+
coin98Wallet
|
|
121
|
+
} from "./chunk-OBOVHCEI.js";
|
|
122
122
|
import {
|
|
123
123
|
desigWallet
|
|
124
124
|
} from "./chunk-OPAZMNA7.js";
|
|
@@ -128,26 +128,26 @@ import {
|
|
|
128
128
|
import {
|
|
129
129
|
argentWallet
|
|
130
130
|
} from "./chunk-WSQ2YJO2.js";
|
|
131
|
-
import {
|
|
132
|
-
bifrostWallet
|
|
133
|
-
} from "./chunk-UIASLGLV.js";
|
|
134
131
|
import {
|
|
135
132
|
bitgetWallet
|
|
136
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-TDAVGY5F.js";
|
|
137
134
|
import {
|
|
138
|
-
|
|
139
|
-
} from "./chunk-
|
|
135
|
+
bifrostWallet
|
|
136
|
+
} from "./chunk-A5N6B5UW.js";
|
|
140
137
|
import {
|
|
141
138
|
bitverseWallet
|
|
142
139
|
} from "./chunk-3HZRRP4Y.js";
|
|
143
140
|
import {
|
|
144
|
-
|
|
145
|
-
} from "./chunk-
|
|
146
|
-
import "./chunk-DNSG5Q7V.js";
|
|
141
|
+
bitskiWallet
|
|
142
|
+
} from "./chunk-HS3C7OQV.js";
|
|
147
143
|
import {
|
|
148
144
|
bloomWallet
|
|
149
145
|
} from "./chunk-S27IADFU.js";
|
|
150
146
|
import "./chunk-23WIEY36.js";
|
|
147
|
+
import {
|
|
148
|
+
braveWallet
|
|
149
|
+
} from "./chunk-BPZ2XJO2.js";
|
|
150
|
+
import "./chunk-DNSG5Q7V.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.2",
|
|
95
96
|
"@funkit/fun-relay": "2.0.2",
|
|
96
|
-
"@funkit/api-base": "1.12.1",
|
|
97
97
|
"@funkit/chains": "0.4.0",
|
|
98
|
-
"@funkit/
|
|
99
|
-
"@funkit/utils": "1.1.
|
|
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",
|