@funkit/connect 9.11.0-next.0 → 9.12.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 +47 -0
- package/dist/__generated__/default_feature_gates.d.ts +2 -0
- package/dist/clients/fanatics.css +1 -1
- package/dist/clients/fanatics.js +1 -1
- package/dist/clients/lighter.css +1 -1
- package/dist/clients/lighter.d.ts +0 -18
- package/dist/clients/lighter.js +5 -100
- package/dist/clients/polymarket.d.ts +97 -9
- package/dist/clients/polymarket.js +255 -37
- package/dist/components/Dialog/DialogContent.css.d.ts +1 -1
- package/dist/components/FunNotificationBanner/FunNotificationBanner.d.ts +1 -1
- package/dist/components/FunSelectBrokerage/FunSelectBrokerage.d.ts +5 -4
- package/dist/components/TransactionStatus/AnimatedText.d.ts +4 -0
- package/dist/consts/bluvo.d.ts +27 -0
- package/dist/domains/swapped.d.ts +1 -1
- package/dist/hooks/queries/useErc20Asset.d.ts +2 -1
- package/dist/hooks/useAssetPrice.d.ts +6 -2
- package/dist/hooks/useCheckoutDirectExecution.d.ts +7 -1
- package/dist/hooks/useTokenTransfer.d.ts +2 -1
- package/dist/index.css +11 -11
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1541 -1070
- package/dist/modals/CheckoutModal/Brokerage/SelectBrokerage.d.ts +1 -1
- package/dist/modals/CheckoutModal/InputAmount/useMeld.d.ts +1 -1
- package/dist/modals/WithdrawalModal/LighterWithdrawal.d.ts +16 -0
- package/dist/providers/FunkitCheckoutContext/index.d.ts +2 -2
- package/dist/providers/FunkitCheckoutContext/types.d.ts +21 -1
- package/dist/providers/FunkitStatsigProvider.d.ts +1 -0
- package/dist/wallets/Wallet.d.ts +11 -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 +68 -68
- 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 +16 -16
- package/dist/chunk-64NZSUGQ.js +0 -368
- package/dist/chunk-B2B6HDIE.js +0 -238
- package/dist/chunk-OQNN7EMQ.js +0 -238
- package/dist/chunk-S65TG73G.js +0 -247
- package/dist/chunk-VLAOBEJN.js +0 -247
- package/dist/clients/chunk-3LSYVQXK.js +0 -289
- package/dist/clients/chunk-5HU2XDR2.js +0 -289
- package/dist/clients/chunk-DKWYHSW3.js +0 -225
- package/dist/clients/chunk-IPK5DVIL.js +0 -229
- package/dist/clients/chunk-PVOHWTSR.js +0 -289
- package/dist/clients/chunk-SBQ2UUPK.js +0 -214
- package/dist/components/Dropdown/TokenAndChainDropdown.css.d.ts +0 -1
- package/dist/hooks/track/CheckoutTrackingContext.d.ts +0 -60
- package/dist/hooks/useTokenChain.d.ts +0 -21
- package/dist/modals/CheckoutModal/SwappedIframe/SwappedIframeContainer.d.ts +0 -17
- package/dist/modals/WithdrwalModal/WithdrawalCallbackSuccess.d.ts +0 -10
- package/dist/modals/WithdrwalModal/WithdrawalContent.d.ts +0 -11
- package/dist/modals/WithdrwalModal/WithdrawalModal.d.ts +0 -9
- package/dist/modals/WithdrwalModal/WithdrawalSuccess.d.ts +0 -15
- package/dist/modals/WithdrwalModal/types.d.ts +0 -5
- package/dist/modals/WithdrwalModal/useWithdrawal.d.ts +0 -24
- package/dist/wallets/walletConnectors/chunk-3ZJN3PXP.js +0 -87
- package/dist/wallets/walletConnectors/chunk-4C7ER452.js +0 -93
- package/dist/wallets/walletConnectors/chunk-53VYSPXK.js +0 -66
- package/dist/wallets/walletConnectors/chunk-55VS2NKG.js +0 -95
- package/dist/wallets/walletConnectors/chunk-6UCI7GM6.js +0 -98
- package/dist/wallets/walletConnectors/chunk-6YO27XOM.js +0 -96
- package/dist/wallets/walletConnectors/chunk-7IEUTLHY.js +0 -98
- package/dist/wallets/walletConnectors/chunk-7OARWILZ.js +0 -92
- package/dist/wallets/walletConnectors/chunk-AZYMJ4C6.js +0 -70
- package/dist/wallets/walletConnectors/chunk-CJJT7LMT.js +0 -96
- package/dist/wallets/walletConnectors/chunk-EKJHJFRN.js +0 -69
- package/dist/wallets/walletConnectors/chunk-FWM4KTOV.js +0 -106
- package/dist/wallets/walletConnectors/chunk-GH4M6FTK.js +0 -95
- package/dist/wallets/walletConnectors/chunk-GSHSWVEG.js +0 -70
- package/dist/wallets/walletConnectors/chunk-GVOQTORD.js +0 -87
- package/dist/wallets/walletConnectors/chunk-HETS3KKI.js +0 -218
- package/dist/wallets/walletConnectors/chunk-HOPH3TQ3.js +0 -99
- package/dist/wallets/walletConnectors/chunk-IICWJWGZ.js +0 -110
- package/dist/wallets/walletConnectors/chunk-IMNI4AGV.js +0 -99
- package/dist/wallets/walletConnectors/chunk-IRHK6SOW.js +0 -218
- package/dist/wallets/walletConnectors/chunk-J3PJOMO7.js +0 -96
- package/dist/wallets/walletConnectors/chunk-KO56HCTI.js +0 -106
- package/dist/wallets/walletConnectors/chunk-LEAZMT5Y.js +0 -92
- package/dist/wallets/walletConnectors/chunk-LI6QY2B5.js +0 -94
- package/dist/wallets/walletConnectors/chunk-OD6B2ISG.js +0 -69
- package/dist/wallets/walletConnectors/chunk-OSOB6QYX.js +0 -92
- package/dist/wallets/walletConnectors/chunk-PKMAPNN6.js +0 -92
- package/dist/wallets/walletConnectors/chunk-RZQ4B4Z7.js +0 -96
- package/dist/wallets/walletConnectors/chunk-TTHM3WUR.js +0 -100
- package/dist/wallets/walletConnectors/chunk-UFYNHHDU.js +0 -100
- package/dist/wallets/walletConnectors/chunk-UYW6MV74.js +0 -93
- package/dist/wallets/walletConnectors/chunk-VMMROPXK.js +0 -110
- package/dist/wallets/walletConnectors/chunk-XBLHZICW.js +0 -103
- package/dist/wallets/walletConnectors/chunk-YGMU5VWD.js +0 -66
- package/dist/wallets/walletConnectors/chunk-ZJJWGKB6.js +0 -103
- package/dist/wallets/walletConnectors/chunk-ZL6XCMV5.js +0 -94
- /package/dist/clients/{chunk-GCAV3VTB.js → chunk-LMEQD56M.js} +0 -0
- /package/dist/{hooks → utils}/statsig/checkFeatureGate.d.ts +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type
|
|
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;
|
|
@@ -3,9 +3,25 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extracted from WithdrawalContent.tsx to keep Lighter-specific logic isolated.
|
|
5
5
|
*/
|
|
6
|
+
import type { LighterAccountIndex } from '@funkit/api-base';
|
|
6
7
|
import React from 'react';
|
|
7
8
|
import type { CustomWithdrawalConfig, WalletWithdrawalConfig } from '../../providers/FunkitCheckoutContext';
|
|
8
9
|
import type { SourceTokenOption } from './WithdrawAmountInput';
|
|
10
|
+
/** Free (withdrawable) balance for a single Lighter asset: balance - locked. */
|
|
11
|
+
export declare function freeBalance(balance: string, lockedBalance: string): string;
|
|
12
|
+
/**
|
|
13
|
+
* Fetches all asset balances for a Lighter account. Returns:
|
|
14
|
+
*
|
|
15
|
+
* - `balances` — `Record<SYMBOL, freeBalance>` (uppercased symbol keys)
|
|
16
|
+
* - `assets` — raw asset list from the API (for building source-token options)
|
|
17
|
+
*/
|
|
18
|
+
export declare function useLighterWithdrawalBalances({ accountIndex, }: {
|
|
19
|
+
accountIndex: LighterAccountIndex | undefined;
|
|
20
|
+
}): {
|
|
21
|
+
balances: Record<string, string>;
|
|
22
|
+
assets: import("../../utils/customer").LighterAsset[];
|
|
23
|
+
isLoading: boolean;
|
|
24
|
+
};
|
|
9
25
|
type FunkitWithdrawalConfig = WalletWithdrawalConfig | CustomWithdrawalConfig;
|
|
10
26
|
/**
|
|
11
27
|
* Resolves the Lighter `asset_id` for a selected source token symbol. Returns
|
|
@@ -3,7 +3,7 @@ import React, { type ReactNode } from 'react';
|
|
|
3
3
|
import type { Address } from 'viem';
|
|
4
4
|
import { type PaymentMethodInfo } from '../../domains/paymentMethods';
|
|
5
5
|
import type { AssetHoldingsItem } from '../../utils/assets';
|
|
6
|
-
import type { WithdrawalClient } from '../../wallets/Wallet';
|
|
6
|
+
import type { WithdrawalClient, WithdrawalTransaction } from '../../wallets/Wallet';
|
|
7
7
|
import { type FunkitCheckoutQuoteResult } from '../FunkitHistoryContext';
|
|
8
8
|
import type { FunkitActiveCheckoutItem, FunkitActiveWithdrawalItem, FunkitCheckoutConfig, FunkitWithdrawalConfig, UseFunkitCheckoutProps, UseFunkitCheckoutPropsWithFullConfig } from './types';
|
|
9
9
|
export * from './types';
|
|
@@ -25,7 +25,7 @@ interface FunkitCheckoutContextInterface {
|
|
|
25
25
|
}): void;
|
|
26
26
|
updateSelectedPaymentMethodInfo(newPaymentMethodInfo: PaymentMethodInfo): void;
|
|
27
27
|
updateCustomRecipient: (recipient: Address) => void;
|
|
28
|
-
confirmCheckout(quote: FunkitCheckoutQuoteResult, stepMessageSetter: (m: string) => void, withdrawalClient?: WithdrawalClient): Promise<Address>;
|
|
28
|
+
confirmCheckout(quote: FunkitCheckoutQuoteResult, stepMessageSetter: (m: string) => void, withdrawalClient?: WithdrawalClient, preWithdrawalTxs?: WithdrawalTransaction[]): Promise<Address>;
|
|
29
29
|
cancelCheckout(depositAddress: Address): Promise<boolean>;
|
|
30
30
|
/** @deprecated to be removed after quote migration is finished (historically named setCheckoutQuote) */
|
|
31
31
|
setCheckout: (checkout: FunkitActiveCheckoutItem) => void;
|
|
@@ -4,7 +4,7 @@ import type { ReactNode } from 'react';
|
|
|
4
4
|
import type { Address } from 'viem';
|
|
5
5
|
import type { PaymentMethodInfo } from '../../domains/paymentMethods';
|
|
6
6
|
import type { CheckoutBlockedReason } from '../../modals/CheckoutModal/CheckoutBlockedReason';
|
|
7
|
-
import type { WithdrawalClient } from '../../wallets/Wallet';
|
|
7
|
+
import type { WithdrawalClient, WithdrawalTransaction } from '../../wallets/Wallet';
|
|
8
8
|
import type { FunkitCheckoutQuoteResult } from '../FunkitHistoryContext';
|
|
9
9
|
export type FunkitCheckoutActionParams = ApiFunkitCheckoutActionParams;
|
|
10
10
|
export interface TokenInfo {
|
|
@@ -120,6 +120,26 @@ export interface WithdrawalConfigBase {
|
|
|
120
120
|
export interface WalletWithdrawalConfig extends WithdrawalConfigBase {
|
|
121
121
|
/** Wallet instance used to execute the quote */
|
|
122
122
|
wallet: WithdrawalClient;
|
|
123
|
+
/**
|
|
124
|
+
* Optional async hook that runs **before** the SDK executes the wallet-based
|
|
125
|
+
* withdrawal quote. Return any transactions that must execute as part of the
|
|
126
|
+
* withdrawal flow *prior* to the SDK's withdrawal transaction (e.g. an
|
|
127
|
+
* `approve` and a custom-collateral `unwrap` that produces the source token).
|
|
128
|
+
*
|
|
129
|
+
* The SDK atomically prepends the returned array to the withdrawal txn(s)
|
|
130
|
+
* via the integrator's `wallet.sendTransactions` primitive, so the
|
|
131
|
+
* approve/unwrap and the withdrawal land in a single user signature.
|
|
132
|
+
*
|
|
133
|
+
* Return `[]` if no extra transactions are required — the hook is then
|
|
134
|
+
* purely a side-effect / preflight step.
|
|
135
|
+
*
|
|
136
|
+
* Throw to abort the withdrawal — the thrown error message is surfaced to
|
|
137
|
+
* the user in the standard error UI.
|
|
138
|
+
*
|
|
139
|
+
* Mutually exclusive with {@link CustomWithdrawalConfig['withdrawCallback']}
|
|
140
|
+
* by virtue of living on a different config variant.
|
|
141
|
+
*/
|
|
142
|
+
preWithdrawalAction?: (param: WithdrawalParam) => Promise<WithdrawalTransaction[]>;
|
|
123
143
|
}
|
|
124
144
|
export interface CustomWithdrawalConfig extends WithdrawalConfigBase {
|
|
125
145
|
/**
|
package/dist/wallets/Wallet.d.ts
CHANGED
|
@@ -108,6 +108,17 @@ export interface WithdrawalClient {
|
|
|
108
108
|
getChainId: () => Promise<number>;
|
|
109
109
|
switchChain: (chainId: number) => Promise<void>;
|
|
110
110
|
sendTransaction: (chainId: number, transaction: WithdrawalTransaction) => Promise<string>;
|
|
111
|
+
/**
|
|
112
|
+
* Optional batched submitter. When provided, the SDK collapses approve +
|
|
113
|
+
* swap/deposit steps into a single user signature via this method (e.g.
|
|
114
|
+
* EIP-5792 `wallet_sendCalls` with `forceAtomic`).
|
|
115
|
+
*
|
|
116
|
+
* Must return a tx hash that {@link confirmTransaction} can wait on.
|
|
117
|
+
* Implementations using `wallet_sendCalls` should map the calls-id back to
|
|
118
|
+
* the underlying tx hash via `waitForCallsStatus` →
|
|
119
|
+
* `receipts[0].transactionHash`.
|
|
120
|
+
*/
|
|
121
|
+
sendTransactions?: (chainId: number, transactions: WithdrawalTransaction[]) => Promise<string>;
|
|
111
122
|
confirmTransaction: (txHash: string, chainId: number) => Promise<TransactionReceipt>;
|
|
112
123
|
address: () => string;
|
|
113
124
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
bifrostWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-FMVNQKZL.js";
|
|
4
|
+
} from "../chunk-6DRCY52E.js";
|
|
6
5
|
import "../chunk-YYYRPQHB.js";
|
|
6
|
+
import "../chunk-FMVNQKZL.js";
|
|
7
7
|
import "../chunk-3K2MFXCO.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-FMVNQKZL.js";
|
|
4
|
+
} from "../chunk-YIEASHLS.js";
|
|
6
5
|
import "../chunk-YYYRPQHB.js";
|
|
6
|
+
import "../chunk-FMVNQKZL.js";
|
|
7
7
|
import "../chunk-3K2MFXCO.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-FMVNQKZL.js";
|
|
4
|
+
} from "../chunk-DEFRRPXB.js";
|
|
6
5
|
import "../chunk-YYYRPQHB.js";
|
|
6
|
+
import "../chunk-FMVNQKZL.js";
|
|
7
7
|
import "../chunk-3K2MFXCO.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-FMVNQKZL.js";
|
|
4
|
+
} from "../chunk-XVBSJCW5.js";
|
|
6
5
|
import "../chunk-YYYRPQHB.js";
|
|
6
|
+
import "../chunk-FMVNQKZL.js";
|
|
7
7
|
import "../chunk-3K2MFXCO.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-FMVNQKZL.js";
|
|
4
|
+
} from "../chunk-UDTBQV4Q.js";
|
|
6
5
|
import "../chunk-YYYRPQHB.js";
|
|
6
|
+
import "../chunk-FMVNQKZL.js";
|
|
7
7
|
import "../chunk-3K2MFXCO.js";
|
|
8
8
|
export {
|
|
9
9
|
frontierWallet
|
|
@@ -1,19 +1,22 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
zerionWallet
|
|
4
|
-
} from "./chunk-UFYNHHDU.js";
|
|
5
2
|
import {
|
|
6
3
|
zealWallet
|
|
7
4
|
} from "./chunk-A5EZBNME.js";
|
|
8
5
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./chunk-
|
|
6
|
+
zerionWallet
|
|
7
|
+
} from "./chunk-KWX2SYU2.js";
|
|
8
|
+
import {
|
|
9
|
+
tahoWallet
|
|
10
|
+
} from "./chunk-KS5MJNGD.js";
|
|
11
11
|
import {
|
|
12
12
|
talismanWallet
|
|
13
13
|
} from "./chunk-T3VMQBBI.js";
|
|
14
|
+
import {
|
|
15
|
+
tokenPocketWallet
|
|
16
|
+
} from "./chunk-HXWUH73P.js";
|
|
14
17
|
import {
|
|
15
18
|
trustWallet
|
|
16
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-T4ROGPMF.js";
|
|
17
20
|
import {
|
|
18
21
|
uniswapWallet
|
|
19
22
|
} from "./chunk-UKSIXGWC.js";
|
|
@@ -24,38 +27,41 @@ import {
|
|
|
24
27
|
xdefiWallet
|
|
25
28
|
} from "./chunk-KSNA53EX.js";
|
|
26
29
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./chunk-
|
|
30
|
+
tokenaryWallet
|
|
31
|
+
} from "./chunk-R7X5RIO7.js";
|
|
29
32
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./chunk-
|
|
33
|
+
frameWallet
|
|
34
|
+
} from "./chunk-MTJIPVYB.js";
|
|
35
|
+
import {
|
|
36
|
+
rainbowWallet
|
|
37
|
+
} from "./chunk-LCIPVVH5.js";
|
|
32
38
|
import {
|
|
33
39
|
ramperWallet
|
|
34
40
|
} from "./chunk-P4E2ZFQB.js";
|
|
35
41
|
import {
|
|
36
42
|
roninWallet
|
|
37
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-FG2LDVXL.js";
|
|
38
44
|
import {
|
|
39
45
|
safeWallet
|
|
40
46
|
} from "./chunk-BHAPTB57.js";
|
|
41
|
-
import {
|
|
42
|
-
safepalWallet
|
|
43
|
-
} from "./chunk-VMMROPXK.js";
|
|
44
47
|
import {
|
|
45
48
|
safeheronWallet
|
|
46
49
|
} from "./chunk-AM5MSNVQ.js";
|
|
50
|
+
import {
|
|
51
|
+
safepalWallet
|
|
52
|
+
} from "./chunk-34HACM5U.js";
|
|
47
53
|
import {
|
|
48
54
|
subWallet
|
|
49
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-APHCF4DT.js";
|
|
50
56
|
import {
|
|
51
|
-
|
|
52
|
-
} from "./chunk-
|
|
57
|
+
mewWallet
|
|
58
|
+
} from "./chunk-DP5ICBEB.js";
|
|
53
59
|
import {
|
|
54
|
-
|
|
55
|
-
} from "./chunk-
|
|
60
|
+
oktoWallet
|
|
61
|
+
} from "./chunk-BBPTPMH7.js";
|
|
56
62
|
import {
|
|
57
|
-
|
|
58
|
-
} from "./chunk-
|
|
63
|
+
okxWallet
|
|
64
|
+
} from "./chunk-HRDPUW3V.js";
|
|
59
65
|
import {
|
|
60
66
|
omniWallet
|
|
61
67
|
} from "./chunk-G3RQSCYR.js";
|
|
@@ -65,89 +71,83 @@ import {
|
|
|
65
71
|
import {
|
|
66
72
|
oneKeyWallet
|
|
67
73
|
} from "./chunk-E3NZE4UP.js";
|
|
68
|
-
import {
|
|
69
|
-
rabbyWallet
|
|
70
|
-
} from "./chunk-7PVUEV4M.js";
|
|
71
|
-
import {
|
|
72
|
-
kresusWallet
|
|
73
|
-
} from "./chunk-O4IDLNBH.js";
|
|
74
74
|
import {
|
|
75
75
|
phantomWallet
|
|
76
76
|
} from "./chunk-57GN4W23.js";
|
|
77
77
|
import {
|
|
78
|
-
|
|
79
|
-
} from "./chunk-
|
|
80
|
-
import {
|
|
81
|
-
gateWallet
|
|
82
|
-
} from "./chunk-LEAZMT5Y.js";
|
|
78
|
+
rabbyWallet
|
|
79
|
+
} from "./chunk-7PVUEV4M.js";
|
|
83
80
|
import {
|
|
84
|
-
|
|
85
|
-
} from "./chunk-
|
|
81
|
+
foxWallet
|
|
82
|
+
} from "./chunk-ZPSPK6LH.js";
|
|
86
83
|
import {
|
|
87
84
|
frontierWallet
|
|
88
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-UDTBQV4Q.js";
|
|
89
86
|
import {
|
|
90
|
-
|
|
91
|
-
} from "./chunk-
|
|
87
|
+
gateWallet
|
|
88
|
+
} from "./chunk-VJZWNQOF.js";
|
|
92
89
|
import {
|
|
93
90
|
imTokenWallet
|
|
94
91
|
} from "./chunk-BWLMNATA.js";
|
|
95
92
|
import {
|
|
96
|
-
|
|
97
|
-
} from "./chunk-
|
|
93
|
+
injectedWallet
|
|
94
|
+
} from "./chunk-HPUEYLLS.js";
|
|
98
95
|
import {
|
|
99
|
-
|
|
100
|
-
} from "./chunk-
|
|
96
|
+
kresusWallet
|
|
97
|
+
} from "./chunk-O4IDLNBH.js";
|
|
98
|
+
import {
|
|
99
|
+
ledgerWallet
|
|
100
|
+
} from "./chunk-V4EXM3KB.js";
|
|
101
101
|
import {
|
|
102
102
|
metaMaskWallet
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-7V33VJAL.js";
|
|
104
104
|
import {
|
|
105
|
-
|
|
106
|
-
} from "./chunk-
|
|
105
|
+
clvWallet
|
|
106
|
+
} from "./chunk-5TN5Z2WY.js";
|
|
107
|
+
import {
|
|
108
|
+
braveWallet
|
|
109
|
+
} from "./chunk-XVH4JIXB.js";
|
|
107
110
|
import {
|
|
108
111
|
coin98Wallet
|
|
109
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-XVBSJCW5.js";
|
|
110
113
|
import {
|
|
111
|
-
|
|
112
|
-
} from "./chunk-
|
|
114
|
+
coinbaseWallet
|
|
115
|
+
} from "./chunk-OUM6H3WU.js";
|
|
113
116
|
import {
|
|
114
|
-
|
|
115
|
-
} from "./chunk-
|
|
117
|
+
coreWallet
|
|
118
|
+
} from "./chunk-V6UOWTEZ.js";
|
|
116
119
|
import {
|
|
117
120
|
desigWallet
|
|
118
121
|
} from "./chunk-TNVLCMJD.js";
|
|
119
122
|
import {
|
|
120
|
-
|
|
121
|
-
} from "./chunk-
|
|
123
|
+
dawnWallet
|
|
124
|
+
} from "./chunk-PARFRRNI.js";
|
|
122
125
|
import {
|
|
123
|
-
|
|
124
|
-
} from "./chunk-
|
|
126
|
+
enkryptWallet
|
|
127
|
+
} from "./chunk-2DKNXOPL.js";
|
|
125
128
|
import {
|
|
126
|
-
|
|
127
|
-
} from "./chunk-
|
|
129
|
+
bitgetWallet
|
|
130
|
+
} from "./chunk-YIEASHLS.js";
|
|
128
131
|
import {
|
|
129
132
|
argentWallet
|
|
130
133
|
} from "./chunk-XTD6OMZP.js";
|
|
131
134
|
import {
|
|
132
|
-
|
|
133
|
-
} from "./chunk-
|
|
135
|
+
bifrostWallet
|
|
136
|
+
} from "./chunk-6DRCY52E.js";
|
|
137
|
+
import {
|
|
138
|
+
bitskiWallet
|
|
139
|
+
} from "./chunk-Y36HPFB3.js";
|
|
140
|
+
import {
|
|
141
|
+
bitverseWallet
|
|
142
|
+
} from "./chunk-RZH4FSX7.js";
|
|
134
143
|
import {
|
|
135
144
|
bloomWallet
|
|
136
145
|
} from "./chunk-S6R4B763.js";
|
|
137
146
|
import {
|
|
138
147
|
bybitWallet
|
|
139
|
-
} from "./chunk-
|
|
140
|
-
import {
|
|
141
|
-
braveWallet
|
|
142
|
-
} from "./chunk-XVH4JIXB.js";
|
|
143
|
-
import {
|
|
144
|
-
bitskiWallet
|
|
145
|
-
} from "./chunk-Y36HPFB3.js";
|
|
146
|
-
import {
|
|
147
|
-
clvWallet
|
|
148
|
-
} from "./chunk-3ZJN3PXP.js";
|
|
149
|
-
import "./chunk-FMVNQKZL.js";
|
|
148
|
+
} from "./chunk-DEFRRPXB.js";
|
|
150
149
|
import "./chunk-YYYRPQHB.js";
|
|
150
|
+
import "./chunk-FMVNQKZL.js";
|
|
151
151
|
import "./chunk-3K2MFXCO.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-FMVNQKZL.js";
|
|
4
|
+
} from "../chunk-7V33VJAL.js";
|
|
6
5
|
import "../chunk-YYYRPQHB.js";
|
|
6
|
+
import "../chunk-FMVNQKZL.js";
|
|
7
7
|
import "../chunk-3K2MFXCO.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-FMVNQKZL.js";
|
|
4
|
+
} from "../chunk-LCIPVVH5.js";
|
|
6
5
|
import "../chunk-YYYRPQHB.js";
|
|
6
|
+
import "../chunk-FMVNQKZL.js";
|
|
7
7
|
import "../chunk-3K2MFXCO.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-FMVNQKZL.js";
|
|
4
|
+
} from "../chunk-FG2LDVXL.js";
|
|
6
5
|
import "../chunk-YYYRPQHB.js";
|
|
6
|
+
import "../chunk-FMVNQKZL.js";
|
|
7
7
|
import "../chunk-3K2MFXCO.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-FMVNQKZL.js";
|
|
4
|
+
} from "../chunk-34HACM5U.js";
|
|
6
5
|
import "../chunk-YYYRPQHB.js";
|
|
6
|
+
import "../chunk-FMVNQKZL.js";
|
|
7
7
|
import "../chunk-3K2MFXCO.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-FMVNQKZL.js";
|
|
4
|
+
} from "../chunk-HXWUH73P.js";
|
|
6
5
|
import "../chunk-YYYRPQHB.js";
|
|
6
|
+
import "../chunk-FMVNQKZL.js";
|
|
7
7
|
import "../chunk-3K2MFXCO.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-FMVNQKZL.js";
|
|
4
|
+
} from "../chunk-T4ROGPMF.js";
|
|
6
5
|
import "../chunk-YYYRPQHB.js";
|
|
6
|
+
import "../chunk-FMVNQKZL.js";
|
|
7
7
|
import "../chunk-3K2MFXCO.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-FMVNQKZL.js";
|
|
4
|
+
} from "../chunk-KWX2SYU2.js";
|
|
6
5
|
import "../chunk-YYYRPQHB.js";
|
|
6
|
+
import "../chunk-FMVNQKZL.js";
|
|
7
7
|
import "../chunk-3K2MFXCO.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.
|
|
3
|
+
"version": "9.12.0",
|
|
4
4
|
"description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -42,16 +42,16 @@
|
|
|
42
42
|
"react": ">=19",
|
|
43
43
|
"react-dom": ">=19",
|
|
44
44
|
"viem": ">=2.22.14",
|
|
45
|
-
"wagmi": ">=2.0.0 <=3.
|
|
45
|
+
"wagmi": ">=2.0.0 <=3.6.1"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@aws-sdk/client-cloudfront": "3.1033.0",
|
|
49
49
|
"@aws-sdk/client-s3": "3.1001.0",
|
|
50
|
-
"@chromatic-com/storybook": "^
|
|
50
|
+
"@chromatic-com/storybook": "^5.1.2",
|
|
51
51
|
"@statsig/statsig-node-core": "^0.11.1",
|
|
52
|
-
"@storybook/addon-docs": "^
|
|
53
|
-
"@storybook/addon-links": "^10.
|
|
54
|
-
"@storybook/react-vite": "^
|
|
52
|
+
"@storybook/addon-docs": "^10.3.6",
|
|
53
|
+
"@storybook/addon-links": "^10.3.6",
|
|
54
|
+
"@storybook/react-vite": "^10.3.6",
|
|
55
55
|
"@testing-library/jest-dom": "^6.2.0",
|
|
56
56
|
"@testing-library/react": "^16.3.2",
|
|
57
57
|
"@testing-library/user-event": "^14.5.2",
|
|
@@ -60,8 +60,8 @@
|
|
|
60
60
|
"@vanilla-extract/css-utils": "^0.1.4",
|
|
61
61
|
"@vanilla-extract/esbuild-plugin": "^2.3.16",
|
|
62
62
|
"@vanilla-extract/private": "^1.0.7",
|
|
63
|
-
"@vanilla-extract/vite-plugin": "^5.
|
|
64
|
-
"@vitejs/plugin-react": "^5.
|
|
63
|
+
"@vanilla-extract/vite-plugin": "^5.2.2",
|
|
64
|
+
"@vitejs/plugin-react": "^5.2.0",
|
|
65
65
|
"autoprefixer": "^10.4.27",
|
|
66
66
|
"buffer": "^6.0.3",
|
|
67
67
|
"dotenv": "^17.2.3",
|
|
@@ -71,13 +71,13 @@
|
|
|
71
71
|
"postcss-prefix-selector": "^1.16.0",
|
|
72
72
|
"process": "^0.11.10",
|
|
73
73
|
"react": "^19.0.0",
|
|
74
|
-
"storybook": "^
|
|
74
|
+
"storybook": "^10.3.6",
|
|
75
75
|
"stream-browserify": "^3.0.0",
|
|
76
76
|
"tsc-alias": "1.8.16",
|
|
77
77
|
"tsx": "^4.19.2",
|
|
78
78
|
"util": "^0.12.5",
|
|
79
|
-
"vite-plugin-node-polyfills": "^0.
|
|
80
|
-
"vitest": "^4.
|
|
79
|
+
"vite-plugin-node-polyfills": "^0.26.0",
|
|
80
|
+
"vitest": "^4.1.6",
|
|
81
81
|
"wagmi": "2.17.2"
|
|
82
82
|
},
|
|
83
83
|
"dependencies": {
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"@radix-ui/react-dropdown-menu": "^2.1.7",
|
|
90
90
|
"@radix-ui/react-tooltip": "^1.2.0",
|
|
91
91
|
"@solana/addresses": "^2.1.0",
|
|
92
|
-
"@statsig/react-bindings": "
|
|
92
|
+
"@statsig/react-bindings": "3.25.4",
|
|
93
93
|
"@types/uuid": "^9.0.8",
|
|
94
94
|
"@vanilla-extract/css": "1.15.3",
|
|
95
95
|
"@vanilla-extract/dynamic": "2.1.0",
|
|
@@ -105,10 +105,10 @@
|
|
|
105
105
|
"ua-parser-js": "^1.0.37",
|
|
106
106
|
"use-debounce": "^10.0.5",
|
|
107
107
|
"uuid": "^9.0.1",
|
|
108
|
-
"@funkit/api-base": "4.2.
|
|
109
|
-
"@funkit/
|
|
110
|
-
"@funkit/
|
|
111
|
-
"@funkit/utils": "3.0.
|
|
108
|
+
"@funkit/api-base": "4.2.2",
|
|
109
|
+
"@funkit/chains": "1.1.3",
|
|
110
|
+
"@funkit/fun-relay": "2.7.1",
|
|
111
|
+
"@funkit/utils": "3.0.1"
|
|
112
112
|
},
|
|
113
113
|
"repository": {
|
|
114
114
|
"type": "git",
|