@funkit/connect 8.4.0 → 8.5.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 (64) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist/__generated__/default_configs.d.ts +7 -1
  3. package/dist/{chunk-4WY7FNYP.js → chunk-G4ZF44OO.js} +2 -0
  4. package/dist/{chunk-UUHLEWAL.js → chunk-GOGXF6NC.js} +1 -1
  5. package/dist/{chunk-Z4QDKBBG.js → chunk-K4YHIQ6O.js} +1 -1
  6. package/dist/clients/fanatics.css +3730 -3723
  7. package/dist/clients/fanatics.js +2 -2
  8. package/dist/components/Box/Box.d.ts +2 -2
  9. package/dist/components/FunPayments/FunPaymentMethods.d.ts +2 -2
  10. package/dist/css/sprinkles.css.d.ts +12 -2
  11. package/dist/hooks/track/CheckoutModalEvent.d.ts +6 -1
  12. package/dist/hooks/useCheckoutDirectExecution.d.ts +1 -0
  13. package/dist/hooks/usePaymentSources.d.ts +3 -2
  14. package/dist/index.css +3730 -3723
  15. package/dist/index.js +315 -201
  16. package/dist/modals/CheckoutModal/SourceChange/FormOfPaymentsList.d.ts +5 -5
  17. package/dist/modals/CheckoutModal/SourceChange/SourceChange.d.ts +2 -2
  18. package/dist/modals/CheckoutModal/SwappedIframe/SwappedIframe.d.ts +2 -2
  19. package/dist/providers/FunkitCheckoutContext/index.d.ts +1 -0
  20. package/dist/providers/FunkitCheckoutContext/types.d.ts +5 -0
  21. package/dist/providers/FunkitConfigContext.d.ts +0 -2
  22. package/dist/providers/FunkitThemeProvider.d.ts +15 -0
  23. package/dist/themes/baseTheme.js +1 -1
  24. package/dist/themes/darkTheme.js +2 -2
  25. package/dist/themes/lightTheme.js +2 -2
  26. package/dist/utils/swapped.d.ts +2 -0
  27. package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
  28. package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
  29. package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
  30. package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
  31. package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
  32. package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
  33. package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
  34. package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
  35. package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -2
  36. package/dist/wallets/walletConnectors/index.js +38 -38
  37. package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
  38. package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
  39. package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
  40. package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +2 -2
  41. package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
  42. package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
  43. package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
  44. package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
  45. package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
  46. package/package.json +4 -4
  47. package/dist/wallets/walletConnectors/{chunk-T5KHVUFR.js → chunk-3ZWIUCOI.js} +3 -3
  48. package/dist/wallets/walletConnectors/{chunk-77UTBHGP.js → chunk-4SC3PZVM.js} +3 -3
  49. package/dist/wallets/walletConnectors/{chunk-5EAOMOTO.js → chunk-5AV2NSL3.js} +3 -3
  50. package/dist/wallets/walletConnectors/{chunk-RA7MCWF4.js → chunk-5FWURLPF.js} +3 -3
  51. package/dist/wallets/walletConnectors/{chunk-R6Y36CMA.js → chunk-6677RKVT.js} +3 -3
  52. package/dist/wallets/walletConnectors/{chunk-MRRZOQGZ.js → chunk-75A4Q5E5.js} +3 -3
  53. package/dist/wallets/walletConnectors/{chunk-U5QP7MI5.js → chunk-ENLR4LXN.js} +3 -3
  54. package/dist/wallets/walletConnectors/{chunk-2E4PDCEJ.js → chunk-FT5BX7TL.js} +3 -3
  55. package/dist/wallets/walletConnectors/{chunk-JFHP4YJG.js → chunk-GEMN6DM5.js} +3 -3
  56. package/dist/wallets/walletConnectors/{chunk-CZYUE3AR.js → chunk-GXTI2PZD.js} +3 -3
  57. package/dist/wallets/walletConnectors/{chunk-47QF6EET.js → chunk-LGT6IAXI.js} +3 -3
  58. package/dist/wallets/walletConnectors/{chunk-W7Y6I22Y.js → chunk-N7475PGA.js} +3 -3
  59. package/dist/wallets/walletConnectors/{chunk-FA5DTT5R.js → chunk-O6YFVGVQ.js} +3 -3
  60. package/dist/wallets/walletConnectors/{chunk-UOTQQJJD.js → chunk-OCM5YHT5.js} +3 -3
  61. package/dist/wallets/walletConnectors/{chunk-HPHADOYD.js → chunk-PRGCIJ7Y.js} +3 -3
  62. package/dist/wallets/walletConnectors/{chunk-VYNVAGSV.js → chunk-RNIMZDHW.js} +3 -3
  63. package/dist/wallets/walletConnectors/{chunk-RLRQYUYC.js → chunk-TLOROKED.js} +3 -3
  64. package/dist/wallets/walletConnectors/{chunk-YLJDPTYF.js → chunk-WNQ3NPHX.js} +3 -3
