@funkit/connect 12.20.0 → 12.22.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 +105 -0
- package/dist/clients/{chunk-N46CL4ZT.js → chunk-4NWQR25X.js} +1 -1
- package/dist/clients/{chunk-2BBOZQLZ.js → chunk-5JVG4MS2.js} +1 -1
- package/dist/clients/chunk-B67ESBGC.js +108 -0
- package/dist/clients/{chunk-R5VAX6YA.js → chunk-HGLDKRSQ.js} +81 -33
- package/dist/clients/{chunk-VFKEUHZT.js → chunk-R7I5OO6C.js} +1 -1
- package/dist/clients/{chunk-5NYKSTGH.js → chunk-S4SMCBQ4.js} +1 -1
- package/dist/clients/{chunk-Y7ONHWCW.js → chunk-T4Q43DNC.js} +2 -2
- package/dist/clients/{chunk-TLFE74BL.js → chunk-UBZOARBX.js} +3 -3
- package/dist/clients/{chunk-TFIJZTGQ.js → chunk-Y2O77SJO.js} +1 -1
- package/dist/clients/fanatics.d.ts +5 -7
- package/dist/clients/fanatics.js +4 -4
- package/dist/clients/internal/nado/withdrawalCallback.js +4 -4
- package/dist/clients/internal/nado/withdrawalErrors.js +2 -2
- package/dist/clients/internal/nado/withdrawalForm.js +4 -4
- package/dist/clients/internal/nado/withdrawalStatus.js +4 -4
- package/dist/clients/lighter.css +32 -11
- package/dist/clients/lighter.js +5 -5
- package/dist/clients/lighterRh.js +1 -1
- package/dist/clients/mallard.d.ts +34 -1
- package/dist/clients/mallard.js +148 -3
- package/dist/clients/nado.js +4 -4
- package/dist/clients/polymarket/createPolymarketDepositConfig.js +3 -3
- package/dist/clients/polymarket/index.js +3 -3
- package/dist/clients/polymarket/polymarket.d.ts +22 -22
- package/dist/clients/polymarket/polymarket.js +2 -2
- package/dist/components/Avatar/emojiAvatarForAddress.d.ts +35 -35
- package/dist/components/Box/Box.d.ts +63 -63
- package/dist/components/ConnectButton/ConnectButton.d.ts +16 -15
- package/dist/components/CustomSlot/CustomSlot.d.ts +8 -0
- package/dist/components/CustomSlot/CustomSlotBoundary.d.ts +12 -0
- package/dist/components/DestinationSelector/DestinationAssetBalanceLabel.d.ts +6 -0
- package/dist/components/DestinationSelector/DestinationSelector.css.d.ts +3 -0
- package/dist/components/DestinationSelector/DestinationSelector.d.ts +17 -0
- package/dist/components/DestinationSelector/DestinationSelectorSkeleton.d.ts +2 -0
- package/dist/components/Dialog/Dialog.d.ts +12 -4
- package/dist/components/Dialog/hooks.d.ts +3 -3
- package/dist/components/Dropdown/AccountSelectDropdown.d.ts +8 -1
- package/dist/components/Dropdown/BaseDropdown.d.ts +3 -1
- package/dist/components/Dropdown/BaseDropdownItem.d.ts +3 -1
- package/dist/components/ErrorBoundary/ErrorBoundary.d.ts +2 -0
- package/dist/components/FreeUsdcBanner/FreeUsdcBanner.d.ts +2 -2
- package/dist/components/FunBottomBar/FunBottomBar.d.ts +3 -1
- package/dist/components/FunInfoBanner/InfoBanner.d.ts +1 -1
- package/dist/components/FunInput/FunInput.d.ts +1 -1
- package/dist/components/FunOptionBox/FunOptionBox.css.d.ts +1 -1
- package/dist/components/FunTooltip/FunTooltip.d.ts +2 -2
- package/dist/components/FunTransactionSummary/DestinationLineItems.d.ts +1 -1
- package/dist/components/HighPriceImpactAlert/HighPriceImpactAlert.d.ts +7 -0
- package/dist/components/Icons/GreenRoundCheckmark.d.ts +2 -1
- package/dist/components/Icons/StatusIcons.css.d.ts +2 -2
- package/dist/components/Icons/StatusIcons.d.ts +2 -2
- package/dist/components/LargeAmountInput/LargeAmountInput.d.ts +3 -1
- package/dist/components/ModalSelection/ModalSelection.d.ts +4 -4
- package/dist/components/TokenSwapWidget/TokenSwapCard/TokenSwapCard.d.ts +5 -2
- package/dist/components/TokenSwapWidget/TokenSwapWidget.d.ts +2 -0
- package/dist/consts/checkout.d.ts +8 -8
- package/dist/consts/polymarket.d.ts +2 -2
- package/dist/consts/quote.d.ts +25 -15
- package/dist/css/cssObjectFromTheme.d.ts +1 -1
- package/dist/css/sprinkles.css.d.ts +78 -78
- package/dist/domains/asset.d.ts +6 -0
- package/dist/domains/bridge.d.ts +1 -1
- package/dist/domains/clientMetadata.d.ts +5 -6
- package/dist/domains/convert/assets.d.ts +6 -0
- package/dist/domains/convert/balances.d.ts +4 -2
- package/dist/domains/convert/screen.d.ts +4 -0
- package/dist/domains/destinationAccount.d.ts +14 -0
- package/dist/domains/destinationAssetBalance.d.ts +39 -0
- package/dist/domains/fees.d.ts +13 -0
- package/dist/domains/inputAmountComponentContext.d.ts +11 -0
- package/dist/hooks/queries/useMeldLimits.d.ts +45 -45
- package/dist/hooks/queries/useWithdrawalQuote.d.ts +62 -62
- package/dist/hooks/track/useTrack.d.ts +1 -1
- package/dist/hooks/useCheckoutQuoteNotification.d.ts +3 -3
- package/dist/hooks/useConvertBalances.d.ts +4 -2
- package/dist/hooks/useConvertQuote.d.ts +1 -1
- package/dist/hooks/useDestinationAccountSelector.d.ts +18 -0
- package/dist/hooks/useDestinationAssetBalances.d.ts +5 -0
- package/dist/hooks/useDynamicRoutes.d.ts +1 -1
- package/dist/hooks/useFrogAccount.d.ts +77 -77
- package/dist/hooks/useHighPriceImpactPercent.d.ts +11 -0
- package/dist/hooks/useIsomorphicEffect.d.ts +2 -2
- package/dist/hooks/usePaymentMethodIcon.d.ts +1 -1
- package/dist/hooks/usePaymentSources.d.ts +1 -1
- package/dist/hooks/usePolymarketAccountBalances.d.ts +1 -1
- package/dist/index.css +32 -11
- package/dist/index.d.ts +4 -1
- package/dist/index.js +3652 -2674
- package/dist/modals/CheckoutModal/Convert/ConvertChainRail.d.ts +13 -0
- package/dist/modals/CheckoutModal/Convert/ConvertSelectDestinationStep.d.ts +6 -4
- package/dist/modals/CheckoutModal/InputAmount/InputAmountLayout.d.ts +2 -1
- package/dist/modals/CheckoutModal/SourceChange/FlatList.d.ts +2 -8
- package/dist/modals/CheckoutModal/SourceChange/SourceList.d.ts +1 -2
- package/dist/modals/CheckoutModal/SourceChange/useSourceChangeLayout.d.ts +5 -1
- package/dist/modals/CheckoutModal/SwappedIframe/SwappedIframe.d.ts +13 -2
- package/dist/modals/PolymarketPerpsTransfer/PolymarketPerpsTransferScreen.d.ts +6 -1
- package/dist/modals/PolymarketPerpsTransfer/usePerpsTransferForm.d.ts +6 -1
- package/dist/modals/ProfileDetails/FunProfileViews/Home/HomeCheckoutDisplayRow.css.d.ts +1 -1
- package/dist/modals/WithdrawalModal/LighterWithdrawal.d.ts +1 -1
- package/dist/modals/WithdrawalModal/useMultiSourceWithdrawal.d.ts +1 -1
- package/dist/providers/FunkitCheckoutContext/types.d.ts +55 -11
- package/dist/providers/FunkitConfigContext.d.ts +24 -1
- package/dist/providers/FunkitStatsigProvider.d.ts +1 -1
- package/dist/providers/GeneralWalletProvider.d.ts +21 -21
- package/dist/providers/ModalSizeContext.d.ts +4 -4
- package/dist/shadow-css.js +1 -1
- package/dist/themes/baseTheme.d.ts +1 -1
- package/dist/themes/darkTheme.d.ts +6 -4
- package/dist/themes/lightTheme.d.ts +6 -4
- package/dist/utils/checkout.d.ts +2 -1
- package/dist/utils/consts.d.ts +1 -0
- package/dist/utils/customer.d.ts +96 -96
- package/dist/utils/datadogBrowserLogsTransport.d.ts +11 -5
- package/dist/utils/datadogPageExit.d.ts +5 -0
- package/dist/utils/funError.d.ts +26 -0
- package/dist/utils/funLogger.d.ts +2 -1
- package/dist/utils/shakeElement.d.ts +7 -0
- package/dist/wallets/computeWalletConnectMetaData.d.ts +1 -1
- 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 +57 -57
- 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 +10 -10
- package/dist/clients/chunk-GTPMJGCF.js +0 -52
- package/dist/modals/CheckoutModal/Convert/ConvertChainPills.d.ts +0 -14
- package/dist/modals/CheckoutModal/SourceChange/PayPal.d.ts +0 -2
- package/dist/wallets/walletConnectors/{chunk-CU5J53XR.js → chunk-53MYTA42.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-ZSSSLFQF.js → chunk-65ULY6OC.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-XODA5ESL.js → chunk-A5POD5SV.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-RXRYHMRI.js → chunk-ANODOMIN.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-IWOMSW64.js → chunk-ASTCNVJC.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-U52QO5HF.js → chunk-F45CUFRR.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-YRMBR6NA.js → chunk-FYPQ3HP4.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-BBDNB5TQ.js → chunk-IWPW26AL.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-4FHNLTR3.js → chunk-JJBLW4IU.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-NXWG6FG2.js → chunk-KE4CWI3A.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-BBB2J3US.js → chunk-MWB6LFSG.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-34B7OJNT.js → chunk-OVDCDVFX.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-SR5CZR3L.js → chunk-PPQ6L4K2.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-IA5432IR.js → chunk-RJF2YEZ5.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-RFCZYLNR.js → chunk-RQYEGJKL.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-TRZDAXCQ.js → chunk-TIHTQ3OB.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-ALGPGI6V.js → chunk-TM7UBV3Q.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-HOCKAU5H.js → chunk-USLZMUJ3.js} +3 -3
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type DestinationAssetGroup } from '../domains/destinationAccount';
|
|
2
|
+
import type { DestinationAccount, DynamicTargetAssetCandidate } from '../providers/FunkitCheckoutContext/types';
|
|
3
|
+
export interface DestinationAccountSelector {
|
|
4
|
+
accounts: readonly DestinationAccount[];
|
|
5
|
+
selectedAccountId: string;
|
|
6
|
+
selectedRoutingId: string | undefined;
|
|
7
|
+
assetGroups: readonly DestinationAssetGroup[];
|
|
8
|
+
onAccountSelect: (account: DestinationAccount) => void;
|
|
9
|
+
onAssetSelect: (candidate: DynamicTargetAssetCandidate) => void;
|
|
10
|
+
}
|
|
11
|
+
interface UseDestinationAccountSelectorOptions {
|
|
12
|
+
hasHeaderTabs: boolean;
|
|
13
|
+
showTargetAssetSelection: boolean;
|
|
14
|
+
/** Screens mounted alongside another consumer opt out to avoid duplicates. */
|
|
15
|
+
logFallback?: boolean;
|
|
16
|
+
}
|
|
17
|
+
export declare function useDestinationAccountSelector({ hasHeaderTabs, showTargetAssetSelection, logFallback, }: UseDestinationAccountSelectorOptions): DestinationAccountSelector | undefined;
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { FunkitActiveCheckoutItem } from '../providers/FunkitCheckoutContext/types';
|
|
2
|
+
import { type DestinationAssetBalanceStates } from '../domains/destinationAssetBalance';
|
|
3
|
+
import type { DestinationAccountSelector } from './useDestinationAccountSelector';
|
|
4
|
+
/** Reuses Convert's host contract; unknown holdings hide labels, never deposit options. */
|
|
5
|
+
export declare function useDestinationAssetBalances(selector: Pick<DestinationAccountSelector, 'assetGroups'> | undefined, checkoutItem: FunkitActiveCheckoutItem | undefined | null, enabled: boolean): DestinationAssetBalanceStates | undefined;
|
|
@@ -8,16 +8,6 @@ export declare function useClearFrogAccountsCache(): {
|
|
|
8
8
|
clearVirtualFiatAccounts: () => void;
|
|
9
9
|
};
|
|
10
10
|
export declare function useVirtualFiatAccounts(): {
|
|
11
|
-
isLoading: boolean;
|
|
12
|
-
data: AllFiatAccounts;
|
|
13
|
-
error: Error;
|
|
14
|
-
isError: true;
|
|
15
|
-
isPending: false;
|
|
16
|
-
isLoadingError: false;
|
|
17
|
-
isRefetchError: true;
|
|
18
|
-
isSuccess: false;
|
|
19
|
-
isPlaceholderData: false;
|
|
20
|
-
status: "error";
|
|
21
11
|
dataUpdatedAt: number;
|
|
22
12
|
errorUpdatedAt: number;
|
|
23
13
|
failureCount: number;
|
|
@@ -33,34 +23,6 @@ export declare function useVirtualFiatAccounts(): {
|
|
|
33
23
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<AllFiatAccounts, Error>>;
|
|
34
24
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
35
25
|
promise: Promise<AllFiatAccounts>;
|
|
36
|
-
} | {
|
|
37
|
-
isLoading: boolean;
|
|
38
|
-
data: AllFiatAccounts;
|
|
39
|
-
error: null;
|
|
40
|
-
isError: false;
|
|
41
|
-
isPending: false;
|
|
42
|
-
isLoadingError: false;
|
|
43
|
-
isRefetchError: false;
|
|
44
|
-
isSuccess: true;
|
|
45
|
-
isPlaceholderData: false;
|
|
46
|
-
status: "success";
|
|
47
|
-
dataUpdatedAt: number;
|
|
48
|
-
errorUpdatedAt: number;
|
|
49
|
-
failureCount: number;
|
|
50
|
-
failureReason: Error | null;
|
|
51
|
-
errorUpdateCount: number;
|
|
52
|
-
isFetched: boolean;
|
|
53
|
-
isFetchedAfterMount: boolean;
|
|
54
|
-
isFetching: boolean;
|
|
55
|
-
isInitialLoading: boolean;
|
|
56
|
-
isPaused: boolean;
|
|
57
|
-
isRefetching: boolean;
|
|
58
|
-
isStale: boolean;
|
|
59
|
-
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<AllFiatAccounts, Error>>;
|
|
60
|
-
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
61
|
-
promise: Promise<AllFiatAccounts>;
|
|
62
|
-
} | {
|
|
63
|
-
isLoading: boolean;
|
|
64
26
|
data: undefined;
|
|
65
27
|
error: Error;
|
|
66
28
|
isError: true;
|
|
@@ -69,7 +31,9 @@ export declare function useVirtualFiatAccounts(): {
|
|
|
69
31
|
isRefetchError: false;
|
|
70
32
|
isSuccess: false;
|
|
71
33
|
isPlaceholderData: false;
|
|
72
|
-
status:
|
|
34
|
+
status: 'error';
|
|
35
|
+
isLoading: boolean;
|
|
36
|
+
} | {
|
|
73
37
|
dataUpdatedAt: number;
|
|
74
38
|
errorUpdatedAt: number;
|
|
75
39
|
failureCount: number;
|
|
@@ -85,8 +49,6 @@ export declare function useVirtualFiatAccounts(): {
|
|
|
85
49
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<AllFiatAccounts, Error>>;
|
|
86
50
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
87
51
|
promise: Promise<AllFiatAccounts>;
|
|
88
|
-
} | {
|
|
89
|
-
isLoading: boolean;
|
|
90
52
|
data: undefined;
|
|
91
53
|
error: null;
|
|
92
54
|
isError: false;
|
|
@@ -95,7 +57,9 @@ export declare function useVirtualFiatAccounts(): {
|
|
|
95
57
|
isRefetchError: false;
|
|
96
58
|
isSuccess: false;
|
|
97
59
|
isPlaceholderData: false;
|
|
98
|
-
status:
|
|
60
|
+
status: 'pending';
|
|
61
|
+
isLoading: boolean;
|
|
62
|
+
} | {
|
|
99
63
|
dataUpdatedAt: number;
|
|
100
64
|
errorUpdatedAt: number;
|
|
101
65
|
failureCount: number;
|
|
@@ -111,8 +75,6 @@ export declare function useVirtualFiatAccounts(): {
|
|
|
111
75
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<AllFiatAccounts, Error>>;
|
|
112
76
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
113
77
|
promise: Promise<AllFiatAccounts>;
|
|
114
|
-
} | {
|
|
115
|
-
isLoading: boolean;
|
|
116
78
|
data: undefined;
|
|
117
79
|
error: null;
|
|
118
80
|
isError: false;
|
|
@@ -121,7 +83,9 @@ export declare function useVirtualFiatAccounts(): {
|
|
|
121
83
|
isRefetchError: false;
|
|
122
84
|
isSuccess: false;
|
|
123
85
|
isPlaceholderData: false;
|
|
124
|
-
status:
|
|
86
|
+
status: 'pending';
|
|
87
|
+
isLoading: boolean;
|
|
88
|
+
} | {
|
|
125
89
|
dataUpdatedAt: number;
|
|
126
90
|
errorUpdatedAt: number;
|
|
127
91
|
failureCount: number;
|
|
@@ -137,8 +101,6 @@ export declare function useVirtualFiatAccounts(): {
|
|
|
137
101
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<AllFiatAccounts, Error>>;
|
|
138
102
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
139
103
|
promise: Promise<AllFiatAccounts>;
|
|
140
|
-
} | {
|
|
141
|
-
isLoading: boolean;
|
|
142
104
|
data: AllFiatAccounts;
|
|
143
105
|
isError: false;
|
|
144
106
|
error: null;
|
|
@@ -147,7 +109,9 @@ export declare function useVirtualFiatAccounts(): {
|
|
|
147
109
|
isRefetchError: false;
|
|
148
110
|
isSuccess: true;
|
|
149
111
|
isPlaceholderData: true;
|
|
150
|
-
status:
|
|
112
|
+
status: 'success';
|
|
113
|
+
isLoading: boolean;
|
|
114
|
+
} | {
|
|
151
115
|
dataUpdatedAt: number;
|
|
152
116
|
errorUpdatedAt: number;
|
|
153
117
|
failureCount: number;
|
|
@@ -163,23 +127,17 @@ export declare function useVirtualFiatAccounts(): {
|
|
|
163
127
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<AllFiatAccounts, Error>>;
|
|
164
128
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
165
129
|
promise: Promise<AllFiatAccounts>;
|
|
166
|
-
|
|
167
|
-
export declare function useMatchingVirtualFiatAccount(accounts: AllFiatAccounts | undefined): BridgeVirtualBankAccount | undefined;
|
|
168
|
-
export type KycLinkLoad = {
|
|
169
|
-
kycLink?: string;
|
|
170
|
-
guid: Guid;
|
|
171
|
-
};
|
|
172
|
-
export declare function useLoadKycLink(linkLoad: KycLinkLoad): {
|
|
173
|
-
data: string | undefined;
|
|
130
|
+
data: AllFiatAccounts;
|
|
174
131
|
error: Error;
|
|
175
132
|
isError: true;
|
|
176
133
|
isPending: false;
|
|
177
|
-
isLoading: false;
|
|
178
134
|
isLoadingError: false;
|
|
179
135
|
isRefetchError: true;
|
|
180
136
|
isSuccess: false;
|
|
181
137
|
isPlaceholderData: false;
|
|
182
|
-
status:
|
|
138
|
+
status: 'error';
|
|
139
|
+
isLoading: boolean;
|
|
140
|
+
} | {
|
|
183
141
|
dataUpdatedAt: number;
|
|
184
142
|
errorUpdatedAt: number;
|
|
185
143
|
failureCount: number;
|
|
@@ -192,20 +150,26 @@ export declare function useLoadKycLink(linkLoad: KycLinkLoad): {
|
|
|
192
150
|
isPaused: boolean;
|
|
193
151
|
isRefetching: boolean;
|
|
194
152
|
isStale: boolean;
|
|
195
|
-
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<
|
|
153
|
+
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<AllFiatAccounts, Error>>;
|
|
196
154
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
197
|
-
promise: Promise<
|
|
198
|
-
|
|
199
|
-
data: string | undefined;
|
|
155
|
+
promise: Promise<AllFiatAccounts>;
|
|
156
|
+
data: AllFiatAccounts;
|
|
200
157
|
error: null;
|
|
201
158
|
isError: false;
|
|
202
159
|
isPending: false;
|
|
203
|
-
isLoading: false;
|
|
204
160
|
isLoadingError: false;
|
|
205
161
|
isRefetchError: false;
|
|
206
162
|
isSuccess: true;
|
|
207
163
|
isPlaceholderData: false;
|
|
208
|
-
status:
|
|
164
|
+
status: 'success';
|
|
165
|
+
isLoading: boolean;
|
|
166
|
+
};
|
|
167
|
+
export declare function useMatchingVirtualFiatAccount(accounts: AllFiatAccounts | undefined): BridgeVirtualBankAccount | undefined;
|
|
168
|
+
export type KycLinkLoad = {
|
|
169
|
+
kycLink?: string;
|
|
170
|
+
guid: Guid;
|
|
171
|
+
};
|
|
172
|
+
export declare function useLoadKycLink(linkLoad: KycLinkLoad): {
|
|
209
173
|
dataUpdatedAt: number;
|
|
210
174
|
errorUpdatedAt: number;
|
|
211
175
|
failureCount: number;
|
|
@@ -221,8 +185,6 @@ export declare function useLoadKycLink(linkLoad: KycLinkLoad): {
|
|
|
221
185
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<string, Error>>;
|
|
222
186
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
223
187
|
promise: Promise<string>;
|
|
224
|
-
} | {
|
|
225
|
-
data: string | undefined;
|
|
226
188
|
error: Error;
|
|
227
189
|
isError: true;
|
|
228
190
|
isPending: false;
|
|
@@ -231,7 +193,9 @@ export declare function useLoadKycLink(linkLoad: KycLinkLoad): {
|
|
|
231
193
|
isRefetchError: false;
|
|
232
194
|
isSuccess: false;
|
|
233
195
|
isPlaceholderData: false;
|
|
234
|
-
status:
|
|
196
|
+
status: 'error';
|
|
197
|
+
data: string | undefined;
|
|
198
|
+
} | {
|
|
235
199
|
dataUpdatedAt: number;
|
|
236
200
|
errorUpdatedAt: number;
|
|
237
201
|
failureCount: number;
|
|
@@ -247,8 +211,6 @@ export declare function useLoadKycLink(linkLoad: KycLinkLoad): {
|
|
|
247
211
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<string, Error>>;
|
|
248
212
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
249
213
|
promise: Promise<string>;
|
|
250
|
-
} | {
|
|
251
|
-
data: string | undefined;
|
|
252
214
|
error: null;
|
|
253
215
|
isError: false;
|
|
254
216
|
isPending: true;
|
|
@@ -257,7 +219,9 @@ export declare function useLoadKycLink(linkLoad: KycLinkLoad): {
|
|
|
257
219
|
isRefetchError: false;
|
|
258
220
|
isSuccess: false;
|
|
259
221
|
isPlaceholderData: false;
|
|
260
|
-
status:
|
|
222
|
+
status: 'pending';
|
|
223
|
+
data: string | undefined;
|
|
224
|
+
} | {
|
|
261
225
|
dataUpdatedAt: number;
|
|
262
226
|
errorUpdatedAt: number;
|
|
263
227
|
failureCount: number;
|
|
@@ -266,6 +230,7 @@ export declare function useLoadKycLink(linkLoad: KycLinkLoad): {
|
|
|
266
230
|
isFetched: boolean;
|
|
267
231
|
isFetchedAfterMount: boolean;
|
|
268
232
|
isFetching: boolean;
|
|
233
|
+
isLoading: boolean;
|
|
269
234
|
isInitialLoading: boolean;
|
|
270
235
|
isPaused: boolean;
|
|
271
236
|
isRefetching: boolean;
|
|
@@ -273,8 +238,6 @@ export declare function useLoadKycLink(linkLoad: KycLinkLoad): {
|
|
|
273
238
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<string, Error>>;
|
|
274
239
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
275
240
|
promise: Promise<string>;
|
|
276
|
-
} | {
|
|
277
|
-
data: string | undefined;
|
|
278
241
|
error: null;
|
|
279
242
|
isError: false;
|
|
280
243
|
isPending: true;
|
|
@@ -282,7 +245,9 @@ export declare function useLoadKycLink(linkLoad: KycLinkLoad): {
|
|
|
282
245
|
isRefetchError: false;
|
|
283
246
|
isSuccess: false;
|
|
284
247
|
isPlaceholderData: false;
|
|
285
|
-
status:
|
|
248
|
+
status: 'pending';
|
|
249
|
+
data: string | undefined;
|
|
250
|
+
} | {
|
|
286
251
|
dataUpdatedAt: number;
|
|
287
252
|
errorUpdatedAt: number;
|
|
288
253
|
failureCount: number;
|
|
@@ -291,7 +256,6 @@ export declare function useLoadKycLink(linkLoad: KycLinkLoad): {
|
|
|
291
256
|
isFetched: boolean;
|
|
292
257
|
isFetchedAfterMount: boolean;
|
|
293
258
|
isFetching: boolean;
|
|
294
|
-
isLoading: boolean;
|
|
295
259
|
isInitialLoading: boolean;
|
|
296
260
|
isPaused: boolean;
|
|
297
261
|
isRefetching: boolean;
|
|
@@ -299,8 +263,6 @@ export declare function useLoadKycLink(linkLoad: KycLinkLoad): {
|
|
|
299
263
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<string, Error>>;
|
|
300
264
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
301
265
|
promise: Promise<string>;
|
|
302
|
-
} | {
|
|
303
|
-
data: string | undefined;
|
|
304
266
|
isError: false;
|
|
305
267
|
error: null;
|
|
306
268
|
isPending: false;
|
|
@@ -309,7 +271,9 @@ export declare function useLoadKycLink(linkLoad: KycLinkLoad): {
|
|
|
309
271
|
isRefetchError: false;
|
|
310
272
|
isSuccess: true;
|
|
311
273
|
isPlaceholderData: true;
|
|
312
|
-
status:
|
|
274
|
+
status: 'success';
|
|
275
|
+
data: string | undefined;
|
|
276
|
+
} | {
|
|
313
277
|
dataUpdatedAt: number;
|
|
314
278
|
errorUpdatedAt: number;
|
|
315
279
|
failureCount: number;
|
|
@@ -325,6 +289,42 @@ export declare function useLoadKycLink(linkLoad: KycLinkLoad): {
|
|
|
325
289
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<string, Error>>;
|
|
326
290
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
327
291
|
promise: Promise<string>;
|
|
292
|
+
error: Error;
|
|
293
|
+
isError: true;
|
|
294
|
+
isPending: false;
|
|
295
|
+
isLoading: false;
|
|
296
|
+
isLoadingError: false;
|
|
297
|
+
isRefetchError: true;
|
|
298
|
+
isSuccess: false;
|
|
299
|
+
isPlaceholderData: false;
|
|
300
|
+
status: 'error';
|
|
301
|
+
data: string | undefined;
|
|
302
|
+
} | {
|
|
303
|
+
dataUpdatedAt: number;
|
|
304
|
+
errorUpdatedAt: number;
|
|
305
|
+
failureCount: number;
|
|
306
|
+
failureReason: Error | null;
|
|
307
|
+
errorUpdateCount: number;
|
|
308
|
+
isFetched: boolean;
|
|
309
|
+
isFetchedAfterMount: boolean;
|
|
310
|
+
isFetching: boolean;
|
|
311
|
+
isInitialLoading: boolean;
|
|
312
|
+
isPaused: boolean;
|
|
313
|
+
isRefetching: boolean;
|
|
314
|
+
isStale: boolean;
|
|
315
|
+
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<string, Error>>;
|
|
316
|
+
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
317
|
+
promise: Promise<string>;
|
|
318
|
+
error: null;
|
|
319
|
+
isError: false;
|
|
320
|
+
isPending: false;
|
|
321
|
+
isLoading: false;
|
|
322
|
+
isLoadingError: false;
|
|
323
|
+
isRefetchError: false;
|
|
324
|
+
isSuccess: true;
|
|
325
|
+
isPlaceholderData: false;
|
|
326
|
+
status: 'success';
|
|
327
|
+
data: string | undefined;
|
|
328
328
|
};
|
|
329
329
|
type Result<T, E> = {
|
|
330
330
|
type: 'success';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The percent the large price difference warning shows, or undefined to hide
|
|
3
|
+
* it. The `highpriceimpactwarning` config turns it on per customer in Statsig
|
|
4
|
+
* and sets the threshold; it's off by default.
|
|
5
|
+
*
|
|
6
|
+
* @param feeBreakdown the quote's `baseQuote.metadata.feeBreakdown`, which the
|
|
7
|
+
* quote types leave `unknown`. Pass undefined when the screen shouldn't warn
|
|
8
|
+
* about this quote, such as while it loads or for a payment method that
|
|
9
|
+
* doesn't warn.
|
|
10
|
+
*/
|
|
11
|
+
export declare function useHighPriceImpactPercent(feeBreakdown: unknown): number | undefined;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const useIsomorphicLayoutEffect: typeof
|
|
1
|
+
import { useLayoutEffect } from 'react';
|
|
2
|
+
export declare const useIsomorphicLayoutEffect: typeof useLayoutEffect;
|
|
@@ -17,7 +17,7 @@ interface WalletRowOptions {
|
|
|
17
17
|
* if no SDK icons available, show icon from wagmi
|
|
18
18
|
* otherwise show fallback icon EVM
|
|
19
19
|
*/
|
|
20
|
-
export declare function usePaymentMethodIcon(paymentMethod: PaymentMethod, { iconSize, payerWallet, }?: WalletRowOptions): string | number | bigint | boolean | Iterable<
|
|
20
|
+
export declare function usePaymentMethodIcon(paymentMethod: PaymentMethod, { iconSize, payerWallet, }?: WalletRowOptions): string | number | bigint | boolean | React.JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | Iterable<ReactNode> | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | React.ReactPortal | null | undefined> | null | undefined;
|
|
21
21
|
interface PaymentMethodInfoLabel {
|
|
22
22
|
text: string;
|
|
23
23
|
icon: ReactNode;
|
|
@@ -15,7 +15,7 @@ export type UnavailablePaymentSource = {
|
|
|
15
15
|
};
|
|
16
16
|
export declare const usePaymentSources: (currentPaymentMethodInfo: ConnectablePaymentMethodInfo | null, targetChainId: string) => {
|
|
17
17
|
isFallback: boolean;
|
|
18
|
-
preferred:
|
|
18
|
+
preferred: (import("../domains/paymentMethods").PaymentMethodAccountInfo | import("../domains/paymentMethods").PaymentMethodBrokerageInfo | import("../domains/paymentMethods").PaymentMethodVirtualBankInfo)[] | PaymentMethod[];
|
|
19
19
|
moreSources: PaymentMethod[];
|
|
20
20
|
unavailable: UnavailablePaymentSource[];
|
|
21
21
|
hasUsableBalance: boolean;
|
|
@@ -7,7 +7,7 @@ import type { Address } from 'viem';
|
|
|
7
7
|
* navigating between them reuses the already-loaded balance instead of
|
|
8
8
|
* refetching from scratch (no loading flash on entry).
|
|
9
9
|
*/
|
|
10
|
-
export declare const polymarketAccountBalanceQueryKey: (address: Address | undefined) => readonly [
|
|
10
|
+
export declare const polymarketAccountBalanceQueryKey: (address: Address | undefined) => readonly ['polymarket', 'accountBalanceUsd', `0x${string}` | null];
|
|
11
11
|
/**
|
|
12
12
|
* Refetches the given accounts' balances right away — call once the
|
|
13
13
|
* integrator's `transfer` resolves so the displayed numbers move without
|
package/dist/index.css
CHANGED
|
@@ -16931,9 +16931,10 @@
|
|
|
16931
16931
|
outline-color: var(--rk-colors-tertiaryText);
|
|
16932
16932
|
}
|
|
16933
16933
|
|
|
16934
|
-
/* vanilla-extract-css-ns:src/components/Dropdown/BaseActiveDropdownItem.css.ts.vanilla.css?source=
|
|
16934
|
+
/* vanilla-extract-css-ns:src/components/Dropdown/BaseActiveDropdownItem.css.ts.vanilla.css?source=Ll8xZGV3aXF3MCB7CiAgdHJhbnNpdGlvbjogYWxsIDE1MG1zIGN1YmljLWJlemllcigwLjMsIDAsIDAuMDYsIDEpOwogIG1pbi13aWR0aDogMDsKfQ */
|
|
16935
16935
|
[data-rk] ._1dewiqw0 {
|
|
16936
16936
|
transition: all 150ms cubic-bezier(0.3, 0, 0.06, 1);
|
|
16937
|
+
min-width: 0;
|
|
16937
16938
|
}
|
|
16938
16939
|
|
|
16939
16940
|
/* vanilla-extract-css-ns:src/components/Dropdown/BaseDropdown.css.ts.vanilla.css?source=#H4sIAAAAAAAAA9VVYWvbMBD9nl8hAoMEomC3XbcpFMq2f1HKOFvnRETWmdM5aTr634dlp03ahnZjH7ZPlji9d-_eneTrNe4qhhqj-pGHEC93MVM_R0plH9JHKWqgdLIzKlukvTCEWBHXRsUSPE6y-ZdP0y72MFIqz14C8xPAfEA9jK5fqshPqHiL7HUJ79D-MJrvc5_dWBDQvL7tF1FA8Gpceopox7eJvCEXBFnjBoNEowIFXBySnKdjtEGuPG31zihohbpcsWTyvgDWW2dl9RrWGL3FYu1EPx5OdNbFxsPuFcjFoCo6cRSMYvQgboOLAxFGrZy1GI6BxhRYEWMiKCkIBjFqPF4c8UERybeS-ISawVKPlQxLdsvVfr3CfnPxubnr9gWU6yVTG6xR3gUE1ksG6zDIREgVJEL1TG2AJ1rzWpfkiaOmBsN3psbSNnx9pPjWBaezvpkNMAaZLk525PkQJNS-Ju9V_jGroyrbwpW6wHuHPMnm5zOVzVQ2zy5nqh-se-2Cxbs0f8fmQSXI7_eur_Wv2ifU_Jfe9ZerAotaqLkaC7c4vj0ax8NrfwLaG_qEfurHCfBlCv5RLYcsZgVxcgPsQFsXofBo9yKmZtVduZTnsHcuOHHgO0_KliNxZ7Ro8J62aDv66xqtAzVpGCvkqBltW6LVNfVKA-k-hKHEaUrw1qvVDcLwZikFwdXQUWnbMvScqfLFs7C42oWlrtpQ9qeeOXMxOHO2b_IhuHLe65osGlURb4HtC_4ANZqnX87-7f6tJ_ifLScf_ii_AJ3ZdB5dBwAA */
|
|
@@ -17071,6 +17072,16 @@
|
|
|
17071
17072
|
overflow: hidden;
|
|
17072
17073
|
}
|
|
17073
17074
|
|
|
17075
|
+
/* vanilla-extract-css-ns:src/components/BottomLinks/BottomLinks.css.ts.vanilla.css?source=Ll8xN2VqY3FqMSB7CiAgdGV4dC1kZWNvcmF0aW9uOiBub25lOwogIHRyYW5zaXRpb246IGFsbCAxNTBtcyBjdWJpYy1iZXppZXIoMC4zLCAwLCAwLjA2LCAxKTsKfQouXzE3ZWpjcWoxOmhvdmVyIHsKICBjb2xvcjogdmFyKC0tcmstY29sb3JzLXByaW1hcnlUZXh0KTsKICBvcGFjaXR5OiAwLjg7Cn0 */
|
|
17076
|
+
[data-rk] ._17ejcqj1 {
|
|
17077
|
+
text-decoration: none;
|
|
17078
|
+
transition: all 150ms cubic-bezier(0.3, 0, 0.06, 1);
|
|
17079
|
+
}
|
|
17080
|
+
[data-rk] ._17ejcqj1:hover {
|
|
17081
|
+
color: var(--rk-colors-primaryText);
|
|
17082
|
+
opacity: 0.8;
|
|
17083
|
+
}
|
|
17084
|
+
|
|
17074
17085
|
/* vanilla-extract-css-ns:src/modals/CheckoutModal/SourceChange/sourceChange.css.ts.vanilla.css?source=#H4sIAAAAAAAAA6WTMU8jMRCF-_0VQ0d0cpSEkGIjXUEDBQU9QqdZ20lG8XosexYSEPfbT-tsYIMWnS5XWZ6Z771nyx7_ms63q0WsJvBWABhKweG-BM_eLov34tGgoHoh2ShbB9mrJCj2qcwb-A3jb_jKsd62Ah8D09OBlbO7ZQF5VYai1ULsS9Dsmtq3nTWGEp4xXioVt8pQbX0i9kklbqK295TkFsPoxGSWTTI5m4fdSe_qs_ePqnP4CVUjwj5LBDSG_LqE6SLkM1QcjY3K2ZWoFzKyKWHSq0dab4YbaKhJuTbs9qNv20HCoac1yJUrikmU3pAzX9Ec8mj8cQ9tgZRm762WmywyWp6Ch1OcQ_4trcOhsBWLcH1e3o49L3IHD6a-7j-AnK2E6ezwCo7V7Hos99hFZmuMa_IdqtHpy0nYgfpMlwLqVqZmg-4Gk73jSK_sBd3DwWGU03ZCndv_KElEn-jw_bhlZA-T8SyBxWQVecWNtHPdjWAjDBdUB46CXpbF-x_JgxXbRQQAAA */
|
|
17075
17086
|
[data-rk] ._14kf6rb0 {
|
|
17076
17087
|
display: none;
|
|
@@ -17559,6 +17570,26 @@
|
|
|
17559
17570
|
opacity: var(--animation-opacity, 0);
|
|
17560
17571
|
}
|
|
17561
17572
|
|
|
17573
|
+
/* vanilla-extract-css-ns:src/components/DestinationSelector/DestinationSelector.css.ts.vanilla.css?source=Ll8xcmVoeTQzMCB7CiAgZGlzcGxheTogZ3JpZDsKICBncmlkLXRlbXBsYXRlLWNvbHVtbnM6IHJlcGVhdChhdXRvLWZpdCwgbWlubWF4KG1pbigxMDAlLCAxNjBweCksIDFmcikpOwogIGdhcDogMTJweDsKICB3aWR0aDogMTAwJTsKfQouXzFyZWh5NDMxIHsKICBtaW4taGVpZ2h0OiA0NHB4OwogIHRvdWNoLWFjdGlvbjogbWFuaXB1bGF0aW9uOwp9Ci5fMXJlaHk0MzIgewogIGRpc3BsYXk6IGZsZXg7CiAgZmxleC1kaXJlY3Rpb246IGNvbHVtbjsKICBhbGlnbi1pdGVtczogZmxleC1lbmQ7CiAgZ2FwOiA0cHg7CiAgd2hpdGUtc3BhY2U6IG5vd3JhcDsKICBmb250LXZhcmlhbnQtbnVtZXJpYzogdGFidWxhci1udW1zOwp9 */
|
|
17574
|
+
[data-rk] ._1rehy430 {
|
|
17575
|
+
display: grid;
|
|
17576
|
+
grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
|
|
17577
|
+
gap: 12px;
|
|
17578
|
+
width: 100%;
|
|
17579
|
+
}
|
|
17580
|
+
[data-rk] ._1rehy431 {
|
|
17581
|
+
min-height: 44px;
|
|
17582
|
+
touch-action: manipulation;
|
|
17583
|
+
}
|
|
17584
|
+
[data-rk] ._1rehy432 {
|
|
17585
|
+
display: flex;
|
|
17586
|
+
flex-direction: column;
|
|
17587
|
+
align-items: flex-end;
|
|
17588
|
+
gap: 4px;
|
|
17589
|
+
white-space: nowrap;
|
|
17590
|
+
font-variant-numeric: tabular-nums;
|
|
17591
|
+
}
|
|
17592
|
+
|
|
17562
17593
|
/* vanilla-extract-css-ns:src/components/Tabs/tabs.css.ts.vanilla.css?source=#H4sIAAAAAAAAA82SwU7EIBCG732KuZjsJtJA166RXvYxvNIW1okFGqDR1fTdTWmM3UZrD5r0AkOY_-fjz5ye5UU5oaUHeX7CLFB4TwDoTdwAghPGK-s0H8tGBPm4Y8f2dV_EBtuKCsOFAx3OfQLA6C9qOpeyUdonpzkNW0Pzk98KFLLwk29wsjU4S55_m87hn9NZDCcdGe6igzCoRUBrSN25WHBgOdW-uLoMqNGciepMNfZUXYkVKeUbSrejaZbfAk3ZsAwl21_LFTYN0baWHJR1L8LVM38jtOSfg1x8QeZbhWQTyONWIbMJ5P1WIQ8TyIcI2VqP47Oi9LbpghzUaLwMcYz7D6L02Hb8BAAA */
|
|
17563
17594
|
@keyframes eghi2t0 {
|
|
17564
17595
|
0% {
|
|
@@ -17628,13 +17659,3 @@
|
|
|
17628
17659
|
position: absolute;
|
|
17629
17660
|
inset: 0;
|
|
17630
17661
|
}
|
|
17631
|
-
|
|
17632
|
-
/* vanilla-extract-css-ns:src/components/BottomLinks/BottomLinks.css.ts.vanilla.css?source=Ll8xN2VqY3FqMSB7CiAgdGV4dC1kZWNvcmF0aW9uOiBub25lOwogIHRyYW5zaXRpb246IGFsbCAxNTBtcyBjdWJpYy1iZXppZXIoMC4zLCAwLCAwLjA2LCAxKTsKfQouXzE3ZWpjcWoxOmhvdmVyIHsKICBjb2xvcjogdmFyKC0tcmstY29sb3JzLXByaW1hcnlUZXh0KTsKICBvcGFjaXR5OiAwLjg7Cn0 */
|
|
17633
|
-
[data-rk] ._17ejcqj1 {
|
|
17634
|
-
text-decoration: none;
|
|
17635
|
-
transition: all 150ms cubic-bezier(0.3, 0, 0.06, 1);
|
|
17636
|
-
}
|
|
17637
|
-
[data-rk] ._17ejcqj1:hover {
|
|
17638
|
-
color: var(--rk-colors-primaryText);
|
|
17639
|
-
opacity: 0.8;
|
|
17640
|
-
}
|
package/dist/index.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ export type { CheckoutBlockedReason } from './modals/CheckoutModal/CheckoutBlock
|
|
|
23
23
|
export type { FunkitCheckoutActionParams, FunkitCheckoutConfig, FunkitCheckoutOnCloseResult, FunkitWithdrawalConfig, WalletWithdrawalConfig, CustomWithdrawalConfig, MultiMethodWithdrawalConfig, WithdrawalMethodOption, MultiSourceWithdrawalConfig, WithdrawalSourceOption, SingleWithdrawalConfig, WithdrawalParam, WithdrawalFormData, WithdrawalSourceTokenBalanceParams, WithdrawalSourceCustomData, SourceTokenOption, WithdrawalCustomerData, LighterWithdrawalCustomerData, LighterRouteType, WithdrawalCustomerConfig, UseFunkitCheckoutPropsWithFullConfig, UseFunkitCheckoutProps, FunkitCheckoutValidationResult, FunkitCheckoutResult, DynamicTargetAssetCandidate, AddToWalletToken, TokenInfo, ModalTitleContext, DestinationLineItem, DestinationLineItemContext, LineItemSlot, LineItemValue, LineItemValueColor, WithdrawalFeeItem, WithdrawalFeeItemContext, } from './providers/FunkitCheckoutContext';
|
|
24
24
|
export { useFunkitCheckout, FunCheckoutStartingStep, } from './providers/FunkitCheckoutContext';
|
|
25
25
|
export type { FunkitCheckoutQuoteResult } from './domains/quote';
|
|
26
|
-
export type { FunkitConfig, FunkitUiCustomizationsConfig, FunkitTextCustomizationsConfig, } from './providers/FunkitConfigContext';
|
|
26
|
+
export type { FunkitConfig, FunkitUiCustomizationsConfig, FunkitTextCustomizationsConfig, InputAmountComponentContext, } from './providers/FunkitConfigContext';
|
|
27
27
|
export type { SolanaWalletConnection, SolanaWalletSigner, } from './interfaces/solanaWallet';
|
|
28
28
|
export type { SolanaConnection, SolanaSignAndSendTransaction, SolanaSigner, SolanaSignTransaction, } from '@funkit/fun-relay';
|
|
29
29
|
export type { FunkitConnectChain as Chain } from './providers/FunkitConnectChainContext';
|
|
@@ -51,5 +51,8 @@ export { useSolanaWithdrawalConfig, type SolanaWithdrawalConfig, } from './walle
|
|
|
51
51
|
export { useHypercoreWithdrawalConfig, type HypercoreSigner, type HypercoreWithdrawalOptions, } from './wallets/hypercoreWithdrawal';
|
|
52
52
|
export { createMultiSourceWithdrawalConfig, type MultiSourceWithdrawalOptions, } from './wallets/multiSourceWithdrawal';
|
|
53
53
|
export type { ConvertAsset, ConvertConfig, ConvertErrorResult, ConvertErrorStage, ConvertRecipientAddresses, ConvertResolvedAsset, ConvertAssetBalance, ConvertSourceWallet, ConvertSuccessResult, ConvertTransaction, ConvertVm, GetConvertBalances, GetConvertSourceWallet, } from './domains/convert/types';
|
|
54
|
+
export type { DestinationAsset, DestinationAssetBalance, GetDestinationAssetBalances, } from './domains/destinationAssetBalance';
|
|
55
|
+
export { FunError } from './utils/funError';
|
|
56
|
+
export type { FunErrorOptions } from './utils/funError';
|
|
54
57
|
export { useFunkitAccount, useFunkitDisconnect, useFunkitReconnect, useFunkitSwitchChains, } from './providers/GeneralWalletProvider';
|
|
55
58
|
export { SelectedHomeTab } from './modals/ProfileDetails/FunProfileViews/Home';
|