@funkit/connect 6.4.0 → 6.5.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 +30 -0
- package/dist/{chunk-ZDHRMKMT.js → chunk-IR3HFYKM.js} +8 -0
- package/dist/{chunk-WDHT73AM.js → chunk-Z3KNAO7N.js} +8 -0
- package/dist/components/Box/Box.d.ts +27 -27
- package/dist/components/Dropdown/ChainDropdown.d.ts +6 -1
- package/dist/components/Dropdown/TokenDropdown.d.ts +6 -1
- package/dist/components/FunCheckoutHistory/FunCheckoutHistoryContent.d.ts +2 -2
- package/dist/components/FunCheckoutHistory/FunCheckoutHistoryDetail.d.ts +2 -2
- package/dist/components/FunCheckoutHistory/FunCheckoutHistoryTransaction.d.ts +1 -1
- package/dist/components/FunCheckoutHistory/FunCheckoutStatus.d.ts +2 -1
- package/dist/components/FunCheckoutHistory/FunDirectExecutionHistoryDetail.d.ts +2 -2
- package/dist/components/FunCheckoutHistory/FunDirectExecutionStatus.d.ts +2 -1
- package/dist/components/FunCheckoutHistory/useCustomStatusAnimationAboveTopbar.d.ts +3 -1
- package/dist/components/Icons/SpinnerIcon.d.ts +4 -1
- package/dist/components/Icons/SpinnerIconWithBackground.d.ts +4 -3
- package/dist/components/Icons/StatusIcons.d.ts +9 -2
- package/dist/components/Icons/utils.d.ts +2 -0
- package/dist/components/TransactionStatus/TransactionStatus.d.ts +3 -0
- package/dist/css/sprinkles.css.d.ts +35 -27
- package/dist/hooks/useCheckoutAccountBalanceTransfer.d.ts +1 -1
- package/dist/hooks/useGooeyFilter.d.ts +21 -0
- package/dist/hooks/usePathMorph.d.ts +16 -0
- package/dist/index.css +2907 -2655
- package/dist/index.js +728 -629
- package/dist/modals/CheckoutModal/MeldCurrencySelect/currenciesWithMultipleCountries.d.ts +1 -0
- package/dist/providers/FunkitThemeProvider.d.ts +12 -0
- package/dist/themes/darkTheme.js +1 -1
- package/dist/themes/lightTheme.js +1 -1
- package/dist/utils/checkout.d.ts +1 -1
- package/dist/utils/flags/config.d.ts +1 -25
- 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 +56 -56
- 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 +8 -8
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const currenciesWithMultipleCountries: Record<string, string[]>;
|
|
@@ -120,6 +120,10 @@ export declare const useActiveTheme: () => {
|
|
|
120
120
|
fiatAccountIconFill: string;
|
|
121
121
|
fiatAccountGradientFrom: string;
|
|
122
122
|
fiatAccountGradientTo: string;
|
|
123
|
+
spinnerBackground: string;
|
|
124
|
+
spinnerIndicator: string;
|
|
125
|
+
spinnerBackgroundVerifyAccount: string;
|
|
126
|
+
spinnerIndicatorVerifyAccount: string;
|
|
123
127
|
};
|
|
124
128
|
dimensions: {
|
|
125
129
|
modalBottomBarButtonHeight: string;
|
|
@@ -333,6 +337,10 @@ export declare const useActiveTheme: () => {
|
|
|
333
337
|
fiatAccountIconFill: string;
|
|
334
338
|
fiatAccountGradientFrom: string;
|
|
335
339
|
fiatAccountGradientTo: string;
|
|
340
|
+
spinnerBackground: string;
|
|
341
|
+
spinnerIndicator: string;
|
|
342
|
+
spinnerBackgroundVerifyAccount: string;
|
|
343
|
+
spinnerIndicatorVerifyAccount: string;
|
|
336
344
|
};
|
|
337
345
|
dimensions: {
|
|
338
346
|
modalBottomBarButtonHeight: string;
|
|
@@ -544,6 +552,10 @@ export declare const useActiveTheme: () => {
|
|
|
544
552
|
fiatAccountIconFill: string;
|
|
545
553
|
fiatAccountGradientFrom: string;
|
|
546
554
|
fiatAccountGradientTo: string;
|
|
555
|
+
spinnerBackground: string;
|
|
556
|
+
spinnerIndicator: string;
|
|
557
|
+
spinnerBackgroundVerifyAccount: string;
|
|
558
|
+
spinnerIndicatorVerifyAccount: string;
|
|
547
559
|
};
|
|
548
560
|
dimensions: {
|
|
549
561
|
modalBottomBarButtonHeight: string;
|
package/dist/themes/darkTheme.js
CHANGED
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;
|
|
@@ -65,14 +65,6 @@ export declare const flagConfig: {
|
|
|
65
65
|
token_transfer_source_chains_and_assets: {
|
|
66
66
|
type: "string";
|
|
67
67
|
default_value: string;
|
|
68
|
-
overrides: {
|
|
69
|
-
value: string;
|
|
70
|
-
if_any: {
|
|
71
|
-
key: "apiKey";
|
|
72
|
-
type: "isAnyOf";
|
|
73
|
-
values: string[];
|
|
74
|
-
}[];
|
|
75
|
-
}[];
|
|
76
68
|
};
|
|
77
69
|
withdrawal_chains_and_assets: {
|
|
78
70
|
type: "string";
|
|
@@ -141,14 +133,6 @@ export declare const flagConfig: {
|
|
|
141
133
|
checkout_notifications_refresh_interval: {
|
|
142
134
|
type: "string";
|
|
143
135
|
default_value: string;
|
|
144
|
-
overrides: {
|
|
145
|
-
if_any: {
|
|
146
|
-
key: "apiKey";
|
|
147
|
-
type: "isAnyOf";
|
|
148
|
-
values: string[];
|
|
149
|
-
}[];
|
|
150
|
-
value: string;
|
|
151
|
-
}[];
|
|
152
136
|
};
|
|
153
137
|
token_transfer_new_tokens: {
|
|
154
138
|
type: "string";
|
|
@@ -160,15 +144,7 @@ export declare const flagConfig: {
|
|
|
160
144
|
};
|
|
161
145
|
is_relay_bypass_enabled: {
|
|
162
146
|
type: "boolean";
|
|
163
|
-
default_value:
|
|
164
|
-
overrides: {
|
|
165
|
-
value: true;
|
|
166
|
-
if_any: {
|
|
167
|
-
key: "apiKey";
|
|
168
|
-
type: "isAnyOf";
|
|
169
|
-
values: string[];
|
|
170
|
-
}[];
|
|
171
|
-
}[];
|
|
147
|
+
default_value: true;
|
|
172
148
|
};
|
|
173
149
|
relay_bypass_source_chains_and_assets: {
|
|
174
150
|
type: "string";
|
|
@@ -1,70 +1,76 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import {
|
|
3
|
+
xdefiWallet
|
|
4
|
+
} from "./chunk-BOU4WKRZ.js";
|
|
2
5
|
import {
|
|
3
6
|
zealWallet
|
|
4
7
|
} from "./chunk-RNBEDQHF.js";
|
|
5
8
|
import {
|
|
6
9
|
zerionWallet
|
|
7
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-Q3H3TRBS.js";
|
|
11
|
+
import {
|
|
12
|
+
safepalWallet
|
|
13
|
+
} from "./chunk-EC6CHBSZ.js";
|
|
14
|
+
import {
|
|
15
|
+
tahoWallet
|
|
16
|
+
} from "./chunk-ZZZRUXZE.js";
|
|
8
17
|
import {
|
|
9
18
|
talismanWallet
|
|
10
19
|
} from "./chunk-DRO6WYMM.js";
|
|
11
|
-
import {
|
|
12
|
-
subWallet
|
|
13
|
-
} from "./chunk-JWFF4AAL.js";
|
|
14
20
|
import {
|
|
15
21
|
tokenPocketWallet
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import {
|
|
18
|
-
trustWallet
|
|
19
|
-
} from "./chunk-VYBAYMP3.js";
|
|
22
|
+
} from "./chunk-J3LI3FYZ.js";
|
|
20
23
|
import {
|
|
21
24
|
tokenaryWallet
|
|
22
25
|
} from "./chunk-D6AOOO5F.js";
|
|
23
26
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./chunk-
|
|
27
|
+
trustWallet
|
|
28
|
+
} from "./chunk-RKPCWHXL.js";
|
|
26
29
|
import {
|
|
27
30
|
uniswapWallet
|
|
28
31
|
} from "./chunk-LH7BMNFZ.js";
|
|
29
32
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./chunk-
|
|
33
|
+
walletConnectWallet
|
|
34
|
+
} from "./chunk-NP5QGWNL.js";
|
|
35
|
+
import {
|
|
36
|
+
phantomWallet
|
|
37
|
+
} from "./chunk-362NXNTM.js";
|
|
32
38
|
import {
|
|
33
39
|
rabbyWallet
|
|
34
40
|
} from "./chunk-BBOM42DL.js";
|
|
35
41
|
import {
|
|
36
42
|
rainbowWallet
|
|
37
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-3CICVJUN.js";
|
|
44
|
+
import {
|
|
45
|
+
roninWallet
|
|
46
|
+
} from "./chunk-QLVVUKYB.js";
|
|
38
47
|
import {
|
|
39
48
|
ramperWallet
|
|
40
49
|
} from "./chunk-BYXPFMI7.js";
|
|
41
50
|
import {
|
|
42
51
|
safeWallet
|
|
43
52
|
} from "./chunk-BQQQL6UD.js";
|
|
44
|
-
import {
|
|
45
|
-
roninWallet
|
|
46
|
-
} from "./chunk-NWIQNBJU.js";
|
|
47
53
|
import {
|
|
48
54
|
safeheronWallet
|
|
49
55
|
} from "./chunk-RZIO5TFF.js";
|
|
50
56
|
import {
|
|
51
|
-
|
|
52
|
-
} from "./chunk-
|
|
53
|
-
import {
|
|
54
|
-
tahoWallet
|
|
55
|
-
} from "./chunk-ZZZRUXZE.js";
|
|
57
|
+
subWallet
|
|
58
|
+
} from "./chunk-ZSI5N4VV.js";
|
|
56
59
|
import {
|
|
57
60
|
ledgerWallet
|
|
58
61
|
} from "./chunk-BRBKM4PW.js";
|
|
59
62
|
import {
|
|
60
63
|
metaMaskWallet
|
|
61
|
-
} from "./chunk-
|
|
62
|
-
import {
|
|
63
|
-
okxWallet
|
|
64
|
-
} from "./chunk-TDIEHTMB.js";
|
|
64
|
+
} from "./chunk-UYGJO62F.js";
|
|
65
65
|
import {
|
|
66
66
|
oktoWallet
|
|
67
67
|
} from "./chunk-ADIXAKUL.js";
|
|
68
|
+
import {
|
|
69
|
+
mewWallet
|
|
70
|
+
} from "./chunk-OL5ZO7E4.js";
|
|
71
|
+
import {
|
|
72
|
+
okxWallet
|
|
73
|
+
} from "./chunk-AFXHGWBH.js";
|
|
68
74
|
import {
|
|
69
75
|
omniWallet
|
|
70
76
|
} from "./chunk-7CUY5G6R.js";
|
|
@@ -75,20 +81,17 @@ import {
|
|
|
75
81
|
oneKeyWallet
|
|
76
82
|
} from "./chunk-SHBUZ7U7.js";
|
|
77
83
|
import {
|
|
78
|
-
|
|
79
|
-
} from "./chunk-
|
|
80
|
-
import {
|
|
81
|
-
frameWallet
|
|
82
|
-
} from "./chunk-IFON7E6U.js";
|
|
84
|
+
foxWallet
|
|
85
|
+
} from "./chunk-CNPKISHN.js";
|
|
83
86
|
import {
|
|
84
87
|
frontierWallet
|
|
85
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-VWCLFMWJ.js";
|
|
86
89
|
import {
|
|
87
|
-
|
|
88
|
-
} from "./chunk-
|
|
90
|
+
frameWallet
|
|
91
|
+
} from "./chunk-IFON7E6U.js";
|
|
89
92
|
import {
|
|
90
93
|
gateWallet
|
|
91
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-CJGUM55H.js";
|
|
92
95
|
import {
|
|
93
96
|
imTokenWallet
|
|
94
97
|
} from "./chunk-COZ7MIQS.js";
|
|
@@ -98,56 +101,53 @@ import {
|
|
|
98
101
|
import {
|
|
99
102
|
kresusWallet
|
|
100
103
|
} from "./chunk-MJXPRJZT.js";
|
|
101
|
-
import {
|
|
102
|
-
mewWallet
|
|
103
|
-
} from "./chunk-OL5ZO7E4.js";
|
|
104
104
|
import {
|
|
105
105
|
clvWallet
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-2GJQ4XZQ.js";
|
|
107
107
|
import {
|
|
108
|
-
|
|
109
|
-
} from "./chunk-
|
|
110
|
-
import {
|
|
111
|
-
coreWallet
|
|
112
|
-
} from "./chunk-VR4TBQ6S.js";
|
|
108
|
+
bybitWallet
|
|
109
|
+
} from "./chunk-LNEC5RNX.js";
|
|
113
110
|
import {
|
|
114
111
|
coin98Wallet
|
|
115
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-KIDC67XJ.js";
|
|
116
113
|
import {
|
|
117
|
-
|
|
118
|
-
} from "./chunk-
|
|
114
|
+
coinbaseWallet
|
|
115
|
+
} from "./chunk-H4IRCEZN.js";
|
|
119
116
|
import {
|
|
120
117
|
dawnWallet
|
|
121
118
|
} from "./chunk-HWPKCIBE.js";
|
|
119
|
+
import {
|
|
120
|
+
coreWallet
|
|
121
|
+
} from "./chunk-JCHN6A47.js";
|
|
122
|
+
import {
|
|
123
|
+
desigWallet
|
|
124
|
+
} from "./chunk-OPAZMNA7.js";
|
|
122
125
|
import {
|
|
123
126
|
enkryptWallet
|
|
124
127
|
} from "./chunk-OLOIXTYS.js";
|
|
125
128
|
import {
|
|
126
|
-
|
|
127
|
-
} from "./chunk-
|
|
129
|
+
argentWallet
|
|
130
|
+
} from "./chunk-WSQ2YJO2.js";
|
|
128
131
|
import {
|
|
129
132
|
bifrostWallet
|
|
130
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-UIASLGLV.js";
|
|
131
134
|
import {
|
|
132
135
|
bitgetWallet
|
|
133
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-5W7VDOCL.js";
|
|
134
137
|
import {
|
|
135
138
|
bitskiWallet
|
|
136
139
|
} from "./chunk-HS3C7OQV.js";
|
|
137
140
|
import {
|
|
138
141
|
bitverseWallet
|
|
139
142
|
} from "./chunk-3HZRRP4Y.js";
|
|
140
|
-
import {
|
|
141
|
-
bloomWallet
|
|
142
|
-
} from "./chunk-S27IADFU.js";
|
|
143
143
|
import {
|
|
144
144
|
braveWallet
|
|
145
145
|
} from "./chunk-BPZ2XJO2.js";
|
|
146
|
+
import "./chunk-DNSG5Q7V.js";
|
|
146
147
|
import {
|
|
147
|
-
|
|
148
|
-
} from "./chunk-
|
|
148
|
+
bloomWallet
|
|
149
|
+
} from "./chunk-S27IADFU.js";
|
|
149
150
|
import "./chunk-23WIEY36.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.5.0",
|
|
4
4
|
"description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"@aws-sdk/client-cloudfront": "3.858.0",
|
|
48
48
|
"@aws-sdk/client-s3": "3.840.0",
|
|
49
49
|
"@chromatic-com/storybook": "^4.1.1",
|
|
50
|
-
"@meshconnect/node-api": "2.0.
|
|
50
|
+
"@meshconnect/node-api": "2.0.23",
|
|
51
51
|
"@storybook/addon-docs": "^9.1.3",
|
|
52
52
|
"@storybook/addon-links": "^9.1.3",
|
|
53
53
|
"@storybook/react-vite": "^9.1.3",
|
|
@@ -94,12 +94,12 @@
|
|
|
94
94
|
"ua-parser-js": "^1.0.37",
|
|
95
95
|
"use-debounce": "^10.0.5",
|
|
96
96
|
"uuid": "^9.0.1",
|
|
97
|
-
"@funkit/api-base": "1.
|
|
98
|
-
"@funkit/
|
|
99
|
-
"@funkit/core": "2.3.
|
|
100
|
-
"@funkit/
|
|
101
|
-
"@funkit/
|
|
102
|
-
"@funkit/
|
|
97
|
+
"@funkit/api-base": "1.10.0",
|
|
98
|
+
"@funkit/fun-relay": "2.0.0",
|
|
99
|
+
"@funkit/core": "2.3.42",
|
|
100
|
+
"@funkit/utils": "1.1.8",
|
|
101
|
+
"@funkit/chains": "0.3.10",
|
|
102
|
+
"@funkit/wagmi-tools": "3.0.64"
|
|
103
103
|
},
|
|
104
104
|
"repository": {
|
|
105
105
|
"type": "git",
|