@funkit/connect 6.4.0 → 6.6.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 +57 -0
- package/dist/{chunk-ZDHRMKMT.js → chunk-AYGZMDTC.js} +11 -0
- package/dist/{chunk-WDHT73AM.js → chunk-UOY5XFCR.js} +11 -0
- package/dist/components/Box/Box.d.ts +34 -34
- package/dist/components/Dropdown/BaseDropdownItem.d.ts +2 -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/FunInput/FunInput.d.ts +4 -4
- package/dist/components/Icons/SpinnerIcon.d.ts +4 -1
- package/dist/components/Icons/SpinnerIconWithBackground.d.ts +3 -2
- package/dist/components/Icons/StatusIcons.d.ts +9 -2
- package/dist/components/Icons/utils.d.ts +2 -0
- package/dist/components/MeldQuoteItem/MeldQuoteItem.d.ts +2 -1
- package/dist/components/SourceMeldQuoteItem/SourceMeldQuoteItem.d.ts +4 -2
- package/dist/components/TransactionStatus/TransactionStatus.d.ts +3 -0
- package/dist/consts/customers.d.ts +1 -0
- package/dist/css/sprinkles.css.d.ts +48 -34
- package/dist/domains/meld.d.ts +2 -0
- 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/hooks/useTextMeasurer.d.ts +3 -0
- package/dist/index.css +2980 -2665
- package/dist/index.js +1785 -1274
- package/dist/modals/CheckoutModal/InputAmount/InputAmountLoaded.d.ts +2 -2
- package/dist/modals/CheckoutModal/InputAmount/state.d.ts +8 -1
- package/dist/modals/CheckoutModal/InputAmount/useAmountInput.d.ts +4 -1
- package/dist/modals/CheckoutModal/InputAmount/utils.d.ts +27 -0
- package/dist/modals/CheckoutModal/MeldCurrencySelect/currenciesWithMultipleCountries.d.ts +1 -0
- package/dist/modals/CheckoutModal/MeldQuotes/MeldQuotes.d.ts +1 -1
- package/dist/providers/FunkitCheckoutContext.d.ts +2 -8
- package/dist/providers/FunkitConfigContext.d.ts +0 -7
- package/dist/providers/FunkitThemeProvider.d.ts +21 -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 +62 -62
- package/package.json +8 -8
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type
|
|
2
|
+
import { type FunkitTextCustomizationsConfig } from '~/providers/FunkitConfigContext';
|
|
3
3
|
import type { AssetHoldingsItem } from '~/utils/assets';
|
|
4
4
|
import type { FunkitCheckoutConfig } from '../../../providers/FunkitCheckoutContext';
|
|
5
5
|
import { FunCheckoutStep, type ModalStepComponentProps } from '../stepTransition';
|
|
@@ -15,5 +15,5 @@ interface InputAmountLoadedProps extends ModalStepComponentProps<FunCheckoutStep
|
|
|
15
15
|
export declare function openMeldPopup(linkGetter: () => Promise<{
|
|
16
16
|
widgetUrl: string;
|
|
17
17
|
}>): Promise<void>;
|
|
18
|
-
export declare function InputAmountLoaded({ checkoutConfig, modalState, onNext, sourceHolding, unitPrice, defaultFiatCurrency, textCustomizations, }: InputAmountLoadedProps): React.JSX.Element;
|
|
18
|
+
export declare function InputAmountLoaded({ checkoutConfig, modalState, onNext, onClose, sourceHolding, unitPrice, defaultFiatCurrency, textCustomizations, }: InputAmountLoadedProps): React.JSX.Element;
|
|
19
19
|
export {};
|
|
@@ -15,6 +15,8 @@ export interface AmountInputInitOptions {
|
|
|
15
15
|
minUsd?: number;
|
|
16
16
|
/** Currency code for the currently selected fiat currency. Defaults to USD */
|
|
17
17
|
fiatCurrency?: string;
|
|
18
|
+
/** Locale */
|
|
19
|
+
locale: Intl.LocalesArgument;
|
|
18
20
|
/** Quick options, in fiat (not %) */
|
|
19
21
|
quickOptions?: number[];
|
|
20
22
|
}
|
|
@@ -29,6 +31,8 @@ export interface AmountInputState {
|
|
|
29
31
|
inputValue: string;
|
|
30
32
|
/** Whether the input is currently in fiat */
|
|
31
33
|
isInputInFiat: boolean;
|
|
34
|
+
/** Locale */
|
|
35
|
+
locale: Intl.LocalesArgument;
|
|
32
36
|
/** Estimated available amount, in USD (defaults to unlimited) */
|
|
33
37
|
usdAvailableAmount: number | null;
|
|
34
38
|
/** Maximum amount, in USD (defaults to unlimited) */
|
|
@@ -38,8 +42,11 @@ export interface AmountInputState {
|
|
|
38
42
|
}
|
|
39
43
|
/** Derived state includes additional fields that are pure functions of base state */
|
|
40
44
|
export interface AmountInputDerivedState extends AmountInputState {
|
|
45
|
+
inputDecimals: number;
|
|
41
46
|
inputError: AmountInputError | null;
|
|
47
|
+
inputPrefix: string;
|
|
42
48
|
isValid: boolean;
|
|
49
|
+
placeholder: string;
|
|
43
50
|
}
|
|
44
51
|
export type AmountInputAction = {
|
|
45
52
|
/** Switches between fiat and crypto input mode */
|
|
@@ -83,6 +90,6 @@ export type AmountInputError = {
|
|
|
83
90
|
* Return half the balance and round up to nearest 10, 100, 1000 etc
|
|
84
91
|
*/
|
|
85
92
|
export declare function calcInitialFiatAmount(balance: number): number;
|
|
86
|
-
export declare function initializeState({ checkoutConfig, maxUsd, minUsd, paymentMethod, sourceHolding, unitPrice: realUnitPrice,
|
|
93
|
+
export declare function initializeState({ checkoutConfig, defaultAmount, fiatCurrency, locale, maxUsd, minUsd, paymentMethod, quickOptions, sourceHolding, unitPrice: realUnitPrice, }: AmountInputInitOptions): AmountInputState;
|
|
87
94
|
export declare function reduceState(state: AmountInputState, action: AmountInputAction): AmountInputState;
|
|
88
95
|
export declare function getDerivedState(state: AmountInputState): AmountInputDerivedState;
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
+
import { type RefObject } from 'react';
|
|
1
2
|
import type { FunInputChangeEvent } from '~/components/FunInput/FunInput';
|
|
2
3
|
import { type AmountInputDerivedState, type AmountInputInitOptions } from './state';
|
|
3
4
|
import { type InputAmountSuggestion } from './utils';
|
|
4
5
|
interface UseAmountInputResult extends AmountInputDerivedState {
|
|
6
|
+
fontSize: number;
|
|
7
|
+
inputWidth: number | undefined;
|
|
5
8
|
onChange(event: FunInputChangeEvent): void;
|
|
6
|
-
|
|
9
|
+
ref: RefObject<HTMLInputElement>;
|
|
7
10
|
setFiatAmount(usdAmount: number): AmountInputDerivedState;
|
|
8
11
|
/** Possible user action to recover from the current error */
|
|
9
12
|
suggestion: InputAmountSuggestion | undefined;
|
|
@@ -18,3 +18,30 @@ export interface InputAmountSuggestion {
|
|
|
18
18
|
*/
|
|
19
19
|
export declare const getInputAmountSuggestion: (error: AmountInputError | null) => InputAmountSuggestion | undefined;
|
|
20
20
|
export declare const getInputErrorNotification: (error: AmountInputError | null) => ErrorNotification | undefined;
|
|
21
|
+
export type NumberSeparators = {
|
|
22
|
+
decimalSeparator: string;
|
|
23
|
+
groupSeparator: RegExp;
|
|
24
|
+
};
|
|
25
|
+
export declare function getNumberSeparators(locale: Intl.LocalesArgument): NumberSeparators;
|
|
26
|
+
export declare function parseNumberInputValue(inputValue: string, separators: NumberSeparators): {
|
|
27
|
+
amount: number | undefined;
|
|
28
|
+
amountString: string;
|
|
29
|
+
amountStringNormalized: string;
|
|
30
|
+
decimalPart: string | null;
|
|
31
|
+
integerPart: string;
|
|
32
|
+
};
|
|
33
|
+
export declare function getCurrencyFormattingOptions(fiatCurrency: string, locale: Intl.LocalesArgument): {
|
|
34
|
+
currencySymbol: string;
|
|
35
|
+
currencySymbolWithSpacing: string;
|
|
36
|
+
decimals: number;
|
|
37
|
+
};
|
|
38
|
+
export declare function formatAssetAmountWithLocale(value: number, options: {
|
|
39
|
+
locale: Intl.LocalesArgument;
|
|
40
|
+
}): string;
|
|
41
|
+
export declare function formatCurrencyAmountWithLocale(value: number, options: {
|
|
42
|
+
fiatCurrency: string;
|
|
43
|
+
locale: Intl.LocalesArgument;
|
|
44
|
+
}): string;
|
|
45
|
+
export declare function replaceStringRange(original: string, replacement: string, start: number, end: number): string;
|
|
46
|
+
export declare function reformatDecimalPart(decimalPart: string, decimals: number): string;
|
|
47
|
+
export declare function reformatIntegerPart(integerPart: string, locale: Intl.LocalesArgument, preserveLeadingZeroes: boolean): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const currenciesWithMultipleCountries: Record<string, string[]>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type MeldQuote, MeldServiceProvider } from '@funkit/api-base';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import type { PaymentMethodCardInfo } from '~/domains/paymentMethods';
|
|
4
4
|
import { type CheckoutModalCommonState, FunCheckoutStep, type ModalStepComponentProps, type ModalStepInfo } from '../stepTransition';
|
|
@@ -21,7 +21,7 @@ export declare enum FunCheckoutStartingStep {
|
|
|
21
21
|
CONFIRMATION = "confirmation",
|
|
22
22
|
SELECT_ASSET = "select_asset"
|
|
23
23
|
}
|
|
24
|
-
export interface FunkitCheckoutConfig extends Omit<ApiFunkitCheckoutConfig, 'generateActionsParams' | 'customRecipient' | 'modalTitle' | 'iconSrc' | 'modalTitleMeta'
|
|
24
|
+
export interface FunkitCheckoutConfig extends Omit<ApiFunkitCheckoutConfig, 'generateActionsParams' | 'customRecipient' | 'modalTitle' | 'iconSrc' | 'modalTitleMeta'> {
|
|
25
25
|
/** List of contract action params **/
|
|
26
26
|
generateActionsParams?: (targetAssetAmount: number, config?: {
|
|
27
27
|
targetAsset: Address;
|
|
@@ -40,8 +40,6 @@ export interface FunkitCheckoutConfig extends Omit<ApiFunkitCheckoutConfig, 'gen
|
|
|
40
40
|
iconSrc?: null | string;
|
|
41
41
|
/** Title of the item being checked out. e.g. Staked Ether, XYZ Option, Solar Bond ABC **/
|
|
42
42
|
checkoutItemTitle: string;
|
|
43
|
-
/** @deprecated use targetAssetAmount **/
|
|
44
|
-
checkoutItemAmount?: number;
|
|
45
43
|
/** amount of source token. it is not baseUnit **/
|
|
46
44
|
withdrawalSourceTokenBalance?: () => number;
|
|
47
45
|
/** Whether checkout should be started in Defi mode, which has various flow implications (most importantly targetAssetAmount must be set and is not editable throughout the checkout) */
|
|
@@ -62,8 +60,6 @@ export interface FunkitCheckoutConfig extends Omit<ApiFunkitCheckoutConfig, 'gen
|
|
|
62
60
|
/** *****************************
|
|
63
61
|
* Miscellaneous configurations *
|
|
64
62
|
********************************/
|
|
65
|
-
/** User identification within customer's app for logging and customer dashboard purposes (future). **/
|
|
66
|
-
externalCheckoutUserId?: string;
|
|
67
63
|
/** a list of candidate assets to be chosen dynamically */
|
|
68
64
|
dynamicTargetAssetCandidates?: DynamicTargetAssetCandidate[];
|
|
69
65
|
/** minimal toAmount needed to proceed checkout. Checked after quote */
|
|
@@ -74,7 +70,7 @@ export interface FunkitCheckoutConfig extends Omit<ApiFunkitCheckoutConfig, 'gen
|
|
|
74
70
|
}
|
|
75
71
|
export interface FunkitWithdrawalConfig {
|
|
76
72
|
/** Title to show in the checkout modal. Defaults to "Checkout" **/
|
|
77
|
-
modalTitle
|
|
73
|
+
modalTitle: string;
|
|
78
74
|
/** Additional information to show in the title of the checkout modal. Blank by default **/
|
|
79
75
|
modalTitleMeta?: string;
|
|
80
76
|
/** Icon to show in the checkout modal (50px x 50px). If not specified, no icon will be shown. **/
|
|
@@ -84,8 +80,6 @@ export interface FunkitWithdrawalConfig {
|
|
|
84
80
|
sourceChainId: string;
|
|
85
81
|
/** source token id to withdraw **/
|
|
86
82
|
sourceTokenAddress: Address;
|
|
87
|
-
/** whether to show connected as preferred withdrawal destination*/
|
|
88
|
-
showConnectedWalletAsPreferredRecipient?: boolean;
|
|
89
83
|
/** Wallet instance used to execute the quote */
|
|
90
84
|
wallet: WithdrawalClient;
|
|
91
85
|
}
|
|
@@ -47,10 +47,6 @@ export interface FunkitUiCustomizationsConfig {
|
|
|
47
47
|
/** Whether to allow entering an amount of tokens, rather than only USD - defaults to true */
|
|
48
48
|
allowTokenAmountInput?: boolean;
|
|
49
49
|
};
|
|
50
|
-
paymentMethods?: {
|
|
51
|
-
/** Whether paying by card is a payment method the users can use - defaults to true */
|
|
52
|
-
isCardEnabled?: boolean;
|
|
53
|
-
};
|
|
54
50
|
callToActionsUppercase?: boolean;
|
|
55
51
|
}
|
|
56
52
|
export declare const DEFAULT_TEXT_CUSTOMIZATIONS: FunkitTextCustomizationsConfig;
|
|
@@ -71,8 +67,6 @@ export type FunkitConfig = {
|
|
|
71
67
|
apiKey: string;
|
|
72
68
|
/** App name **/
|
|
73
69
|
appName: string;
|
|
74
|
-
/** Whether app's background is scrollable when a widget is active **/
|
|
75
|
-
allowBackgroundScroll?: boolean;
|
|
76
70
|
/** Text customizations across all widgets **/
|
|
77
71
|
textCustomizations?: Partial<FunkitTextCustomizationsConfig>;
|
|
78
72
|
/** UI customizations across all widgets **/
|
|
@@ -81,7 +75,6 @@ export type FunkitConfig = {
|
|
|
81
75
|
loginConfig: Partial<FunkitLoginOptionsConfig>;
|
|
82
76
|
};
|
|
83
77
|
interface FinalFunkitConfigInternal extends FunkitConfig {
|
|
84
|
-
allowBackgroundScroll: boolean;
|
|
85
78
|
textCustomizations: FunkitTextCustomizationsConfig;
|
|
86
79
|
loginConfig: FunkitLoginOptionsConfig;
|
|
87
80
|
}
|
|
@@ -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;
|
|
@@ -218,6 +222,9 @@ export declare const useActiveTheme: () => {
|
|
|
218
222
|
notification: string;
|
|
219
223
|
qrCode: string;
|
|
220
224
|
buttonFocusedShadow: string;
|
|
225
|
+
buttonHoverShadow: string;
|
|
226
|
+
buttonDisabledShadow: string;
|
|
227
|
+
selectedDropdownItem: string;
|
|
221
228
|
};
|
|
222
229
|
spacing: {
|
|
223
230
|
modalBaseHorizontalPadding: string;
|
|
@@ -333,6 +340,10 @@ export declare const useActiveTheme: () => {
|
|
|
333
340
|
fiatAccountIconFill: string;
|
|
334
341
|
fiatAccountGradientFrom: string;
|
|
335
342
|
fiatAccountGradientTo: string;
|
|
343
|
+
spinnerBackground: string;
|
|
344
|
+
spinnerIndicator: string;
|
|
345
|
+
spinnerBackgroundVerifyAccount: string;
|
|
346
|
+
spinnerIndicatorVerifyAccount: string;
|
|
336
347
|
};
|
|
337
348
|
dimensions: {
|
|
338
349
|
modalBottomBarButtonHeight: string;
|
|
@@ -431,6 +442,9 @@ export declare const useActiveTheme: () => {
|
|
|
431
442
|
notification: string;
|
|
432
443
|
qrCode: string;
|
|
433
444
|
buttonFocusedShadow: string;
|
|
445
|
+
buttonHoverShadow: string;
|
|
446
|
+
buttonDisabledShadow: string;
|
|
447
|
+
selectedDropdownItem: string;
|
|
434
448
|
};
|
|
435
449
|
spacing: {
|
|
436
450
|
modalBaseHorizontalPadding: string;
|
|
@@ -544,6 +558,10 @@ export declare const useActiveTheme: () => {
|
|
|
544
558
|
fiatAccountIconFill: string;
|
|
545
559
|
fiatAccountGradientFrom: string;
|
|
546
560
|
fiatAccountGradientTo: string;
|
|
561
|
+
spinnerBackground: string;
|
|
562
|
+
spinnerIndicator: string;
|
|
563
|
+
spinnerBackgroundVerifyAccount: string;
|
|
564
|
+
spinnerIndicatorVerifyAccount: string;
|
|
547
565
|
};
|
|
548
566
|
dimensions: {
|
|
549
567
|
modalBottomBarButtonHeight: string;
|
|
@@ -642,6 +660,9 @@ export declare const useActiveTheme: () => {
|
|
|
642
660
|
notification: string;
|
|
643
661
|
qrCode: string;
|
|
644
662
|
buttonFocusedShadow: string;
|
|
663
|
+
buttonHoverShadow: string;
|
|
664
|
+
buttonDisabledShadow: string;
|
|
665
|
+
selectedDropdownItem: string;
|
|
645
666
|
};
|
|
646
667
|
spacing: {
|
|
647
668
|
modalBaseHorizontalPadding: 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";
|
|
@@ -3,128 +3,131 @@ import {
|
|
|
3
3
|
zealWallet
|
|
4
4
|
} from "./chunk-RNBEDQHF.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import {
|
|
9
|
-
talismanWallet
|
|
10
|
-
} from "./chunk-DRO6WYMM.js";
|
|
11
|
-
import {
|
|
12
|
-
subWallet
|
|
13
|
-
} from "./chunk-JWFF4AAL.js";
|
|
6
|
+
walletConnectWallet
|
|
7
|
+
} from "./chunk-NP5QGWNL.js";
|
|
14
8
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./chunk-
|
|
9
|
+
xdefiWallet
|
|
10
|
+
} from "./chunk-BOU4WKRZ.js";
|
|
17
11
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./chunk-
|
|
12
|
+
roninWallet
|
|
13
|
+
} from "./chunk-NWIQNBJU.js";
|
|
20
14
|
import {
|
|
21
15
|
tokenaryWallet
|
|
22
16
|
} from "./chunk-D6AOOO5F.js";
|
|
23
17
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./chunk-
|
|
18
|
+
tahoWallet
|
|
19
|
+
} from "./chunk-ZZZRUXZE.js";
|
|
20
|
+
import {
|
|
21
|
+
tokenPocketWallet
|
|
22
|
+
} from "./chunk-2L43XSW3.js";
|
|
26
23
|
import {
|
|
27
24
|
uniswapWallet
|
|
28
25
|
} from "./chunk-LH7BMNFZ.js";
|
|
29
26
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./chunk-
|
|
27
|
+
trustWallet
|
|
28
|
+
} from "./chunk-VYBAYMP3.js";
|
|
29
|
+
import {
|
|
30
|
+
talismanWallet
|
|
31
|
+
} from "./chunk-DRO6WYMM.js";
|
|
32
|
+
import {
|
|
33
|
+
zerionWallet
|
|
34
|
+
} from "./chunk-SULRQO27.js";
|
|
32
35
|
import {
|
|
33
36
|
rabbyWallet
|
|
34
37
|
} from "./chunk-BBOM42DL.js";
|
|
35
38
|
import {
|
|
36
39
|
rainbowWallet
|
|
37
40
|
} from "./chunk-2KUBG3S6.js";
|
|
41
|
+
import {
|
|
42
|
+
oneInchWallet
|
|
43
|
+
} from "./chunk-OESTDX6I.js";
|
|
38
44
|
import {
|
|
39
45
|
ramperWallet
|
|
40
46
|
} from "./chunk-BYXPFMI7.js";
|
|
41
47
|
import {
|
|
42
|
-
|
|
43
|
-
} from "./chunk-
|
|
44
|
-
import {
|
|
45
|
-
roninWallet
|
|
46
|
-
} from "./chunk-NWIQNBJU.js";
|
|
48
|
+
safepalWallet
|
|
49
|
+
} from "./chunk-NT2HYJKW.js";
|
|
47
50
|
import {
|
|
48
51
|
safeheronWallet
|
|
49
52
|
} from "./chunk-RZIO5TFF.js";
|
|
50
53
|
import {
|
|
51
|
-
|
|
52
|
-
} from "./chunk-
|
|
54
|
+
safeWallet
|
|
55
|
+
} from "./chunk-BQQQL6UD.js";
|
|
53
56
|
import {
|
|
54
|
-
|
|
55
|
-
} from "./chunk-
|
|
57
|
+
subWallet
|
|
58
|
+
} from "./chunk-JWFF4AAL.js";
|
|
56
59
|
import {
|
|
57
|
-
|
|
58
|
-
} from "./chunk-
|
|
60
|
+
mewWallet
|
|
61
|
+
} from "./chunk-OL5ZO7E4.js";
|
|
62
|
+
import {
|
|
63
|
+
injectedWallet
|
|
64
|
+
} from "./chunk-XWUJE7MW.js";
|
|
59
65
|
import {
|
|
60
66
|
metaMaskWallet
|
|
61
67
|
} from "./chunk-2HYNUNAS.js";
|
|
62
68
|
import {
|
|
63
|
-
|
|
64
|
-
} from "./chunk-
|
|
69
|
+
omniWallet
|
|
70
|
+
} from "./chunk-7CUY5G6R.js";
|
|
65
71
|
import {
|
|
66
72
|
oktoWallet
|
|
67
73
|
} from "./chunk-ADIXAKUL.js";
|
|
68
74
|
import {
|
|
69
|
-
|
|
70
|
-
} from "./chunk-
|
|
75
|
+
okxWallet
|
|
76
|
+
} from "./chunk-TDIEHTMB.js";
|
|
71
77
|
import {
|
|
72
|
-
|
|
73
|
-
} from "./chunk-
|
|
78
|
+
phantomWallet
|
|
79
|
+
} from "./chunk-362NXNTM.js";
|
|
74
80
|
import {
|
|
75
81
|
oneKeyWallet
|
|
76
82
|
} from "./chunk-SHBUZ7U7.js";
|
|
77
|
-
import {
|
|
78
|
-
phantomWallet
|
|
79
|
-
} from "./chunk-362NXNTM.js";
|
|
80
83
|
import {
|
|
81
84
|
frameWallet
|
|
82
85
|
} from "./chunk-IFON7E6U.js";
|
|
83
86
|
import {
|
|
84
|
-
|
|
85
|
-
} from "./chunk-
|
|
86
|
-
import {
|
|
87
|
-
desigWallet
|
|
88
|
-
} from "./chunk-OPAZMNA7.js";
|
|
87
|
+
foxWallet
|
|
88
|
+
} from "./chunk-7QONTUXT.js";
|
|
89
89
|
import {
|
|
90
90
|
gateWallet
|
|
91
91
|
} from "./chunk-FKJJQNKX.js";
|
|
92
|
+
import {
|
|
93
|
+
frontierWallet
|
|
94
|
+
} from "./chunk-TCAGNB4B.js";
|
|
92
95
|
import {
|
|
93
96
|
imTokenWallet
|
|
94
97
|
} from "./chunk-COZ7MIQS.js";
|
|
95
98
|
import {
|
|
96
|
-
|
|
97
|
-
} from "./chunk-
|
|
99
|
+
ledgerWallet
|
|
100
|
+
} from "./chunk-BRBKM4PW.js";
|
|
98
101
|
import {
|
|
99
102
|
kresusWallet
|
|
100
103
|
} from "./chunk-MJXPRJZT.js";
|
|
101
104
|
import {
|
|
102
|
-
|
|
103
|
-
} from "./chunk-
|
|
105
|
+
bybitWallet
|
|
106
|
+
} from "./chunk-2STUC6QL.js";
|
|
104
107
|
import {
|
|
105
108
|
clvWallet
|
|
106
109
|
} from "./chunk-M3NZ6R2E.js";
|
|
107
|
-
import {
|
|
108
|
-
coinbaseWallet
|
|
109
|
-
} from "./chunk-H4IRCEZN.js";
|
|
110
|
-
import {
|
|
111
|
-
coreWallet
|
|
112
|
-
} from "./chunk-VR4TBQ6S.js";
|
|
113
110
|
import {
|
|
114
111
|
coin98Wallet
|
|
115
112
|
} from "./chunk-OBOVHCEI.js";
|
|
116
113
|
import {
|
|
117
|
-
|
|
118
|
-
} from "./chunk-
|
|
114
|
+
coinbaseWallet
|
|
115
|
+
} from "./chunk-H4IRCEZN.js";
|
|
116
|
+
import {
|
|
117
|
+
desigWallet
|
|
118
|
+
} from "./chunk-OPAZMNA7.js";
|
|
119
119
|
import {
|
|
120
120
|
dawnWallet
|
|
121
121
|
} from "./chunk-HWPKCIBE.js";
|
|
122
|
+
import {
|
|
123
|
+
coreWallet
|
|
124
|
+
} from "./chunk-VR4TBQ6S.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
133
|
} from "./chunk-A5N6B5UW.js";
|
|
@@ -134,19 +137,16 @@ import {
|
|
|
134
137
|
import {
|
|
135
138
|
bitskiWallet
|
|
136
139
|
} from "./chunk-HS3C7OQV.js";
|
|
137
|
-
import {
|
|
138
|
-
bitverseWallet
|
|
139
|
-
} from "./chunk-3HZRRP4Y.js";
|
|
140
140
|
import {
|
|
141
141
|
bloomWallet
|
|
142
142
|
} from "./chunk-S27IADFU.js";
|
|
143
|
+
import {
|
|
144
|
+
bitverseWallet
|
|
145
|
+
} from "./chunk-3HZRRP4Y.js";
|
|
146
|
+
import "./chunk-23WIEY36.js";
|
|
143
147
|
import {
|
|
144
148
|
braveWallet
|
|
145
149
|
} from "./chunk-BPZ2XJO2.js";
|
|
146
|
-
import {
|
|
147
|
-
bybitWallet
|
|
148
|
-
} from "./chunk-2STUC6QL.js";
|
|
149
|
-
import "./chunk-23WIEY36.js";
|
|
150
150
|
import "./chunk-DNSG5Q7V.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.6.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/
|
|
100
|
-
"@funkit/
|
|
101
|
-
"@funkit/
|
|
102
|
-
"@funkit/
|
|
97
|
+
"@funkit/api-base": "1.11.0",
|
|
98
|
+
"@funkit/core": "2.3.43",
|
|
99
|
+
"@funkit/fun-relay": "2.0.1",
|
|
100
|
+
"@funkit/chains": "0.3.10",
|
|
101
|
+
"@funkit/utils": "1.1.8",
|
|
102
|
+
"@funkit/wagmi-tools": "3.0.65"
|
|
103
103
|
},
|
|
104
104
|
"repository": {
|
|
105
105
|
"type": "git",
|