@funkit/connect 6.14.7 → 6.14.9-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-CSLMZ5KJ.js → chunk-3SMGLDNF.js} +5 -0
- package/dist/{chunk-4WTYVVDI.js → chunk-XH2UUILF.js} +5 -0
- package/dist/components/Box/Box.d.ts +28 -28
- package/dist/components/FunButton/FunButton.css.d.ts +3 -0
- package/dist/consts/customers.d.ts +1 -0
- package/dist/css/sprinkles.css.d.ts +38 -28
- package/dist/domains/asset.d.ts +1 -0
- package/dist/hooks/track/useTrack.d.ts +36 -0
- package/dist/hooks/useCheckoutAccountBalanceTransfer.d.ts +1 -1
- package/dist/hooks/useCheckoutDirectExecution.d.ts +2 -1
- package/dist/hooks/useIsUsUser.d.ts +0 -2
- package/dist/hooks/useOnNewNotification.d.ts +8 -0
- package/dist/index.css +2257 -1964
- package/dist/index.js +1141 -583
- package/dist/modals/CheckoutModal/FunCheckoutStep.d.ts +20 -0
- package/dist/modals/CheckoutModal/InputAmount/state.d.ts +4 -1
- package/dist/modals/CheckoutModal/TransferToken/CheckoutNotifications.track.d.ts +3 -0
- package/dist/modals/CheckoutModal/stepTransition.d.ts +3 -22
- package/dist/modals/CheckoutModal/stepTransition.track.d.ts +4 -0
- package/dist/providers/FunkitCheckoutContext.track.d.ts +10 -0
- package/dist/providers/FunkitQuoteContext.track.d.ts +4 -0
- package/dist/providers/FunkitStatsigProvider.d.ts +8 -0
- package/dist/providers/FunkitThemeProvider.d.ts +15 -0
- package/dist/themes/darkTheme.js +1 -1
- package/dist/themes/lightTheme.js +1 -1
- package/dist/utils/checkout.d.ts +13 -2
- package/dist/utils/flags/config.d.ts +12 -4
- package/dist/utils/flags/types.d.ts +1 -1
- package/dist/wallets/useWalletConnectors.d.ts +0 -3
- package/dist/wallets/walletConnectors/index.js +50 -50
- package/package.json +8 -7
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare enum FunCheckoutStep {
|
|
2
|
+
LOADING_ACCOUNT = "loading_account",
|
|
3
|
+
INPUT_AMOUNT = "input_amount",
|
|
4
|
+
SOURCE_CHANGE = "source_change",
|
|
5
|
+
CONFIRMATION = "confirmation",
|
|
6
|
+
MOONPAY_SETUP = "payment_setup",
|
|
7
|
+
SELECT_ASSET = "select_asset",
|
|
8
|
+
CHECKOUT_COMPLETE = "checkout_complete",
|
|
9
|
+
CHECKOUT_HELP = "checkout_help",
|
|
10
|
+
TRANSFER_TOKEN = "transfer_token",
|
|
11
|
+
CREATE_FIAT_ACCOUNT = "create_fiat_account",
|
|
12
|
+
BRIDGE_CUSTOMER = "bridge_customer",
|
|
13
|
+
BRIDGE_KYC = "bridge_kyc",
|
|
14
|
+
KYC_IFRAME = "KYC_IFRAME",
|
|
15
|
+
FIAT_ACCOUNT_DETAIL = "fiat_account_detail",
|
|
16
|
+
ERROR_SCREEN = "error_screen",
|
|
17
|
+
MELD_QUOTES = "meld_quotes",
|
|
18
|
+
MELD_CURRENCY_SELECT = "meld_currency_select",
|
|
19
|
+
DIRECT_EXECUTION_NOTIF_CENTER = "direct_execution_notif_center"
|
|
20
|
+
}
|
|
@@ -56,7 +56,10 @@ export interface AmountInputState {
|
|
|
56
56
|
export interface AmountInputDerivedState extends AmountInputState {
|
|
57
57
|
inputDecimals: number;
|
|
58
58
|
inputError: AmountInputError | null;
|
|
59
|
-
|
|
59
|
+
inputAffix: {
|
|
60
|
+
content: string;
|
|
61
|
+
type: 'prefix' | 'suffix';
|
|
62
|
+
};
|
|
60
63
|
isValid: boolean;
|
|
61
64
|
placeholder: string;
|
|
62
65
|
}
|
|
@@ -9,6 +9,7 @@ import { type CheckoutCompleteNext, type CheckoutCompleteState } from './Checkou
|
|
|
9
9
|
import { type CheckoutHelpState } from './CheckoutHelp/CheckoutHelp';
|
|
10
10
|
import { type ConfirmationStepNext, type ConfirmationStepState } from './ConfirmationStep/ConfirmationStep';
|
|
11
11
|
import { type DirectExecutionNotifCenterState } from './DirectExecutionNotifCenter/DirectExecutionNotifCenter';
|
|
12
|
+
import { FunCheckoutStep } from './FunCheckoutStep';
|
|
12
13
|
import { type InputAmountNext, type InputAmountState } from './InputAmount/InputAmount';
|
|
13
14
|
import { type LoadingAccountNext, type LoadingAccountState } from './LoadingAccount';
|
|
14
15
|
import { type MeldCurrencySelectNext, type MeldCurrencySelectState } from './MeldCurrencySelect/MeldCurrencySelect';
|
|
@@ -19,6 +20,7 @@ import { type SourceChangeNext, type SourceChangeState } from './SourceChange/So
|
|
|
19
20
|
import { type TransferTokenNext, type TransferTokenState } from './TransferToken/TransferToken';
|
|
20
21
|
import { type FiatAccountDetailNext, type FiatAccountDetailState } from './VirtualFiatAccount/FiatAccountDetail';
|
|
21
22
|
import { type KycIframeNext, type KycIframeState } from './VirtualFiatAccount/KycIframe';
|
|
23
|
+
export { FunCheckoutStep };
|
|
22
24
|
export interface CheckoutModalCommonState {
|
|
23
25
|
checkoutId: string;
|
|
24
26
|
/** Handles soft hiding of the dialog (without removing it from the DOM) */
|
|
@@ -39,26 +41,6 @@ export interface ModalStepComponentProps<S extends FunCheckoutStep = FunCheckout
|
|
|
39
41
|
setModalState(state: SetStateAction<CheckoutModalState<S>>): void;
|
|
40
42
|
}
|
|
41
43
|
export declare function extractCommonState(state: CheckoutModalState): CheckoutModalCommonState;
|
|
42
|
-
export declare enum FunCheckoutStep {
|
|
43
|
-
LOADING_ACCOUNT = "loading_account",
|
|
44
|
-
INPUT_AMOUNT = "input_amount",
|
|
45
|
-
SOURCE_CHANGE = "source_change",
|
|
46
|
-
CONFIRMATION = "confirmation",
|
|
47
|
-
MOONPAY_SETUP = "payment_setup",
|
|
48
|
-
SELECT_ASSET = "select_asset",
|
|
49
|
-
CHECKOUT_COMPLETE = "checkout_complete",
|
|
50
|
-
CHECKOUT_HELP = "checkout_help",
|
|
51
|
-
TRANSFER_TOKEN = "transfer_token",
|
|
52
|
-
CREATE_FIAT_ACCOUNT = "create_fiat_account",
|
|
53
|
-
BRIDGE_CUSTOMER = "bridge_customer",
|
|
54
|
-
BRIDGE_KYC = "bridge_kyc",
|
|
55
|
-
KYC_IFRAME = "KYC_IFRAME",
|
|
56
|
-
FIAT_ACCOUNT_DETAIL = "fiat_account_detail",
|
|
57
|
-
ERROR_SCREEN = "error_screen",
|
|
58
|
-
MELD_QUOTES = "meld_quotes",
|
|
59
|
-
MELD_CURRENCY_SELECT = "meld_currency_select",
|
|
60
|
-
DIRECT_EXECUTION_NOTIF_CENTER = "direct_execution_notif_center"
|
|
61
|
-
}
|
|
62
44
|
interface ModalStepInput<S extends FunCheckoutStep> {
|
|
63
45
|
state: CheckoutModalState<S>;
|
|
64
46
|
apiKey: string;
|
|
@@ -81,7 +63,7 @@ export type ModalStepInfo<S extends FunCheckoutStep> = {
|
|
|
81
63
|
export declare const CheckoutModalSteps: {
|
|
82
64
|
[S in FunCheckoutStep]: ModalStepInfo<S>;
|
|
83
65
|
};
|
|
84
|
-
type CheckoutModalState<S extends FunCheckoutStep = FunCheckoutStep> = {
|
|
66
|
+
export type CheckoutModalState<S extends FunCheckoutStep = FunCheckoutStep> = {
|
|
85
67
|
[T in S]: {
|
|
86
68
|
[FunCheckoutStep.CHECKOUT_COMPLETE]: CheckoutCompleteState;
|
|
87
69
|
[FunCheckoutStep.CHECKOUT_HELP]: CheckoutHelpState;
|
|
@@ -151,4 +133,3 @@ export declare function useTitleConfig<S extends FunCheckoutStep>(checkoutItem:
|
|
|
151
133
|
showFullHeight: boolean;
|
|
152
134
|
title: string;
|
|
153
135
|
};
|
|
154
|
-
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type TrackEventData } from '~/hooks/track/useTrack';
|
|
2
|
+
import { FunCheckoutStep } from './FunCheckoutStep';
|
|
3
|
+
import type { CheckoutModalState } from './stepTransition';
|
|
4
|
+
export declare const trackEventFromNextState: (nextState: CheckoutModalState<FunCheckoutStep>) => TrackEventData;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type TrackEventData } from '~/hooks/track/useTrack';
|
|
2
|
+
import type { FunkitActiveCheckoutItem } from './FunkitCheckoutContext';
|
|
3
|
+
export declare const trackEventFromActiveCheckoutItem: (activeCheckoutItem: FunkitActiveCheckoutItem) => TrackEventData;
|
|
4
|
+
import type { RelayTxHash, RelayVmType } from '@funkit/fun-relay';
|
|
5
|
+
import type { FunkitCheckoutQuoteResult } from '~/domains/quote';
|
|
6
|
+
export declare const trackEventFromDirectExecutionConfirmed: ({ txHash, checkoutItem, latestQuote, }: {
|
|
7
|
+
txHash: RelayTxHash<RelayVmType>;
|
|
8
|
+
checkoutItem: FunkitActiveCheckoutItem;
|
|
9
|
+
latestQuote: FunkitCheckoutQuoteResult;
|
|
10
|
+
}) => TrackEventData;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type TrackEventData } from '~/hooks/track/useTrack';
|
|
2
|
+
import type { FunkitActiveCheckoutItem } from './FunkitCheckoutContext';
|
|
3
|
+
import type { FunkitCheckoutQuoteResult } from './FunkitHistoryContext';
|
|
4
|
+
export declare const trackEventFromFinalQuote: (finalEstimation: FunkitCheckoutQuoteResult, checkoutItem: FunkitActiveCheckoutItem) => TrackEventData;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ReactNode } from 'react';
|
|
3
|
+
interface FunkitStatsigProviderProps {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
isDevelopment?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare function FunkitStatsigProvider({ children, isDevelopment, }: FunkitStatsigProviderProps): React.JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -68,6 +68,7 @@ export declare const useActiveTheme: () => {
|
|
|
68
68
|
buttonWarning: string;
|
|
69
69
|
buttonSuccess: string;
|
|
70
70
|
buttonTextPrimary: string;
|
|
71
|
+
buttonTextHover: string;
|
|
71
72
|
buttonTextDisabled: string;
|
|
72
73
|
transparent: string;
|
|
73
74
|
buttonBackgroundTertiary: string;
|
|
@@ -86,6 +87,9 @@ export declare const useActiveTheme: () => {
|
|
|
86
87
|
buttonIconStroke: string;
|
|
87
88
|
buttonBorderFocusedTertiary: string;
|
|
88
89
|
buttonFocusedOutline: string;
|
|
90
|
+
buttonBorderGradient: string;
|
|
91
|
+
buttonHoverBorderGradient: string;
|
|
92
|
+
buttonDisabledBorderGradient: string;
|
|
89
93
|
badgeBackgroundSuccess: string;
|
|
90
94
|
badgeBorderSuccess: string;
|
|
91
95
|
badgeTextSuccess: string;
|
|
@@ -228,6 +232,7 @@ export declare const useActiveTheme: () => {
|
|
|
228
232
|
dropdown: string;
|
|
229
233
|
notification: string;
|
|
230
234
|
qrCode: string;
|
|
235
|
+
buttonShadow: string;
|
|
231
236
|
buttonFocusedShadow: string;
|
|
232
237
|
buttonHoverShadow: string;
|
|
233
238
|
buttonFocusedShadowTertiary: string;
|
|
@@ -297,6 +302,7 @@ export declare const useActiveTheme: () => {
|
|
|
297
302
|
buttonWarning: string;
|
|
298
303
|
buttonSuccess: string;
|
|
299
304
|
buttonTextPrimary: string;
|
|
305
|
+
buttonTextHover: string;
|
|
300
306
|
buttonTextDisabled: string;
|
|
301
307
|
transparent: string;
|
|
302
308
|
buttonBackgroundTertiary: string;
|
|
@@ -315,6 +321,9 @@ export declare const useActiveTheme: () => {
|
|
|
315
321
|
buttonIconStroke: string;
|
|
316
322
|
buttonBorderFocusedTertiary: string;
|
|
317
323
|
buttonFocusedOutline: string;
|
|
324
|
+
buttonBorderGradient: string;
|
|
325
|
+
buttonHoverBorderGradient: string;
|
|
326
|
+
buttonDisabledBorderGradient: string;
|
|
318
327
|
badgeBackgroundSuccess: string;
|
|
319
328
|
badgeBorderSuccess: string;
|
|
320
329
|
badgeTextSuccess: string;
|
|
@@ -457,6 +466,7 @@ export declare const useActiveTheme: () => {
|
|
|
457
466
|
dropdown: string;
|
|
458
467
|
notification: string;
|
|
459
468
|
qrCode: string;
|
|
469
|
+
buttonShadow: string;
|
|
460
470
|
buttonFocusedShadow: string;
|
|
461
471
|
buttonHoverShadow: string;
|
|
462
472
|
buttonFocusedShadowTertiary: string;
|
|
@@ -524,6 +534,7 @@ export declare const useActiveTheme: () => {
|
|
|
524
534
|
buttonWarning: string;
|
|
525
535
|
buttonSuccess: string;
|
|
526
536
|
buttonTextPrimary: string;
|
|
537
|
+
buttonTextHover: string;
|
|
527
538
|
buttonTextDisabled: string;
|
|
528
539
|
transparent: string;
|
|
529
540
|
buttonBackgroundTertiary: string;
|
|
@@ -542,6 +553,9 @@ export declare const useActiveTheme: () => {
|
|
|
542
553
|
buttonIconStroke: string;
|
|
543
554
|
buttonBorderFocusedTertiary: string;
|
|
544
555
|
buttonFocusedOutline: string;
|
|
556
|
+
buttonBorderGradient: string;
|
|
557
|
+
buttonHoverBorderGradient: string;
|
|
558
|
+
buttonDisabledBorderGradient: string;
|
|
545
559
|
badgeBackgroundSuccess: string;
|
|
546
560
|
badgeBorderSuccess: string;
|
|
547
561
|
badgeTextSuccess: string;
|
|
@@ -684,6 +698,7 @@ export declare const useActiveTheme: () => {
|
|
|
684
698
|
dropdown: string;
|
|
685
699
|
notification: string;
|
|
686
700
|
qrCode: string;
|
|
701
|
+
buttonShadow: string;
|
|
687
702
|
buttonFocusedShadow: string;
|
|
688
703
|
buttonHoverShadow: string;
|
|
689
704
|
buttonFocusedShadowTertiary: string;
|
package/dist/themes/darkTheme.js
CHANGED
package/dist/utils/checkout.d.ts
CHANGED
|
@@ -55,6 +55,7 @@ export declare function getFunkitEnvForCheckoutEstimation({ chainId, bypassWalle
|
|
|
55
55
|
bypassInit: boolean;
|
|
56
56
|
apiKey?: string;
|
|
57
57
|
nonce?: bigint | undefined;
|
|
58
|
+
logger?: import("@funkit/api-base").Logger | undefined;
|
|
58
59
|
fee?: {
|
|
59
60
|
token?: string;
|
|
60
61
|
amount?: number;
|
|
@@ -62,7 +63,6 @@ export declare function getFunkitEnvForCheckoutEstimation({ chainId, bypassWalle
|
|
|
62
63
|
recipient: Address;
|
|
63
64
|
} | undefined;
|
|
64
65
|
skipDBAction?: boolean | undefined;
|
|
65
|
-
logger?: import("@funkit/api-base").Logger | undefined;
|
|
66
66
|
};
|
|
67
67
|
export type TokenInfo = {
|
|
68
68
|
symbol: string;
|
|
@@ -96,9 +96,10 @@ export declare function getCheckoutReceivedAmountFormatted({ config, quote, }: {
|
|
|
96
96
|
* - e.g. "0.12345 ETH"
|
|
97
97
|
* Ideally, should be used via the hook `useCheckoutItemDisplay` to handle the customer cutomization check.
|
|
98
98
|
*/
|
|
99
|
-
export declare function getCheckoutItemDisplay({ checkoutConfig, hideAmount, }: {
|
|
99
|
+
export declare function getCheckoutItemDisplay({ checkoutConfig, hideAmount, overrideAmount, }: {
|
|
100
100
|
checkoutConfig: FunkitCheckoutConfig | ServerCheckoutConfig;
|
|
101
101
|
hideAmount?: boolean;
|
|
102
|
+
overrideAmount?: number;
|
|
102
103
|
}): string;
|
|
103
104
|
/**
|
|
104
105
|
* Given the result of a quote, calculate the effective fees (in source asset).
|
|
@@ -152,4 +153,14 @@ export type MergedCheckoutHistoryItem = {
|
|
|
152
153
|
directExecution: true;
|
|
153
154
|
}));
|
|
154
155
|
export declare function toMergedCheckoutHistoryItem(item: CheckoutHistoryItem | DirectExecution): MergedCheckoutHistoryItem;
|
|
156
|
+
export declare function isVaultDepositCheckout(checkoutConfig: FunkitCheckoutConfig, sourceHolding: {
|
|
157
|
+
chainId: string;
|
|
158
|
+
tokenAddress: string;
|
|
159
|
+
}): boolean;
|
|
160
|
+
/** some additional staking token will be performed after swap. We need to calculate the final destination token amount */
|
|
161
|
+
export declare function computeDisplayDestinationToken(checkoutConfig: FunkitCheckoutConfig | ServerCheckoutConfig | undefined, displayAssetAmount: number): {
|
|
162
|
+
stakingTokenAmount: number;
|
|
163
|
+
stakingTokenSymbol: string;
|
|
164
|
+
stakingTokenIcon: string;
|
|
165
|
+
};
|
|
155
166
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { Override } from './types';
|
|
1
2
|
export declare const flagConfig: {
|
|
2
3
|
readonly supported_exchanges_v2: {
|
|
3
4
|
readonly type: "string";
|
|
@@ -17,7 +18,7 @@ export declare const flagConfig: {
|
|
|
17
18
|
readonly if_any: [{
|
|
18
19
|
readonly key: "apiKey";
|
|
19
20
|
readonly type: "isAnyOf";
|
|
20
|
-
readonly values: ["Y53dikxXdT4E3afI1l8BMBSWgyhKvf65k6Dut1k6", "OXLUmejkh9PlNDS4gSvi9gcEWacOpTz2KUVepVf4"];
|
|
21
|
+
readonly values: ["Y53dikxXdT4E3afI1l8BMBSWgyhKvf65k6Dut1k6", "OXLUmejkh9PlNDS4gSvi9gcEWacOpTz2KUVepVf4", "lUzTaIRxs95iin3pCAafB1ChA5akBiuQ1tjhXnau", "di9ZSqn1Ya68Y2XpBPUV1rCtNGXh8Xe5MGWzb1Xe"];
|
|
21
22
|
}];
|
|
22
23
|
readonly value: "";
|
|
23
24
|
}];
|
|
@@ -41,7 +42,7 @@ export declare const flagConfig: {
|
|
|
41
42
|
readonly enable_token_transfer: {
|
|
42
43
|
readonly type: "boolean";
|
|
43
44
|
readonly default_value: false;
|
|
44
|
-
readonly overrides: [{
|
|
45
|
+
readonly overrides: [Override<boolean>, {
|
|
45
46
|
readonly if_any: [{
|
|
46
47
|
readonly key: "apiKey";
|
|
47
48
|
readonly type: "isAnyOf";
|
|
@@ -53,7 +54,7 @@ export declare const flagConfig: {
|
|
|
53
54
|
readonly enable_fiat_deposit: {
|
|
54
55
|
readonly type: "boolean";
|
|
55
56
|
readonly default_value: false;
|
|
56
|
-
readonly overrides: [{
|
|
57
|
+
readonly overrides: [Override<boolean>, {
|
|
57
58
|
readonly if_any: [{
|
|
58
59
|
readonly key: "userId";
|
|
59
60
|
readonly type: "isAnyOf";
|
|
@@ -126,6 +127,13 @@ export declare const flagConfig: {
|
|
|
126
127
|
readonly values: ["vWe20Dfyui2ouvfOhtSTY3Czeo8lFdbo5xXQBALZ"];
|
|
127
128
|
}];
|
|
128
129
|
readonly value: string;
|
|
130
|
+
}, {
|
|
131
|
+
readonly if_any: [{
|
|
132
|
+
readonly key: "apiKey";
|
|
133
|
+
readonly type: "isAnyOf";
|
|
134
|
+
readonly values: ["Y53dikxXdT4E3afI1l8BMBSWgyhKvf65k6Dut1k6"];
|
|
135
|
+
}];
|
|
136
|
+
readonly value: string;
|
|
129
137
|
}];
|
|
130
138
|
};
|
|
131
139
|
readonly is_checkout_activated: {
|
|
@@ -176,7 +184,7 @@ export declare const flagConfig: {
|
|
|
176
184
|
readonly enable_card: {
|
|
177
185
|
readonly type: "boolean";
|
|
178
186
|
readonly default_value: true;
|
|
179
|
-
readonly overrides: [{
|
|
187
|
+
readonly overrides: [Override<boolean>, {
|
|
180
188
|
readonly if_any: [{
|
|
181
189
|
readonly key: "userId";
|
|
182
190
|
readonly type: "isAnyOf";
|
|
@@ -19,7 +19,7 @@ export interface StringFlagConfig {
|
|
|
19
19
|
overrides?: Override<string>[];
|
|
20
20
|
}
|
|
21
21
|
export type InferFlagType<F extends FlagConfig> = F['type'] extends 'number' ? number : F['type'] extends 'string' ? string : F['type'] extends 'boolean' ? boolean : never;
|
|
22
|
-
type Override<T> = {
|
|
22
|
+
export type Override<T> = {
|
|
23
23
|
/** non-empty list of conditions, any condition will cause the value to match */
|
|
24
24
|
if_any: Condition[];
|
|
25
25
|
/** non-empty list of conditions, all condition will cause the value to match */
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import { type Config } from 'wagmi';
|
|
2
|
-
import type { ConnectMutateAsync } from 'wagmi/query';
|
|
3
1
|
import type { WalletInstance } from './Wallet';
|
|
4
2
|
export interface WalletConnector extends WalletInstance {
|
|
5
3
|
ready?: boolean;
|
|
6
|
-
connect: () => ReturnType<ConnectMutateAsync<Config, unknown>>;
|
|
7
4
|
showWalletConnectModal?: () => void;
|
|
8
5
|
recent: boolean;
|
|
9
6
|
mobileDownloadUrl?: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import {
|
|
3
|
+
tokenaryWallet
|
|
4
|
+
} from "./chunk-D6AOOO5F.js";
|
|
2
5
|
import {
|
|
3
6
|
xdefiWallet
|
|
4
7
|
} from "./chunk-BOU4WKRZ.js";
|
|
5
|
-
import {
|
|
6
|
-
zealWallet
|
|
7
|
-
} from "./chunk-RNBEDQHF.js";
|
|
8
8
|
import {
|
|
9
9
|
zerionWallet
|
|
10
10
|
} from "./chunk-Q3H3TRBS.js";
|
|
@@ -14,75 +14,72 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
tahoWallet
|
|
16
16
|
} from "./chunk-ZZZRUXZE.js";
|
|
17
|
+
import {
|
|
18
|
+
trustWallet
|
|
19
|
+
} from "./chunk-RKPCWHXL.js";
|
|
17
20
|
import {
|
|
18
21
|
talismanWallet
|
|
19
22
|
} from "./chunk-DRO6WYMM.js";
|
|
20
|
-
import {
|
|
21
|
-
tokenPocketWallet
|
|
22
|
-
} from "./chunk-J3LI3FYZ.js";
|
|
23
|
-
import {
|
|
24
|
-
tokenaryWallet
|
|
25
|
-
} from "./chunk-D6AOOO5F.js";
|
|
26
23
|
import {
|
|
27
24
|
uniswapWallet
|
|
28
25
|
} from "./chunk-LH7BMNFZ.js";
|
|
26
|
+
import {
|
|
27
|
+
tokenPocketWallet
|
|
28
|
+
} from "./chunk-J3LI3FYZ.js";
|
|
29
29
|
import {
|
|
30
30
|
walletConnectWallet
|
|
31
31
|
} from "./chunk-NP5QGWNL.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./chunk-
|
|
33
|
+
zealWallet
|
|
34
|
+
} from "./chunk-RNBEDQHF.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./chunk-
|
|
36
|
+
rabbyWallet
|
|
37
|
+
} from "./chunk-BBOM42DL.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./chunk-
|
|
39
|
+
rainbowWallet
|
|
40
|
+
} from "./chunk-3CICVJUN.js";
|
|
41
41
|
import {
|
|
42
42
|
roninWallet
|
|
43
43
|
} from "./chunk-QLVVUKYB.js";
|
|
44
|
+
import {
|
|
45
|
+
phantomWallet
|
|
46
|
+
} from "./chunk-362NXNTM.js";
|
|
44
47
|
import {
|
|
45
48
|
ramperWallet
|
|
46
49
|
} from "./chunk-BYXPFMI7.js";
|
|
47
|
-
import {
|
|
48
|
-
rainbowWallet
|
|
49
|
-
} from "./chunk-3CICVJUN.js";
|
|
50
50
|
import {
|
|
51
51
|
safeWallet
|
|
52
52
|
} from "./chunk-BQQQL6UD.js";
|
|
53
|
-
import {
|
|
54
|
-
safeheronWallet
|
|
55
|
-
} from "./chunk-RZIO5TFF.js";
|
|
56
53
|
import {
|
|
57
54
|
safepalWallet
|
|
58
55
|
} from "./chunk-EC6CHBSZ.js";
|
|
59
56
|
import {
|
|
60
|
-
|
|
61
|
-
} from "./chunk-
|
|
57
|
+
safeheronWallet
|
|
58
|
+
} from "./chunk-RZIO5TFF.js";
|
|
59
|
+
import {
|
|
60
|
+
ledgerWallet
|
|
61
|
+
} from "./chunk-BRBKM4PW.js";
|
|
62
62
|
import {
|
|
63
63
|
metaMaskWallet
|
|
64
64
|
} from "./chunk-UYGJO62F.js";
|
|
65
|
-
import {
|
|
66
|
-
mewWallet
|
|
67
|
-
} from "./chunk-OL5ZO7E4.js";
|
|
68
65
|
import {
|
|
69
66
|
okxWallet
|
|
70
67
|
} from "./chunk-AFXHGWBH.js";
|
|
71
68
|
import {
|
|
72
|
-
|
|
73
|
-
} from "./chunk-
|
|
69
|
+
mewWallet
|
|
70
|
+
} from "./chunk-OL5ZO7E4.js";
|
|
71
|
+
import {
|
|
72
|
+
oneInchWallet
|
|
73
|
+
} from "./chunk-OESTDX6I.js";
|
|
74
74
|
import {
|
|
75
75
|
omniWallet
|
|
76
76
|
} from "./chunk-7CUY5G6R.js";
|
|
77
77
|
import {
|
|
78
|
-
|
|
79
|
-
} from "./chunk-
|
|
80
|
-
import {
|
|
81
|
-
phantomWallet
|
|
82
|
-
} from "./chunk-362NXNTM.js";
|
|
78
|
+
oktoWallet
|
|
79
|
+
} from "./chunk-ADIXAKUL.js";
|
|
83
80
|
import {
|
|
84
|
-
|
|
85
|
-
} from "./chunk-
|
|
81
|
+
oneKeyWallet
|
|
82
|
+
} from "./chunk-SHBUZ7U7.js";
|
|
86
83
|
import {
|
|
87
84
|
foxWallet
|
|
88
85
|
} from "./chunk-CNPKISHN.js";
|
|
@@ -92,27 +89,30 @@ import {
|
|
|
92
89
|
import {
|
|
93
90
|
gateWallet
|
|
94
91
|
} from "./chunk-CJGUM55H.js";
|
|
92
|
+
import {
|
|
93
|
+
imTokenWallet
|
|
94
|
+
} from "./chunk-COZ7MIQS.js";
|
|
95
|
+
import {
|
|
96
|
+
frontierWallet
|
|
97
|
+
} from "./chunk-VWCLFMWJ.js";
|
|
95
98
|
import {
|
|
96
99
|
kresusWallet
|
|
97
100
|
} from "./chunk-MJXPRJZT.js";
|
|
98
101
|
import {
|
|
99
|
-
|
|
100
|
-
} from "./chunk-
|
|
102
|
+
injectedWallet
|
|
103
|
+
} from "./chunk-XWUJE7MW.js";
|
|
101
104
|
import {
|
|
102
|
-
|
|
103
|
-
} from "./chunk-
|
|
105
|
+
bybitWallet
|
|
106
|
+
} from "./chunk-LNEC5RNX.js";
|
|
107
|
+
import {
|
|
108
|
+
coinbaseWallet
|
|
109
|
+
} from "./chunk-H4IRCEZN.js";
|
|
104
110
|
import {
|
|
105
111
|
clvWallet
|
|
106
112
|
} from "./chunk-2GJQ4XZQ.js";
|
|
107
|
-
import {
|
|
108
|
-
braveWallet
|
|
109
|
-
} from "./chunk-BPZ2XJO2.js";
|
|
110
113
|
import {
|
|
111
114
|
coin98Wallet
|
|
112
115
|
} from "./chunk-KIDC67XJ.js";
|
|
113
|
-
import {
|
|
114
|
-
coinbaseWallet
|
|
115
|
-
} from "./chunk-H4IRCEZN.js";
|
|
116
116
|
import {
|
|
117
117
|
dawnWallet
|
|
118
118
|
} from "./chunk-HWPKCIBE.js";
|
|
@@ -128,9 +128,6 @@ import {
|
|
|
128
128
|
import {
|
|
129
129
|
argentWallet
|
|
130
130
|
} from "./chunk-WSQ2YJO2.js";
|
|
131
|
-
import {
|
|
132
|
-
bitverseWallet
|
|
133
|
-
} from "./chunk-3HZRRP4Y.js";
|
|
134
131
|
import {
|
|
135
132
|
bifrostWallet
|
|
136
133
|
} from "./chunk-UIASLGLV.js";
|
|
@@ -141,8 +138,11 @@ import {
|
|
|
141
138
|
bitskiWallet
|
|
142
139
|
} from "./chunk-HS3C7OQV.js";
|
|
143
140
|
import {
|
|
144
|
-
|
|
145
|
-
} from "./chunk-
|
|
141
|
+
bitverseWallet
|
|
142
|
+
} from "./chunk-3HZRRP4Y.js";
|
|
143
|
+
import {
|
|
144
|
+
braveWallet
|
|
145
|
+
} from "./chunk-BPZ2XJO2.js";
|
|
146
146
|
import "./chunk-DNSG5Q7V.js";
|
|
147
147
|
import {
|
|
148
148
|
bloomWallet
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@funkit/connect",
|
|
3
|
-
"version": "6.14.
|
|
3
|
+
"version": "6.14.9-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",
|
|
@@ -78,11 +78,12 @@
|
|
|
78
78
|
"@number-flow/react": "^0.5.5",
|
|
79
79
|
"@privy-io/js-sdk-core": "^0.21.0",
|
|
80
80
|
"@solana/addresses": "^2.1.0",
|
|
81
|
+
"@statsig/react-bindings": "^3.25.4",
|
|
81
82
|
"@types/uuid": "^9.0.8",
|
|
82
83
|
"@vanilla-extract/css": "1.15.3",
|
|
83
84
|
"@vanilla-extract/dynamic": "2.1.0",
|
|
84
85
|
"@vanilla-extract/sprinkles": "1.6.1",
|
|
85
|
-
"@wagmi/core": "2.
|
|
86
|
+
"@wagmi/core": "2.21.1",
|
|
86
87
|
"bech32": "^2.0.0",
|
|
87
88
|
"clsx": "2.1.1",
|
|
88
89
|
"motion": "^12.0.11",
|
|
@@ -92,12 +93,12 @@
|
|
|
92
93
|
"ua-parser-js": "^1.0.37",
|
|
93
94
|
"use-debounce": "^10.0.5",
|
|
94
95
|
"uuid": "^9.0.1",
|
|
95
|
-
"@funkit/api-base": "1.12.
|
|
96
|
-
"@funkit/fun-relay": "2.0.5",
|
|
96
|
+
"@funkit/api-base": "1.12.8-next.0",
|
|
97
97
|
"@funkit/chains": "0.4.1",
|
|
98
|
-
"@funkit/
|
|
99
|
-
"@funkit/
|
|
100
|
-
"@funkit/
|
|
98
|
+
"@funkit/fun-relay": "2.1.0",
|
|
99
|
+
"@funkit/utils": "1.2.0-next.0",
|
|
100
|
+
"@funkit/core": "2.3.53-next.0",
|
|
101
|
+
"@funkit/wagmi-tools": "3.0.76-next.0"
|
|
101
102
|
},
|
|
102
103
|
"repository": {
|
|
103
104
|
"type": "git",
|