@funkit/connect 9.23.1 → 9.23.2-next.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.
Files changed (244) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/__generated__/default_configs.d.ts +901 -0
  3. package/dist/__generated__/default_feature_gates.d.ts +20 -0
  4. package/dist/clients/aave.d.ts +1 -1
  5. package/dist/clients/chunk-25ICASD7.js +2371 -0
  6. package/dist/clients/chunk-3GO74QTP.js +2382 -0
  7. package/dist/clients/{chunk-4M57JDJK.js → chunk-4HCOSF4M.js} +1 -1
  8. package/dist/clients/chunk-7GWX2ZS4.js +69 -0
  9. package/dist/clients/{chunk-2LMREKV6.js → chunk-7HNGV6JU.js} +1 -1
  10. package/dist/clients/{chunk-H3CKQIYI.js → chunk-CEBG7XQ5.js} +2 -2
  11. package/dist/clients/{chunk-GCIUIPM7.js → chunk-ELLXM7RO.js} +1 -1
  12. package/dist/clients/chunk-GGXTLJ7J.js +290 -0
  13. package/dist/clients/chunk-HRWCNZJA.js +230 -0
  14. package/dist/clients/chunk-JD3FIVZ7.js +69 -0
  15. package/dist/clients/chunk-JTGKAPID.js +2382 -0
  16. package/dist/clients/chunk-L7PABCF2.js +54 -0
  17. package/dist/clients/chunk-LII3SVUH.js +230 -0
  18. package/dist/clients/chunk-NCUPPJ2Z.js +2382 -0
  19. package/dist/clients/chunk-NUJ6ZM5F.js +186 -0
  20. package/dist/clients/chunk-UVWNEQMD.js +186 -0
  21. package/dist/clients/chunk-VVTNR7YH.js +2382 -0
  22. package/dist/clients/chunk-ZNVFASTH.js +54 -0
  23. package/dist/clients/fanatics.css +1 -1
  24. package/dist/clients/fanatics.js +3 -3
  25. package/dist/clients/lighter.css +1 -1
  26. package/dist/clients/lighter.d.ts +1 -1
  27. package/dist/clients/lighter.js +3 -3
  28. package/dist/clients/mallard.d.ts +1 -1
  29. package/dist/clients/nado.d.ts +78 -0
  30. package/dist/clients/nado.js +107 -0
  31. package/dist/clients/polymarket/PolymarketDepositAccountDropdown.css +21 -11
  32. package/dist/clients/polymarket/PolymarketDepositAccountDropdown.d.ts +1 -1
  33. package/dist/clients/polymarket/PolymarketDepositAccountDropdown.js +4 -4
  34. package/dist/clients/polymarket/createPolymarketDepositConfig.d.ts +1 -1
  35. package/dist/clients/polymarket/index.css +21 -11
  36. package/dist/clients/polymarket/index.js +4 -4
  37. package/dist/clients/polymarket/polymarket.d.ts +2 -2
  38. package/dist/clients/polymarket.d.ts +161 -0
  39. package/dist/clients/polymarket.js +688 -0
  40. package/dist/clients/rolly.d.ts +1 -1
  41. package/dist/components/ApprovalMethodToggle/ApprovalMethodToggle.d.ts +1 -1
  42. package/dist/components/BottomLinks/BottomLinks.css.d.ts +6 -0
  43. package/dist/components/BottomLinks/BottomLinks.d.ts +14 -0
  44. package/dist/components/Dropdown/ChainDropdown.d.ts +1 -1
  45. package/dist/components/Dropdown/TokenAndChainDropdown.d.ts +1 -1
  46. package/dist/components/Dropdown/TokenDropdown.d.ts +1 -1
  47. package/dist/components/FunAsset/FunAssetItem.d.ts +1 -1
  48. package/dist/components/FunCheckoutHistory/AddTokenToWalletButton.d.ts +1 -1
  49. package/dist/components/FunCheckoutHistory/FunDirectExecutionHistoryBottomBar.d.ts +1 -1
  50. package/dist/components/FunCheckoutHistory/FunDirectExecutionHistoryDetail.d.ts +1 -1
  51. package/dist/components/FunCheckoutHistory/PendingSuccessScreen.d.ts +2 -2
  52. package/dist/components/FunCheckoutHistory/YouSendItem.d.ts +1 -1
  53. package/dist/components/FunNotificationBanner/FunNotificationBannerIcon.d.ts +1 -1
  54. package/dist/components/FunPayments/FunPaymentMethods.d.ts +1 -1
  55. package/dist/components/FunSelectBrokerage/FunSelectBrokerage.d.ts +1 -1
  56. package/dist/components/FunTransactionSummary/DestinationYieldRows.d.ts +1 -1
  57. package/dist/components/FunTransactionSummary/PaymentAmountSummary.d.ts +3 -3
  58. package/dist/components/FunTransactionSummary/PaymentFeesSummary.d.ts +2 -2
  59. package/dist/components/FunTransactionSummary/PaymentFeesSummary.track.d.ts +2 -2
  60. package/dist/components/FunTransactionSummary/PaymentMethodSummary.d.ts +2 -2
  61. package/dist/components/FunTransactionSummary/PaymentRouteSummary.d.ts +1 -1
  62. package/dist/components/ModalHeightAnimationLayer/FunCheckoutModalHeightAnimationWrapper.d.ts +2 -2
  63. package/dist/components/NewTokenDepositAlert/NewTokenDepositAlert.d.ts +1 -1
  64. package/dist/components/ReceiveAmount/ReceiveAmount.d.ts +2 -2
  65. package/dist/components/SourcePaymentMethodItem/SourcePaymentMethodItem.d.ts +1 -1
  66. package/dist/components/TransactionStatus/AnimatedSpinner/AnimatedSpinner.d.ts +1 -1
  67. package/dist/components/TransactionStatus/StepSpinner.d.ts +1 -1
  68. package/dist/components/TransactionStatus/TransactionStatus.d.ts +2 -2
  69. package/dist/components/TransferTokenDetails/TransferTokenDetails.d.ts +1 -1
  70. package/dist/consts/customers.d.ts +1 -1
  71. package/dist/consts/funkit.d.ts +1 -0
  72. package/dist/domains/aave.d.ts +1 -1
  73. package/dist/domains/asset.d.ts +2 -2
  74. package/dist/domains/checkout.d.ts +1 -1
  75. package/dist/domains/checkoutErrors.d.ts +2 -2
  76. package/dist/domains/checkoutRecipient.d.ts +1 -1
  77. package/dist/domains/clientMetadata.d.ts +1 -1
  78. package/dist/domains/dynamicRouting.d.ts +1 -1
  79. package/dist/domains/fees.d.ts +3 -3
  80. package/dist/domains/paymentMethods.d.ts +1 -1
  81. package/dist/domains/quote.d.ts +5 -5
  82. package/dist/domains/quoteMode/exactOut.d.ts +1 -1
  83. package/dist/domains/quoteMode/resolveQuoteMode.d.ts +1 -1
  84. package/dist/domains/quoteMode/types.d.ts +2 -2
  85. package/dist/hooks/queries/useLightningQuote.d.ts +1 -1
  86. package/dist/hooks/queries/useMeldDefaultCurrency.d.ts +1 -1
  87. package/dist/hooks/queries/useRecentCheckouts.d.ts +1 -1
  88. package/dist/hooks/queries/useRecentDeposits.d.ts +1 -1
  89. package/dist/hooks/queries/useWithdrawalQuote.d.ts +31 -31
  90. package/dist/hooks/track/useTrack.d.ts +1 -1
  91. package/dist/hooks/useBluvo.d.ts +3 -3
  92. package/dist/hooks/useCheckoutDirectExecution.d.ts +3 -3
  93. package/dist/hooks/useCheckoutDirectExecutionHistory.d.ts +1 -1
  94. package/dist/hooks/useCheckoutItemDisplay.d.ts +2 -2
  95. package/dist/hooks/useCheckoutTimeEstimate.d.ts +2 -2
  96. package/dist/hooks/useCountdown.d.ts +1 -1
  97. package/dist/hooks/useEnabledTokenTransferChainTokens.d.ts +1 -1
  98. package/dist/hooks/useExchangeOptions.d.ts +1 -1
  99. package/dist/hooks/useFrogAccount.d.ts +1 -1
  100. package/dist/hooks/useIsBlacklisted.d.ts +1 -1
  101. package/dist/hooks/useIsDynamicRoutingEnabled.d.ts +1 -1
  102. package/dist/hooks/useMinDeposit.d.ts +1 -1
  103. package/dist/hooks/useNewTokenBanner.d.ts +1 -1
  104. package/dist/hooks/useOnNewNotification.d.ts +1 -1
  105. package/dist/hooks/usePaymentMethodTabs.d.ts +1 -1
  106. package/dist/hooks/usePaymentSources.d.ts +2 -2
  107. package/dist/hooks/useRelayBypass.d.ts +1 -1
  108. package/dist/hooks/useStepQueryReadiness.d.ts +3 -3
  109. package/dist/hooks/useTokenAndChainDropdown.d.ts +1 -1
  110. package/dist/hooks/useTokenTransfer.d.ts +1 -1
  111. package/dist/hooks/useTokenTransferConfig.d.ts +1 -1
  112. package/dist/hooks/useUserIpInfo.d.ts +1 -1
  113. package/dist/index.css +21 -11
  114. package/dist/index.js +536 -469
  115. package/dist/interfaces/identity.d.ts +1 -1
  116. package/dist/interfaces/logTransport.d.ts +51 -0
  117. package/dist/interfaces/swapped-transport.d.ts +78 -0
  118. package/dist/modals/ChainModal/Chain.d.ts +1 -1
  119. package/dist/modals/CheckoutModal/Brokerage/BrokerageSuccessModal.d.ts +1 -1
  120. package/dist/modals/CheckoutModal/Brokerage/BrokerageTwoFA.d.ts +2 -2
  121. package/dist/modals/CheckoutModal/Brokerage/ConnectExchange.d.ts +2 -2
  122. package/dist/modals/CheckoutModal/Brokerage/SelectBrokerage.d.ts +2 -2
  123. package/dist/modals/CheckoutModal/ConfirmationStep/CheckoutPrimaryInfo.d.ts +2 -2
  124. package/dist/modals/CheckoutModal/ConfirmationStep/ConfirmationStep.d.ts +1 -1
  125. package/dist/modals/CheckoutModal/ConfirmationStep/DisclaimerText.d.ts +1 -1
  126. package/dist/modals/CheckoutModal/ConfirmationStep/mapRetryAction.d.ts +1 -1
  127. package/dist/modals/CheckoutModal/ConfirmationStep/useCheckoutConfirmation.d.ts +1 -1
  128. package/dist/modals/CheckoutModal/ConfirmationStep/useCheckoutQuote.d.ts +2 -2
  129. package/dist/modals/CheckoutModal/ConfirmationStep/usePostCheckout.d.ts +2 -2
  130. package/dist/modals/CheckoutModal/ConfirmationStep/useQuoteRefresh.d.ts +1 -1
  131. package/dist/modals/CheckoutModal/ConfirmationStep/useSourceAssetConfirm.d.ts +2 -2
  132. package/dist/modals/CheckoutModal/InputAmount/InputAmount.d.ts +1 -1
  133. package/dist/modals/CheckoutModal/InputAmount/InputAmountLoaded.d.ts +2 -2
  134. package/dist/modals/CheckoutModal/InputAmount/state.d.ts +3 -3
  135. package/dist/modals/CheckoutModal/InputAmount/useAaveNativeSupply.d.ts +3 -3
  136. package/dist/modals/CheckoutModal/InputAmount/useAmountInput.d.ts +1 -1
  137. package/dist/modals/CheckoutModal/InputAmount/useAvailableBalanceForCheckout.d.ts +3 -3
  138. package/dist/modals/CheckoutModal/InputAmount/useCheckoutAmountLimits.d.ts +2 -2
  139. package/dist/modals/CheckoutModal/InputAmount/useMeld.d.ts +1 -1
  140. package/dist/modals/CheckoutModal/InputAmount/utils.d.ts +2 -2
  141. package/dist/modals/CheckoutModal/LightningInvoice/LightningInvoice.d.ts +1 -1
  142. package/dist/modals/CheckoutModal/LightningInvoice/LightningInvoiceQrCode.d.ts +1 -1
  143. package/dist/modals/CheckoutModal/MeldCurrencySelect/MeldCurrencySelect.d.ts +1 -1
  144. package/dist/modals/CheckoutModal/MeldQuotes/MeldQuotes.d.ts +1 -1
  145. package/dist/modals/CheckoutModal/MeldRedirect/MeldRedirect.d.ts +1 -1
  146. package/dist/modals/CheckoutModal/SelectAsset/SelectAsset.d.ts +4 -4
  147. package/dist/modals/CheckoutModal/SelectAsset/SelectAssetInfoSection.d.ts +2 -2
  148. package/dist/modals/CheckoutModal/SelectAsset/SelectAssetList.d.ts +2 -2
  149. package/dist/modals/CheckoutModal/SourceChange/ConnectedSource.d.ts +1 -1
  150. package/dist/modals/CheckoutModal/SourceChange/CryptoCashToggle.d.ts +2 -2
  151. package/dist/modals/CheckoutModal/SourceChange/EmptyFormOfPaymentsMessage.d.ts +4 -0
  152. package/dist/modals/CheckoutModal/SourceChange/SourceChange.d.ts +2 -2
  153. package/dist/modals/CheckoutModal/SourceChange/useSourceChangeLayout.d.ts +1 -1
  154. package/dist/modals/CheckoutModal/SourceChange/useUpdateSourceAssetForCard.d.ts +4 -0
  155. package/dist/modals/CheckoutModal/SwappedIframe/SwappedErrorMessage.d.ts +6 -0
  156. package/dist/modals/CheckoutModal/SwappedIframe/SwappedIframeController.d.ts +2 -2
  157. package/dist/modals/CheckoutModal/TransferToken/CheckoutNotification.d.ts +1 -1
  158. package/dist/modals/CheckoutModal/TransferToken/CheckoutNotifications.track.d.ts +1 -1
  159. package/dist/modals/CheckoutModal/TransferToken/DirectExecutionNotification.d.ts +1 -1
  160. package/dist/modals/CheckoutModal/TransferToken/TransferToken.d.ts +1 -1
  161. package/dist/modals/CheckoutModal/TransferToken/types.d.ts +1 -1
  162. package/dist/modals/CheckoutModal/VirtualFiatAccount/BridgeCustomer.d.ts +2 -2
  163. package/dist/modals/CheckoutModal/VirtualFiatAccount/BridgeKyc.d.ts +1 -1
  164. package/dist/modals/CheckoutModal/VirtualFiatAccount/ErrorScreen.d.ts +1 -1
  165. package/dist/modals/CheckoutModal/VirtualFiatAccount/FiatAccountDetail.d.ts +1 -1
  166. package/dist/modals/CheckoutModal/VirtualFiatAccount/KycIframe.d.ts +2 -2
  167. package/dist/modals/CheckoutModal/VirtualFiatAccount/VirtualFiatAccount.d.ts +2 -2
  168. package/dist/modals/CheckoutModal/Withdrawal/WithdrawalComplete.d.ts +2 -2
  169. package/dist/modals/CheckoutModal/Withdrawal/WithdrawalEnterAmount.d.ts +2 -2
  170. package/dist/modals/CheckoutModal/stepTransition.d.ts +5 -5
  171. package/dist/modals/CheckoutModal/stepTransition.track.d.ts +2 -2
  172. package/dist/modals/ProfileDetails/FunProfileViews/Home/HomeCheckoutDisplayRow.d.ts +2 -2
  173. package/dist/modals/ProfileDetails/FunProfileViews/Home/HomeTokenDisplayRow.d.ts +1 -1
  174. package/dist/modals/ProfileDetails/FunProfileViews/Home/ProfileTitleSection.d.ts +2 -2
  175. package/dist/modals/ProfileDetails/FunProfileViews/Home/index.d.ts +1 -1
  176. package/dist/modals/WithdrawalModal/ErrorMessage.d.ts +2 -2
  177. package/dist/modals/WithdrawalModal/LighterWithdrawal.d.ts +4 -4
  178. package/dist/modals/WithdrawalModal/RecipientAddress.d.ts +1 -1
  179. package/dist/modals/WithdrawalModal/WithdrawAmountInput.d.ts +1 -1
  180. package/dist/modals/WithdrawalModal/WithdrawalCallbackSuccess.d.ts +1 -1
  181. package/dist/modals/WithdrawalModal/WithdrawalContent.d.ts +1 -1
  182. package/dist/modals/WithdrawalModal/WithdrawalModal.d.ts +1 -1
  183. package/dist/modals/WithdrawalModal/WithdrawalTypeSelect.d.ts +1 -1
  184. package/dist/modals/WithdrawalModal/useWithdrawal.d.ts +3 -3
  185. package/dist/providers/FunkitBrokerageProvider.d.ts +2 -2
  186. package/dist/providers/FunkitCheckoutContext/index.d.ts +1 -1
  187. package/dist/providers/FunkitCheckoutContext/track.d.ts +4 -4
  188. package/dist/providers/FunkitConfigContext.d.ts +3 -3
  189. package/dist/providers/FunkitHistoryContext.d.ts +2 -2
  190. package/dist/providers/FunkitProvider.d.ts +2 -2
  191. package/dist/providers/FunkitQuoteContext.track.d.ts +4 -4
  192. package/dist/providers/GeneralWalletProvider.d.ts +2 -2
  193. package/dist/providers/QuoteModeContext.d.ts +1 -1
  194. package/dist/providers/SwappedProvider.d.ts +1 -1
  195. package/dist/utils/assets.d.ts +1 -1
  196. package/dist/utils/bluvo.d.ts +3 -3
  197. package/dist/utils/checkout.d.ts +3 -3
  198. package/dist/utils/depositCutoff.d.ts +1 -1
  199. package/dist/utils/flags/resolver.d.ts +34 -0
  200. package/dist/utils/funkitProvider.d.ts +1 -1
  201. package/dist/utils/payment.d.ts +1 -1
  202. package/dist/utils/polygonRpcCheck.d.ts +1 -1
  203. package/dist/utils/purifyCheckoutHistoryItem.d.ts +1 -1
  204. package/dist/utils/swapped.d.ts +1 -1
  205. package/dist/utils/withdrawal.d.ts +1 -1
  206. package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
  207. package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
  208. package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
  209. package/dist/wallets/walletConnectors/chunk-2VP2F6EK.js +70 -0
  210. package/dist/wallets/walletConnectors/chunk-4T6ZSRJF.js +69 -0
  211. package/dist/wallets/walletConnectors/chunk-6BW3HLBG.js +96 -0
  212. package/dist/wallets/walletConnectors/chunk-CCQV2ZET.js +218 -0
  213. package/dist/wallets/walletConnectors/chunk-CPI4TD43.js +99 -0
  214. package/dist/wallets/walletConnectors/chunk-F5XEEVG6.js +98 -0
  215. package/dist/wallets/walletConnectors/chunk-HNRB7KJU.js +92 -0
  216. package/dist/wallets/walletConnectors/chunk-HTHAK6XB.js +93 -0
  217. package/dist/wallets/walletConnectors/chunk-MIQTHJ6X.js +66 -0
  218. package/dist/wallets/walletConnectors/chunk-RB3HR4R2.js +95 -0
  219. package/dist/wallets/walletConnectors/chunk-RVOY537T.js +100 -0
  220. package/dist/wallets/walletConnectors/chunk-STVVP43G.js +94 -0
  221. package/dist/wallets/walletConnectors/chunk-UK7C2JXW.js +87 -0
  222. package/dist/wallets/walletConnectors/chunk-VAPGUPHO.js +92 -0
  223. package/dist/wallets/walletConnectors/chunk-VTM6EECM.js +110 -0
  224. package/dist/wallets/walletConnectors/chunk-X6CGV36L.js +103 -0
  225. package/dist/wallets/walletConnectors/chunk-YEZM4CK4.js +96 -0
  226. package/dist/wallets/walletConnectors/chunk-ZNX4EMPB.js +106 -0
  227. package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
  228. package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
  229. package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
  230. package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
  231. package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
  232. package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -2
  233. package/dist/wallets/walletConnectors/index.js +60 -60
  234. package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
  235. package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
  236. package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
  237. package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +2 -2
  238. package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
  239. package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
  240. package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
  241. package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
  242. package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
  243. package/package.json +3 -3
  244. /package/dist/clients/{chunk-OG254LB3.js → chunk-7FIVHWNC.js} +0 -0
