@funkit/connect 6.13.0 → 6.14.0-next.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 +45 -0
- package/dist/{chunk-7HKC2KCK.js → chunk-65VC5BJ7.js} +5 -0
- package/dist/{chunk-AYGZMDTC.js → chunk-AYZ7Y4HD.js} +4 -1
- package/dist/{chunk-UOY5XFCR.js → chunk-H2VLM4QU.js} +4 -1
- package/dist/components/Box/Box.d.ts +22 -22
- package/dist/components/FunTransactionSummary/PaymentMethodSummary.d.ts +2 -1
- package/dist/components/FunTransactionSummary/PaymentRouteSummary.d.ts +2 -1
- package/dist/consts/customers.d.ts +1 -0
- package/dist/css/sprinkles.css.d.ts +32 -22
- package/dist/hooks/queries/useRecentDirectExecutions.d.ts +4 -1
- package/dist/hooks/queries/useWithdrawalQuote.d.ts +3 -3
- package/dist/index.css +2983 -2854
- package/dist/index.js +13467 -13270
- package/dist/modals/CheckoutModal/TransferToken/CheckoutNotifications.d.ts +3 -1
- package/dist/modals/WithdrwalModal/WithdrawalModal.d.ts +2 -1
- package/dist/modals/WithdrwalModal/WithdrawalNotification.d.ts +12 -0
- package/dist/modals/WithdrwalModal/useWithdrawal.d.ts +3 -4
- package/dist/providers/FunkitCheckoutContext.d.ts +13 -3
- package/dist/providers/FunkitConfigContext.d.ts +7 -1
- package/dist/providers/FunkitThemeProvider.d.ts +15 -0
- package/dist/themes/baseTheme.d.ts +2 -1
- package/dist/themes/baseTheme.js +1 -1
- package/dist/themes/darkTheme.js +2 -2
- package/dist/themes/lightTheme.js +2 -2
- package/dist/utils/flags/config.d.ts +4 -16
- package/dist/utils/funkitProvider.d.ts +1 -0
- package/dist/utils/withdrawal.d.ts +9 -0
- package/dist/wallets/walletConnectors/index.js +46 -46
- package/package.json +5 -5
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { Address } from 'viem';
|
|
3
|
+
type NotificationVariant = 'withdrawal' | 'token_transfer';
|
|
3
4
|
interface CheckoutNotificationsProps {
|
|
4
5
|
onHelp: (depositAddress: Address) => void;
|
|
5
6
|
/** To control notifications visibility on specific pages, without changing internal dismissal state */
|
|
6
7
|
isVisible: boolean;
|
|
8
|
+
variant: NotificationVariant | undefined;
|
|
7
9
|
}
|
|
8
|
-
export declare const CheckoutNotifications: ({ onHelp, isVisible, }: CheckoutNotificationsProps) => React.JSX.Element | null;
|
|
10
|
+
export declare const CheckoutNotifications: ({ onHelp, isVisible, variant, }: CheckoutNotificationsProps) => React.JSX.Element | null;
|
|
9
11
|
export {};
|
|
@@ -8,6 +8,7 @@ export interface WithdrawalModalProps {
|
|
|
8
8
|
}
|
|
9
9
|
export declare enum WithdrawalModalStep {
|
|
10
10
|
ENTER_AMOUNT = "ENTER_AMOUNT",
|
|
11
|
-
SUCCESS = "SUCCESS"
|
|
11
|
+
SUCCESS = "SUCCESS",
|
|
12
|
+
PENDING_CALLBACK = "PENDING_CALLBACK"
|
|
12
13
|
}
|
|
13
14
|
export declare function WithdrawalModal({ onClose, open, config, }: WithdrawalModalProps): React.JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { PaymentMethodAccountInfo } from '~/domains/paymentMethods';
|
|
3
|
+
import type { FunkitCheckoutQuoteResult } from '~/domains/quote';
|
|
4
|
+
interface DirectExecutionNotifCenterContentProps {
|
|
5
|
+
onClose: (options?: {
|
|
6
|
+
isNewDeposit?: boolean;
|
|
7
|
+
}) => void;
|
|
8
|
+
paymentMethodInfo: PaymentMethodAccountInfo;
|
|
9
|
+
quote: FunkitCheckoutQuoteResult | undefined;
|
|
10
|
+
}
|
|
11
|
+
declare const DirectExecutionNotifCenterContent: ({ onClose, paymentMethodInfo, quote, }: DirectExecutionNotifCenterContentProps) => React.JSX.Element;
|
|
12
|
+
export default DirectExecutionNotifCenterContent;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { Address, Hex } from 'viem';
|
|
2
2
|
import type { FunkitCheckoutQuoteResult } from '~/domains/quote';
|
|
3
|
-
import { type FunkitActiveWithdrawalItem } from '~/providers/FunkitCheckoutContext';
|
|
4
|
-
import type { WithdrawalClient } from '~/wallets/Wallet';
|
|
3
|
+
import { type FunkitActiveWithdrawalItem, type FunkitWithdrawalConfig } from '~/providers/FunkitCheckoutContext';
|
|
5
4
|
import { type CheckoutConfirmationError } from '../CheckoutModal/ConfirmationStep/useCheckoutConfirmation';
|
|
6
5
|
interface UseWithdrawalResult {
|
|
7
6
|
handleWithdrawal: (withdrawal: WithdrawalFormData) => Promise<void>;
|
|
@@ -16,8 +15,8 @@ export type WithdrawalFormData = {
|
|
|
16
15
|
chainId: number;
|
|
17
16
|
quote: FunkitCheckoutQuoteResult;
|
|
18
17
|
};
|
|
19
|
-
export declare function useWithdrawal({
|
|
20
|
-
|
|
18
|
+
export declare function useWithdrawal({ config, withdrawalItem, onSuccess, }: {
|
|
19
|
+
config: FunkitWithdrawalConfig;
|
|
21
20
|
withdrawalItem: FunkitActiveWithdrawalItem | null;
|
|
22
21
|
onSuccess: (withdrawal: WithdrawalFormData, txHash: Hex) => void;
|
|
23
22
|
}): UseWithdrawalResult;
|
|
@@ -68,7 +68,7 @@ export interface FunkitCheckoutConfig extends Omit<ApiFunkitCheckoutConfig, 'gen
|
|
|
68
68
|
* to specify the onchain action to execute after deposit */
|
|
69
69
|
qrcodeActionType?: string;
|
|
70
70
|
}
|
|
71
|
-
export interface
|
|
71
|
+
export interface WithdrawalConfigBase {
|
|
72
72
|
/** Title to show in the checkout modal. Defaults to "Checkout" **/
|
|
73
73
|
modalTitle: string;
|
|
74
74
|
/** Additional information to show in the title of the checkout modal. Blank by default **/
|
|
@@ -80,11 +80,21 @@ export interface FunkitWithdrawalConfig {
|
|
|
80
80
|
sourceChainId: string;
|
|
81
81
|
/** source token id to withdraw **/
|
|
82
82
|
sourceTokenAddress: Address;
|
|
83
|
-
/** Wallet instance used to execute the quote */
|
|
84
|
-
wallet: WithdrawalClient;
|
|
85
83
|
/** Disable connected option for email login user */
|
|
86
84
|
disableConnectedWallet?: boolean;
|
|
87
85
|
}
|
|
86
|
+
export interface WalletWithdrawalConfig extends WithdrawalConfigBase {
|
|
87
|
+
/** Wallet instance used to execute the quote */
|
|
88
|
+
wallet: WithdrawalClient;
|
|
89
|
+
}
|
|
90
|
+
export interface CustomWithdrawalConfig extends WithdrawalConfigBase {
|
|
91
|
+
withdrawCallback: (param: WithdrawalParam) => Promise<void>;
|
|
92
|
+
}
|
|
93
|
+
export interface WithdrawalParam {
|
|
94
|
+
quoteId: string;
|
|
95
|
+
funQuote: unknown;
|
|
96
|
+
}
|
|
97
|
+
export type FunkitWithdrawalConfig = WalletWithdrawalConfig | CustomWithdrawalConfig;
|
|
88
98
|
export interface FunkitCheckoutValidationResult {
|
|
89
99
|
isValid: boolean;
|
|
90
100
|
message: string;
|
|
@@ -26,6 +26,10 @@ export interface FunkitUiDestinationConfig {
|
|
|
26
26
|
url?: string;
|
|
27
27
|
}
|
|
28
28
|
export interface FunkitUiCustomizationsConfig {
|
|
29
|
+
selectAssetScreen?: {
|
|
30
|
+
/** Whether to show target asset selection menu if dynamicTargetAssetCandidates exist */
|
|
31
|
+
showTargetAssetSelection?: boolean;
|
|
32
|
+
};
|
|
29
33
|
confirmationScreen?: {
|
|
30
34
|
/** Whether to show the amount of tokens below the USD equivalent - defaults to true */
|
|
31
35
|
showTokenAmount?: boolean;
|
|
@@ -76,7 +80,9 @@ export type FunkitConfig = {
|
|
|
76
80
|
/** UI customizations across all widgets **/
|
|
77
81
|
uiCustomizations?: FunkitUiCustomizationsConfig;
|
|
78
82
|
/** Login modal configuration **/
|
|
79
|
-
loginConfig
|
|
83
|
+
loginConfig?: Partial<FunkitLoginOptionsConfig>;
|
|
84
|
+
/** used to link funkit users to your own user system */
|
|
85
|
+
externalUserId?: string;
|
|
80
86
|
};
|
|
81
87
|
interface FinalFunkitConfigInternal extends FunkitConfig {
|
|
82
88
|
textCustomizations: FunkitTextCustomizationsConfig;
|
|
@@ -52,6 +52,7 @@ export declare const useActiveTheme: () => {
|
|
|
52
52
|
mediumStroke: string;
|
|
53
53
|
heavyStroke: string;
|
|
54
54
|
strokeColor: string;
|
|
55
|
+
modalTopbarIcon: string;
|
|
55
56
|
primaryText: string;
|
|
56
57
|
secondaryText: string;
|
|
57
58
|
tertiaryText: string;
|
|
@@ -120,6 +121,7 @@ export declare const useActiveTheme: () => {
|
|
|
120
121
|
fiatAccountIconFill: string;
|
|
121
122
|
fiatAccountGradientFrom: string;
|
|
122
123
|
fiatAccountGradientTo: string;
|
|
124
|
+
optionBoxBackground: string;
|
|
123
125
|
spinnerBackground: string;
|
|
124
126
|
spinnerIndicator: string;
|
|
125
127
|
spinnerBackgroundVerifyAccount: string;
|
|
@@ -213,6 +215,9 @@ export declare const useActiveTheme: () => {
|
|
|
213
215
|
dropdown: string;
|
|
214
216
|
dropdownItem: string;
|
|
215
217
|
};
|
|
218
|
+
borderWidths: {
|
|
219
|
+
activeOptionBorderWidth: string;
|
|
220
|
+
};
|
|
216
221
|
shadows: {
|
|
217
222
|
connectButton: string;
|
|
218
223
|
dialog: string;
|
|
@@ -272,6 +277,7 @@ export declare const useActiveTheme: () => {
|
|
|
272
277
|
mediumStroke: string;
|
|
273
278
|
heavyStroke: string;
|
|
274
279
|
strokeColor: string;
|
|
280
|
+
modalTopbarIcon: string;
|
|
275
281
|
primaryText: string;
|
|
276
282
|
secondaryText: string;
|
|
277
283
|
tertiaryText: string;
|
|
@@ -340,6 +346,7 @@ export declare const useActiveTheme: () => {
|
|
|
340
346
|
fiatAccountIconFill: string;
|
|
341
347
|
fiatAccountGradientFrom: string;
|
|
342
348
|
fiatAccountGradientTo: string;
|
|
349
|
+
optionBoxBackground: string;
|
|
343
350
|
spinnerBackground: string;
|
|
344
351
|
spinnerIndicator: string;
|
|
345
352
|
spinnerBackgroundVerifyAccount: string;
|
|
@@ -433,6 +440,9 @@ export declare const useActiveTheme: () => {
|
|
|
433
440
|
dropdown: string;
|
|
434
441
|
dropdownItem: string;
|
|
435
442
|
};
|
|
443
|
+
borderWidths: {
|
|
444
|
+
activeOptionBorderWidth: string;
|
|
445
|
+
};
|
|
436
446
|
shadows: {
|
|
437
447
|
connectButton: string;
|
|
438
448
|
dialog: string;
|
|
@@ -490,6 +500,7 @@ export declare const useActiveTheme: () => {
|
|
|
490
500
|
mediumStroke: string;
|
|
491
501
|
heavyStroke: string;
|
|
492
502
|
strokeColor: string;
|
|
503
|
+
modalTopbarIcon: string;
|
|
493
504
|
primaryText: string;
|
|
494
505
|
secondaryText: string;
|
|
495
506
|
tertiaryText: string;
|
|
@@ -558,6 +569,7 @@ export declare const useActiveTheme: () => {
|
|
|
558
569
|
fiatAccountIconFill: string;
|
|
559
570
|
fiatAccountGradientFrom: string;
|
|
560
571
|
fiatAccountGradientTo: string;
|
|
572
|
+
optionBoxBackground: string;
|
|
561
573
|
spinnerBackground: string;
|
|
562
574
|
spinnerIndicator: string;
|
|
563
575
|
spinnerBackgroundVerifyAccount: string;
|
|
@@ -651,6 +663,9 @@ export declare const useActiveTheme: () => {
|
|
|
651
663
|
dropdown: string;
|
|
652
664
|
dropdownItem: string;
|
|
653
665
|
};
|
|
666
|
+
borderWidths: {
|
|
667
|
+
activeOptionBorderWidth: string;
|
|
668
|
+
};
|
|
654
669
|
shadows: {
|
|
655
670
|
connectButton: string;
|
|
656
671
|
dialog: string;
|
|
@@ -15,6 +15,7 @@ interface BaseThemeOptions {
|
|
|
15
15
|
customFontFamily?: string;
|
|
16
16
|
customFontSizings?: Partial<ThemeVars['fontSize']>;
|
|
17
17
|
customBorderRadiuses?: Partial<ThemeVars['radii']>;
|
|
18
|
+
customBorderWidths?: Partial<ThemeVars['borderWidths']>;
|
|
18
19
|
customDimensions?: Partial<ThemeVars['dimensions']>;
|
|
19
20
|
customSpacings?: Partial<ThemeVars['spacing']>;
|
|
20
21
|
fontSizing?: FontSizeType;
|
|
@@ -22,7 +23,7 @@ interface BaseThemeOptions {
|
|
|
22
23
|
fontStack?: FontStack;
|
|
23
24
|
overlayBlur?: Blurs;
|
|
24
25
|
}
|
|
25
|
-
export declare const baseTheme: ({ borderRadius, fontStack, fontSizing, customFontFamily, customFontWeights, customFontSizings, customBorderRadiuses, customDimensions, customSpacings, overlayBlur, }: BaseThemeOptions) => Pick<ThemeVars, "radii" | "dimensions" | "fonts" | "fontWeight" | "fontSize" | "blurs" | "spacing">;
|
|
26
|
+
export declare const baseTheme: ({ borderRadius, fontStack, fontSizing, customFontFamily, customFontWeights, customFontSizings, customBorderWidths, customBorderRadiuses, customDimensions, customSpacings, overlayBlur, }: BaseThemeOptions) => Pick<ThemeVars, "radii" | "dimensions" | "fonts" | "fontWeight" | "fontSize" | "blurs" | "spacing" | "borderWidths">;
|
|
26
27
|
export interface AccentColor {
|
|
27
28
|
accentColor: string;
|
|
28
29
|
accentColorForeground: string;
|
package/dist/themes/baseTheme.js
CHANGED
package/dist/themes/darkTheme.js
CHANGED
|
@@ -45,7 +45,7 @@ export declare const flagConfig: {
|
|
|
45
45
|
readonly if_any: [{
|
|
46
46
|
readonly key: "apiKey";
|
|
47
47
|
readonly type: "isAnyOf";
|
|
48
|
-
readonly values: ["Y53dikxXdT4E3afI1l8BMBSWgyhKvf65k6Dut1k6", "SMbBD7DS9b3EPcyBVg4a8az1rRWR9xB068chHoUN", "vWe20Dfyui2ouvfOhtSTY3Czeo8lFdbo5xXQBALZ", "clDebbfo9edXq1GydZ0CahSAfSimPj616lFa9p8e", "OXLUmejkh9PlNDS4gSvi9gcEWacOpTz2KUVepVf4", "BPVeP8zThG467vVIYzuiu5aVWAkS9KiR6tT1TdTP", "lUzTaIRxs95iin3pCAafB1ChA5akBiuQ1tjhXnau", "AH7lRIhbsL167nptv6eub9xDJXVHnYUm2vL7FLjK", "di9ZSqn1Ya68Y2XpBPUV1rCtNGXh8Xe5MGWzb1Xe", "2SrxurU07T2XPDxCAItjj4yYEMXlwV8K2kJB78AX"];
|
|
48
|
+
readonly values: ["Y53dikxXdT4E3afI1l8BMBSWgyhKvf65k6Dut1k6", "SMbBD7DS9b3EPcyBVg4a8az1rRWR9xB068chHoUN", "vWe20Dfyui2ouvfOhtSTY3Czeo8lFdbo5xXQBALZ", "clDebbfo9edXq1GydZ0CahSAfSimPj616lFa9p8e", "OXLUmejkh9PlNDS4gSvi9gcEWacOpTz2KUVepVf4", "BPVeP8zThG467vVIYzuiu5aVWAkS9KiR6tT1TdTP", "lUzTaIRxs95iin3pCAafB1ChA5akBiuQ1tjhXnau", "AH7lRIhbsL167nptv6eub9xDJXVHnYUm2vL7FLjK", "di9ZSqn1Ya68Y2XpBPUV1rCtNGXh8Xe5MGWzb1Xe", "2SrxurU07T2XPDxCAItjj4yYEMXlwV8K2kJB78AX", "5UzOrcAE2F3rcuMX2EeIlaYv5VUcDe6Lyh0PeZX2", "KEd0ZxJc4n1QBER8yBcKH8wWwfgjjdjO42riuq86"];
|
|
49
49
|
}];
|
|
50
50
|
readonly value: true;
|
|
51
51
|
}];
|
|
@@ -123,7 +123,7 @@ export declare const flagConfig: {
|
|
|
123
123
|
readonly if_any: [{
|
|
124
124
|
readonly key: "apiKey";
|
|
125
125
|
readonly type: "isAnyOf";
|
|
126
|
-
readonly values: ["vWe20Dfyui2ouvfOhtSTY3Czeo8lFdbo5xXQBALZ"];
|
|
126
|
+
readonly values: ["vWe20Dfyui2ouvfOhtSTY3Czeo8lFdbo5xXQBALZ", "KEd0ZxJc4n1QBER8yBcKH8wWwfgjjdjO42riuq86"];
|
|
127
127
|
}];
|
|
128
128
|
readonly value: string;
|
|
129
129
|
}];
|
|
@@ -210,7 +210,7 @@ export declare const flagConfig: {
|
|
|
210
210
|
readonly if_any: [{
|
|
211
211
|
readonly key: "apiKey";
|
|
212
212
|
readonly type: "isAnyOf";
|
|
213
|
-
readonly values: ["HKHvPSPDezaxsTohFgDuG4WpKW6hB4SFYyztm9vc", "AH7lRIhbsL167nptv6eub9xDJXVHnYUm2vL7FLjK", "lUzTaIRxs95iin3pCAafB1ChA5akBiuQ1tjhXnau", "di9ZSqn1Ya68Y2XpBPUV1rCtNGXh8Xe5MGWzb1Xe", "clDebbfo9edXq1GydZ0CahSAfSimPj616lFa9p8e", "SMbBD7DS9b3EPcyBVg4a8az1rRWR9xB068chHoUN", "Y53dikxXdT4E3afI1l8BMBSWgyhKvf65k6Dut1k6"];
|
|
213
|
+
readonly values: ["HKHvPSPDezaxsTohFgDuG4WpKW6hB4SFYyztm9vc", "AH7lRIhbsL167nptv6eub9xDJXVHnYUm2vL7FLjK", "lUzTaIRxs95iin3pCAafB1ChA5akBiuQ1tjhXnau", "di9ZSqn1Ya68Y2XpBPUV1rCtNGXh8Xe5MGWzb1Xe", "clDebbfo9edXq1GydZ0CahSAfSimPj616lFa9p8e", "SMbBD7DS9b3EPcyBVg4a8az1rRWR9xB068chHoUN", "Y53dikxXdT4E3afI1l8BMBSWgyhKvf65k6Dut1k6", "5UzOrcAE2F3rcuMX2EeIlaYv5VUcDe6Lyh0PeZX2", "KEd0ZxJc4n1QBER8yBcKH8wWwfgjjdjO42riuq86"];
|
|
214
214
|
}];
|
|
215
215
|
readonly value: true;
|
|
216
216
|
}, {
|
|
@@ -260,19 +260,7 @@ export declare const flagConfig: {
|
|
|
260
260
|
};
|
|
261
261
|
readonly enable_bitcoin: {
|
|
262
262
|
readonly type: "boolean";
|
|
263
|
-
readonly default_value:
|
|
264
|
-
readonly overrides: [{
|
|
265
|
-
readonly if_any: [{
|
|
266
|
-
readonly key: "userId";
|
|
267
|
-
readonly type: "pctRollout";
|
|
268
|
-
readonly pct: 0;
|
|
269
|
-
}, {
|
|
270
|
-
readonly key: "userId";
|
|
271
|
-
readonly type: "isAnyOf";
|
|
272
|
-
readonly values: ["0x236c60C57a8B9ca563Fb0dA5199FDdCB686d91E8", "0x2e0Fa1cE3F0F6a85542c1E4F941116c0E885292E", "0x28b8848C6c3aaBF4669997563dc07888eb3B0960", "0x9C64fD7d9826E6d552dD8bc53e5C96F7C3F38528", "0xfe5AD22465dc20340bfFb641F4AbbcAA7a1BB2Ed", "0x9CB7F86F360459cC96C74a0F81aF2C4cC7a54bd2", "0x21b94a3E67c4a72d3D15f478A696c5175f036092", "0x2A8Bd916E85d98d8175258De99fc0ddbcC102eF6", "0x8a5505F1b274d8fC23986AF60Dd3Ca3857095BB8", "0x0B6E49e9D1528F59BaBF3C5337A4c96E987f81aa", "0x84Bc1AC5621d2B44C5D3e3E79b45C2885406026D", "0x0D0377aa9CCA769931821842aB0E1A75e7DD6dD6", "0x7B0195921183f7E04f0D331c1DAF7C1bB208CC4E", "0xda6b07Eb94f699F511a943e9bFC12B64B7fe3486", "0x3c937d73f7FE55b386c309C65087d9F5bdd1a780", "0xe9F1a56452A6f1fFA396241a0fB4A0655C1ed523"];
|
|
273
|
-
}];
|
|
274
|
-
readonly value: true;
|
|
275
|
-
}];
|
|
263
|
+
readonly default_value: true;
|
|
276
264
|
};
|
|
277
265
|
readonly chain_info_banners: {
|
|
278
266
|
readonly type: "string";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { FunkitProviderProps } from '../providers/FunkitProvider';
|
|
2
2
|
export declare function getInitialChainIdFromFunkitProviderProps(props: FunkitProviderProps): number | undefined;
|
|
3
|
+
export declare function generateSyntheticUserId(apiKey: string, externalUserId: string): string;
|
|
3
4
|
/**
|
|
4
5
|
* Validates the passed in props of FunkitProvider. If there are any misconfigurations, an error will be thrown.
|
|
5
6
|
*/
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { CustomWithdrawalConfig, FunkitWithdrawalConfig, WalletWithdrawalConfig } from '~/providers/FunkitCheckoutContext';
|
|
2
|
+
/**
|
|
3
|
+
* Type guard to check if withdrawal config uses wallet-based flow
|
|
4
|
+
*/
|
|
5
|
+
export declare function isWalletWithdrawalConfig(config: FunkitWithdrawalConfig): config is WalletWithdrawalConfig;
|
|
6
|
+
/**
|
|
7
|
+
* Type guard to check if withdrawal config uses custom callback flow
|
|
8
|
+
*/
|
|
9
|
+
export declare function isCustomWithdrawalConfig(config: FunkitWithdrawalConfig): config is CustomWithdrawalConfig;
|
|
@@ -1,25 +1,28 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "./chunk-
|
|
3
|
+
xdefiWallet
|
|
4
|
+
} from "./chunk-BOU4WKRZ.js";
|
|
5
|
+
import {
|
|
6
|
+
zealWallet
|
|
7
|
+
} from "./chunk-RNBEDQHF.js";
|
|
5
8
|
import {
|
|
6
9
|
zerionWallet
|
|
7
10
|
} from "./chunk-SULRQO27.js";
|
|
8
11
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./chunk-
|
|
12
|
+
subWallet
|
|
13
|
+
} from "./chunk-JWFF4AAL.js";
|
|
11
14
|
import {
|
|
12
15
|
tahoWallet
|
|
13
16
|
} from "./chunk-ZZZRUXZE.js";
|
|
17
|
+
import {
|
|
18
|
+
talismanWallet
|
|
19
|
+
} from "./chunk-DRO6WYMM.js";
|
|
14
20
|
import {
|
|
15
21
|
tokenPocketWallet
|
|
16
22
|
} from "./chunk-2L43XSW3.js";
|
|
17
23
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import {
|
|
21
|
-
talismanWallet
|
|
22
|
-
} from "./chunk-DRO6WYMM.js";
|
|
24
|
+
tokenaryWallet
|
|
25
|
+
} from "./chunk-D6AOOO5F.js";
|
|
23
26
|
import {
|
|
24
27
|
trustWallet
|
|
25
28
|
} from "./chunk-VYBAYMP3.js";
|
|
@@ -27,32 +30,29 @@ import {
|
|
|
27
30
|
uniswapWallet
|
|
28
31
|
} from "./chunk-LH7BMNFZ.js";
|
|
29
32
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./chunk-
|
|
32
|
-
import {
|
|
33
|
-
xdefiWallet
|
|
34
|
-
} from "./chunk-BOU4WKRZ.js";
|
|
33
|
+
walletConnectWallet
|
|
34
|
+
} from "./chunk-NP5QGWNL.js";
|
|
35
35
|
import {
|
|
36
36
|
phantomWallet
|
|
37
37
|
} from "./chunk-362NXNTM.js";
|
|
38
|
-
import {
|
|
39
|
-
rainbowWallet
|
|
40
|
-
} from "./chunk-2KUBG3S6.js";
|
|
41
38
|
import {
|
|
42
39
|
rabbyWallet
|
|
43
40
|
} from "./chunk-BBOM42DL.js";
|
|
44
41
|
import {
|
|
45
|
-
|
|
46
|
-
} from "./chunk-
|
|
42
|
+
rainbowWallet
|
|
43
|
+
} from "./chunk-2KUBG3S6.js";
|
|
47
44
|
import {
|
|
48
45
|
ramperWallet
|
|
49
46
|
} from "./chunk-BYXPFMI7.js";
|
|
50
47
|
import {
|
|
51
|
-
|
|
52
|
-
} from "./chunk-
|
|
48
|
+
roninWallet
|
|
49
|
+
} from "./chunk-NWIQNBJU.js";
|
|
53
50
|
import {
|
|
54
51
|
safeWallet
|
|
55
52
|
} from "./chunk-BQQQL6UD.js";
|
|
53
|
+
import {
|
|
54
|
+
safeheronWallet
|
|
55
|
+
} from "./chunk-RZIO5TFF.js";
|
|
56
56
|
import {
|
|
57
57
|
safepalWallet
|
|
58
58
|
} from "./chunk-NT2HYJKW.js";
|
|
@@ -60,14 +60,14 @@ import {
|
|
|
60
60
|
ledgerWallet
|
|
61
61
|
} from "./chunk-BRBKM4PW.js";
|
|
62
62
|
import {
|
|
63
|
-
|
|
64
|
-
} from "./chunk-
|
|
63
|
+
metaMaskWallet
|
|
64
|
+
} from "./chunk-2HYNUNAS.js";
|
|
65
|
+
import {
|
|
66
|
+
mewWallet
|
|
67
|
+
} from "./chunk-OL5ZO7E4.js";
|
|
65
68
|
import {
|
|
66
69
|
oktoWallet
|
|
67
70
|
} from "./chunk-ADIXAKUL.js";
|
|
68
|
-
import {
|
|
69
|
-
metaMaskWallet
|
|
70
|
-
} from "./chunk-2HYNUNAS.js";
|
|
71
71
|
import {
|
|
72
72
|
okxWallet
|
|
73
73
|
} from "./chunk-TDIEHTMB.js";
|
|
@@ -80,18 +80,18 @@ import {
|
|
|
80
80
|
import {
|
|
81
81
|
oneKeyWallet
|
|
82
82
|
} from "./chunk-SHBUZ7U7.js";
|
|
83
|
-
import {
|
|
84
|
-
frameWallet
|
|
85
|
-
} from "./chunk-IFON7E6U.js";
|
|
86
83
|
import {
|
|
87
84
|
foxWallet
|
|
88
85
|
} from "./chunk-7QONTUXT.js";
|
|
89
86
|
import {
|
|
90
|
-
|
|
91
|
-
} from "./chunk-
|
|
87
|
+
frameWallet
|
|
88
|
+
} from "./chunk-IFON7E6U.js";
|
|
92
89
|
import {
|
|
93
90
|
frontierWallet
|
|
94
91
|
} from "./chunk-TCAGNB4B.js";
|
|
92
|
+
import {
|
|
93
|
+
gateWallet
|
|
94
|
+
} from "./chunk-FKJJQNKX.js";
|
|
95
95
|
import {
|
|
96
96
|
imTokenWallet
|
|
97
97
|
} from "./chunk-COZ7MIQS.js";
|
|
@@ -99,14 +99,20 @@ import {
|
|
|
99
99
|
injectedWallet
|
|
100
100
|
} from "./chunk-XWUJE7MW.js";
|
|
101
101
|
import {
|
|
102
|
-
|
|
103
|
-
} from "./chunk-
|
|
102
|
+
kresusWallet
|
|
103
|
+
} from "./chunk-MJXPRJZT.js";
|
|
104
104
|
import {
|
|
105
105
|
bybitWallet
|
|
106
106
|
} from "./chunk-2STUC6QL.js";
|
|
107
107
|
import {
|
|
108
108
|
clvWallet
|
|
109
109
|
} from "./chunk-M3NZ6R2E.js";
|
|
110
|
+
import {
|
|
111
|
+
coin98Wallet
|
|
112
|
+
} from "./chunk-OBOVHCEI.js";
|
|
113
|
+
import {
|
|
114
|
+
coinbaseWallet
|
|
115
|
+
} from "./chunk-H4IRCEZN.js";
|
|
110
116
|
import {
|
|
111
117
|
coreWallet
|
|
112
118
|
} from "./chunk-VR4TBQ6S.js";
|
|
@@ -114,32 +120,26 @@ import {
|
|
|
114
120
|
dawnWallet
|
|
115
121
|
} from "./chunk-HWPKCIBE.js";
|
|
116
122
|
import {
|
|
117
|
-
|
|
118
|
-
} from "./chunk-
|
|
119
|
-
import {
|
|
120
|
-
coin98Wallet
|
|
121
|
-
} from "./chunk-OBOVHCEI.js";
|
|
123
|
+
enkryptWallet
|
|
124
|
+
} from "./chunk-OLOIXTYS.js";
|
|
122
125
|
import {
|
|
123
126
|
desigWallet
|
|
124
127
|
} from "./chunk-OPAZMNA7.js";
|
|
125
|
-
import {
|
|
126
|
-
enkryptWallet
|
|
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";
|
|
134
131
|
import {
|
|
135
132
|
bifrostWallet
|
|
136
133
|
} from "./chunk-A5N6B5UW.js";
|
|
137
134
|
import {
|
|
138
|
-
|
|
139
|
-
} from "./chunk-
|
|
135
|
+
bitgetWallet
|
|
136
|
+
} from "./chunk-TDAVGY5F.js";
|
|
140
137
|
import {
|
|
141
138
|
bitskiWallet
|
|
142
139
|
} from "./chunk-HS3C7OQV.js";
|
|
140
|
+
import {
|
|
141
|
+
bitverseWallet
|
|
142
|
+
} from "./chunk-3HZRRP4Y.js";
|
|
143
143
|
import {
|
|
144
144
|
bloomWallet
|
|
145
145
|
} from "./chunk-S27IADFU.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@funkit/connect",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.14.0-next.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/fun-relay": "2.0.2",
|
|
95
|
+
"@funkit/api-base": "1.12.3-next.0",
|
|
97
96
|
"@funkit/chains": "0.4.0",
|
|
98
|
-
"@funkit/core": "2.3.
|
|
97
|
+
"@funkit/core": "2.3.48-next.0",
|
|
99
98
|
"@funkit/utils": "1.1.10",
|
|
100
|
-
"@funkit/wagmi-tools": "3.0.
|
|
99
|
+
"@funkit/wagmi-tools": "3.0.71-next.0",
|
|
100
|
+
"@funkit/fun-relay": "2.0.3-next.0"
|
|
101
101
|
},
|
|
102
102
|
"repository": {
|
|
103
103
|
"type": "git",
|