@funkit/connect 9.24.0-next.0 → 9.24.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 +24 -4
- package/dist/clients/aave.d.ts +9 -0
- package/dist/clients/aave.js +4 -1
- package/dist/clients/{chunk-4HCOSF4M.js → chunk-7G3QEQFB.js} +2 -2
- package/dist/clients/{chunk-7FIVHWNC.js → chunk-7UIDHSYG.js} +47 -0
- package/dist/clients/{chunk-UUHGOBKZ.js → chunk-AHYOV7AV.js} +2 -1
- package/dist/clients/chunk-JN6WUYT2.js +1110 -0
- package/dist/clients/{chunk-S7FRYR55.js → chunk-ME4OAQIY.js} +1 -1
- package/dist/clients/{chunk-CEBG7XQ5.js → chunk-MXPZTW2H.js} +212 -1126
- package/dist/clients/{chunk-KWIR3HO4.js → chunk-VJZW3MA3.js} +1 -1
- package/dist/clients/{chunk-MRBN4XCA.js → chunk-ZEXZQOAO.js} +1 -1
- package/dist/clients/fanatics.css +1 -1
- package/dist/clients/fanatics.js +4 -6
- package/dist/clients/lighter.css +2821 -1
- package/dist/clients/lighter.js +44 -28
- package/dist/clients/polymarket/PolymarketDepositAccountDropdown.css +217 -217
- package/dist/clients/polymarket/PolymarketDepositAccountDropdown.js +7 -8
- package/dist/clients/polymarket/createPolymarketDepositConfig.js +3 -3
- package/dist/clients/polymarket/index.css +217 -217
- package/dist/clients/polymarket/index.js +7 -8
- package/dist/clients/polymarket/polymarket.js +2 -2
- package/dist/clients/polymarket/usePolymarketAccountBalances.js +2 -2
- package/dist/clients/rolly.js +1 -1
- package/dist/components/FunTooltip/FunTooltip.d.ts +10 -5
- package/dist/components/FunTransactionSummary/DestinationHealthFactorRow.d.ts +15 -0
- package/dist/components/FunTransactionSummary/DestinationYieldRows.d.ts +1 -0
- package/dist/components/FunTransactionSummary/PaymentMethodSummary.d.ts +8 -1
- package/dist/domains/aave.d.ts +14 -9
- package/dist/hooks/track/WithdrawModalEvent.d.ts +9 -1
- package/dist/index.css +11 -11
- package/dist/index.js +4369 -3884
- package/dist/modals/WithdrawalModal/LighterWithdrawal.d.ts +25 -4
- package/dist/modals/WithdrawalModal/WithdrawAmountInput.d.ts +10 -1
- package/dist/modals/WithdrawalModal/WithdrawalContent.d.ts +8 -1
- package/dist/modals/WithdrawalModal/WithdrawalSwappedIframeController.d.ts +11 -0
- package/dist/modals/WithdrawalModal/types.d.ts +1 -0
- package/dist/providers/FunkitCheckoutContext/types.d.ts +26 -12
- package/dist/utils/customer.d.ts +6 -0
- package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
- package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
- package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
- package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
- package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
- package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
- package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
- package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
- package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -2
- package/dist/wallets/walletConnectors/index.js +48 -48
- package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
- package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
- package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
- package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +2 -2
- package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
- package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
- package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
- package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
- package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
- package/package.json +4 -4
- package/dist/__generated__/default_configs.d.ts +0 -901
- package/dist/__generated__/default_feature_gates.d.ts +0 -20
- package/dist/clients/chunk-25ICASD7.js +0 -2371
- package/dist/clients/chunk-3GO74QTP.js +0 -2382
- package/dist/clients/chunk-7GWX2ZS4.js +0 -69
- package/dist/clients/chunk-7HNGV6JU.js +0 -54
- package/dist/clients/chunk-A32VN2DX.js +0 -2382
- package/dist/clients/chunk-ELLXM7RO.js +0 -186
- package/dist/clients/chunk-GGXTLJ7J.js +0 -290
- package/dist/clients/chunk-GUWXVR5S.js +0 -186
- package/dist/clients/chunk-HRWCNZJA.js +0 -230
- package/dist/clients/chunk-JBWB54MX.js +0 -69
- package/dist/clients/chunk-JD3FIVZ7.js +0 -69
- package/dist/clients/chunk-JTGKAPID.js +0 -2382
- package/dist/clients/chunk-L7PABCF2.js +0 -54
- package/dist/clients/chunk-LII3SVUH.js +0 -230
- package/dist/clients/chunk-NCUPPJ2Z.js +0 -2382
- package/dist/clients/chunk-NPPIETHZ.js +0 -54
- package/dist/clients/chunk-NUJ6ZM5F.js +0 -186
- package/dist/clients/chunk-UVWNEQMD.js +0 -186
- package/dist/clients/chunk-VVTNR7YH.js +0 -2382
- package/dist/clients/chunk-YYMIRDCQ.js +0 -230
- package/dist/clients/chunk-ZNVFASTH.js +0 -54
- package/dist/clients/nado.d.ts +0 -78
- package/dist/clients/nado.js +0 -107
- package/dist/clients/polymarket.d.ts +0 -161
- package/dist/clients/polymarket.js +0 -688
- package/dist/interfaces/logTransport.d.ts +0 -51
- package/dist/interfaces/swapped-transport.d.ts +0 -78
- package/dist/modals/CheckoutModal/SourceChange/EmptyFormOfPaymentsMessage.d.ts +0 -4
- package/dist/modals/CheckoutModal/SourceChange/useUpdateSourceAssetForCard.d.ts +0 -4
- package/dist/modals/CheckoutModal/SwappedIframe/SwappedErrorMessage.d.ts +0 -6
- package/dist/utils/flags/resolver.d.ts +0 -34
- package/dist/wallets/walletConnectors/chunk-2VP2F6EK.js +0 -70
- package/dist/wallets/walletConnectors/chunk-4T6ZSRJF.js +0 -69
- package/dist/wallets/walletConnectors/chunk-6BW3HLBG.js +0 -96
- package/dist/wallets/walletConnectors/chunk-CCQV2ZET.js +0 -218
- package/dist/wallets/walletConnectors/chunk-CPI4TD43.js +0 -99
- package/dist/wallets/walletConnectors/chunk-F5XEEVG6.js +0 -98
- package/dist/wallets/walletConnectors/chunk-HNRB7KJU.js +0 -92
- package/dist/wallets/walletConnectors/chunk-HTHAK6XB.js +0 -93
- package/dist/wallets/walletConnectors/chunk-MIQTHJ6X.js +0 -66
- package/dist/wallets/walletConnectors/chunk-RB3HR4R2.js +0 -95
- package/dist/wallets/walletConnectors/chunk-RVOY537T.js +0 -100
- package/dist/wallets/walletConnectors/chunk-STVVP43G.js +0 -94
- package/dist/wallets/walletConnectors/chunk-UK7C2JXW.js +0 -87
- package/dist/wallets/walletConnectors/chunk-VAPGUPHO.js +0 -92
- package/dist/wallets/walletConnectors/chunk-VTM6EECM.js +0 -110
- package/dist/wallets/walletConnectors/chunk-X6CGV36L.js +0 -103
- package/dist/wallets/walletConnectors/chunk-YEZM4CK4.js +0 -96
- package/dist/wallets/walletConnectors/chunk-ZNX4EMPB.js +0 -106
|
@@ -8,6 +8,24 @@ import React from 'react';
|
|
|
8
8
|
import type { CustomWithdrawalConfig, WalletWithdrawalConfig } from '../../providers/FunkitCheckoutContext';
|
|
9
9
|
import type { LighterShare } from '../../utils/customer';
|
|
10
10
|
import type { SourceTokenOption } from './WithdrawAmountInput';
|
|
11
|
+
/** Stable method ids for the Fast / Secure options (used for tracking + switching). */
|
|
12
|
+
export declare const LIGHTER_FAST_METHOD_ID = "lighter-fast";
|
|
13
|
+
export declare const LIGHTER_SECURE_METHOD_ID = "lighter-secure";
|
|
14
|
+
/**
|
|
15
|
+
* Upper bound on a single Lighter Fast withdrawal, in USD. Amounts above this
|
|
16
|
+
* block the CTA and surface the "submit a Secure withdrawal" footer. Fast is
|
|
17
|
+
* USDC Perps only (price = 1), so this is also the token-unit cap.
|
|
18
|
+
* {@link LIGHTER_FAST_MAX_WITHDRAWAL_LABEL} must stay in sync with this value.
|
|
19
|
+
*/
|
|
20
|
+
export declare const LIGHTER_FAST_MAX_WITHDRAWAL_USD = 3000000;
|
|
21
|
+
/**
|
|
22
|
+
* Footer shown beneath the CTA when a Lighter Fast amount exceeds the $3M cap.
|
|
23
|
+
* Renders as the `description` of a FunNotification, which supplies the shared
|
|
24
|
+
* notification typography; offers an inline link to switch to the Secure method.
|
|
25
|
+
*/
|
|
26
|
+
export declare function LighterFastMaxExceededMessage({ onSwitchToSecure, }: {
|
|
27
|
+
onSwitchToSecure: () => void;
|
|
28
|
+
}): React.JSX.Element;
|
|
11
29
|
/** Free (withdrawable) balance for a single Lighter asset: balance - locked. */
|
|
12
30
|
export declare function freeBalance(balance: string, lockedBalance: string): string;
|
|
13
31
|
/**
|
|
@@ -84,6 +102,7 @@ export declare function useLighterWithdrawal(config: FunkitWithdrawalConfig, set
|
|
|
84
102
|
lighterBalances: Record<string, string>;
|
|
85
103
|
lighterAssets: import("../../utils/customer").LighterAsset[];
|
|
86
104
|
lighterFastUnstakedFee: number;
|
|
105
|
+
invalidateLighterAccount: () => void;
|
|
87
106
|
};
|
|
88
107
|
/**
|
|
89
108
|
* Resolves the source-token dropdown options for a Lighter customer.
|
|
@@ -93,15 +112,17 @@ export declare function useLighterSourceTokenOptions(config: FunkitWithdrawalCon
|
|
|
93
112
|
symbol: string;
|
|
94
113
|
}[]): SourceTokenOption[] | undefined;
|
|
95
114
|
/**
|
|
96
|
-
* Lighter Secure:
|
|
97
|
-
*
|
|
115
|
+
* Lighter Secure: recipient address, locked to the connected wallet. A
|
|
116
|
+
* read-only `FunInput` (not a `<div>`) keeps it focusable and announced by
|
|
117
|
+
* screen readers; the hover tooltip explains the lock.
|
|
98
118
|
*/
|
|
99
119
|
export declare function LighterSecureAddressDisplay({ address }: {
|
|
100
120
|
address: string;
|
|
101
121
|
}): React.JSX.Element;
|
|
102
122
|
/**
|
|
103
|
-
* Lighter Secure: display-only receive token + chain. Both are locked —
|
|
104
|
-
* token matches the source asset, chain is always
|
|
123
|
+
* Lighter Secure: display-only receive token + chain. Both are locked — the
|
|
124
|
+
* token always matches the source asset, and the destination chain is always
|
|
125
|
+
* Ethereum mainnet. Each field surfaces a hover tooltip explaining the lock.
|
|
105
126
|
*/
|
|
106
127
|
export declare function LighterSecureReceiveDisplay({ sourceTokenSymbol, }: {
|
|
107
128
|
sourceTokenSymbol: string;
|
|
@@ -6,13 +6,22 @@ export interface SourceTokenOption {
|
|
|
6
6
|
label: string;
|
|
7
7
|
iconSrc?: string;
|
|
8
8
|
}
|
|
9
|
-
export declare function WithdrawAmountInput({ withdrawalInputAmount, setWithdrawalInputAmount, sourceTokenBalance, isWithdrawAmountTooLow, isWithdrawAmountValid, minWithdrawalDisplayValue, config, sourceTokenOptions, onSourceTokenChange, selectedSourceToken, sourceTokenUsdPrice, }: {
|
|
9
|
+
export declare function WithdrawAmountInput({ withdrawalInputAmount, setWithdrawalInputAmount, sourceTokenBalance, isWithdrawAmountTooLow, isWithdrawAmountTooHigh, isWithdrawAmountAboveBalance, isWithdrawAmountValid, minWithdrawalDisplayValue, config, sourceTokenOptions, onSourceTokenChange, selectedSourceToken, sourceTokenUsdPrice, }: {
|
|
10
10
|
config: Exclude<FunkitWithdrawalConfig, MultiMethodWithdrawalConfig>;
|
|
11
11
|
sourceTokenBalance: string;
|
|
12
12
|
/** User-entered amount in source-token units (e.g. "0.5" for 0.5 ETH). */
|
|
13
13
|
withdrawalInputAmount: string;
|
|
14
14
|
setWithdrawalInputAmount: (s: string) => void;
|
|
15
15
|
isWithdrawAmountTooLow: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Amount exceeds the configured max. The over-cap explanation lives in the
|
|
18
|
+
* bottom-bar footer, so the inline input error is suppressed — but only when
|
|
19
|
+
* the amount is otherwise affordable. If it also exceeds the balance,
|
|
20
|
+
* "Insufficient balance" still shows (see below).
|
|
21
|
+
*/
|
|
22
|
+
isWithdrawAmountTooHigh: boolean;
|
|
23
|
+
/** Amount exceeds the available balance — takes priority over the over-cap hint. */
|
|
24
|
+
isWithdrawAmountAboveBalance: boolean;
|
|
16
25
|
isWithdrawAmountValid: boolean;
|
|
17
26
|
/**
|
|
18
27
|
* Minimum-withdrawal value formatted for display. Token units when the
|
|
@@ -11,6 +11,11 @@ interface WithdrawContentProps {
|
|
|
11
11
|
onContinue: (withdrawal: WithdrawalFormData, txHash: Hex) => void;
|
|
12
12
|
config: FunkitWithdrawalConfig;
|
|
13
13
|
withdrawalItem: FunkitActiveWithdrawalItem | null;
|
|
14
|
+
/**
|
|
15
|
+
* Switch a Lighter Fast withdrawal to the Lighter Secure method. Wired by
|
|
16
|
+
* {@link WithdrawalModal}; used by the over-$3M footer.
|
|
17
|
+
*/
|
|
18
|
+
onSwitchToSecure?: () => void;
|
|
14
19
|
}
|
|
15
20
|
/**
|
|
16
21
|
* Converts a source-token amount string to its USD value using the given unit
|
|
@@ -40,6 +45,8 @@ export declare function isValidWithdrawal({ config, checkoutConfig, withdrawalIn
|
|
|
40
45
|
isValidAddress: boolean;
|
|
41
46
|
isValidAddressAndChain: boolean;
|
|
42
47
|
isWithdrawAmountTooLow: boolean;
|
|
48
|
+
isWithdrawAmountTooHigh: boolean;
|
|
49
|
+
isWithdrawAmountAboveBalance: boolean;
|
|
43
50
|
isWithdrawAmountValid: boolean;
|
|
44
51
|
minWithdrawalDisplayValue: number;
|
|
45
52
|
};
|
|
@@ -55,5 +62,5 @@ export declare const useFrozenSourceTokenBalance: ({ isWithdrawing, sourceTokenB
|
|
|
55
62
|
* Currently returns a single option per config; expands when Lighter exposes
|
|
56
63
|
* multi-asset API support.
|
|
57
64
|
*/
|
|
58
|
-
export declare const WithdrawContent: ({ onContinue, config, withdrawalItem, }: WithdrawContentProps) => React.JSX.Element;
|
|
65
|
+
export declare const WithdrawContent: ({ onContinue, config, withdrawalItem, onSwitchToSecure, }: WithdrawContentProps) => React.JSX.Element;
|
|
59
66
|
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { SwappedFormOfPayment } from '@funkit/api-base';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
interface WithdrawalSwappedIframeControllerProps {
|
|
4
|
+
selectedFop: SwappedFormOfPayment;
|
|
5
|
+
isError: boolean;
|
|
6
|
+
onError: () => void;
|
|
7
|
+
onBack: () => void;
|
|
8
|
+
onClose: () => void;
|
|
9
|
+
}
|
|
10
|
+
export declare function WithdrawalSwappedIframeController({ selectedFop, isError, onError, onBack, onClose, }: WithdrawalSwappedIframeControllerProps): React.JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -116,6 +116,20 @@ export interface FunkitCheckoutConfig extends Omit<ApiFunkitCheckoutConfig, 'gen
|
|
|
116
116
|
/** Whether the supply is/will be enabled as collateral for the user. */
|
|
117
117
|
collateralizationEnabled?: boolean;
|
|
118
118
|
};
|
|
119
|
+
/**
|
|
120
|
+
* Integrator-provided health-factor resolver for a lending supply (e.g. Aave).
|
|
121
|
+
* The SDK never computes health factor — the integrator owns the math (run
|
|
122
|
+
* against live position data with the protocol's own library, e.g.
|
|
123
|
+
* `@aave/math-utils`) so it matches the protocol app exactly. The SDK calls
|
|
124
|
+
* this at the confirmation step with the live supply amount (the target
|
|
125
|
+
* asset, human units) and renders the result as a Health factor (before →
|
|
126
|
+
* after) row. Return `null` when the position data isn't ready, or for an
|
|
127
|
+
* infinite/no-debt health factor return `"-1"` (rendered as ∞).
|
|
128
|
+
*/
|
|
129
|
+
resolveHealthFactor?: (targetAssetHumanAmount: string) => {
|
|
130
|
+
before: string | null;
|
|
131
|
+
after: string | null;
|
|
132
|
+
} | null;
|
|
119
133
|
/** Icon to show in the checkout modal (50px x 50px). If not specified, no icon will be shown. **/
|
|
120
134
|
iconSrc?: null | string;
|
|
121
135
|
/** Title of the item being checked out. e.g. Staked Ether, XYZ Option, Solar Bond ABC **/
|
|
@@ -197,6 +211,12 @@ export interface WithdrawalConfigBase {
|
|
|
197
211
|
* Used when the source token can vary (e.g. Lighter Secure withdrawal).
|
|
198
212
|
*/
|
|
199
213
|
getMinWithdrawalAmount?: (symbol: string) => number;
|
|
214
|
+
/**
|
|
215
|
+
* Maximum USD value allowed for a single withdrawal. Amounts above this block
|
|
216
|
+
* the CTA (which switches to "Max amount exceeded"). Omit for no upper bound.
|
|
217
|
+
* Mirrors {@link getMinWithdrawalUSD}.
|
|
218
|
+
*/
|
|
219
|
+
getMaxWithdrawalUSD?: (asset: TokenInfo) => number;
|
|
200
220
|
/**
|
|
201
221
|
* Returns the current withdrawable balance for the source token.
|
|
202
222
|
* Called on every render — use a ref-backed stable callback so the value
|
|
@@ -204,19 +224,13 @@ export interface WithdrawalConfigBase {
|
|
|
204
224
|
*/
|
|
205
225
|
withdrawalSourceTokenBalance?: () => string | number;
|
|
206
226
|
/**
|
|
207
|
-
* Optional async hook fired
|
|
208
|
-
*
|
|
209
|
-
*
|
|
210
|
-
* async work completes before signing begins.
|
|
211
|
-
*
|
|
212
|
-
* The motivating case is venues where automated activity shares the signing
|
|
213
|
-
* account: cancelling in-flight strategies here guarantees the withdrawal's
|
|
214
|
-
* signing nonce is still valid by the time the wallet prompt fires.
|
|
227
|
+
* Optional async hook fired when the user commits to the withdrawal — after
|
|
228
|
+
* the withdraw CTA, but before any nonce fetch, wallet signature, or tx
|
|
229
|
+
* submission. Awaited, so async work completes before signing begins.
|
|
215
230
|
*
|
|
216
|
-
* Throw to abort the
|
|
217
|
-
*
|
|
218
|
-
*
|
|
219
|
-
* {@link WalletWithdrawalConfig['preWithdrawalAction']}.
|
|
231
|
+
* Throw to abort: the error message is surfaced to the user verbatim and no
|
|
232
|
+
* nonce is consumed. Runs on every withdrawal method, before
|
|
233
|
+
* {@link WalletWithdrawalConfig.preWithdrawalAction}.
|
|
220
234
|
*/
|
|
221
235
|
onBeforeSign?: () => Promise<void> | void;
|
|
222
236
|
}
|
package/dist/utils/customer.d.ts
CHANGED
|
@@ -414,3 +414,9 @@ export declare function useLighterAccounts({ address, }: {
|
|
|
414
414
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
415
415
|
promise: Promise<LighterAccountsByL1AddressResponse>;
|
|
416
416
|
};
|
|
417
|
+
/**
|
|
418
|
+
* Returns a callback that invalidates the cached Lighter account queries so the
|
|
419
|
+
* balance refetches eagerly (e.g. right after a withdrawal). No-op for
|
|
420
|
+
* non-Lighter customers.
|
|
421
|
+
*/
|
|
422
|
+
export declare function useInvalidateLighterAccount(): () => void;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
bifrostWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-OLZ7626J.js";
|
|
4
|
+
} from "../chunk-IULPZP2Q.js";
|
|
6
5
|
import "../chunk-N4IJLYFY.js";
|
|
6
|
+
import "../chunk-OLZ7626J.js";
|
|
7
7
|
import "../chunk-IGKXZBTA.js";
|
|
8
8
|
export {
|
|
9
9
|
bifrostWallet
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
bitgetWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-OLZ7626J.js";
|
|
4
|
+
} from "../chunk-TKB2OY6G.js";
|
|
6
5
|
import "../chunk-N4IJLYFY.js";
|
|
6
|
+
import "../chunk-OLZ7626J.js";
|
|
7
7
|
import "../chunk-IGKXZBTA.js";
|
|
8
8
|
export {
|
|
9
9
|
bitgetWallet
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
bybitWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-OLZ7626J.js";
|
|
4
|
+
} from "../chunk-OX37G4YT.js";
|
|
6
5
|
import "../chunk-N4IJLYFY.js";
|
|
6
|
+
import "../chunk-OLZ7626J.js";
|
|
7
7
|
import "../chunk-IGKXZBTA.js";
|
|
8
8
|
export {
|
|
9
9
|
bybitWallet
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
coin98Wallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-OLZ7626J.js";
|
|
4
|
+
} from "../chunk-WAHGI5L7.js";
|
|
6
5
|
import "../chunk-N4IJLYFY.js";
|
|
6
|
+
import "../chunk-OLZ7626J.js";
|
|
7
7
|
import "../chunk-IGKXZBTA.js";
|
|
8
8
|
export {
|
|
9
9
|
coin98Wallet
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
frontierWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-OLZ7626J.js";
|
|
4
|
+
} from "../chunk-AVDUNQUW.js";
|
|
6
5
|
import "../chunk-N4IJLYFY.js";
|
|
6
|
+
import "../chunk-OLZ7626J.js";
|
|
7
7
|
import "../chunk-IGKXZBTA.js";
|
|
8
8
|
export {
|
|
9
9
|
frontierWallet
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "./chunk-
|
|
3
|
+
zealWallet
|
|
4
|
+
} from "./chunk-52QXXLDS.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./chunk-
|
|
6
|
+
zerionWallet
|
|
7
|
+
} from "./chunk-SWFF3TWJ.js";
|
|
8
8
|
import {
|
|
9
9
|
tahoWallet
|
|
10
10
|
} from "./chunk-7ZYCBDQ4.js";
|
|
11
|
+
import {
|
|
12
|
+
talismanWallet
|
|
13
|
+
} from "./chunk-4DCO3TGL.js";
|
|
14
|
+
import {
|
|
15
|
+
tokenaryWallet
|
|
16
|
+
} from "./chunk-VH3THHJY.js";
|
|
11
17
|
import {
|
|
12
18
|
tokenPocketWallet
|
|
13
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-WKNQMP4A.js";
|
|
14
20
|
import {
|
|
15
21
|
trustWallet
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import {
|
|
18
|
-
talismanWallet
|
|
19
|
-
} from "./chunk-4DCO3TGL.js";
|
|
22
|
+
} from "./chunk-KCRO2AGO.js";
|
|
20
23
|
import {
|
|
21
24
|
uniswapWallet
|
|
22
25
|
} from "./chunk-Z3PPW6NC.js";
|
|
23
|
-
import {
|
|
24
|
-
tokenaryWallet
|
|
25
|
-
} from "./chunk-VH3THHJY.js";
|
|
26
26
|
import {
|
|
27
27
|
walletConnectWallet
|
|
28
28
|
} from "./chunk-3FCWJRI4.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./chunk-
|
|
32
|
-
import {
|
|
33
|
-
rainbowWallet
|
|
34
|
-
} from "./chunk-2VP2F6EK.js";
|
|
30
|
+
xdefiWallet
|
|
31
|
+
} from "./chunk-JN5I3DNC.js";
|
|
35
32
|
import {
|
|
36
33
|
rabbyWallet
|
|
37
34
|
} from "./chunk-RB66PKPA.js";
|
|
38
35
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./chunk-
|
|
36
|
+
rainbowWallet
|
|
37
|
+
} from "./chunk-W2LCLDPX.js";
|
|
41
38
|
import {
|
|
42
39
|
ramperWallet
|
|
43
40
|
} from "./chunk-OQB55QXP.js";
|
|
41
|
+
import {
|
|
42
|
+
roninWallet
|
|
43
|
+
} from "./chunk-YQFGVZGR.js";
|
|
44
44
|
import {
|
|
45
45
|
safeWallet
|
|
46
46
|
} from "./chunk-RCY66YHF.js";
|
|
@@ -49,13 +49,13 @@ import {
|
|
|
49
49
|
} from "./chunk-76S7R2ND.js";
|
|
50
50
|
import {
|
|
51
51
|
safepalWallet
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-XCNHV3HS.js";
|
|
53
53
|
import {
|
|
54
54
|
subWallet
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-NR2OGDHQ.js";
|
|
56
56
|
import {
|
|
57
57
|
metaMaskWallet
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-YO2K4MBH.js";
|
|
59
59
|
import {
|
|
60
60
|
mewWallet
|
|
61
61
|
} from "./chunk-MQM45ADF.js";
|
|
@@ -64,13 +64,13 @@ import {
|
|
|
64
64
|
} from "./chunk-YWOVAU6O.js";
|
|
65
65
|
import {
|
|
66
66
|
okxWallet
|
|
67
|
-
} from "./chunk-
|
|
68
|
-
import {
|
|
69
|
-
oneInchWallet
|
|
70
|
-
} from "./chunk-QG6ZHI7B.js";
|
|
67
|
+
} from "./chunk-KI5Y2BBF.js";
|
|
71
68
|
import {
|
|
72
69
|
omniWallet
|
|
73
70
|
} from "./chunk-2CX7LX4J.js";
|
|
71
|
+
import {
|
|
72
|
+
oneInchWallet
|
|
73
|
+
} from "./chunk-QG6ZHI7B.js";
|
|
74
74
|
import {
|
|
75
75
|
phantomWallet
|
|
76
76
|
} from "./chunk-QY53O7WG.js";
|
|
@@ -78,38 +78,38 @@ import {
|
|
|
78
78
|
oneKeyWallet
|
|
79
79
|
} from "./chunk-WVT6BBJH.js";
|
|
80
80
|
import {
|
|
81
|
-
|
|
82
|
-
} from "./chunk-
|
|
81
|
+
foxWallet
|
|
82
|
+
} from "./chunk-GUQM4QSL.js";
|
|
83
83
|
import {
|
|
84
84
|
frameWallet
|
|
85
85
|
} from "./chunk-BU3ZAT5X.js";
|
|
86
86
|
import {
|
|
87
87
|
frontierWallet
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-AVDUNQUW.js";
|
|
89
89
|
import {
|
|
90
90
|
gateWallet
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-JPN6TWIT.js";
|
|
92
|
+
import {
|
|
93
|
+
imTokenWallet
|
|
94
|
+
} from "./chunk-WNAGGFMG.js";
|
|
92
95
|
import {
|
|
93
96
|
injectedWallet
|
|
94
97
|
} from "./chunk-T6LGKC3F.js";
|
|
95
98
|
import {
|
|
96
99
|
kresusWallet
|
|
97
100
|
} from "./chunk-RICTB3FA.js";
|
|
98
|
-
import {
|
|
99
|
-
imTokenWallet
|
|
100
|
-
} from "./chunk-WNAGGFMG.js";
|
|
101
101
|
import {
|
|
102
102
|
ledgerWallet
|
|
103
103
|
} from "./chunk-RPV27V2Y.js";
|
|
104
104
|
import {
|
|
105
|
-
|
|
106
|
-
} from "./chunk-
|
|
105
|
+
bloomWallet
|
|
106
|
+
} from "./chunk-PJ7Y57EH.js";
|
|
107
107
|
import {
|
|
108
108
|
clvWallet
|
|
109
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-OEEGYENV.js";
|
|
110
110
|
import {
|
|
111
111
|
coin98Wallet
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-WAHGI5L7.js";
|
|
113
113
|
import {
|
|
114
114
|
coinbaseWallet
|
|
115
115
|
} from "./chunk-2DLDAZRH.js";
|
|
@@ -118,22 +118,22 @@ import {
|
|
|
118
118
|
} from "./chunk-G2PHTVL6.js";
|
|
119
119
|
import {
|
|
120
120
|
coreWallet
|
|
121
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-4NV5BYRP.js";
|
|
122
122
|
import {
|
|
123
|
-
|
|
124
|
-
} from "./chunk-
|
|
123
|
+
desigWallet
|
|
124
|
+
} from "./chunk-FW3WZETT.js";
|
|
125
125
|
import {
|
|
126
126
|
enkryptWallet
|
|
127
127
|
} from "./chunk-HBQK5RD5.js";
|
|
128
|
-
import {
|
|
129
|
-
bifrostWallet
|
|
130
|
-
} from "./chunk-4T6ZSRJF.js";
|
|
131
128
|
import {
|
|
132
129
|
argentWallet
|
|
133
130
|
} from "./chunk-NTMBEOR2.js";
|
|
131
|
+
import {
|
|
132
|
+
bifrostWallet
|
|
133
|
+
} from "./chunk-IULPZP2Q.js";
|
|
134
134
|
import {
|
|
135
135
|
bitgetWallet
|
|
136
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-TKB2OY6G.js";
|
|
137
137
|
import {
|
|
138
138
|
bitskiWallet
|
|
139
139
|
} from "./chunk-7HRFUZFX.js";
|
|
@@ -141,13 +141,13 @@ import {
|
|
|
141
141
|
bitverseWallet
|
|
142
142
|
} from "./chunk-NSK6A7TI.js";
|
|
143
143
|
import {
|
|
144
|
-
|
|
145
|
-
} from "./chunk-
|
|
144
|
+
braveWallet
|
|
145
|
+
} from "./chunk-DS73TZ6O.js";
|
|
146
146
|
import {
|
|
147
147
|
bybitWallet
|
|
148
|
-
} from "./chunk-
|
|
149
|
-
import "./chunk-OLZ7626J.js";
|
|
148
|
+
} from "./chunk-OX37G4YT.js";
|
|
150
149
|
import "./chunk-N4IJLYFY.js";
|
|
150
|
+
import "./chunk-OLZ7626J.js";
|
|
151
151
|
import "./chunk-IGKXZBTA.js";
|
|
152
152
|
export {
|
|
153
153
|
argentWallet,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
metaMaskWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-OLZ7626J.js";
|
|
4
|
+
} from "../chunk-YO2K4MBH.js";
|
|
6
5
|
import "../chunk-N4IJLYFY.js";
|
|
6
|
+
import "../chunk-OLZ7626J.js";
|
|
7
7
|
import "../chunk-IGKXZBTA.js";
|
|
8
8
|
export {
|
|
9
9
|
metaMaskWallet
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
rainbowWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-OLZ7626J.js";
|
|
4
|
+
} from "../chunk-W2LCLDPX.js";
|
|
6
5
|
import "../chunk-N4IJLYFY.js";
|
|
6
|
+
import "../chunk-OLZ7626J.js";
|
|
7
7
|
import "../chunk-IGKXZBTA.js";
|
|
8
8
|
export {
|
|
9
9
|
rainbowWallet
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
roninWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-OLZ7626J.js";
|
|
4
|
+
} from "../chunk-YQFGVZGR.js";
|
|
6
5
|
import "../chunk-N4IJLYFY.js";
|
|
6
|
+
import "../chunk-OLZ7626J.js";
|
|
7
7
|
import "../chunk-IGKXZBTA.js";
|
|
8
8
|
export {
|
|
9
9
|
roninWallet
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
safepalWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-OLZ7626J.js";
|
|
4
|
+
} from "../chunk-XCNHV3HS.js";
|
|
6
5
|
import "../chunk-N4IJLYFY.js";
|
|
6
|
+
import "../chunk-OLZ7626J.js";
|
|
7
7
|
import "../chunk-IGKXZBTA.js";
|
|
8
8
|
export {
|
|
9
9
|
safepalWallet
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
tokenPocketWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-OLZ7626J.js";
|
|
4
|
+
} from "../chunk-WKNQMP4A.js";
|
|
6
5
|
import "../chunk-N4IJLYFY.js";
|
|
6
|
+
import "../chunk-OLZ7626J.js";
|
|
7
7
|
import "../chunk-IGKXZBTA.js";
|
|
8
8
|
export {
|
|
9
9
|
tokenPocketWallet
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
trustWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-OLZ7626J.js";
|
|
4
|
+
} from "../chunk-KCRO2AGO.js";
|
|
6
5
|
import "../chunk-N4IJLYFY.js";
|
|
6
|
+
import "../chunk-OLZ7626J.js";
|
|
7
7
|
import "../chunk-IGKXZBTA.js";
|
|
8
8
|
export {
|
|
9
9
|
trustWallet
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
zerionWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-OLZ7626J.js";
|
|
4
|
+
} from "../chunk-SWFF3TWJ.js";
|
|
6
5
|
import "../chunk-N4IJLYFY.js";
|
|
6
|
+
import "../chunk-OLZ7626J.js";
|
|
7
7
|
import "../chunk-IGKXZBTA.js";
|
|
8
8
|
export {
|
|
9
9
|
zerionWallet
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@funkit/connect",
|
|
3
|
-
"version": "9.24.0
|
|
3
|
+
"version": "9.24.0",
|
|
4
4
|
"description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -112,10 +112,10 @@
|
|
|
112
112
|
"use-debounce": "^10.0.5",
|
|
113
113
|
"uuid": "^11.1.1",
|
|
114
114
|
"@funkit/api-base": "4.5.1",
|
|
115
|
+
"@funkit/chains": "2.1.1",
|
|
116
|
+
"@funkit/connect-core": "1.2.0",
|
|
115
117
|
"@funkit/fun-relay": "2.8.3",
|
|
116
|
-
"@funkit/utils": "3.1.0"
|
|
117
|
-
"@funkit/connect-core": "1.1.0",
|
|
118
|
-
"@funkit/chains": "2.1.1"
|
|
118
|
+
"@funkit/utils": "3.1.0"
|
|
119
119
|
},
|
|
120
120
|
"repository": {
|
|
121
121
|
"type": "git",
|