@@ -53,8 +53,8 @@ export declare const Box: React.ForwardRefExoticComponent<{
53
53
  readonly cursor?: "default" | "help" | "not-allowed" | "pointer" | undefined;
54
54
  readonly flexDirection?: "column" | "row" | undefined;
55
55
  readonly fontFamily?: "buttonTextPrimary" | "buttonTextTertiary" | "buttonTextSecondary" | "amountValue" | "body" | "header" | "inputAmount" | "txStatusDescription" | "txStatusTitle" | undefined;
56
- readonly fontSize?: "inherit" | "buttonTextPrimary" | "buttonTextTertiary" | "buttonTextSecondary" | "body" | "inputAmount" | "txStatusDescription" | "txStatusTitle" | "cryptoCashToggle" | "modalTopbarTitle" | "modalBottomBarButtonText" | "paymentMethodItemSubtitle" | "paymentMethodItemTitle" | "selectAssetItemSubtitle" | "selectAssetItemTitle" | "txBreakdown" | "txSummaryLabel" | "txSummaryValue" | "10" | "12" | "13" | "14" | "16" | "18" | "20" | "21" | "40" | "57" | "header-14" | "header-36" | "dollarValue" | "modalTopbarSubtitle" | "youPayYouReceivePrimaryFontSize" | "youPayYouReceiveSecondaryFontSize" | "transferTokenLabelFontSize" | "depositAddressFontSize" | "funFeatureListItemFontSize" | "dropdownItemFontSize" | "sourceListSectionLabelFontSize" | undefined;
57
- readonly fontWeight?: "inherit" | "medium" | "bold" | "inputAmount" | "txStatusDescription" | "txStatusTitle" | "regular" | "semibold" | "heavy" | "cryptoCashToggle" | "modalTopbarTitle" | "modalBottomBarButtonText" | "paymentMethodItemSubtitle" | "paymentMethodItemTitle" | "selectAssetItemSubtitle" | "selectAssetItemTitle" | "transferTokenLabelFontWeight" | "txBreakdown" | "txSummaryLabel" | "txSummaryValue" | "sourceListSectionLabelFontWeight" | undefined;
56
+ readonly fontSize?: "inherit" | "buttonTextPrimary" | "buttonTextTertiary" | "buttonTextSecondary" | "body" | "inputAmount" | "txStatusDescription" | "txStatusTitle" | "cryptoCashToggle" | "modalTopbarTitle" | "modalBottomBarButtonText" | "paymentMethodItemSubtitle" | "paymentMethodItemTitle" | "selectAssetItemSubtitle" | "selectAssetItemTitle" | "txBreakdown" | "txSummaryLabel" | "txSummaryValue" | "10" | "12" | "13" | "14" | "16" | "18" | "20" | "21" | "40" | "57" | "header-14" | "header-36" | "dollarValue" | "modalTopbarSubtitle" | "youPayYouReceivePrimaryFontSize" | "youPayYouReceiveSecondaryFontSize" | "transferTokenLabelFontSize" | "depositAddressFontSize" | "funFeatureListItemFontSize" | "dropdownItemFontSize" | "sourceListSectionLabelFontSize" | "formOfPaymentsListSectionLabelFontSize" | undefined;
57
+ readonly fontWeight?: "inherit" | "medium" | "bold" | "inputAmount" | "txStatusDescription" | "txStatusTitle" | "regular" | "semibold" | "heavy" | "cryptoCashToggle" | "modalTopbarTitle" | "modalBottomBarButtonText" | "paymentMethodItemSubtitle" | "paymentMethodItemTitle" | "selectAssetItemSubtitle" | "selectAssetItemTitle" | "transferTokenLabelFontWeight" | "txBreakdown" | "txSummaryLabel" | "txSummaryValue" | "sourceListSectionLabelFontWeight" | "formOfPaymentsListSectionLabelFontWeight" | undefined;
58
58
  readonly gap?: "0" | "1" | "10" | "12" | "13" | "14" | "16" | "18" | "20" | "40" | "confirmationStepMarginTop" | "confirmationStepVerticalGap" | "cryptoCashToggleContainerPadding" | "cryptoCashToggleMarginBottom" | "cryptoCashToggleMarginTop" | "cryptoCashToggleTabPaddingY" | "modalBaseHorizontalPadding" | "modalBottomHorizontalPadding" | "modalPaddingBottomUpper" | "modalPaddingBottomLower" | "modalTopBarVerticalTextSpacing" | "modalBottomBarButtonPaddingY" | "selectAssetItemPaddingX" | "selectAssetItemPaddingY" | "selectAssetItemTextGap" | "selectBrokerageItemPaddingX" | "selectBrokerageItemPaddingY" | "txBreakdownMarginY" | "txBreakdownPaddingX" | "txSummaryBoxPaddingX" | "txSummaryBoxPaddingY" | "txSummaryLineItemPadding" | "txSummaryDividerMarginX" | "txSummaryDividerMarginY" | "verticalSectionGap" | "youPayYouReceivePaddingLeft" | "youPayYouReceivePaddingRight" | "youPayYouReceivePaddingY" | "2" | "3" | "4" | "6" | "8" | "11" | "24" | "30" | "15" | "28" | "32" | "36" | "44" | "-1" | "5" | "7" | "9" | "64" | undefined;
59
59
  readonly height?: "1" | "connectExchangeIconSize" | "cryptoCashToggleIconSize" | "dollarValueSkeletonHeight" | "dollarValueSkeletonWidth" | "inputAmountQuickOptionButtonHeight" | "inputAmountMinHeight" | "modalBottomBarButtonHeight" | "modalBottomBarCloseButtonHeight" | "modalTopBarHeight" | "paymentAmountSkeletonBlockHeight" | "paymentAmountSkeletonBlockWidth" | "paymentAmountSkeletonCircleSize" | "paymentMethodItemIconSize" | "selectAssetItemIconSize" | "txBreakdownSkeletonWidth" | "txSummaryLineSkeletonHeight" | "txSummaryLineSkeletonWidth" | "10" | "12" | "13" | "14" | "16" | "18" | "20" | "40" | "57" | "2" | "4" | "8" | "11" | "24" | "30" | "full" | "15" | "28" | "32" | "34" | "36" | "44" | "48" | "50" | "54" | "60" | "72" | "76" | "93" | "96" | "100" | "108" | "120" | "160" | "180" | "200" | "240" | "300" | "half" | "max" | undefined;
60
60
  readonly justifyContent?: "center" | "space-around" | "space-between" | "flex-end" | "flex-start" | undefined;
@@ -1,4 +1,4 @@
1
- import { type FormOfPayment } from '@funkit/api-base';
1
+ import { type SwappedFormOfPayment } from '@funkit/api-base';
2
2
  import React, { type ReactNode } from 'react';
3
3
  import { type FunkitPaymentMethodIconsConfig } from '../../providers/FunkitConfigContext';
4
4
  import { PaymentMethod, type PaymentMethodBrokerageInfo, type PaymentMethodVirtualBankInfo } from '../../domains/paymentMethods';
@@ -58,6 +58,6 @@ export declare function PayPalPaymentMethodItem({ isActive, isClickable, onClick
58
58
  * Payment method item for a Form of Payment from the fops API (Swapped providers)
59
59
  */
60
60
  export declare function FopPaymentMethodItem({ fop, isActive, onClick, testId, }: BasePaymentMethodItemProps & {
61
- fop: FormOfPayment;
61
+ fop: SwappedFormOfPayment;
62
62
  }): React.JSX.Element;
63
63
  export {};
@@ -180,6 +180,7 @@ declare const themeContractValues: {
180
180
  txSummaryLabel: string;
181
181
  txSummaryValue: string;
182
182
  sourceListSectionLabelFontWeight: string;
183
+ formOfPaymentsListSectionLabelFontWeight: string;
183
184
  };
184
185
  fontSize: {
185
186
  '10': {
@@ -334,6 +335,10 @@ declare const themeContractValues: {
334
335
  fontSize: string;
335
336
  lineHeight: string;
336
337
  };
338
+ formOfPaymentsListSectionLabelFontSize: {
339
+ fontSize: string;
340
+ lineHeight: string;
341
+ };
337
342
  };
338
343
  radii: {
339
344
  actionButton: string;
@@ -607,6 +612,7 @@ export declare const themeVars: {
607
612
  txSummaryLabel: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
608
613
  txSummaryValue: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
609
614
  sourceListSectionLabelFontWeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
615
+ formOfPaymentsListSectionLabelFontWeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
610
616
  };
611
617
  fontSize: {
612
618
  '10': {
@@ -761,6 +767,10 @@ export declare const themeVars: {
761
767
  fontSize: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
762
768
  lineHeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
763
769
  };
770
+ formOfPaymentsListSectionLabelFontSize: {
771
+ fontSize: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
772
+ lineHeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
773
+ };
764
774
  };
765
775
  radii: {
766
776
  actionButton: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
@@ -1100,8 +1110,8 @@ export declare const sprinkles: ((props: {
1100
1110
  readonly cursor?: "default" | "help" | "not-allowed" | "pointer" | undefined;
1101
1111
  readonly flexDirection?: "column" | "row" | undefined;
1102
1112
  readonly fontFamily?: "buttonTextPrimary" | "buttonTextTertiary" | "buttonTextSecondary" | "amountValue" | "body" | "header" | "inputAmount" | "txStatusDescription" | "txStatusTitle" | undefined;
1103
- readonly fontSize?: "inherit" | "buttonTextPrimary" | "buttonTextTertiary" | "buttonTextSecondary" | "body" | "inputAmount" | "txStatusDescription" | "txStatusTitle" | "cryptoCashToggle" | "modalTopbarTitle" | "modalBottomBarButtonText" | "paymentMethodItemSubtitle" | "paymentMethodItemTitle" | "selectAssetItemSubtitle" | "selectAssetItemTitle" | "txBreakdown" | "txSummaryLabel" | "txSummaryValue" | "10" | "12" | "13" | "14" | "16" | "18" | "20" | "21" | "40" | "57" | "header-14" | "header-36" | "dollarValue" | "modalTopbarSubtitle" | "youPayYouReceivePrimaryFontSize" | "youPayYouReceiveSecondaryFontSize" | "transferTokenLabelFontSize" | "depositAddressFontSize" | "funFeatureListItemFontSize" | "dropdownItemFontSize" | "sourceListSectionLabelFontSize" | undefined;
1104
- readonly fontWeight?: "inherit" | "medium" | "bold" | "inputAmount" | "txStatusDescription" | "txStatusTitle" | "regular" | "semibold" | "heavy" | "cryptoCashToggle" | "modalTopbarTitle" | "modalBottomBarButtonText" | "paymentMethodItemSubtitle" | "paymentMethodItemTitle" | "selectAssetItemSubtitle" | "selectAssetItemTitle" | "transferTokenLabelFontWeight" | "txBreakdown" | "txSummaryLabel" | "txSummaryValue" | "sourceListSectionLabelFontWeight" | undefined;
1113
+ readonly fontSize?: "inherit" | "buttonTextPrimary" | "buttonTextTertiary" | "buttonTextSecondary" | "body" | "inputAmount" | "txStatusDescription" | "txStatusTitle" | "cryptoCashToggle" | "modalTopbarTitle" | "modalBottomBarButtonText" | "paymentMethodItemSubtitle" | "paymentMethodItemTitle" | "selectAssetItemSubtitle" | "selectAssetItemTitle" | "txBreakdown" | "txSummaryLabel" | "txSummaryValue" | "10" | "12" | "13" | "14" | "16" | "18" | "20" | "21" | "40" | "57" | "header-14" | "header-36" | "dollarValue" | "modalTopbarSubtitle" | "youPayYouReceivePrimaryFontSize" | "youPayYouReceiveSecondaryFontSize" | "transferTokenLabelFontSize" | "depositAddressFontSize" | "funFeatureListItemFontSize" | "dropdownItemFontSize" | "sourceListSectionLabelFontSize" | "formOfPaymentsListSectionLabelFontSize" | undefined;
1114
+ readonly fontWeight?: "inherit" | "medium" | "bold" | "inputAmount" | "txStatusDescription" | "txStatusTitle" | "regular" | "semibold" | "heavy" | "cryptoCashToggle" | "modalTopbarTitle" | "modalBottomBarButtonText" | "paymentMethodItemSubtitle" | "paymentMethodItemTitle" | "selectAssetItemSubtitle" | "selectAssetItemTitle" | "transferTokenLabelFontWeight" | "txBreakdown" | "txSummaryLabel" | "txSummaryValue" | "sourceListSectionLabelFontWeight" | "formOfPaymentsListSectionLabelFontWeight" | undefined;
1105
1115
  readonly gap?: "0" | "1" | "10" | "12" | "13" | "14" | "16" | "18" | "20" | "40" | "confirmationStepMarginTop" | "confirmationStepVerticalGap" | "cryptoCashToggleContainerPadding" | "cryptoCashToggleMarginBottom" | "cryptoCashToggleMarginTop" | "cryptoCashToggleTabPaddingY" | "modalBaseHorizontalPadding" | "modalBottomHorizontalPadding" | "modalPaddingBottomUpper" | "modalPaddingBottomLower" | "modalTopBarVerticalTextSpacing" | "modalBottomBarButtonPaddingY" | "selectAssetItemPaddingX" | "selectAssetItemPaddingY" | "selectAssetItemTextGap" | "selectBrokerageItemPaddingX" | "selectBrokerageItemPaddingY" | "txBreakdownMarginY" | "txBreakdownPaddingX" | "txSummaryBoxPaddingX" | "txSummaryBoxPaddingY" | "txSummaryLineItemPadding" | "txSummaryDividerMarginX" | "txSummaryDividerMarginY" | "verticalSectionGap" | "youPayYouReceivePaddingLeft" | "youPayYouReceivePaddingRight" | "youPayYouReceivePaddingY" | "2" | "3" | "4" | "6" | "8" | "11" | "24" | "30" | "15" | "28" | "32" | "36" | "44" | "-1" | "5" | "7" | "9" | "64" | undefined;
1106
1116
  readonly height?: "1" | "connectExchangeIconSize" | "cryptoCashToggleIconSize" | "dollarValueSkeletonHeight" | "dollarValueSkeletonWidth" | "inputAmountQuickOptionButtonHeight" | "inputAmountMinHeight" | "modalBottomBarButtonHeight" | "modalBottomBarCloseButtonHeight" | "modalTopBarHeight" | "paymentAmountSkeletonBlockHeight" | "paymentAmountSkeletonBlockWidth" | "paymentAmountSkeletonCircleSize" | "paymentMethodItemIconSize" | "selectAssetItemIconSize" | "txBreakdownSkeletonWidth" | "txSummaryLineSkeletonHeight" | "txSummaryLineSkeletonWidth" | "10" | "12" | "13" | "14" | "16" | "18" | "20" | "40" | "57" | "2" | "4" | "8" | "11" | "24" | "30" | "full" | "15" | "28" | "32" | "34" | "36" | "44" | "48" | "50" | "54" | "60" | "72" | "76" | "93" | "96" | "100" | "108" | "120" | "160" | "180" | "200" | "240" | "300" | "half" | "max" | undefined;
1107
1117
  readonly justifyContent?: "center" | "space-around" | "space-between" | "flex-end" | "flex-start" | undefined;
@@ -31,6 +31,7 @@ export declare enum CheckoutModalEvent {
31
31
  READY_SOURCE_CHANGE = "fc::ready::source_change",
32
32
  READY_TRANSFER_TOKEN = "fc::ready::transfer_token",
33
33
  READY_LOADING_ACCOUNT = "fc::ready::loading_account",
34
+ READY_SWAPPED_IFRAME = "fc::ready::swapped_iframe",
34
35
  QUERY_FROG_SUB_ACCOUNTS = "fc::query::frog_sub_accounts",
35
36
  QUERY_UDA_ADDRESS = "fc::query::uda_address",
36
37
  QUERY_WALLET_ASSETS = "fc::query::wallet_assets",
@@ -41,5 +42,9 @@ export declare enum CheckoutModalEvent {
41
42
  ACCOUNT_BALANCE_SUCCESS = "fc::success::account_balance",
42
43
  TOKEN_TRANSFER_SUCCESS = "fc::success::token_transfer",
43
44
  BLUVO_WITHDRAWAL_COMPLETED = "fc::success::bluvo_withdrawal_completed",
44
- QUICK_OPTION_SELECTED = "fc::input_amount::quick_option_selected"
45
+ QUICK_OPTION_SELECTED = "fc::input_amount::quick_option_selected",
46
+ SWAPPED_IFRAME_NAVIGATION = "fc::swapped_iframe::navigation",
47
+ SWAPPED_IFRAME_COMPLETE = "fc::swapped_iframe::complete",
48
+ SWAPPED_IFRAME_ERROR = "fc::swapped_iframe::error",
49
+ SWAPPED_IFRAME_EXIT = "fc::swapped_iframe::exit"
45
50
  }
@@ -7,6 +7,7 @@ import type { FunkitActiveCheckoutItem, FunkitCheckoutActionParams } from '../pr
7
7
  import type { WithdrawalClient } from '../wallets/Wallet';
8
8
  interface DirectExecutionQuoteRequestParamsBase {
9
9
  actionParams: FunkitCheckoutActionParams[];
10
+ bridgeOverride?: 'across' | 'relay';
10
11
  fromChainId: string;
11
12
  fromTokenAddress: Address;
12
13
  isExactIn?: boolean;
@@ -1,12 +1,13 @@
1
1
  import { type ConnectablePaymentMethodInfo, PaymentMethod } from '../domains/paymentMethods';
2
2
  export declare function usePaymentMethodEnablement(): {
3
+ isSwappedEnabled: false;
3
4
  isFiatEnabled: boolean;
4
5
  isTokenTransferEnabled: boolean;
5
6
  isMeldEnabled: boolean;
6
- isBrokerageEnabled: false;
7
+ isBrokerageEnabled: boolean;
7
8
  };
8
9
  export type PaymentMethodType = 'crypto' | 'fiat';
9
- export declare const usePaymentSources: (currentPaymentMethodInfo: ConnectablePaymentMethodInfo | null, targetChainId: string, type?: PaymentMethodType) => {
10
+ export declare const usePaymentSources: (currentPaymentMethodInfo: ConnectablePaymentMethodInfo | null, targetChainId: string) => {
10
11
  isFallback: boolean;
11
12
  preferred: PaymentMethod[] | (import("../domains/paymentMethods").PaymentMethodBrokerageInfo | import("../domains/paymentMethods").PaymentMethodAccountInfo | import("../domains/paymentMethods").PaymentMethodVirtualBankInfo)[];
12
13
  moreSources: PaymentMethod[];