@funkit/connect 9.4.1 → 9.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 +48 -0
- package/dist/__generated__/default_configs.d.ts +222 -12
- package/dist/__generated__/default_feature_gates.d.ts +1 -0
- package/dist/{chunk-BSF2AKBC.js → chunk-O35RTEEF.js} +1 -1
- package/dist/{chunk-IZC4ZKKQ.js → chunk-S65TG73G.js} +1 -1
- package/dist/{chunk-DBRUJYOQ.js → chunk-VLAOBEJN.js} +1 -1
- package/dist/clients/fanatics.css +4572 -4545
- package/dist/clients/fanatics.js +2 -2
- package/dist/components/Box/Box.d.ts +15 -15
- package/dist/components/Dropdown/BaseDropdown.css.d.ts +0 -2
- package/dist/components/Dropdown/BaseDropdown.d.ts +1 -0
- package/dist/components/Dropdown/ChainDropdown.d.ts +5 -2
- package/dist/components/Dropdown/TokenAndChainDropdown.d.ts +7 -1
- package/dist/components/Dropdown/TokenDropdown.d.ts +3 -1
- package/dist/components/ModalHeightAnimationLayer/WithdrawalModalHeightAnimationWrapper.d.ts +1 -1
- package/dist/components/NewTokenDepositAlert/NewTokenDepositAlert.d.ts +1 -1
- package/dist/css/sprinkles.css.d.ts +15 -15
- package/dist/domains/quoteMode/exactIn.d.ts +2 -0
- package/dist/domains/quoteMode/exactOut.d.ts +2 -0
- package/dist/domains/quoteMode/gasEstimate.d.ts +15 -0
- package/dist/domains/quoteMode/index.d.ts +9 -0
- package/dist/domains/quoteMode/oneToOne.d.ts +21 -0
- package/dist/domains/quoteMode/resolveQuoteMode.d.ts +19 -0
- package/dist/domains/quoteMode/types.d.ts +125 -0
- package/dist/hooks/queries/useFops.d.ts +1 -0
- package/dist/hooks/queries/useWithdrawFops.d.ts +9 -0
- package/dist/hooks/statsig/useFeatureGate.d.ts +3 -6
- package/dist/hooks/track/WithdrawModalEvent.d.ts +3 -0
- package/dist/hooks/useBluvo.d.ts +1215 -5
- package/dist/hooks/useCheckoutTransferInit.d.ts +1 -0
- package/dist/hooks/useSupportedAssets.d.ts +9 -0
- package/dist/hooks/{useTokenChain.d.ts → useTokenAndChainDropdown.d.ts} +8 -2
- package/dist/hooks/useTokenTransfer.d.ts +1 -0
- package/dist/hooks/useTokenTransferConfig.d.ts +2 -0
- package/dist/index.css +4818 -4789
- package/dist/index.js +3503 -2455
- package/dist/modals/CheckoutModal/Brokerage/SelectBrokerage.d.ts +1 -1
- package/dist/modals/CheckoutModal/SelectAsset/SelectAsset.d.ts +1 -1
- package/dist/modals/CheckoutModal/SelectAsset/SelectAssetInfoSection.d.ts +1 -1
- package/dist/modals/CheckoutModal/SourceChange/FormOfPaymentsListLoading.d.ts +6 -0
- package/dist/modals/CheckoutModal/SwappedIframe/SwappedErrorMessage.d.ts +6 -0
- package/dist/modals/CheckoutModal/SwappedIframe/SwappedIframeContainer.d.ts +3 -1
- package/dist/modals/CheckoutModal/TransferToken/TransferToken.d.ts +1 -1
- package/dist/modals/CheckoutModal/stepTransition.d.ts +4 -1
- package/dist/modals/WithdrawalModal/WithdrawalMethodSelect.d.ts +8 -0
- package/dist/modals/{WithdrwalModal → WithdrawalModal}/types.d.ts +1 -0
- package/dist/themes/baseTheme.js +1 -1
- package/dist/themes/darkTheme.js +2 -2
- package/dist/themes/lightTheme.js +2 -2
- package/dist/utils/bluvo.d.ts +99 -1
- package/dist/utils/swapped.d.ts +1 -0
- package/dist/utils/tokenMath.d.ts +38 -0
- package/dist/utils/tokenTransfer/disabledList.d.ts +14 -0
- package/dist/utils/tokenTransfer/types.d.ts +26 -0
- package/dist/wallets/walletConnectors/index.js +40 -40
- package/package.json +11 -10
- /package/dist/modals/{WithdrwalModal → WithdrawalModal}/WithdrawalCallbackSuccess.d.ts +0 -0
- /package/dist/modals/{WithdrwalModal → WithdrawalModal}/WithdrawalContent.d.ts +0 -0
- /package/dist/modals/{WithdrwalModal → WithdrawalModal}/WithdrawalModal.d.ts +0 -0
- /package/dist/modals/{WithdrwalModal → WithdrawalModal}/WithdrawalSuccess.d.ts +0 -0
- /package/dist/modals/{WithdrwalModal → WithdrawalModal}/useWithdrawal.d.ts +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { BluvoExchangeType } from '../../../consts/bluvo';
|
|
2
|
+
import type { BluvoExchangeType } from '../../../consts/bluvo';
|
|
3
3
|
import { type PaymentMethodBrokerageInfo } from '../../../domains/paymentMethods';
|
|
4
4
|
import { type CheckoutModalCommonState, FunCheckoutStep, type ModalStepComponentProps, type ModalStepInfo } from '../stepTransition';
|
|
5
5
|
export type SelectBrokerageState = CheckoutModalCommonState;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type PaymentMethodAccountInfo, type PaymentMethodBrokerageInfo } from '../../../domains/paymentMethods';
|
|
3
|
-
import type { TransferTokenDefault } from '../../../hooks/
|
|
3
|
+
import type { TransferTokenDefault } from '../../../hooks/useTokenAndChainDropdown';
|
|
4
4
|
import { type CheckoutModalCommonState, FunCheckoutStep, type ModalStepComponentProps, type ModalStepInfo } from '../stepTransition';
|
|
5
5
|
export type SelectAssetState = CheckoutModalCommonState & {
|
|
6
6
|
paymentMethodInfo: PaymentMethodBrokerageInfo | PaymentMethodAccountInfo;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type FC } from 'react';
|
|
2
2
|
import type { PaymentMethodInfo } from '../../../domains/paymentMethods';
|
|
3
|
-
import type { TransferTokenDefault } from '../../../hooks/
|
|
3
|
+
import type { TransferTokenDefault } from '../../../hooks/useTokenAndChainDropdown';
|
|
4
4
|
interface SelectAssetInfoSectionProps {
|
|
5
5
|
totalBalance: number;
|
|
6
6
|
paymentMethodInfo: PaymentMethodInfo;
|
|
@@ -7,9 +7,11 @@ export type SwappedIframeState = CheckoutModalCommonState & {
|
|
|
7
7
|
selectedPaymentOption: SwappedFormOfPayment;
|
|
8
8
|
/** Payment method type filter to restore when returning to SOURCE_CHANGE */
|
|
9
9
|
paymentMethodTypeFilter?: PaymentMethodType;
|
|
10
|
+
/** Set to true when an error occurs (iframe error or load timeout) */
|
|
11
|
+
error?: boolean;
|
|
10
12
|
};
|
|
11
13
|
export type SwappedIframeNext = {
|
|
12
14
|
success?: boolean;
|
|
13
15
|
};
|
|
14
16
|
export declare const SwappedIframeInfo: ModalStepInfo<FunCheckoutStep.SWAPPED_IFRAME>;
|
|
15
|
-
export declare function SwappedIframeContainer({ modalState, onNext, onBack, onClose, }: ModalStepComponentProps<FunCheckoutStep.SWAPPED_IFRAME>): React.JSX.Element;
|
|
17
|
+
export declare function SwappedIframeContainer({ modalState, onNext, onBack, onClose, setModalState, }: ModalStepComponentProps<FunCheckoutStep.SWAPPED_IFRAME>): React.JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type TransferTokenDefault } from '../../../hooks/
|
|
2
|
+
import { type TransferTokenDefault } from '../../../hooks/useTokenAndChainDropdown';
|
|
3
3
|
import { type CheckoutModalCommonState, FunCheckoutStep, type ModalStepComponentProps, type ModalStepInfo } from '../stepTransition';
|
|
4
4
|
export type TransferTokenState = CheckoutModalCommonState & {
|
|
5
5
|
transferToken?: TransferTokenDefault;
|
|
@@ -58,7 +58,9 @@ export type ModalStepInfo<S extends FunCheckoutStep> = {
|
|
|
58
58
|
/** Hides the close button in the Dialog Title element */
|
|
59
59
|
hideClose?: (startingStep?: FunCheckoutStartingStep) => boolean;
|
|
60
60
|
/** Hides the entire topbar including back button, close button, and title */
|
|
61
|
-
hideTopbar?: () => boolean;
|
|
61
|
+
hideTopbar?: (state: CheckoutModalState<S>) => boolean;
|
|
62
|
+
/** Hides the bottom section (portal target for bottom bar content) */
|
|
63
|
+
hideBottomSection?: (state: CheckoutModalState<S>) => boolean;
|
|
62
64
|
onBack?(state: CheckoutModalState<S>, prevState: CheckoutModalState): CheckoutModalState;
|
|
63
65
|
onNext(state: CheckoutModalState<S>, payload: NextPayload<S>): CheckoutModalState;
|
|
64
66
|
showFullHeight?: boolean;
|
|
@@ -150,6 +152,7 @@ export declare function useTitleConfig<S extends FunCheckoutStep>(checkoutItem:
|
|
|
150
152
|
disableBack: boolean;
|
|
151
153
|
hideClose: boolean;
|
|
152
154
|
hideTopbar: boolean;
|
|
155
|
+
hideBottomSection: boolean;
|
|
153
156
|
showFullHeight: boolean;
|
|
154
157
|
title: string;
|
|
155
158
|
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { SwappedFormOfPayment } from '@funkit/api-base';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
interface WithdrawalMethodSelectProps {
|
|
4
|
+
onCryptoSelect: () => void;
|
|
5
|
+
onCashFopSelect: (fop: SwappedFormOfPayment) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare function WithdrawalMethodSelect({ onCryptoSelect, onCashFopSelect, }: WithdrawalMethodSelectProps): React.JSX.Element;
|
|
8
|
+
export {};
|
package/dist/themes/baseTheme.js
CHANGED
package/dist/themes/darkTheme.js
CHANGED
package/dist/utils/bluvo.d.ts
CHANGED
|
@@ -52,6 +52,104 @@ export declare function getBluvoError<OriginalBluvoError extends {
|
|
|
52
52
|
* @throws - {@link BluvoWithdrawalError} if the response is invalid or if the withdrawal fails
|
|
53
53
|
*
|
|
54
54
|
*/
|
|
55
|
-
export declare const normalizeWithdrawalResponse: (response: BluvoExecuteWithdrawalResponse) =>
|
|
55
|
+
export declare const normalizeWithdrawalResponse: (response: BluvoExecuteWithdrawalResponse) => {
|
|
56
|
+
[key: string]: unknown;
|
|
57
|
+
transactionId: string;
|
|
58
|
+
} | {
|
|
59
|
+
[key: string]: unknown;
|
|
60
|
+
bizNo: string;
|
|
61
|
+
steps: Array<{
|
|
62
|
+
type: import("@bluvo/sdk-ts").TypeEnum3;
|
|
63
|
+
status: import("@bluvo/sdk-ts").StatusEnum4;
|
|
64
|
+
required: boolean;
|
|
65
|
+
metadata?: {
|
|
66
|
+
email?: string;
|
|
67
|
+
emailSent?: boolean;
|
|
68
|
+
qrCodeUrl?: string;
|
|
69
|
+
qrCodeValidSeconds?: number;
|
|
70
|
+
[key: string]: unknown | string | boolean | number | undefined;
|
|
71
|
+
};
|
|
72
|
+
[key: string]: unknown | import("@bluvo/sdk-ts").TypeEnum3 | import("@bluvo/sdk-ts").StatusEnum4 | boolean | {
|
|
73
|
+
email?: string;
|
|
74
|
+
emailSent?: boolean;
|
|
75
|
+
qrCodeUrl?: string;
|
|
76
|
+
qrCodeValidSeconds?: number;
|
|
77
|
+
[key: string]: unknown | string | boolean | number | undefined;
|
|
78
|
+
} | undefined;
|
|
79
|
+
}>;
|
|
80
|
+
relation: import("@bluvo/sdk-ts").RelationEnum;
|
|
81
|
+
mfa?: {
|
|
82
|
+
bizNo?: string;
|
|
83
|
+
verified: {
|
|
84
|
+
EMAIL?: boolean;
|
|
85
|
+
SMS?: boolean;
|
|
86
|
+
GOOGLE?: boolean;
|
|
87
|
+
FACE?: boolean;
|
|
88
|
+
};
|
|
89
|
+
attempts?: Array<{
|
|
90
|
+
method: import("@bluvo/sdk-ts").TypeEnum3;
|
|
91
|
+
status: import("@bluvo/sdk-ts").StatusEnum4;
|
|
92
|
+
createdAt: number;
|
|
93
|
+
validatedAt?: number;
|
|
94
|
+
expiresAt?: number;
|
|
95
|
+
success: boolean;
|
|
96
|
+
}>;
|
|
97
|
+
methods?: Array<{
|
|
98
|
+
method: "EMAIL";
|
|
99
|
+
email: string;
|
|
100
|
+
} | {
|
|
101
|
+
method: "SMS";
|
|
102
|
+
phoneNumber: string;
|
|
103
|
+
} | {
|
|
104
|
+
method: "GOOGLE";
|
|
105
|
+
} | {
|
|
106
|
+
method: "FACE";
|
|
107
|
+
viaMobile: boolean;
|
|
108
|
+
}>;
|
|
109
|
+
};
|
|
110
|
+
} | {
|
|
111
|
+
[key: string]: unknown;
|
|
112
|
+
bizNo?: string;
|
|
113
|
+
steps?: Array<{
|
|
114
|
+
type: string;
|
|
115
|
+
status: import("@bluvo/sdk-ts").StatusEnum4;
|
|
116
|
+
error?: string;
|
|
117
|
+
[key: string]: unknown | string | import("@bluvo/sdk-ts").StatusEnum4 | undefined;
|
|
118
|
+
}>;
|
|
119
|
+
mfa?: {
|
|
120
|
+
bizNo?: string;
|
|
121
|
+
verified: {
|
|
122
|
+
EMAIL?: boolean;
|
|
123
|
+
SMS?: boolean;
|
|
124
|
+
GOOGLE?: boolean;
|
|
125
|
+
FACE?: boolean;
|
|
126
|
+
};
|
|
127
|
+
attempts?: Array<{
|
|
128
|
+
method: import("@bluvo/sdk-ts").TypeEnum3;
|
|
129
|
+
status: import("@bluvo/sdk-ts").StatusEnum4;
|
|
130
|
+
createdAt: number;
|
|
131
|
+
validatedAt?: number;
|
|
132
|
+
expiresAt?: number;
|
|
133
|
+
success: boolean;
|
|
134
|
+
}>;
|
|
135
|
+
methods?: Array<{
|
|
136
|
+
method: "EMAIL";
|
|
137
|
+
email: string;
|
|
138
|
+
} | {
|
|
139
|
+
method: "SMS";
|
|
140
|
+
phoneNumber: string;
|
|
141
|
+
} | {
|
|
142
|
+
method: "GOOGLE";
|
|
143
|
+
} | {
|
|
144
|
+
method: "FACE";
|
|
145
|
+
viaMobile: boolean;
|
|
146
|
+
}>;
|
|
147
|
+
};
|
|
148
|
+
} | {
|
|
149
|
+
[key: string]: unknown;
|
|
150
|
+
valid2FAMethods: Array<string>;
|
|
151
|
+
} | {
|
|
152
|
+
[key: string]: unknown;
|
|
153
|
+
} | undefined;
|
|
56
154
|
export declare const isBluvoWithdrawalError: (error: unknown) => error is BluvoWithdrawalError;
|
|
57
155
|
export {};
|
package/dist/utils/swapped.d.ts
CHANGED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { Dnum } from 'dnum';
|
|
2
|
+
/**
|
|
3
|
+
* Multiply a token amount by a float price, returning the result
|
|
4
|
+
* as a Dnum in `resultDecimals` precision. Uses floor rounding so the
|
|
5
|
+
* displayed value never exceeds the real value.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* // 6.999920 USDC (6 dec) × $1.00 → Dnum representing $6.99 (2 dec, floored)
|
|
9
|
+
* mulByPriceRoundedDown(dnum.from(6.99992, 6), 1.0, 2) // → Dnum [699n, 2]
|
|
10
|
+
*/
|
|
11
|
+
export declare function mulByPriceRoundedDown(amount: Dnum, price: number, resultDecimals: number): Dnum;
|
|
12
|
+
/**
|
|
13
|
+
* Convert a human-readable number to a Dnum.
|
|
14
|
+
* Uses truncation (not rounding) so the result never exceeds the input.
|
|
15
|
+
*/
|
|
16
|
+
export declare function toBaseUnits(amount: number, decimals: number): Dnum;
|
|
17
|
+
/**
|
|
18
|
+
* Like `toBaseUnits` but rounds up instead of truncating.
|
|
19
|
+
* Use for minimum amounts where going below the input would be incorrect.
|
|
20
|
+
*/
|
|
21
|
+
export declare function toBaseUnitsCeil(amount: number, decimals: number): Dnum;
|
|
22
|
+
/**
|
|
23
|
+
* Convert a Dnum to a human-readable number.
|
|
24
|
+
* **Use only at the display boundary** — the result is lossy.
|
|
25
|
+
*/
|
|
26
|
+
export declare function toDisplayNumber(amount: Dnum): number;
|
|
27
|
+
/**
|
|
28
|
+
* Floor a number to the given decimal places.
|
|
29
|
+
* Replaces inlined `Math.floor(x * 100) / 100` patterns.
|
|
30
|
+
*
|
|
31
|
+
* @example floorToDecimals(6.999, 2) → 6.99
|
|
32
|
+
*/
|
|
33
|
+
export declare function floorToDecimals(value: number, decimals: number): number;
|
|
34
|
+
/**
|
|
35
|
+
* Compare two token amounts. Returns true if a > b.
|
|
36
|
+
* Handles different decimal representations.
|
|
37
|
+
*/
|
|
38
|
+
export declare function tokenGreaterThan(a: Dnum, b: Dnum): boolean;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Keys are chainId strings. Values are arrays of token addresses,
|
|
3
|
+
* or ["*"] to disable the entire chain.
|
|
4
|
+
*/
|
|
5
|
+
export type DisabledChainsAndAssets = Record<string, string[]>;
|
|
6
|
+
/** Returns true if an entire chain is disabled (has ["*"]). */
|
|
7
|
+
export declare function isChainDisabled(disabledConfig: DisabledChainsAndAssets, chainId: number | string): boolean;
|
|
8
|
+
/**
|
|
9
|
+
* Returns true if a specific chain + asset combination is disabled.
|
|
10
|
+
* - If the chain has ["*"], the entire chain (and all its assets) is disabled.
|
|
11
|
+
* - If the chain has specific addresses, only those tokens are disabled.
|
|
12
|
+
* - Address comparison is case-insensitive.
|
|
13
|
+
*/
|
|
14
|
+
export declare function isAssetDisabled(disabledConfig: DisabledChainsAndAssets, chainId: number | string, tokenAddress: string): boolean;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { GetSupportedAssetsResponse } from '@funkit/api-base';
|
|
2
|
+
/** Raw asset entry from the Statsig tokentransferconfig */
|
|
3
|
+
export interface TokenTransferAssetConfig {
|
|
4
|
+
address: string;
|
|
5
|
+
}
|
|
6
|
+
/** Raw chain entry from the Statsig tokentransferconfig */
|
|
7
|
+
export interface TokenTransferChainConfig {
|
|
8
|
+
readonly chainId: number;
|
|
9
|
+
readonly isDefault?: boolean;
|
|
10
|
+
readonly assets: readonly TokenTransferAssetConfig[];
|
|
11
|
+
}
|
|
12
|
+
/** The full output of useTokenTransferConfig */
|
|
13
|
+
export interface TokenTransferConfig {
|
|
14
|
+
/** Supported assets filtered by config, keyed by [chainId][address] */
|
|
15
|
+
supportedAssets: GetSupportedAssetsResponse;
|
|
16
|
+
/** Backward-compatible Record<number, string[]> (chainId -> symbol[]) */
|
|
17
|
+
symbolsByChainId: Record<number, string[]>;
|
|
18
|
+
/** Chain IDs in config display order */
|
|
19
|
+
chainIdSortOrder: number[];
|
|
20
|
+
/** Default chain ID (from isDefault on chain entry) */
|
|
21
|
+
defaultChainId: number | undefined;
|
|
22
|
+
/** Token symbols to prioritize at the top of the dropdown */
|
|
23
|
+
priorityTokenSymbols: string[];
|
|
24
|
+
/** True while /assets/supported is still loading */
|
|
25
|
+
isLoading: boolean;
|
|
26
|
+
}
|
|
@@ -6,20 +6,20 @@ import {
|
|
|
6
6
|
zerionWallet
|
|
7
7
|
} from "./chunk-TTHM3WUR.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./chunk-
|
|
9
|
+
tahoWallet
|
|
10
|
+
} from "./chunk-4BMUFNMT.js";
|
|
11
11
|
import {
|
|
12
12
|
tokenPocketWallet
|
|
13
13
|
} from "./chunk-4C7ER452.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import {
|
|
18
|
-
tokenaryWallet
|
|
19
|
-
} from "./chunk-34LO6Q7A.js";
|
|
15
|
+
talismanWallet
|
|
16
|
+
} from "./chunk-6MFOL6EB.js";
|
|
20
17
|
import {
|
|
21
18
|
trustWallet
|
|
22
19
|
} from "./chunk-KO56HCTI.js";
|
|
20
|
+
import {
|
|
21
|
+
tokenaryWallet
|
|
22
|
+
} from "./chunk-34LO6Q7A.js";
|
|
23
23
|
import {
|
|
24
24
|
uniswapWallet
|
|
25
25
|
} from "./chunk-NHLG5PVD.js";
|
|
@@ -29,21 +29,21 @@ import {
|
|
|
29
29
|
import {
|
|
30
30
|
xdefiWallet
|
|
31
31
|
} from "./chunk-O7RSASRH.js";
|
|
32
|
-
import {
|
|
33
|
-
rainbowWallet
|
|
34
|
-
} from "./chunk-GSHSWVEG.js";
|
|
35
32
|
import {
|
|
36
33
|
rabbyWallet
|
|
37
34
|
} from "./chunk-WFNPWKU3.js";
|
|
35
|
+
import {
|
|
36
|
+
rainbowWallet
|
|
37
|
+
} from "./chunk-GSHSWVEG.js";
|
|
38
38
|
import {
|
|
39
39
|
ramperWallet
|
|
40
40
|
} from "./chunk-R4S234FL.js";
|
|
41
|
-
import {
|
|
42
|
-
safeWallet
|
|
43
|
-
} from "./chunk-YKVWTGU7.js";
|
|
44
41
|
import {
|
|
45
42
|
roninWallet
|
|
46
43
|
} from "./chunk-PKMAPNN6.js";
|
|
44
|
+
import {
|
|
45
|
+
safeWallet
|
|
46
|
+
} from "./chunk-YKVWTGU7.js";
|
|
47
47
|
import {
|
|
48
48
|
safeheronWallet
|
|
49
49
|
} from "./chunk-4R4AARTG.js";
|
|
@@ -51,14 +51,14 @@ import {
|
|
|
51
51
|
safepalWallet
|
|
52
52
|
} from "./chunk-IICWJWGZ.js";
|
|
53
53
|
import {
|
|
54
|
-
|
|
55
|
-
} from "./chunk-
|
|
54
|
+
subWallet
|
|
55
|
+
} from "./chunk-XBLHZICW.js";
|
|
56
|
+
import {
|
|
57
|
+
metaMaskWallet
|
|
58
|
+
} from "./chunk-HETS3KKI.js";
|
|
56
59
|
import {
|
|
57
60
|
mewWallet
|
|
58
61
|
} from "./chunk-HKVDCVCG.js";
|
|
59
|
-
import {
|
|
60
|
-
ledgerWallet
|
|
61
|
-
} from "./chunk-WKCCLGHJ.js";
|
|
62
62
|
import {
|
|
63
63
|
oktoWallet
|
|
64
64
|
} from "./chunk-BVX22N7L.js";
|
|
@@ -80,57 +80,57 @@ import {
|
|
|
80
80
|
import {
|
|
81
81
|
foxWallet
|
|
82
82
|
} from "./chunk-53VYSPXK.js";
|
|
83
|
-
import {
|
|
84
|
-
frameWallet
|
|
85
|
-
} from "./chunk-WDTNOIMF.js";
|
|
86
83
|
import {
|
|
87
84
|
frontierWallet
|
|
88
85
|
} from "./chunk-CJJT7LMT.js";
|
|
86
|
+
import {
|
|
87
|
+
frameWallet
|
|
88
|
+
} from "./chunk-WDTNOIMF.js";
|
|
89
89
|
import {
|
|
90
90
|
gateWallet
|
|
91
91
|
} from "./chunk-7OARWILZ.js";
|
|
92
92
|
import {
|
|
93
93
|
imTokenWallet
|
|
94
94
|
} from "./chunk-IUVO4IN3.js";
|
|
95
|
-
import {
|
|
96
|
-
kresusWallet
|
|
97
|
-
} from "./chunk-G4V5B6YC.js";
|
|
98
95
|
import {
|
|
99
96
|
injectedWallet
|
|
100
97
|
} from "./chunk-W6MXINYY.js";
|
|
101
98
|
import {
|
|
102
|
-
|
|
103
|
-
} from "./chunk-
|
|
99
|
+
kresusWallet
|
|
100
|
+
} from "./chunk-G4V5B6YC.js";
|
|
104
101
|
import {
|
|
105
|
-
|
|
106
|
-
} from "./chunk-
|
|
102
|
+
ledgerWallet
|
|
103
|
+
} from "./chunk-WKCCLGHJ.js";
|
|
104
|
+
import {
|
|
105
|
+
clvWallet
|
|
106
|
+
} from "./chunk-GVOQTORD.js";
|
|
107
107
|
import {
|
|
108
108
|
coin98Wallet
|
|
109
109
|
} from "./chunk-6YO27XOM.js";
|
|
110
|
+
import {
|
|
111
|
+
bitgetWallet
|
|
112
|
+
} from "./chunk-HOPH3TQ3.js";
|
|
110
113
|
import {
|
|
111
114
|
coinbaseWallet
|
|
112
115
|
} from "./chunk-RZXMOPIV.js";
|
|
113
116
|
import {
|
|
114
|
-
|
|
115
|
-
} from "./chunk-
|
|
117
|
+
coreWallet
|
|
118
|
+
} from "./chunk-GH4M6FTK.js";
|
|
116
119
|
import {
|
|
117
120
|
dawnWallet
|
|
118
121
|
} from "./chunk-TFVCCI2D.js";
|
|
119
|
-
import {
|
|
120
|
-
coreWallet
|
|
121
|
-
} from "./chunk-GH4M6FTK.js";
|
|
122
122
|
import {
|
|
123
123
|
desigWallet
|
|
124
124
|
} from "./chunk-JYVLYSH3.js";
|
|
125
125
|
import {
|
|
126
126
|
enkryptWallet
|
|
127
127
|
} from "./chunk-W6TXXLCO.js";
|
|
128
|
-
import {
|
|
129
|
-
argentWallet
|
|
130
|
-
} from "./chunk-VUOAIUZE.js";
|
|
131
128
|
import {
|
|
132
129
|
bifrostWallet
|
|
133
130
|
} from "./chunk-EKJHJFRN.js";
|
|
131
|
+
import {
|
|
132
|
+
argentWallet
|
|
133
|
+
} from "./chunk-VUOAIUZE.js";
|
|
134
134
|
import {
|
|
135
135
|
bitskiWallet
|
|
136
136
|
} from "./chunk-A7FNGC4A.js";
|
|
@@ -140,13 +140,13 @@ import {
|
|
|
140
140
|
import {
|
|
141
141
|
bloomWallet
|
|
142
142
|
} from "./chunk-UB2SSFH7.js";
|
|
143
|
-
import {
|
|
144
|
-
bitgetWallet
|
|
145
|
-
} from "./chunk-HOPH3TQ3.js";
|
|
146
|
-
import "./chunk-MAPXJUOO.js";
|
|
147
143
|
import {
|
|
148
144
|
braveWallet
|
|
149
145
|
} from "./chunk-ZRNBHLUU.js";
|
|
146
|
+
import {
|
|
147
|
+
bybitWallet
|
|
148
|
+
} from "./chunk-6UCI7GM6.js";
|
|
149
|
+
import "./chunk-MAPXJUOO.js";
|
|
150
150
|
import "./chunk-BAVE62IL.js";
|
|
151
151
|
import "./chunk-KV4HGYM3.js";
|
|
152
152
|
export {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@funkit/connect",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.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",
|
|
@@ -81,8 +81,8 @@
|
|
|
81
81
|
"wagmi": "2.17.2"
|
|
82
82
|
},
|
|
83
83
|
"dependencies": {
|
|
84
|
-
"@bluvo/react": "
|
|
85
|
-
"@bluvo/sdk-ts": "
|
|
84
|
+
"@bluvo/react": "3.0.0-beta.1",
|
|
85
|
+
"@bluvo/sdk-ts": "3.0.0-beta.1",
|
|
86
86
|
"@datadog/browser-logs": "5.22.0",
|
|
87
87
|
"@number-flow/react": "^0.5.5",
|
|
88
88
|
"@radix-ui/react-dropdown-menu": "^2.1.7",
|
|
@@ -94,6 +94,7 @@
|
|
|
94
94
|
"@vanilla-extract/dynamic": "2.1.0",
|
|
95
95
|
"@vanilla-extract/sprinkles": "1.6.1",
|
|
96
96
|
"clsx": "2.1.1",
|
|
97
|
+
"dnum": "2.17.0",
|
|
97
98
|
"i18next": "25.6.2",
|
|
98
99
|
"motion": "^12.0.11",
|
|
99
100
|
"qrcode": "1.5.3",
|
|
@@ -103,10 +104,10 @@
|
|
|
103
104
|
"ua-parser-js": "^1.0.37",
|
|
104
105
|
"use-debounce": "^10.0.5",
|
|
105
106
|
"uuid": "^9.0.1",
|
|
106
|
-
"@funkit/
|
|
107
|
-
"@funkit/fun-relay": "2.6.
|
|
108
|
-
"@funkit/utils": "1.2.
|
|
109
|
-
"@funkit/
|
|
107
|
+
"@funkit/chains": "1.1.2",
|
|
108
|
+
"@funkit/fun-relay": "2.6.5",
|
|
109
|
+
"@funkit/utils": "1.2.7",
|
|
110
|
+
"@funkit/api-base": "3.0.5"
|
|
110
111
|
},
|
|
111
112
|
"repository": {
|
|
112
113
|
"type": "git",
|
|
@@ -121,9 +122,9 @@
|
|
|
121
122
|
"predev": "pnpm statsig:generate",
|
|
122
123
|
"dev": "pnpm build:watch & pnpm typegen:watch",
|
|
123
124
|
"prebuild": "pnpm statsig:generate && pnpm typegen",
|
|
124
|
-
"typecheck": "pnpm tsc --
|
|
125
|
-
"typegen": "tsc --emitDeclarationOnly && tsc-alias
|
|
126
|
-
"typegen:watch": "tsc --emitDeclarationOnly --watch",
|
|
125
|
+
"typecheck": "pnpm tsc --noEmit",
|
|
126
|
+
"typegen": "tsc --project tsconfig.build.json --emitDeclarationOnly && tsc-alias",
|
|
127
|
+
"typegen:watch": "tsc --project tsconfig.build.json --emitDeclarationOnly --watch",
|
|
127
128
|
"lint": "biome check",
|
|
128
129
|
"lint:fix": "biome check --fix",
|
|
129
130
|
"test": "vitest",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|