@funkit/connect 9.7.2-next.0 → 9.8.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 +83 -0
- package/dist/__generated__/default_configs.d.ts +1 -1
- package/dist/__generated__/default_feature_gates.d.ts +1 -0
- package/dist/clients/chunk-LMEQD56M.js +289 -0
- package/dist/clients/fanatics.css +1 -1
- package/dist/clients/fanatics.js +55 -329
- package/dist/clients/lighter.css +14393 -0
- package/dist/clients/lighter.d.ts +30 -34
- package/dist/clients/lighter.js +657 -0
- package/dist/components/Dropdown/BaseDropdown.d.ts +7 -21
- package/dist/components/Dropdown/BaseDropdown.utils.d.ts +23 -0
- package/dist/components/Dropdown/ChainDropdown.d.ts +2 -1
- package/dist/components/Dropdown/TokenAndChainDropdown.d.ts +9 -3
- package/dist/components/Dropdown/TokenDropdown.d.ts +7 -3
- package/dist/domains/asset.d.ts +0 -1
- package/dist/domains/quoteMode/exactOut.d.ts +2 -1
- package/dist/domains/quoteMode/resolveQuoteMode.d.ts +3 -1
- package/dist/hooks/queries/useWithdrawalQuote.d.ts +2 -8
- package/dist/hooks/useCheckoutDirectExecution.d.ts +1 -1
- package/dist/hooks/useIsStablecoin.d.ts +2 -0
- package/dist/hooks/useTokenAndChainDropdown.d.ts +13 -7
- package/dist/hooks/useTokenTransfer.d.ts +2 -2
- package/dist/index.css +99 -99
- package/dist/index.d.ts +1 -1
- package/dist/index.js +5691 -4823
- package/dist/modals/CheckoutModal/SourceChange/CryptoCashToggle.d.ts +2 -1
- package/dist/modals/CheckoutModal/TransferToken/useTransferTokenTracking.d.ts +2 -2
- package/dist/modals/WithdrawalModal/WithdrawalContent.d.ts +11 -1
- package/dist/modals/WithdrawalModal/useWithdrawal.d.ts +5 -1
- package/dist/providers/FunkitCheckoutContext/types.d.ts +60 -2
- package/dist/providers/FunkitHistoryContext.d.ts +2 -2
- package/dist/utils/withdrawal.d.ts +6 -1
- 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 +42 -42
- 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 +6 -5
- 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-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-34HACM5U.js +0 -110
- package/dist/wallets/walletConnectors/chunk-4C7ER452.js +0 -93
- package/dist/wallets/walletConnectors/chunk-53VYSPXK.js +0 -66
- package/dist/wallets/walletConnectors/chunk-5TN5Z2WY.js +0 -87
- package/dist/wallets/walletConnectors/chunk-6DRCY52E.js +0 -69
- package/dist/wallets/walletConnectors/chunk-6UCI7GM6.js +0 -98
- package/dist/wallets/walletConnectors/chunk-6YO27XOM.js +0 -96
- package/dist/wallets/walletConnectors/chunk-7OARWILZ.js +0 -92
- package/dist/wallets/walletConnectors/chunk-7V33VJAL.js +0 -218
- package/dist/wallets/walletConnectors/chunk-APHCF4DT.js +0 -103
- package/dist/wallets/walletConnectors/chunk-CJJT7LMT.js +0 -96
- package/dist/wallets/walletConnectors/chunk-DEFRRPXB.js +0 -98
- package/dist/wallets/walletConnectors/chunk-EKJHJFRN.js +0 -69
- package/dist/wallets/walletConnectors/chunk-FG2LDVXL.js +0 -92
- 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-HRDPUW3V.js +0 -94
- package/dist/wallets/walletConnectors/chunk-HXWUH73P.js +0 -93
- package/dist/wallets/walletConnectors/chunk-IICWJWGZ.js +0 -110
- package/dist/wallets/walletConnectors/chunk-KO56HCTI.js +0 -106
- package/dist/wallets/walletConnectors/chunk-KWX2SYU2.js +0 -100
- package/dist/wallets/walletConnectors/chunk-LCIPVVH5.js +0 -70
- package/dist/wallets/walletConnectors/chunk-LI6QY2B5.js +0 -94
- package/dist/wallets/walletConnectors/chunk-PKMAPNN6.js +0 -92
- package/dist/wallets/walletConnectors/chunk-T4ROGPMF.js +0 -106
- package/dist/wallets/walletConnectors/chunk-TTHM3WUR.js +0 -100
- package/dist/wallets/walletConnectors/chunk-UDTBQV4Q.js +0 -96
- package/dist/wallets/walletConnectors/chunk-V6UOWTEZ.js +0 -95
- package/dist/wallets/walletConnectors/chunk-VJZWNQOF.js +0 -92
- package/dist/wallets/walletConnectors/chunk-XBLHZICW.js +0 -103
- package/dist/wallets/walletConnectors/chunk-XVBSJCW5.js +0 -96
- package/dist/wallets/walletConnectors/chunk-YIEASHLS.js +0 -99
- package/dist/wallets/walletConnectors/chunk-ZPSPK6LH.js +0 -66
|
@@ -3,11 +3,12 @@ import { type BoxProps } from '../../../components/Box/Box';
|
|
|
3
3
|
import type { PaymentMethodType } from '../../../hooks/usePaymentSources';
|
|
4
4
|
interface CryptoCashToggleProps {
|
|
5
5
|
activeTab: PaymentMethodType;
|
|
6
|
+
defaultTab?: PaymentMethodType;
|
|
6
7
|
disabled?: boolean;
|
|
7
8
|
onTabChange: (tab: PaymentMethodType) => void;
|
|
8
9
|
marginTop?: BoxProps['marginTop'];
|
|
9
10
|
marginBottom?: BoxProps['marginBottom'];
|
|
10
11
|
style?: React.CSSProperties;
|
|
11
12
|
}
|
|
12
|
-
export declare const CryptoCashToggle: ({ activeTab, disabled, onTabChange, marginTop, marginBottom, style, }: CryptoCashToggleProps) => React.JSX.Element;
|
|
13
|
+
export declare const CryptoCashToggle: ({ activeTab, defaultTab, disabled, onTabChange, marginTop, marginBottom, style, }: CryptoCashToggleProps) => React.JSX.Element;
|
|
13
14
|
export {};
|
|
@@ -5,8 +5,8 @@ export declare const addressDisplayedAtMsByCheckoutKey: {
|
|
|
5
5
|
};
|
|
6
6
|
interface UseTransferTokenTrackingProps {
|
|
7
7
|
depositAddress: string | undefined;
|
|
8
|
-
fromChainId: string;
|
|
9
|
-
fromTokenSymbol: string;
|
|
8
|
+
fromChainId: string | undefined;
|
|
9
|
+
fromTokenSymbol: string | undefined;
|
|
10
10
|
toChainId: string | undefined;
|
|
11
11
|
toTokenAddress: string | undefined;
|
|
12
12
|
}
|
|
@@ -1,11 +1,21 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { Hex } from 'viem';
|
|
3
|
-
import type { FunkitActiveWithdrawalItem,
|
|
3
|
+
import type { CustomWithdrawalConfig, FunkitActiveWithdrawalItem, WalletWithdrawalConfig } from '../../providers/FunkitCheckoutContext';
|
|
4
4
|
import { type WithdrawalFormData } from './useWithdrawal';
|
|
5
|
+
/**
|
|
6
|
+
* WithdrawalContent only operates on concrete single-method withdrawal configs.
|
|
7
|
+
* Multi-method configs are resolved in WithdrawalModal before reaching here.
|
|
8
|
+
*/
|
|
9
|
+
type FunkitWithdrawalConfig = WalletWithdrawalConfig | CustomWithdrawalConfig;
|
|
5
10
|
interface WithdrawContentProps {
|
|
6
11
|
onContinue: (withdrawal: WithdrawalFormData, txHash: Hex) => void;
|
|
7
12
|
config: FunkitWithdrawalConfig;
|
|
8
13
|
withdrawalItem: FunkitActiveWithdrawalItem | null;
|
|
9
14
|
}
|
|
15
|
+
/**
|
|
16
|
+
* Builds the source-token options list for the Lighter compound input dropdown.
|
|
17
|
+
* Currently returns a single option per config; expands when Lighter exposes
|
|
18
|
+
* multi-asset API support.
|
|
19
|
+
*/
|
|
10
20
|
export declare const WithdrawContent: ({ onContinue, config, withdrawalItem, }: WithdrawContentProps) => React.JSX.Element;
|
|
11
21
|
export {};
|
|
@@ -14,7 +14,11 @@ export type WithdrawalFormData = {
|
|
|
14
14
|
tokenSymbol: string;
|
|
15
15
|
tokenAddress: Address;
|
|
16
16
|
chainId: number;
|
|
17
|
-
quote
|
|
17
|
+
quote?: FunkitCheckoutQuoteResult;
|
|
18
|
+
/** Lighter asset index for quoteless Secure withdrawal. */
|
|
19
|
+
lighterAssetIndex?: number;
|
|
20
|
+
/** User-entered amount in token units for quoteless flows. */
|
|
21
|
+
userInputAmount?: string;
|
|
18
22
|
};
|
|
19
23
|
export declare function useWithdrawal({ config, withdrawalItem, onSuccess, }: {
|
|
20
24
|
config: FunkitWithdrawalConfig;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { FunAddress } from '@funkit/api-base';
|
|
2
2
|
import type { ApiCheckoutClientMetadata, ApiFunkitCheckoutActionParams, ApiFunkitCheckoutConfig } from '@funkit/utils';
|
|
3
|
+
import type { ReactNode } from 'react';
|
|
3
4
|
import type { Address } from 'viem';
|
|
4
5
|
import type { PaymentMethodInfo } from '../../domains/paymentMethods';
|
|
5
6
|
import type { CheckoutBlockedReason } from '../../modals/CheckoutModal/CheckoutBlockedReason';
|
|
@@ -104,13 +105,28 @@ export interface WithdrawalConfigBase {
|
|
|
104
105
|
defaultReceiveToken?: string;
|
|
105
106
|
/** minimal USD needed to withdraw */
|
|
106
107
|
getMinWithdrawalUSD?: (asset: TokenInfo) => number;
|
|
108
|
+
/**
|
|
109
|
+
* Returns the minimum withdrawal amount in token units for the given symbol.
|
|
110
|
+
* Used when the source token can vary (e.g. Lighter Secure withdrawal).
|
|
111
|
+
*/
|
|
112
|
+
getMinWithdrawalAmount?: (symbol: string) => number;
|
|
113
|
+
/**
|
|
114
|
+
* Returns the current withdrawable balance for the source token.
|
|
115
|
+
* Called on every render — use a ref-backed stable callback so the value
|
|
116
|
+
* stays live without triggering unnecessary re-renders.
|
|
117
|
+
*/
|
|
118
|
+
withdrawalSourceTokenBalance?: () => string | number;
|
|
107
119
|
}
|
|
108
120
|
export interface WalletWithdrawalConfig extends WithdrawalConfigBase {
|
|
109
121
|
/** Wallet instance used to execute the quote */
|
|
110
122
|
wallet: WithdrawalClient;
|
|
111
123
|
}
|
|
112
124
|
export interface CustomWithdrawalConfig extends WithdrawalConfigBase {
|
|
113
|
-
|
|
125
|
+
/**
|
|
126
|
+
* @returns Optionally return a transaction hash string. When provided, the
|
|
127
|
+
* success screen can display and link to the transaction.
|
|
128
|
+
*/
|
|
129
|
+
withdrawCallback: (param: WithdrawalParam) => Promise<undefined | string>;
|
|
114
130
|
}
|
|
115
131
|
export interface WithdrawalParam {
|
|
116
132
|
quoteId: string;
|
|
@@ -118,8 +134,50 @@ export interface WithdrawalParam {
|
|
|
118
134
|
targetAssetAddress: Address;
|
|
119
135
|
targetChainId: number;
|
|
120
136
|
destinationAddress: Address;
|
|
137
|
+
/** Lighter asset index for quoteless Secure withdrawal (avoids overloading targetChainId). */
|
|
138
|
+
lighterAssetIndex?: number;
|
|
139
|
+
/** User-entered amount in token units for quoteless flows (avoids overloading quoteId). */
|
|
140
|
+
userInputAmount?: string;
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* A single entry in a {@link MultiMethodWithdrawalConfig}.
|
|
144
|
+
*
|
|
145
|
+
* Each option represents a distinct withdrawal method (e.g. "Fast" vs "Secure")
|
|
146
|
+
* that the user can pick from a selection screen before entering amounts.
|
|
147
|
+
*/
|
|
148
|
+
export interface WithdrawalMethodOption {
|
|
149
|
+
/** Stable id used for tracking/analytics. */
|
|
150
|
+
id: string;
|
|
151
|
+
/** Primary label (e.g. "Fast"). */
|
|
152
|
+
keyText: string;
|
|
153
|
+
/** Optional subtitle (e.g. "USDC Perps only · Multiple chains · Instant"). */
|
|
154
|
+
subtitleText?: string;
|
|
155
|
+
/** Optional leading icon. */
|
|
156
|
+
icon?: ReactNode;
|
|
157
|
+
/** Optional trailing badge/icon rendered to the right of the label. */
|
|
158
|
+
valueIcon?: ReactNode;
|
|
159
|
+
/**
|
|
160
|
+
* The actual withdrawal config that drives the flow once the user selects
|
|
161
|
+
* this option. Must be a single concrete (non-multi) config.
|
|
162
|
+
*/
|
|
163
|
+
config: WalletWithdrawalConfig | CustomWithdrawalConfig;
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* Withdrawal config that presents the user with a selection screen before
|
|
167
|
+
* entering the standard withdrawal flow. Once a method is picked, the modal
|
|
168
|
+
* delegates to that method's inner config.
|
|
169
|
+
*/
|
|
170
|
+
export interface MultiMethodWithdrawalConfig {
|
|
171
|
+
/** Title shown in the modal header. */
|
|
172
|
+
modalTitle: string;
|
|
173
|
+
/** Optional meta under the title. */
|
|
174
|
+
modalTitleMeta?: string;
|
|
175
|
+
/** Optional section label above the options list (e.g. "Crypto"). */
|
|
176
|
+
sectionTitle?: string;
|
|
177
|
+
/** The methods the user can choose between. Order is preserved in the UI. */
|
|
178
|
+
methods: WithdrawalMethodOption[];
|
|
121
179
|
}
|
|
122
|
-
export type FunkitWithdrawalConfig = WalletWithdrawalConfig | CustomWithdrawalConfig;
|
|
180
|
+
export type FunkitWithdrawalConfig = WalletWithdrawalConfig | CustomWithdrawalConfig | MultiMethodWithdrawalConfig;
|
|
123
181
|
export interface FunkitCheckoutValidationResult {
|
|
124
182
|
isValid: boolean;
|
|
125
183
|
message: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type CheckoutHistoryItem, type DirectExecution } from '@funkit/api-base';
|
|
2
2
|
import React, { type ReactNode } from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import type { Address, Hex } from 'viem';
|
|
4
4
|
import { type MergedCheckoutHistoryItem } from '../utils/checkout';
|
|
5
5
|
import { type PurifiedCheckoutHistoryItem } from '../utils/purifyCheckoutHistoryItem';
|
|
6
6
|
export type { HistoricalCheckoutItem, ServerCheckoutConfig, } from '../domains/clientMetadata';
|
|
@@ -38,7 +38,7 @@ export declare function useCheckoutListenerByCheckoutId(checkoutId: Hex | undefi
|
|
|
38
38
|
/**
|
|
39
39
|
* Internal hook to handle post-checkout, PER-BACKEND-CHECKOUT ITEM.
|
|
40
40
|
*/
|
|
41
|
-
export declare const useFunkitPostCheckoutInternal: (checkoutId:
|
|
41
|
+
export declare const useFunkitPostCheckoutInternal: (checkoutId: string) => {
|
|
42
42
|
isLoading: boolean;
|
|
43
43
|
checkoutHistoryInfo: CheckoutHistoryItem | undefined;
|
|
44
44
|
directExecutionInfo: DirectExecution | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CustomWithdrawalConfig, FunkitWithdrawalConfig, WalletWithdrawalConfig } from '../providers/FunkitCheckoutContext';
|
|
1
|
+
import type { CustomWithdrawalConfig, FunkitWithdrawalConfig, MultiMethodWithdrawalConfig, WalletWithdrawalConfig } from '../providers/FunkitCheckoutContext';
|
|
2
2
|
/**
|
|
3
3
|
* Type guard to check if withdrawal config uses wallet-based flow
|
|
4
4
|
*/
|
|
@@ -7,6 +7,11 @@ export declare function isWalletWithdrawalConfig(config: FunkitWithdrawalConfig)
|
|
|
7
7
|
* Type guard to check if withdrawal config uses custom callback flow
|
|
8
8
|
*/
|
|
9
9
|
export declare function isCustomWithdrawalConfig(config: FunkitWithdrawalConfig): config is CustomWithdrawalConfig;
|
|
10
|
+
/**
|
|
11
|
+
* Type guard to check if withdrawal config wraps multiple methods the user
|
|
12
|
+
* must pick between (e.g. "Fast" vs "Secure").
|
|
13
|
+
*/
|
|
14
|
+
export declare function isMultiMethodWithdrawalConfig(config: FunkitWithdrawalConfig): config is MultiMethodWithdrawalConfig;
|
|
10
15
|
/**
|
|
11
16
|
* Converts a human-readable token amount to base units using string arithmetic
|
|
12
17
|
* to avoid floating-point precision loss.
|
package/dist/wallets/Wallet.d.ts
CHANGED
|
@@ -111,4 +111,15 @@ export interface WithdrawalClient {
|
|
|
111
111
|
confirmTransaction: (txHash: string, chainId: number) => Promise<TransactionReceipt>;
|
|
112
112
|
address: () => string;
|
|
113
113
|
}
|
|
114
|
+
/**
|
|
115
|
+
* WithdrawalClient variant for Lighter (LVM). Satisfies WithdrawalClient for
|
|
116
|
+
* address lookup and display, but also carries the relay-sdk AdaptedWallet so
|
|
117
|
+
* startRelayDirectExecution can execute the LVM steps directly instead of
|
|
118
|
+
* wrapping in an EVM shim.
|
|
119
|
+
*/
|
|
120
|
+
export interface LighterWithdrawalClient extends WithdrawalClient {
|
|
121
|
+
readonly _type: 'lighter';
|
|
122
|
+
readonly adaptedWallet: import('@funkit/fun-relay').LighterWallet;
|
|
123
|
+
}
|
|
124
|
+
export declare function isLighterWithdrawalClient(client: WithdrawalClient): client is LighterWithdrawalClient;
|
|
114
125
|
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
bifrostWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-YYYRPQHB.js";
|
|
4
|
+
} from "../chunk-OD6B2ISG.js";
|
|
6
5
|
import "../chunk-FMVNQKZL.js";
|
|
6
|
+
import "../chunk-YYYRPQHB.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-YYYRPQHB.js";
|
|
4
|
+
} from "../chunk-IMNI4AGV.js";
|
|
6
5
|
import "../chunk-FMVNQKZL.js";
|
|
6
|
+
import "../chunk-YYYRPQHB.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-YYYRPQHB.js";
|
|
4
|
+
} from "../chunk-7IEUTLHY.js";
|
|
6
5
|
import "../chunk-FMVNQKZL.js";
|
|
6
|
+
import "../chunk-YYYRPQHB.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-YYYRPQHB.js";
|
|
4
|
+
} from "../chunk-RZQ4B4Z7.js";
|
|
6
5
|
import "../chunk-FMVNQKZL.js";
|
|
6
|
+
import "../chunk-YYYRPQHB.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-YYYRPQHB.js";
|
|
4
|
+
} from "../chunk-J3PJOMO7.js";
|
|
6
5
|
import "../chunk-FMVNQKZL.js";
|
|
6
|
+
import "../chunk-YYYRPQHB.js";
|
|
7
7
|
import "../chunk-3K2MFXCO.js";
|
|
8
8
|
export {
|
|
9
9
|
frontierWallet
|
|
@@ -4,22 +4,22 @@ import {
|
|
|
4
4
|
} from "./chunk-A5EZBNME.js";
|
|
5
5
|
import {
|
|
6
6
|
zerionWallet
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-UFYNHHDU.js";
|
|
8
8
|
import {
|
|
9
9
|
tahoWallet
|
|
10
10
|
} from "./chunk-KS5MJNGD.js";
|
|
11
|
-
import {
|
|
12
|
-
talismanWallet
|
|
13
|
-
} from "./chunk-T3VMQBBI.js";
|
|
14
11
|
import {
|
|
15
12
|
tokenPocketWallet
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import {
|
|
18
|
-
trustWallet
|
|
19
|
-
} from "./chunk-T4ROGPMF.js";
|
|
13
|
+
} from "./chunk-UYW6MV74.js";
|
|
20
14
|
import {
|
|
21
15
|
tokenaryWallet
|
|
22
16
|
} from "./chunk-R7X5RIO7.js";
|
|
17
|
+
import {
|
|
18
|
+
trustWallet
|
|
19
|
+
} from "./chunk-FWM4KTOV.js";
|
|
20
|
+
import {
|
|
21
|
+
talismanWallet
|
|
22
|
+
} from "./chunk-T3VMQBBI.js";
|
|
23
23
|
import {
|
|
24
24
|
uniswapWallet
|
|
25
25
|
} from "./chunk-UKSIXGWC.js";
|
|
@@ -34,28 +34,28 @@ import {
|
|
|
34
34
|
} from "./chunk-7PVUEV4M.js";
|
|
35
35
|
import {
|
|
36
36
|
rainbowWallet
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-AZYMJ4C6.js";
|
|
38
38
|
import {
|
|
39
39
|
ramperWallet
|
|
40
40
|
} from "./chunk-P4E2ZFQB.js";
|
|
41
41
|
import {
|
|
42
42
|
roninWallet
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-OSOB6QYX.js";
|
|
44
44
|
import {
|
|
45
45
|
safeWallet
|
|
46
46
|
} from "./chunk-BHAPTB57.js";
|
|
47
|
-
import {
|
|
48
|
-
safepalWallet
|
|
49
|
-
} from "./chunk-34HACM5U.js";
|
|
50
47
|
import {
|
|
51
48
|
safeheronWallet
|
|
52
49
|
} from "./chunk-AM5MSNVQ.js";
|
|
50
|
+
import {
|
|
51
|
+
safepalWallet
|
|
52
|
+
} from "./chunk-VMMROPXK.js";
|
|
53
53
|
import {
|
|
54
54
|
subWallet
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-ZJJWGKB6.js";
|
|
56
56
|
import {
|
|
57
57
|
metaMaskWallet
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-IRHK6SOW.js";
|
|
59
59
|
import {
|
|
60
60
|
mewWallet
|
|
61
61
|
} from "./chunk-DP5ICBEB.js";
|
|
@@ -64,13 +64,13 @@ import {
|
|
|
64
64
|
} from "./chunk-BBPTPMH7.js";
|
|
65
65
|
import {
|
|
66
66
|
okxWallet
|
|
67
|
-
} from "./chunk-
|
|
68
|
-
import {
|
|
69
|
-
omniWallet
|
|
70
|
-
} from "./chunk-G3RQSCYR.js";
|
|
67
|
+
} from "./chunk-ZL6XCMV5.js";
|
|
71
68
|
import {
|
|
72
69
|
oneInchWallet
|
|
73
70
|
} from "./chunk-EUMOVTRQ.js";
|
|
71
|
+
import {
|
|
72
|
+
omniWallet
|
|
73
|
+
} from "./chunk-G3RQSCYR.js";
|
|
74
74
|
import {
|
|
75
75
|
oneKeyWallet
|
|
76
76
|
} from "./chunk-E3NZE4UP.js";
|
|
@@ -79,16 +79,16 @@ import {
|
|
|
79
79
|
} from "./chunk-57GN4W23.js";
|
|
80
80
|
import {
|
|
81
81
|
foxWallet
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-YGMU5VWD.js";
|
|
83
|
+
import {
|
|
84
|
+
frontierWallet
|
|
85
|
+
} from "./chunk-J3PJOMO7.js";
|
|
83
86
|
import {
|
|
84
87
|
frameWallet
|
|
85
88
|
} from "./chunk-MTJIPVYB.js";
|
|
86
|
-
import {
|
|
87
|
-
frontierWallet
|
|
88
|
-
} from "./chunk-UDTBQV4Q.js";
|
|
89
89
|
import {
|
|
90
90
|
gateWallet
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-LEAZMT5Y.js";
|
|
92
92
|
import {
|
|
93
93
|
imTokenWallet
|
|
94
94
|
} from "./chunk-BWLMNATA.js";
|
|
@@ -102,52 +102,52 @@ import {
|
|
|
102
102
|
ledgerWallet
|
|
103
103
|
} from "./chunk-V4EXM3KB.js";
|
|
104
104
|
import {
|
|
105
|
-
|
|
106
|
-
} from "./chunk-
|
|
105
|
+
bybitWallet
|
|
106
|
+
} from "./chunk-7IEUTLHY.js";
|
|
107
107
|
import {
|
|
108
108
|
coin98Wallet
|
|
109
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-RZQ4B4Z7.js";
|
|
110
110
|
import {
|
|
111
111
|
clvWallet
|
|
112
|
-
} from "./chunk-
|
|
113
|
-
import {
|
|
114
|
-
coreWallet
|
|
115
|
-
} from "./chunk-V6UOWTEZ.js";
|
|
112
|
+
} from "./chunk-3ZJN3PXP.js";
|
|
116
113
|
import {
|
|
117
114
|
coinbaseWallet
|
|
118
115
|
} from "./chunk-OUM6H3WU.js";
|
|
116
|
+
import {
|
|
117
|
+
coreWallet
|
|
118
|
+
} from "./chunk-55VS2NKG.js";
|
|
119
119
|
import {
|
|
120
120
|
dawnWallet
|
|
121
121
|
} from "./chunk-PARFRRNI.js";
|
|
122
|
-
import {
|
|
123
|
-
enkryptWallet
|
|
124
|
-
} from "./chunk-2DKNXOPL.js";
|
|
125
122
|
import {
|
|
126
123
|
desigWallet
|
|
127
124
|
} from "./chunk-TNVLCMJD.js";
|
|
125
|
+
import {
|
|
126
|
+
enkryptWallet
|
|
127
|
+
} from "./chunk-2DKNXOPL.js";
|
|
128
128
|
import {
|
|
129
129
|
argentWallet
|
|
130
130
|
} from "./chunk-XTD6OMZP.js";
|
|
131
131
|
import {
|
|
132
132
|
bifrostWallet
|
|
133
|
-
} from "./chunk-
|
|
134
|
-
import {
|
|
135
|
-
bitskiWallet
|
|
136
|
-
} from "./chunk-Y36HPFB3.js";
|
|
133
|
+
} from "./chunk-OD6B2ISG.js";
|
|
137
134
|
import {
|
|
138
135
|
bitgetWallet
|
|
139
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-IMNI4AGV.js";
|
|
140
137
|
import {
|
|
141
138
|
bitverseWallet
|
|
142
139
|
} from "./chunk-RZH4FSX7.js";
|
|
143
140
|
import {
|
|
144
141
|
bloomWallet
|
|
145
142
|
} from "./chunk-S6R4B763.js";
|
|
143
|
+
import "./chunk-FMVNQKZL.js";
|
|
146
144
|
import {
|
|
147
|
-
|
|
148
|
-
} from "./chunk-
|
|
145
|
+
braveWallet
|
|
146
|
+
} from "./chunk-XVH4JIXB.js";
|
|
147
|
+
import {
|
|
148
|
+
bitskiWallet
|
|
149
|
+
} from "./chunk-Y36HPFB3.js";
|
|
149
150
|
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-YYYRPQHB.js";
|
|
4
|
+
} from "../chunk-IRHK6SOW.js";
|
|
6
5
|
import "../chunk-FMVNQKZL.js";
|
|
6
|
+
import "../chunk-YYYRPQHB.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-YYYRPQHB.js";
|
|
4
|
+
} from "../chunk-AZYMJ4C6.js";
|
|
6
5
|
import "../chunk-FMVNQKZL.js";
|
|
6
|
+
import "../chunk-YYYRPQHB.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-YYYRPQHB.js";
|
|
4
|
+
} from "../chunk-OSOB6QYX.js";
|
|
6
5
|
import "../chunk-FMVNQKZL.js";
|
|
6
|
+
import "../chunk-YYYRPQHB.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-YYYRPQHB.js";
|
|
4
|
+
} from "../chunk-VMMROPXK.js";
|
|
6
5
|
import "../chunk-FMVNQKZL.js";
|
|
6
|
+
import "../chunk-YYYRPQHB.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-YYYRPQHB.js";
|
|
4
|
+
} from "../chunk-UYW6MV74.js";
|
|
6
5
|
import "../chunk-FMVNQKZL.js";
|
|
6
|
+
import "../chunk-YYYRPQHB.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-YYYRPQHB.js";
|
|
4
|
+
} from "../chunk-FWM4KTOV.js";
|
|
6
5
|
import "../chunk-FMVNQKZL.js";
|
|
6
|
+
import "../chunk-YYYRPQHB.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-YYYRPQHB.js";
|
|
4
|
+
} from "../chunk-UFYNHHDU.js";
|
|
6
5
|
import "../chunk-FMVNQKZL.js";
|
|
6
|
+
import "../chunk-YYYRPQHB.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.8.0",
|
|
4
4
|
"description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"wagmi": ">=2.0.0 <=3.5.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@aws-sdk/client-cloudfront": "3.
|
|
48
|
+
"@aws-sdk/client-cloudfront": "3.1033.0",
|
|
49
49
|
"@aws-sdk/client-s3": "3.1001.0",
|
|
50
50
|
"@chromatic-com/storybook": "^4.1.3",
|
|
51
51
|
"@statsig/statsig-node-core": "^0.11.1",
|
|
@@ -83,6 +83,7 @@
|
|
|
83
83
|
"dependencies": {
|
|
84
84
|
"@bluvo/react": "3.0.0-beta.1",
|
|
85
85
|
"@bluvo/sdk-ts": "3.0.0-beta.1",
|
|
86
|
+
"@lifeomic/attempt": "3.1.0",
|
|
86
87
|
"@datadog/browser-logs": "5.22.0",
|
|
87
88
|
"@number-flow/react": "^0.5.5",
|
|
88
89
|
"@radix-ui/react-dropdown-menu": "^2.1.7",
|
|
@@ -104,10 +105,10 @@
|
|
|
104
105
|
"ua-parser-js": "^1.0.37",
|
|
105
106
|
"use-debounce": "^10.0.5",
|
|
106
107
|
"uuid": "^9.0.1",
|
|
107
|
-
"@funkit/api-base": "4.1.
|
|
108
|
+
"@funkit/api-base": "4.1.2",
|
|
108
109
|
"@funkit/chains": "1.1.2",
|
|
109
|
-
"@funkit/
|
|
110
|
-
"@funkit/
|
|
110
|
+
"@funkit/fun-relay": "2.6.7",
|
|
111
|
+
"@funkit/utils": "3.0.0"
|
|
111
112
|
},
|
|
112
113
|
"repository": {
|
|
113
114
|
"type": "git",
|