@@ -0,0 +1,6 @@
1
+ /**
2
+ * A muted footer link that brightens to the primary text color on hover.
3
+ * No underline (unlike the FunLinkButton variants) — matches the Figma
4
+ * footer-link hover state (secondary → primary @ 80% opacity).
5
+ */
6
+ export declare const bottomLinkStyle: string;
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ export interface BottomLink {
3
+ text: string;
4
+ href: string;
5
+ }
6
+ interface BottomLinksProps {
7
+ links: BottomLink[];
8
+ }
9
+ /**
10
+ * A compact, centered footer row of text links separated by a dot
11
+ * (e.g. `Terms • Help`). Each link opens in a new tab and brightens on hover.
12
+ */
13
+ export declare const BottomLinks: ({ links }: BottomLinksProps) => React.JSX.Element;
14
+ export {};
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { TokenTransferSourceChainsAndAssets } from '../../modals/CheckoutModal/TransferToken/TransferToken';
2
+ import type { TokenTransferSourceChainsAndAssets } from '~/modals/CheckoutModal/TransferToken/TransferToken';
3
3
  import type { BaseActiveDropdownItemProps } from './BaseActiveDropdownItem';
4
4
  import { type BaseDropdownProps } from './BaseDropdown';
5
5
  interface ChainDropdownProps {
@@ -1,5 +1,5 @@
1
1
  import React, { type ReactNode } from 'react';
2
- import type { TokenTransferSourceChainsAndAssets } from '../../modals/CheckoutModal/TransferToken/TransferToken';
2
+ import type { TokenTransferSourceChainsAndAssets } from '~/modals/CheckoutModal/TransferToken/TransferToken';
3
3
  import type { BaseDropdownProps } from './BaseDropdown';
4
4
  interface TokenAndChainDropdownProps {
5
5
  isLoading: boolean;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { TokenTransferSourceChainsAndAssets } from '../../modals/CheckoutModal/TransferToken/TransferToken';
2
+ import type { TokenTransferSourceChainsAndAssets } from '~/modals/CheckoutModal/TransferToken/TransferToken';
3
3
  import { type BaseDropdownProps } from './BaseDropdown';
4
4
  interface TokenDropdownProps {
5
5
  selectedChainId: number | undefined;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { AssetHoldingsItem } from '../../utils/assets';
2
+ import type { AssetHoldingsItem } from '~/utils/assets';
3
3
  interface FunAssetItemProps {
4
4
  asset: AssetHoldingsItem;
5
5
  isActive?: boolean;
@@ -1,5 +1,5 @@
1
1
  import React, { type ReactNode } from 'react';
2
- import type { AddToWalletToken } from '../../providers/FunkitCheckoutContext';
2
+ import type { AddToWalletToken } from '~/providers/FunkitCheckoutContext';
3
3
  export type AddTokenToWalletBannerStatus = 'idle' | 'pending' | 'success' | 'error';
4
4
  interface AddTokenToWalletBannerProps {
5
5
  status: AddTokenToWalletBannerStatus;
@@ -1,5 +1,5 @@
1
1
  import { type FC } from 'react';
2
- import type { FunButtonProps } from '../../components/FunButton/FunButton';
2
+ import type { FunButtonProps } from '~/components/FunButton/FunButton';
3
3
  interface FunDirectExecutionHistoryBottomBarProps {
4
4
  isProcessing: boolean;
5
5
  isLoaded: boolean;
@@ -1,6 +1,6 @@
1
1
  import type { DirectExecution } from '@funkit/api-base';
2
2
  import React from 'react';
3
- import type { MergedMultiStepDirectExecution } from '../../domains/checkoutNotifications';
3
+ import type { MergedMultiStepDirectExecution } from '~/domains/checkoutNotifications';
4
4
  import type { TextConfigStatus, TextConfigSteps } from '../TransactionStatus/TransactionStatus';
5
5
  import type { FunDirectExecutionStatusProps } from './FunDirectExecutionStatus';
6
6
  export declare function FunDirectExecutionHistoryDetail({ bottomBarId, directExecution, isActiveCheckout, onClose, onAnimationComplete, showCheckoutStatus, customTextConfigStatus, customTextConfigSteps, dangerousCustomDelayedAutoTriggerCutoff, disableAutoUpdate, hideYouReceive, }: {
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import type { TextConfigSteps } from '../../components/TransactionStatus/TransactionStatus';
3
- import type { FunkitCheckoutQuoteResult } from '../../domains/quote';
2
+ import type { TextConfigSteps } from '~/components/TransactionStatus/TransactionStatus';
3
+ import type { FunkitCheckoutQuoteResult } from '~/domains/quote';
4
4
  export interface PendingSuccessScreenProps {
5
5
  bottomBarId: string;
6
6
  onClose: () => void;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { HistoricalCheckoutItem } from '../../domains/clientMetadata';
2
+ import type { HistoricalCheckoutItem } from '~/domains/clientMetadata';
3
3
  export declare function YouSendItem({ clientMetadata, isLoaded, }: {
4
4
  clientMetadata: HistoricalCheckoutItem | undefined;
5
5
  isLoaded: boolean;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { NotificationStatus } from '../../modals/CheckoutModal/TransferToken/CheckoutNotification';
2
+ import type { NotificationStatus } from '~/modals/CheckoutModal/TransferToken/CheckoutNotification';
3
3
  export interface FunNotificationBannerIconProps {
4
4
  iconUrl?: string | null;
5
5
  fallbackIconUrl?: string;
@@ -1,6 +1,6 @@
1
1
  import { type SwappedFormOfPayment } from '@funkit/api-base';
2
2
  import React, { type ReactNode } from 'react';
3
- import { type FunkitPaymentMethodIconsConfig } from '../../providers/FunkitConfigContext';
3
+ import { type FunkitPaymentMethodIconsConfig } from '~/providers/FunkitConfigContext';
4
4
  import { PaymentMethod, type PaymentMethodBrokerageInfo, type PaymentMethodVirtualBankInfo } from '../../domains/paymentMethods';
5
5
  import type { AssetHoldingsItem } from '../../domains/wallet';
6
6
  /**
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { type BrokerageOption } from '../../consts/bluvo';
2
+ import { type BrokerageOption } from '~/consts/bluvo';
3
3
  interface FunSelectBrokerageProps {
4
4
  isDisabled?: boolean;
5
5
  options: ReadonlyArray<BrokerageOption>;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { FunkitCheckoutConfig } from '../../providers/FunkitCheckoutContext/types';
2
+ import type { FunkitCheckoutConfig } from '~/providers/FunkitCheckoutContext/types';
3
3
  /**
4
4
  * Renders integrator-provided destination yield metadata (Supply APY /
5
5
  * Collateralization) as rows. Driven by the customer-agnostic
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
  import type { DirectExecutionType } from '@funkit/api-base';
3
- import type { FunkitCheckoutQuoteResult } from '../../domains/quote';
4
- import type { QuoteDisplayAmounts } from '../../domains/quoteMode';
5
- import type { FunkitActiveCheckoutItem } from '../../providers/FunkitCheckoutContext';
3
+ import type { FunkitCheckoutQuoteResult } from '~/domains/quote';
4
+ import type { QuoteDisplayAmounts } from '~/domains/quoteMode';
5
+ import type { FunkitActiveCheckoutItem } from '~/providers/FunkitCheckoutContext';
6
6
  interface PaymentAmountSummaryProps {
7
7
  isLoading: boolean;
8
8
  targetChainId: string;
@@ -1,6 +1,6 @@
1
1
  import React, { type ReactNode } from 'react';
2
- import type { CheckoutFees } from '../../domains/fees';
3
- import type { FunkitCheckoutQuoteResult } from '../../domains/quote';
2
+ import type { CheckoutFees } from '~/domains/fees';
3
+ import type { FunkitCheckoutQuoteResult } from '~/domains/quote';
4
4
  import { type FunTooltipProps } from '../FunTooltip/FunTooltip';
5
5
  export declare const NO_DATA_VALUE = "-";
6
6
  interface PaymentFeesSummaryProps {
@@ -1,4 +1,4 @@
1
- import type { TrackEventData } from '../../hooks/track/useTrack';
2
- import type { FunkitActiveCheckoutItem } from '../../providers/FunkitCheckoutContext';
1
+ import type { TrackEventData } from '~/hooks/track/useTrack';
2
+ import type { FunkitActiveCheckoutItem } from '~/providers/FunkitCheckoutContext';
3
3
  import type { FeeItem } from './PaymentFeesSummary';
4
4
  export declare const trackEventFromPaymentFeesSummary: (checkoutItem: FunkitActiveCheckoutItem, feeItems: FeeItem[], isWithdrawal: boolean) => TrackEventData;
@@ -1,7 +1,7 @@
1
1
  import type { FunAddress } from '@funkit/api-base';
2
2
  import React from 'react';
3
- import type { PaymentMethodInfo } from '../../domains/paymentMethods';
4
- import type { FunkitCheckoutConfig } from '../../providers/FunkitCheckoutContext/types';
3
+ import type { PaymentMethodInfo } from '~/domains/paymentMethods';
4
+ import type { FunkitCheckoutConfig } from '~/providers/FunkitCheckoutContext/types';
5
5
  interface PaymentMethodSummaryProps {
6
6
  paymentMethodInfo: PaymentMethodInfo;
7
7
  customRecipient: FunAddress | undefined;
@@ -1,6 +1,6 @@
1
1
  import type { FunAddress } from '@funkit/api-base';
2
2
  import React, { type ReactNode } from 'react';
3
- import { type PaymentMethodInfo } from '../../domains/paymentMethods';
3
+ import { type PaymentMethodInfo } from '~/domains/paymentMethods';
4
4
  type PaymentRouteSummaryProps = {
5
5
  paymentMethodInfo: PaymentMethodInfo | null;
6
6
  customRecipient: FunAddress | undefined;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import { type FunkitCheckoutConfig } from '../../index';
3
- import { FunCheckoutStep } from '../../modals/CheckoutModal/stepTransition';
2
+ import { type FunkitCheckoutConfig } from '~/index';
3
+ import { FunCheckoutStep } from '~/modals/CheckoutModal/stepTransition';
4
4
  interface FunCheckoutModalHeightAnimationWrapperProps {
5
5
  children: React.ReactNode;
6
6
  checkoutConfig?: FunkitCheckoutConfig;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { TransferTokenDefault } from '../../hooks/useTokenAndChainDropdown';
2
+ import type { TransferTokenDefault } from '~/hooks/useTokenAndChainDropdown';
3
3
  interface NewTokenDepositAlertProps {
4
4
  onClick: (value: TransferTokenDefault) => void;
5
5
  }
@@ -1,7 +1,7 @@
1
1
  import type { ApiFunkitCheckoutQuoteResult } from '@funkit/utils';
2
2
  import React, { type ReactNode } from 'react';
3
- import type { ServerCheckoutConfig } from '../../domains/clientMetadata';
4
- import type { FunkitCheckoutConfig } from '../../providers/FunkitCheckoutContext';
3
+ import type { ServerCheckoutConfig } from '~/domains/clientMetadata';
4
+ import type { FunkitCheckoutConfig } from '~/providers/FunkitCheckoutContext';
5
5
  interface ReceiveAmountProps {
6
6
  config: ServerCheckoutConfig | FunkitCheckoutConfig;
7
7
  /** To override the default icon if custom one is needed */
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { PaymentMethod } from '../../domains/paymentMethods';
2
+ import { PaymentMethod } from '~/domains/paymentMethods';
3
3
  import { type FunPaymentMethodItemProps } from '../FunPaymentMethodItem/FunPaymentMethodItem';
4
4
  interface SourcePaymentMethodItemProps extends Omit<FunPaymentMethodItemProps, 'valueIcon'> {
5
5
  type: PaymentMethod;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { CheckoutProgressStep } from '../../../providers/FunkitCheckoutContext';
2
+ import type { CheckoutProgressStep } from '~/providers/FunkitCheckoutContext';
3
3
  import type { TransactionStatusProps } from '../TransactionStatus';
4
4
  interface AnimatedSpinnerProps {
5
5
  currentStatus: TransactionStatusProps['status'];
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { CheckoutProgressStep } from '../../providers/FunkitCheckoutContext';
2
+ import type { CheckoutProgressStep } from '~/providers/FunkitCheckoutContext';
3
3
  export declare const STEP_SPINNER_MORPH_DEGREES = 45;
4
4
  export declare const STEP_SPINNER_MORPH_MAX_OFFSET = 4;
5
5
  export declare const STEP_SPINNER_SIZE_BIG_SCALE = 1;
@@ -1,7 +1,7 @@
1
1
  import type { TFunction } from 'i18next';
2
2
  import React, { type ReactNode } from 'react';
3
- import type { CheckoutProgressStep } from '../../providers/FunkitCheckoutContext';
4
- import { type FunkitTextCustomizationsConfig } from '../../providers/FunkitConfigContext';
3
+ import type { CheckoutProgressStep } from '~/providers/FunkitCheckoutContext';
4
+ import { type FunkitTextCustomizationsConfig } from '~/providers/FunkitConfigContext';
5
5
  export interface TransactionStatusProps {
6
6
  isSlowTransaction: boolean;
7
7
  isWithdrawal: boolean;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { FeeValue } from '../../hooks/useTokenTransfer';
2
+ import type { FeeValue } from '~/hooks/useTokenTransfer';
3
3
  interface TransferTokenDetailsProps {
4
4
  disabled?: boolean;
5
5
  estProcessingTime?: number;
@@ -1,4 +1,4 @@
1
- import type { FunkitCheckoutConfig } from '../providers/FunkitCheckoutContext';
1
+ import type { FunkitCheckoutConfig } from '~/providers/FunkitCheckoutContext';
2
2
  export declare function isPolymarketCustomer(apiKey: string): apiKey is "Y53dikxXdT4E3afI1l8BMBSWgyhKvf65k6Dut1k6";
3
3
  export declare function isOstiumCustomer(apiKey: string): apiKey is "SMbBD7DS9b3EPcyBVg4a8az1rRWR9xB068chHoUN";
4
4
  export declare function isBsxCustomer(apiKey: string): apiKey is "zN1zrkmLQn4oZtLUW9Qt02uuBI3Jvrgj8Ni40Gf1";
@@ -8,6 +8,7 @@ export declare const NATIVE_TOKEN = "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee"
8
8
  export declare const WETH_MAINNET_ADDRESS: Address;
9
9
  export declare const FUN_ORG_NAME = "Fun.xyz";
10
10
  export declare const FUN_TERMS_URL = "https://fun.xyz/terms";
11
+ export declare const FUN_HELP_FAQ_URL = "https://intercom.help/funxyz/en/articles/10003876-transfer-crypto-guide-faqs";
11
12
  export interface FunkitUserInfoBase {
12
13
  /** Unique identifier of the user **/
13
14
  id: string | Address;
@@ -6,7 +6,7 @@
6
6
  * would run SDK init for every consumer of this module.
7
7
  */
8
8
  import type { Address } from 'viem';
9
- import type { FunkitCheckoutConfig } from '../providers/FunkitCheckoutContext';
9
+ import type { FunkitCheckoutConfig } from '~/providers/FunkitCheckoutContext';
10
10
  export declare const AAVE_MARKET_ADDRESS_BY_CHAIN: Record<string, Address>;
11
11
  interface AaveNativeSupplyContextArgs {
12
12
  apiKey: string;
@@ -1,7 +1,7 @@
1
1
  import type { TFunction } from 'i18next';
2
2
  import type { Address } from 'viem';
3
- import type { FunkitCheckoutConfig } from '../providers/FunkitCheckoutContext';
4
- import type { AssetHoldingsItem } from '../utils/assets';
3
+ import type { FunkitCheckoutConfig } from '~/providers/FunkitCheckoutContext';
4
+ import type { AssetHoldingsItem } from '~/utils/assets';
5
5
  import { PaymentMethod } from '../domains/paymentMethods';
6
6
  /**
7
7
  * Calculates the minimum USD value an asset must have to be considered usable for checkout.
@@ -1,6 +1,6 @@
1
1
  import { type FunAddress } from '@funkit/api-base';
2
2
  import { CheckoutRefundState, CheckoutState } from '@funkit/api-base';
3
- import type { GeneralWalletContextProps } from '../providers/GeneralWalletProvider';
3
+ import type { GeneralWalletContextProps } from '~/providers/GeneralWalletProvider';
4
4
  export declare const hasRisk: (apiKey: string, walletAddress: GeneralWalletContextProps["walletAddress"], customRecipient?: FunAddress) => Promise<boolean>;
5
5
  export type CheckoutStatus = 'failed' | 'expired' | 'processing' | 'completed';
6
6
  type CheckoutStateBooleans = {
@@ -1,6 +1,6 @@
1
1
  import type { TFunction } from 'i18next';
2
- import type { ErrorNotification } from '../components/FunNotification/FunNotification';
3
- import type { Config, Connector } from '../wagmi/hooks';
2
+ import type { ErrorNotification } from '~/components/FunNotification/FunNotification';
3
+ import type { Config, Connector } from '~/wagmi/hooks';
4
4
  export interface CheckoutConfirmationError extends ErrorNotification {
5
5
  durationMs?: number;
6
6
  code: ConfirmationErrorCode;
@@ -1,5 +1,5 @@
1
1
  import type { Address } from 'viem';
2
- import type { FunkitCheckoutConfig } from '../providers/FunkitCheckoutContext';
2
+ import type { FunkitCheckoutConfig } from '~/providers/FunkitCheckoutContext';
3
3
  export declare function getCheckoutRecipient({ walletAddress, config, }: {
4
4
  walletAddress: string;
5
5
  config: FunkitCheckoutConfig;
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import type { DynamicTargetAssetCandidate } from '@funkit/connect-core';
8
8
  import type { ApiCheckoutClientMetadata } from '@funkit/utils';
9
- import type { FunkitActiveCheckoutItem, FunkitCheckoutActionParams, FunkitCheckoutConfig } from '../providers/FunkitCheckoutContext';
9
+ import type { FunkitActiveCheckoutItem, FunkitCheckoutActionParams, FunkitCheckoutConfig } from '~/providers/FunkitCheckoutContext';
10
10
  import type { FunkitCheckoutQuoteResult } from './quote';
11
11
  type Serialize<T> = T extends (...args: never[]) => unknown ? DeepSerialize<ReturnType<T>> : T extends object ? DeepSerialize<T> : T;
12
12
  type DeepSerialize<T> = {
@@ -1,5 +1,5 @@
1
1
  import type { DynamicRoutePath } from '@funkit/fun-relay';
2
- import type { DynamicTargetAssetCandidate, FunkitCheckoutConfig } from '../providers/FunkitCheckoutContext';
2
+ import type { DynamicTargetAssetCandidate, FunkitCheckoutConfig } from '~/providers/FunkitCheckoutContext';
3
3
  /**
4
4
  * The path shape accepted by {@link mergeDynamicRoutingIntoConfig} /
5
5
  * `applyDynamicRouting`. It is a {@link DynamicRoutePath} with the
@@ -1,7 +1,7 @@
1
1
  import type { CheckoutQuoteResponse } from '@funkit/utils';
2
- import type { BluvoBrokerageQuote } from '../hooks/useBluvo';
3
- import { LoginType } from '../providers/GeneralWalletProvider';
4
- import type { Config } from '../wagmi/hooks';
2
+ import type { BluvoBrokerageQuote } from '~/hooks/useBluvo';
3
+ import { LoginType } from '~/providers/GeneralWalletProvider';
4
+ import type { Config } from '~/wagmi/hooks';
5
5
  import type { FunkitActiveCheckoutItem } from '../providers/FunkitCheckoutContext';
6
6
  import { PaymentMethod, type PaymentMethodInfo } from './paymentMethods';
7
7
  export interface BrokerageDetails {
@@ -1,6 +1,6 @@
1
1
  import type { BridgeCustomer, BridgeVirtualBankAccount } from '@funkit/api-base';
2
2
  import { PaymentMethod } from '@funkit/connect-core';
3
- import { type BluvoExchangeType } from '../consts/bluvo';
3
+ import { type BluvoExchangeType } from '~/consts/bluvo';
4
4
  export { PaymentMethod };
5
5
  /** Full payment method information used in frontend during payment flows. **/
6
6
  interface PaymentMethodInfoBase {
@@ -1,11 +1,11 @@
1
1
  import type { ApiFunkitCheckoutQuoteResult, CheckoutQuoteResponse } from '@funkit/utils';
2
2
  import type { Dnum } from 'dnum';
3
3
  import { type Address } from 'viem';
4
- import type { Config } from '../wagmi/hooks';
5
- import type { BluvoBrokerageQuote } from '../hooks/useBluvo';
6
- import type { FunkitDirectExecutionInfo } from '../hooks/useCheckoutDirectExecution';
7
- import type { FunkitActiveCheckoutItem } from '../providers/FunkitCheckoutContext';
8
- import type { LoginType } from '../providers/GeneralWalletProvider';
4
+ import type { Config } from '~/wagmi/hooks';
5
+ import type { BluvoBrokerageQuote } from '~/hooks/useBluvo';
6
+ import type { FunkitDirectExecutionInfo } from '~/hooks/useCheckoutDirectExecution';
7
+ import type { FunkitActiveCheckoutItem } from '~/providers/FunkitCheckoutContext';
8
+ import type { LoginType } from '~/providers/GeneralWalletProvider';
9
9
  import { type BrokerageDetails, type CheckoutFees } from './fees';
10
10
  import { type PaymentMethodInfo } from './paymentMethods';
11
11
  import type { QuoteBuilder } from './quoteMode';
@@ -1,3 +1,3 @@
1
- import type { IsStablecoinFn } from '../../hooks/useIsStablecoin';
1
+ import type { IsStablecoinFn } from '~/hooks/useIsStablecoin';
2
2
  import { type QuoteBuilder } from './types';
3
3
  export declare function createExactOutBuilder(isStablecoin: IsStablecoinFn): QuoteBuilder;
@@ -1,4 +1,4 @@
1
- import type { IsStablecoinFn } from '../../hooks/useIsStablecoin';
1
+ import type { IsStablecoinFn } from '~/hooks/useIsStablecoin';
2
2
  import { type QuoteBuilder } from './types';
3
3
  export interface ResolveQuoteBuilderParams {
4
4
  hasPostAction: boolean | undefined;
@@ -1,6 +1,6 @@
1
1
  import type { Dnum } from 'dnum';
2
- import type { PaymentMethod } from '../../domains/paymentMethods';
3
- import type { FunkitCheckoutQuoteResult } from '../../domains/quote';
2
+ import type { PaymentMethod } from '~/domains/paymentMethods';
3
+ import type { FunkitCheckoutQuoteResult } from '~/domains/quote';
4
4
  export declare enum QuoteMode {
5
5
  EXACT_IN = "EXACT_IN",
6
6
  EXACT_OUT = "EXACT_OUT",
@@ -1,6 +1,6 @@
1
1
  import { type LightningQuoteResponse } from '@funkit/api-base';
2
2
  import { type Address } from 'viem';
3
- import type { GeneralWalletContextProps } from '../../providers/GeneralWalletProvider';
3
+ import type { GeneralWalletContextProps } from '~/providers/GeneralWalletProvider';
4
4
  export declare function usdToSats(usd: number | undefined, btcPrice: number | undefined): bigint | undefined;
5
5
  type UseLightningQuoteParams = {
6
6
  depositAddr: Address | undefined;
@@ -1,4 +1,4 @@
1
- import { PaymentMethod } from '../../domains/paymentMethods';
1
+ import { PaymentMethod } from '~/domains/paymentMethods';
2
2
  /**
3
3
  * @param paymentMethod - Only runs when PaymentMethod.CARD is provided
4
4
  */
@@ -1,4 +1,4 @@
1
- import { PaymentMethod } from '../../domains/paymentMethods';
1
+ import { PaymentMethod } from '~/domains/paymentMethods';
2
2
  interface RecentCheckoutsQuery {
3
3
  isVisible: boolean;
4
4
  paymentMethod?: PaymentMethod;
@@ -1,7 +1,7 @@
1
1
  import type { DirectExecution } from '@funkit/api-base';
2
2
  import { type RecentDepositsApiQueryParams } from '@funkit/connect-core';
3
3
  import type { UseQueryResult } from '@tanstack/react-query';
4
- import { type PurifiedCheckoutHistoryItem } from '../../utils/purifyCheckoutHistoryItem';
4
+ import { type PurifiedCheckoutHistoryItem } from '~/utils/purifyCheckoutHistoryItem';
5
5
  type RecentDepositsApiQuery = Omit<RecentDepositsApiQueryParams, 'isFasterNotificationsEnabled' | 'logger'>;
6
6
  type DefaultDEQueryKey = 'apiKey' | 'userId' | 'refreshIntervalMs';
7
7
  export type RecentDEQuerySimplified = {
@@ -1,4 +1,4 @@
1
- import { type FunkitWithdrawalConfig } from '../../providers/FunkitCheckoutContext';
1
+ import { type FunkitWithdrawalConfig } from '~/providers/FunkitCheckoutContext';
2
2
  interface CheckoutQuoteParams {
3
3
  recipientAddress: string;
4
4
  selectedChainId: string | undefined;
@@ -15,8 +15,8 @@ export declare function useWithdrawalQuote({ recipientAddress, selectedChainId,
15
15
  quoteEnabled: boolean;
16
16
  data: {
17
17
  baseQuote: import("@funkit/utils").CheckoutQuoteResponse;
18
- checkedAssetAmount: import("../../domains/quote").CheckedAssetAmount;
19
- finalEstimation: import("../../domains/quote").FunkitCheckoutQuoteResult;
18
+ checkedAssetAmount: import("~/domains/quote").CheckedAssetAmount;
19
+ finalEstimation: import("~/domains/quote").FunkitCheckoutQuoteResult;
20
20
  } | null;
21
21
  error: Error;
22
22
  isError: true;
@@ -41,21 +41,21 @@ export declare function useWithdrawalQuote({ recipientAddress, selectedChainId,
41
41
  isStale: boolean;
42
42
  refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<{
43
43
  baseQuote: import("@funkit/utils").CheckoutQuoteResponse;
44
- checkedAssetAmount: import("../../domains/quote").CheckedAssetAmount;
45
- finalEstimation: import("../../domains/quote").FunkitCheckoutQuoteResult;
44
+ checkedAssetAmount: import("~/domains/quote").CheckedAssetAmount;
45
+ finalEstimation: import("~/domains/quote").FunkitCheckoutQuoteResult;
46
46
  } | null, Error>>;
47
47
  fetchStatus: import("@tanstack/react-query").FetchStatus;
48
48
  promise: Promise<{
49
49
  baseQuote: import("@funkit/utils").CheckoutQuoteResponse;
50
- checkedAssetAmount: import("../../domains/quote").CheckedAssetAmount;
51
- finalEstimation: import("../../domains/quote").FunkitCheckoutQuoteResult;
50
+ checkedAssetAmount: import("~/domains/quote").CheckedAssetAmount;
51
+ finalEstimation: import("~/domains/quote").FunkitCheckoutQuoteResult;
52
52
  } | null>;
53
53
  } | {
54
54
  quoteEnabled: boolean;
55
55
  data: {
56
56
  baseQuote: import("@funkit/utils").CheckoutQuoteResponse;
57
- checkedAssetAmount: import("../../domains/quote").CheckedAssetAmount;
58
- finalEstimation: import("../../domains/quote").FunkitCheckoutQuoteResult;
57
+ checkedAssetAmount: import("~/domains/quote").CheckedAssetAmount;
58
+ finalEstimation: import("~/domains/quote").FunkitCheckoutQuoteResult;
59
59
  } | null;
60
60
  error: null;
61
61
  isError: false;
@@ -80,14 +80,14 @@ export declare function useWithdrawalQuote({ recipientAddress, selectedChainId,
80
80
  isStale: boolean;
81
81
  refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<{
82
82
  baseQuote: import("@funkit/utils").CheckoutQuoteResponse;
83
- checkedAssetAmount: import("../../domains/quote").CheckedAssetAmount;
84
- finalEstimation: import("../../domains/quote").FunkitCheckoutQuoteResult;
83
+ checkedAssetAmount: import("~/domains/quote").CheckedAssetAmount;
84
+ finalEstimation: import("~/domains/quote").FunkitCheckoutQuoteResult;
85
85
  } | null, Error>>;
86
86
  fetchStatus: import("@tanstack/react-query").FetchStatus;
87
87
  promise: Promise<{
88
88
  baseQuote: import("@funkit/utils").CheckoutQuoteResponse;
89
- checkedAssetAmount: import("../../domains/quote").CheckedAssetAmount;
90
- finalEstimation: import("../../domains/quote").FunkitCheckoutQuoteResult;
89
+ checkedAssetAmount: import("~/domains/quote").CheckedAssetAmount;
90
+ finalEstimation: import("~/domains/quote").FunkitCheckoutQuoteResult;
91
91
  } | null>;
92
92
  } | {
93
93
  quoteEnabled: boolean;
@@ -115,14 +115,14 @@ export declare function useWithdrawalQuote({ recipientAddress, selectedChainId,
115
115
  isStale: boolean;
116
116
  refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<{
117
117
  baseQuote: import("@funkit/utils").CheckoutQuoteResponse;
118
- checkedAssetAmount: import("../../domains/quote").CheckedAssetAmount;
119
- finalEstimation: import("../../domains/quote").FunkitCheckoutQuoteResult;
118
+ checkedAssetAmount: import("~/domains/quote").CheckedAssetAmount;
119
+ finalEstimation: import("~/domains/quote").FunkitCheckoutQuoteResult;
120
120
  } | null, Error>>;
121
121
  fetchStatus: import("@tanstack/react-query").FetchStatus;
122
122
  promise: Promise<{
123
123
  baseQuote: import("@funkit/utils").CheckoutQuoteResponse;
124
- checkedAssetAmount: import("../../domains/quote").CheckedAssetAmount;
125
- finalEstimation: import("../../domains/quote").FunkitCheckoutQuoteResult;
124
+ checkedAssetAmount: import("~/domains/quote").CheckedAssetAmount;
125
+ finalEstimation: import("~/domains/quote").FunkitCheckoutQuoteResult;
126
126
  } | null>;
127
127
  } | {
128
128
  quoteEnabled: boolean;
@@ -150,14 +150,14 @@ export declare function useWithdrawalQuote({ recipientAddress, selectedChainId,
150
150
  isStale: boolean;
151
151
  refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<{
152
152
  baseQuote: import("@funkit/utils").CheckoutQuoteResponse;
153
- checkedAssetAmount: import("../../domains/quote").CheckedAssetAmount;
154
- finalEstimation: import("../../domains/quote").FunkitCheckoutQuoteResult;
153
+ checkedAssetAmount: import("~/domains/quote").CheckedAssetAmount;
154
+ finalEstimation: import("~/domains/quote").FunkitCheckoutQuoteResult;
155
155
  } | null, Error>>;
156
156
  fetchStatus: import("@tanstack/react-query").FetchStatus;
157
157
  promise: Promise<{
158
158
  baseQuote: import("@funkit/utils").CheckoutQuoteResponse;
159
- checkedAssetAmount: import("../../domains/quote").CheckedAssetAmount;
160
- finalEstimation: import("../../domains/quote").FunkitCheckoutQuoteResult;
159
+ checkedAssetAmount: import("~/domains/quote").CheckedAssetAmount;
160
+ finalEstimation: import("~/domains/quote").FunkitCheckoutQuoteResult;
161
161
  } | null>;
162
162
  } | {
163
163
  quoteEnabled: boolean;
@@ -185,21 +185,21 @@ export declare function useWithdrawalQuote({ recipientAddress, selectedChainId,
185
185
  isStale: boolean;
186
186
  refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<{
187
187
  baseQuote: import("@funkit/utils").CheckoutQuoteResponse;
188
- checkedAssetAmount: import("../../domains/quote").CheckedAssetAmount;
189
- finalEstimation: import("../../domains/quote").FunkitCheckoutQuoteResult;
188
+ checkedAssetAmount: import("~/domains/quote").CheckedAssetAmount;
189
+ finalEstimation: import("~/domains/quote").FunkitCheckoutQuoteResult;
190
190
  } | null, Error>>;
191
191
  fetchStatus: import("@tanstack/react-query").FetchStatus;
192
192
  promise: Promise<{
193
193
  baseQuote: import("@funkit/utils").CheckoutQuoteResponse;
194
- checkedAssetAmount: import("../../domains/quote").CheckedAssetAmount;
195
- finalEstimation: import("../../domains/quote").FunkitCheckoutQuoteResult;
194
+ checkedAssetAmount: import("~/domains/quote").CheckedAssetAmount;
195
+ finalEstimation: import("~/domains/quote").FunkitCheckoutQuoteResult;
196
196
  } | null>;
197
197
  } | {
198
198
  quoteEnabled: boolean;
199
199
  data: {
200
200
  baseQuote: import("@funkit/utils").CheckoutQuoteResponse;
201
- checkedAssetAmount: import("../../domains/quote").CheckedAssetAmount;
202
- finalEstimation: import("../../domains/quote").FunkitCheckoutQuoteResult;
201
+ checkedAssetAmount: import("~/domains/quote").CheckedAssetAmount;
202
+ finalEstimation: import("~/domains/quote").FunkitCheckoutQuoteResult;
203
203
  } | null;
204
204
  isError: false;
205
205
  error: null;
@@ -224,14 +224,14 @@ export declare function useWithdrawalQuote({ recipientAddress, selectedChainId,
224
224
  isStale: boolean;
225
225
  refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<{
226
226
  baseQuote: import("@funkit/utils").CheckoutQuoteResponse;
227
- checkedAssetAmount: import("../../domains/quote").CheckedAssetAmount;
228
- finalEstimation: import("../../domains/quote").FunkitCheckoutQuoteResult;
227
+ checkedAssetAmount: import("~/domains/quote").CheckedAssetAmount;
228
+ finalEstimation: import("~/domains/quote").FunkitCheckoutQuoteResult;
229
229
  } | null, Error>>;
230
230
  fetchStatus: import("@tanstack/react-query").FetchStatus;
231
231
  promise: Promise<{
232
232
  baseQuote: import("@funkit/utils").CheckoutQuoteResponse;
233
- checkedAssetAmount: import("../../domains/quote").CheckedAssetAmount;
234
- finalEstimation: import("../../domains/quote").FunkitCheckoutQuoteResult;
233
+ checkedAssetAmount: import("~/domains/quote").CheckedAssetAmount;
234
+ finalEstimation: import("~/domains/quote").FunkitCheckoutQuoteResult;
235
235
  } | null>;
236
236
  };
237
237
  export {};
@@ -1,4 +1,4 @@
1
- import type { FunkitUserInfo } from '../../consts/funkit';
1
+ import type { FunkitUserInfo } from '~/consts/funkit';
2
2
  import type { CheckoutModalEvent } from './CheckoutModalEvent';
3
3
  import type { WithdrawModalEvent } from './WithdrawModalEvent';
4
4
  export interface TrackEventData {