@funkit/connect 6.3.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 +40 -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 +731 -632
- 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/index.js +31 -31
- 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";
|
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
zerionWallet
|
|
10
10
|
} from "./chunk-Q3H3TRBS.js";
|
|
11
|
+
import {
|
|
12
|
+
safepalWallet
|
|
13
|
+
} from "./chunk-EC6CHBSZ.js";
|
|
11
14
|
import {
|
|
12
15
|
tahoWallet
|
|
13
16
|
} from "./chunk-ZZZRUXZE.js";
|
|
14
|
-
import {
|
|
15
|
-
subWallet
|
|
16
|
-
} from "./chunk-ZSI5N4VV.js";
|
|
17
17
|
import {
|
|
18
18
|
talismanWallet
|
|
19
19
|
} from "./chunk-DRO6WYMM.js";
|
|
@@ -41,12 +41,12 @@ import {
|
|
|
41
41
|
import {
|
|
42
42
|
rainbowWallet
|
|
43
43
|
} from "./chunk-3CICVJUN.js";
|
|
44
|
-
import {
|
|
45
|
-
ramperWallet
|
|
46
|
-
} from "./chunk-BYXPFMI7.js";
|
|
47
44
|
import {
|
|
48
45
|
roninWallet
|
|
49
46
|
} from "./chunk-QLVVUKYB.js";
|
|
47
|
+
import {
|
|
48
|
+
ramperWallet
|
|
49
|
+
} from "./chunk-BYXPFMI7.js";
|
|
50
50
|
import {
|
|
51
51
|
safeWallet
|
|
52
52
|
} from "./chunk-BQQQL6UD.js";
|
|
@@ -54,20 +54,20 @@ import {
|
|
|
54
54
|
safeheronWallet
|
|
55
55
|
} from "./chunk-RZIO5TFF.js";
|
|
56
56
|
import {
|
|
57
|
-
|
|
58
|
-
} from "./chunk-
|
|
59
|
-
import {
|
|
60
|
-
metaMaskWallet
|
|
61
|
-
} from "./chunk-UYGJO62F.js";
|
|
57
|
+
subWallet
|
|
58
|
+
} from "./chunk-ZSI5N4VV.js";
|
|
62
59
|
import {
|
|
63
60
|
ledgerWallet
|
|
64
61
|
} from "./chunk-BRBKM4PW.js";
|
|
65
62
|
import {
|
|
66
|
-
|
|
67
|
-
} from "./chunk-
|
|
63
|
+
metaMaskWallet
|
|
64
|
+
} from "./chunk-UYGJO62F.js";
|
|
68
65
|
import {
|
|
69
66
|
oktoWallet
|
|
70
67
|
} from "./chunk-ADIXAKUL.js";
|
|
68
|
+
import {
|
|
69
|
+
mewWallet
|
|
70
|
+
} from "./chunk-OL5ZO7E4.js";
|
|
71
71
|
import {
|
|
72
72
|
okxWallet
|
|
73
73
|
} from "./chunk-AFXHGWBH.js";
|
|
@@ -83,6 +83,9 @@ import {
|
|
|
83
83
|
import {
|
|
84
84
|
foxWallet
|
|
85
85
|
} from "./chunk-CNPKISHN.js";
|
|
86
|
+
import {
|
|
87
|
+
frontierWallet
|
|
88
|
+
} from "./chunk-VWCLFMWJ.js";
|
|
86
89
|
import {
|
|
87
90
|
frameWallet
|
|
88
91
|
} from "./chunk-IFON7E6U.js";
|
|
@@ -92,33 +95,30 @@ import {
|
|
|
92
95
|
import {
|
|
93
96
|
imTokenWallet
|
|
94
97
|
} from "./chunk-COZ7MIQS.js";
|
|
95
|
-
import {
|
|
96
|
-
frontierWallet
|
|
97
|
-
} from "./chunk-VWCLFMWJ.js";
|
|
98
|
-
import {
|
|
99
|
-
kresusWallet
|
|
100
|
-
} from "./chunk-MJXPRJZT.js";
|
|
101
98
|
import {
|
|
102
99
|
injectedWallet
|
|
103
100
|
} from "./chunk-XWUJE7MW.js";
|
|
104
101
|
import {
|
|
105
|
-
|
|
106
|
-
} from "./chunk-
|
|
102
|
+
kresusWallet
|
|
103
|
+
} from "./chunk-MJXPRJZT.js";
|
|
107
104
|
import {
|
|
108
105
|
clvWallet
|
|
109
106
|
} from "./chunk-2GJQ4XZQ.js";
|
|
107
|
+
import {
|
|
108
|
+
bybitWallet
|
|
109
|
+
} from "./chunk-LNEC5RNX.js";
|
|
110
110
|
import {
|
|
111
111
|
coin98Wallet
|
|
112
112
|
} from "./chunk-KIDC67XJ.js";
|
|
113
|
-
import {
|
|
114
|
-
coreWallet
|
|
115
|
-
} from "./chunk-JCHN6A47.js";
|
|
116
113
|
import {
|
|
117
114
|
coinbaseWallet
|
|
118
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
122
|
import {
|
|
123
123
|
desigWallet
|
|
124
124
|
} from "./chunk-OPAZMNA7.js";
|
|
@@ -131,22 +131,22 @@ import {
|
|
|
131
131
|
import {
|
|
132
132
|
bifrostWallet
|
|
133
133
|
} from "./chunk-UIASLGLV.js";
|
|
134
|
-
import {
|
|
135
|
-
bitskiWallet
|
|
136
|
-
} from "./chunk-HS3C7OQV.js";
|
|
137
134
|
import {
|
|
138
135
|
bitgetWallet
|
|
139
136
|
} from "./chunk-5W7VDOCL.js";
|
|
137
|
+
import {
|
|
138
|
+
bitskiWallet
|
|
139
|
+
} from "./chunk-HS3C7OQV.js";
|
|
140
140
|
import {
|
|
141
141
|
bitverseWallet
|
|
142
142
|
} from "./chunk-3HZRRP4Y.js";
|
|
143
|
+
import {
|
|
144
|
+
braveWallet
|
|
145
|
+
} from "./chunk-BPZ2XJO2.js";
|
|
146
|
+
import "./chunk-DNSG5Q7V.js";
|
|
143
147
|
import {
|
|
144
148
|
bloomWallet
|
|
145
149
|
} from "./chunk-S27IADFU.js";
|
|
146
|
-
import {
|
|
147
|
-
bybitWallet
|
|
148
|
-
} from "./chunk-LNEC5RNX.js";
|
|
149
|
-
import "./chunk-DNSG5Q7V.js";
|
|
150
150
|
import "./chunk-23WIEY36.js";
|
|
151
151
|
export {
|
|
152
152
|
argentWallet,
|
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",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"@vanilla-extract/css-utils": "^0.1.4",
|
|
60
60
|
"@vanilla-extract/private": "^1.0.7",
|
|
61
61
|
"@vanilla-extract/vite-plugin": "^5.0.3",
|
|
62
|
-
"@vitejs/plugin-react": "^
|
|
62
|
+
"@vitejs/plugin-react": "^5.0.2",
|
|
63
63
|
"autoprefixer": "^10.4.16",
|
|
64
64
|
"buffer": "^6.0.3",
|
|
65
65
|
"jsdom": "^26.1.0",
|
|
@@ -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/
|
|
97
|
+
"@funkit/api-base": "1.10.0",
|
|
98
|
+
"@funkit/fun-relay": "2.0.0",
|
|
99
|
+
"@funkit/core": "2.3.42",
|
|
100
100
|
"@funkit/utils": "1.1.8",
|
|
101
|
-
"@funkit/
|
|
102
|
-
"@funkit/wagmi-tools": "3.0.
|
|
101
|
+
"@funkit/chains": "0.3.10",
|
|
102
|
+
"@funkit/wagmi-tools": "3.0.64"
|
|
103
103
|
},
|
|
104
104
|
"repository": {
|
|
105
105
|
"type": "git",
|