@funkit/connect 6.14.23-next.2 → 6.15.2

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 (70) hide show
  1. package/CHANGELOG.md +55 -20
  2. package/dist/__generated__/default_configs.d.ts +7 -0
  3. package/dist/{chunk-3SMGLDNF.js → chunk-KG5Q63KL.js} +4 -0
  4. package/dist/{chunk-XH2UUILF.js → chunk-L3BEU75V.js} +4 -0
  5. package/dist/components/Box/Box.d.ts +7 -7
  6. package/dist/components/Dialog/Dialog.d.ts +1 -2
  7. package/dist/components/Dialog/DialogContent.css.d.ts +1 -0
  8. package/dist/components/FunAsset/FunAssetItem.d.ts +2 -1
  9. package/dist/components/FunAssetAvatar/FunAssetAvatar.d.ts +2 -1
  10. package/dist/components/TransactionStatus/TransactionStatus.d.ts +13 -12
  11. package/dist/components/YouPayYouReceive/YouPayYouReceive.d.ts +2 -1
  12. package/dist/consts/customers.d.ts +2 -0
  13. package/dist/css/sprinkles.css.d.ts +15 -7
  14. package/dist/domains/clientMetadata.d.ts +9 -14
  15. package/dist/domains/quote.d.ts +2 -3
  16. package/dist/hooks/useBluvo.d.ts +107 -13
  17. package/dist/hooks/useCheckoutDirectExecutionHistory.d.ts +1 -0
  18. package/dist/index.css +850 -765
  19. package/dist/index.js +2493 -2696
  20. package/dist/modals/CheckoutModal/ConfirmationStep/useAccountBalanceTransfer.d.ts +1 -1
  21. package/dist/modals/CheckoutModal/useSourceAssetConfirm.d.ts +0 -5
  22. package/dist/providers/FunkitCheckoutContext/index.d.ts +57 -0
  23. package/dist/providers/{FunkitCheckoutContext.track.d.ts → FunkitCheckoutContext/track.d.ts} +1 -1
  24. package/dist/providers/{FunkitCheckoutContext.d.ts → FunkitCheckoutContext/types.d.ts} +4 -56
  25. package/dist/providers/FunkitQuoteContext.d.ts +1 -1
  26. package/dist/providers/FunkitThemeProvider.d.ts +12 -0
  27. package/dist/providers/GeneralWalletProvider.d.ts +3 -7
  28. package/dist/themes/darkTheme.js +1 -1
  29. package/dist/themes/lightTheme.js +1 -1
  30. package/dist/utils/checkout.d.ts +1 -1
  31. package/dist/utils/flags/config.d.ts +3 -7
  32. package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
  33. package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
  34. package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
  35. package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
  36. package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
  37. package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
  38. package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
  39. package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
  40. package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -2
  41. package/dist/wallets/walletConnectors/index.js +35 -35
  42. package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
  43. package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
  44. package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
  45. package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +2 -2
  46. package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
  47. package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
  48. package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
  49. package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
  50. package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
  51. package/package.json +9 -10
  52. package/dist/hooks/useCheckoutAccountBalanceTransfer.d.ts +0 -32
  53. package/dist/wallets/walletConnectors/{chunk-M3NZ6R2E.js → chunk-2GJQ4XZQ.js} +3 -3
  54. package/dist/wallets/walletConnectors/{chunk-2KUBG3S6.js → chunk-3CICVJUN.js} +3 -3
  55. package/dist/wallets/walletConnectors/{chunk-TDAVGY5F.js → chunk-5W7VDOCL.js} +3 -3
  56. package/dist/wallets/walletConnectors/{chunk-TDIEHTMB.js → chunk-AFXHGWBH.js} +3 -3
  57. package/dist/wallets/walletConnectors/{chunk-FKJJQNKX.js → chunk-CJGUM55H.js} +3 -3
  58. package/dist/wallets/walletConnectors/{chunk-7QONTUXT.js → chunk-CNPKISHN.js} +3 -3
  59. package/dist/wallets/walletConnectors/{chunk-NT2HYJKW.js → chunk-EC6CHBSZ.js} +3 -3
  60. package/dist/wallets/walletConnectors/{chunk-2L43XSW3.js → chunk-J3LI3FYZ.js} +3 -3
  61. package/dist/wallets/walletConnectors/{chunk-VR4TBQ6S.js → chunk-JCHN6A47.js} +3 -3
  62. package/dist/wallets/walletConnectors/{chunk-OBOVHCEI.js → chunk-KIDC67XJ.js} +3 -3
  63. package/dist/wallets/walletConnectors/{chunk-2STUC6QL.js → chunk-LNEC5RNX.js} +3 -3
  64. package/dist/wallets/walletConnectors/{chunk-SULRQO27.js → chunk-Q3H3TRBS.js} +3 -3
  65. package/dist/wallets/walletConnectors/{chunk-NWIQNBJU.js → chunk-QLVVUKYB.js} +3 -3
  66. package/dist/wallets/walletConnectors/{chunk-VYBAYMP3.js → chunk-RKPCWHXL.js} +3 -3
  67. package/dist/wallets/walletConnectors/{chunk-A5N6B5UW.js → chunk-UIASLGLV.js} +3 -3
  68. package/dist/wallets/walletConnectors/{chunk-2HYNUNAS.js → chunk-UYGJO62F.js} +3 -3
  69. package/dist/wallets/walletConnectors/{chunk-TCAGNB4B.js → chunk-VWCLFMWJ.js} +3 -3
  70. package/dist/wallets/walletConnectors/{chunk-JWFF4AAL.js → chunk-ZSI5N4VV.js} +3 -3
package/CHANGELOG.md CHANGED
@@ -1,46 +1,81 @@
1
1
  # @funkit/connect
2
2
 
3
- ## 6.14.23-next.2
3
+ ## 6.15.2
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - Updated dependencies
8
- - @funkit/core@2.3.60-next.2
9
- - @funkit/wagmi-tools@3.0.83-next.2
7
+ - cce196e: feat(connect,api-base): update bluvo packages
8
+ - cf1ca05: feat(connect): add postAction override for QR code
9
+ - 706713f: monad theme implemented
10
+ - 3a8c6fb: chore(connect): deprecate shouldBatchOpBypassInit
11
+ - 5f33162: chore(connect): deprecate funWallet and funWalletAuth usage in GeneralWalletProvider
12
+ - 3825221: megapot theme implemented
13
+ - 405433a: feat(connect): show dynamic target assets on top for Ethereal/Hyena
14
+ - b417cda: chore(connect): deprecate useWeb2AccountBalancePostCheckout and useCheckoutAccountBalanceTransfer hooks
15
+ - Updated dependencies [cce196e]
16
+ - Updated dependencies [d5a7397]
17
+ - @funkit/api-base@1.12.16
18
+ - @funkit/fun-relay@2.1.11
19
+ - @funkit/chains@0.4.5
20
+ - @funkit/core@2.3.61
21
+ - @funkit/wagmi-tools@3.0.84
10
22
 
11
- ## 6.14.23-next.1
23
+ ## 6.15.1
12
24
 
13
25
  ### Patch Changes
14
26
 
15
- - chore: bumping version to test
16
- - Updated dependencies
17
- - @funkit/api-base@1.12.15-next.1
18
- - @funkit/chains@0.4.4-next.1
19
- - @funkit/core@2.3.60-next.1
20
- - @funkit/wagmi-tools@3.0.83-next.1
27
+ - fbb43ae: feat(connect): update preferred network logic for brokerage assets
28
+ - d296585: fix(connect): fix UI bug in SEPA flow
29
+
30
+ ## 6.15.0
31
+
32
+ ### Minor Changes
21
33
 
22
- ## 6.14.23-next.0
34
+ - 21fd780: refactor: remove test for specific customer for title alignment
23
35
 
24
36
  ### Patch Changes
25
37
 
38
+ - dc0899c: feat(connect): add hbhype token icon
39
+ - 2e88a52: feat: support swapped and kryptonim via meld
40
+ - d9c2d11: fix(connect): fix padding bottom when source change screen overflows
41
+ - d8801d5: chore(connect,utils): deprecate flag EnableFrogProxyServer
42
+ - 876cf20: feat: lighter chain registration
26
43
  - 3824315: support solana as target asset
27
- - ba6634c: chore: no changes, just triggering release
44
+ - 7077903: feat: add monad chain support
45
+ - dbe04ee: refactor several files for server client config
46
+ - fc213a3: feat(connect): hide chain icon for brokerage flow
47
+ - b74e323: feat(connect): update in-progress text for layerZero checkouts
28
48
  - 6420fcb: feat(connect): add hyperbeat yeild token icons
29
49
  - 54fdecc: feat(connect): only fetch checkout history as needed
50
+ - 7e7867d: add hyperedge
51
+ - 73325c8: feat(connect): migrate showinfobanner flag to statsig
30
52
  - 002ac44: feat(connect): add behype icon
53
+ - 8212f09: Refactor useTextMeasurer to use DOM element measurement instead of canvas for improved accuracy and better style support
31
54
  - 3250234: only fetch user ip info when logged in
55
+ - 6783087: chore(connect): removed bech32 dependency
56
+ - 05edce9: chore(connect): deprecate fetchSponsorInitialTransferGasLimit
57
+ - c25f91f: fix(connect): fix fallback for alignTitle config
32
58
  - af1b322: feat(connect): add fallback for wallet asset logo
59
+ - c4d12e1: feat(connect): update bluvo dependency to latest
33
60
  - c76619e: Migrate from Lerna to Turborepo for improved build performance and developer experience. This change removes automatic builds during package installation (`prepare` scripts) and introduces intelligent caching. No changes to public APIs or package functionality.
61
+ - Updated dependencies [cfe62b9]
62
+ - Updated dependencies [2e88a52]
63
+ - Updated dependencies [d8801d5]
64
+ - Updated dependencies [876cf20]
34
65
  - Updated dependencies [3824315]
35
- - Updated dependencies [ba6634c]
66
+ - Updated dependencies [7077903]
67
+ - Updated dependencies [98196b4]
68
+ - Updated dependencies [7e7867d]
69
+ - Updated dependencies [5ba2828]
36
70
  - Updated dependencies [af1b322]
71
+ - Updated dependencies [a925603]
37
72
  - Updated dependencies [c76619e]
38
- - @funkit/fun-relay@2.1.10-next.0
39
- - @funkit/api-base@1.12.15-next.0
40
- - @funkit/core@2.3.60-next.0
41
- - @funkit/chains@0.4.4-next.0
42
- - @funkit/utils@1.1.17-next.0
43
- - @funkit/wagmi-tools@3.0.83-next.0
73
+ - @funkit/api-base@1.12.15
74
+ - @funkit/utils@1.1.17
75
+ - @funkit/chains@0.4.4
76
+ - @funkit/fun-relay@2.1.10
77
+ - @funkit/core@2.3.60
78
+ - @funkit/wagmi-tools@3.0.83
44
79
 
45
80
  ## 6.14.22
46
81
 
@@ -11,6 +11,13 @@ declare const _default: {
11
11
  readonly boolean: {
12
12
  readonly value: false;
13
13
  };
14
+ readonly showinfobanner: {
15
+ readonly value: {
16
+ readonly message: "";
17
+ readonly expireAtMs: 0;
18
+ readonly type: "announcement";
19
+ };
20
+ };
14
21
  readonly showpoweredtagline: {
15
22
  readonly value: false;
16
23
  };
@@ -168,6 +168,10 @@ var darkTheme = ({
168
168
  buttonFocusedShadowTertiary: "0px 0px 0px 2px rgba(255, 255, 255, 0.25)",
169
169
  buttonHoverShadowTertiary: "none",
170
170
  buttonDisabledShadow: "none",
171
+ buttonInnerShadow: "none",
172
+ buttonFocusedInnerShadow: "none",
173
+ buttonHoverInnerShadow: "none",
174
+ buttonDisabledInnerShadow: "none",
171
175
  selectedDropdownItem: "none",
172
176
  // Override shadows
173
177
  ...customShadows || {}
@@ -168,6 +168,10 @@ var lightTheme = ({
168
168
  buttonFocusedShadowTertiary: "0px 0px 0px 2px rgba(0, 0, 0, 0.25)",
169
169
  buttonHoverShadowTertiary: "none",
170
170
  buttonDisabledShadow: "none",
171
+ buttonInnerShadow: "none",
172
+ buttonFocusedInnerShadow: "none",
173
+ buttonHoverInnerShadow: "none",
174
+ buttonDisabledInnerShadow: "none",
171
175
  selectedDropdownItem: "none",
172
176
  // Override shadows
173
177
  ...customShadows || {}
@@ -19,13 +19,13 @@ export declare const Box: React.ForwardRefExoticComponent<{
19
19
  focused?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "errorBackground" | "errorBorder" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "selectedOptionBorder" | "focusedOptionBorder" | "standby" | "success" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "offBackground" | "offBackgroundInverse" | "hoverState" | "lightStroke" | "mediumStroke" | "heavyStroke" | "strokeColor" | "modalTopbarIcon" | "primaryText" | "secondaryText" | "tertiaryText" | "textSelection" | "inputBackground" | "inputBorderBase" | "inputBorderHover" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextPrimary" | "buttonTextHover" | "buttonTextDisabled" | "buttonBackgroundTertiary" | "buttonBackgroundHoverTertiary" | "buttonBackgroundDisabledTertiary" | "buttonTextTertiary" | "buttonTextDisabledTertiary" | "buttonBackground" | "buttonBackgroundHover" | "buttonBackgroundPressed" | "buttonBackgroundDisabled" | "buttonTextSecondaryDisabled" | "buttonTextSecondary" | "buttonIconBackgroundHover" | "buttonIconBackgroundPressed" | "buttonIconStroke" | "buttonBorderFocusedTertiary" | "buttonFocusedOutline" | "buttonBorderGradient" | "buttonHoverBorderGradient" | "buttonDisabledBorderGradient" | "badgeBackgroundSuccess" | "badgeBorderSuccess" | "badgeTextSuccess" | "newBadgeBackground" | "newBadgeBorder" | "newBadgeText" | "approvedBadgeBackground" | "approvedBadgeBorder" | "approvedBadgeText" | "failedBadgeBackground" | "failedBadgeBorder" | "failedBadgeText" | "inputAmountQuickOptionBaseBackground" | "inputAmountQuickOptionHoverBackground" | "inputAmountQuickOptionActiveBackground" | "inputAmountQuickOptionDisabledBackground" | "inputAmountQuickOptionBaseBorder" | "inputAmountQuickOptionHoverBorder" | "inputAmountQuickOptionActiveBorder" | "inputAmountQuickOptionFocusedBorder" | "youPayYouReceiveBackground" | "youPayYouReceiveBorder" | "youPayYouReceivePrimaryText" | "youPayYouReceiveSecondaryText" | "announceGradientFrom" | "announceGradientTo" | "modalHeaderDivider" | "modalFooterDivider" | "fiatPendingGradientFrom" | "fiatPendingGradientTo" | "fiatSuccessBackgroundFill" | "fiatFailedBackgroundFill" | "fiatStatusIconBorder" | "fiatAccountIconFill" | "fiatAccountGradientFrom" | "fiatAccountGradientTo" | "optionBoxBackground" | "spinnerBackground" | "spinnerIndicator" | "spinnerBackgroundVerifyAccount" | "spinnerIndicatorVerifyAccount" | undefined;
20
20
  focusedVisible?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "errorBackground" | "errorBorder" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "selectedOptionBorder" | "focusedOptionBorder" | "standby" | "success" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "offBackground" | "offBackgroundInverse" | "hoverState" | "lightStroke" | "mediumStroke" | "heavyStroke" | "strokeColor" | "modalTopbarIcon" | "primaryText" | "secondaryText" | "tertiaryText" | "textSelection" | "inputBackground" | "inputBorderBase" | "inputBorderHover" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextPrimary" | "buttonTextHover" | "buttonTextDisabled" | "buttonBackgroundTertiary" | "buttonBackgroundHoverTertiary" | "buttonBackgroundDisabledTertiary" | "buttonTextTertiary" | "buttonTextDisabledTertiary" | "buttonBackground" | "buttonBackgroundHover" | "buttonBackgroundPressed" | "buttonBackgroundDisabled" | "buttonTextSecondaryDisabled" | "buttonTextSecondary" | "buttonIconBackgroundHover" | "buttonIconBackgroundPressed" | "buttonIconStroke" | "buttonBorderFocusedTertiary" | "buttonFocusedOutline" | "buttonBorderGradient" | "buttonHoverBorderGradient" | "buttonDisabledBorderGradient" | "badgeBackgroundSuccess" | "badgeBorderSuccess" | "badgeTextSuccess" | "newBadgeBackground" | "newBadgeBorder" | "newBadgeText" | "approvedBadgeBackground" | "approvedBadgeBorder" | "approvedBadgeText" | "failedBadgeBackground" | "failedBadgeBorder" | "failedBadgeText" | "inputAmountQuickOptionBaseBackground" | "inputAmountQuickOptionHoverBackground" | "inputAmountQuickOptionActiveBackground" | "inputAmountQuickOptionDisabledBackground" | "inputAmountQuickOptionBaseBorder" | "inputAmountQuickOptionHoverBorder" | "inputAmountQuickOptionActiveBorder" | "inputAmountQuickOptionFocusedBorder" | "youPayYouReceiveBackground" | "youPayYouReceiveBorder" | "youPayYouReceivePrimaryText" | "youPayYouReceiveSecondaryText" | "announceGradientFrom" | "announceGradientTo" | "modalHeaderDivider" | "modalFooterDivider" | "fiatPendingGradientFrom" | "fiatPendingGradientTo" | "fiatSuccessBackgroundFill" | "fiatFailedBackgroundFill" | "fiatStatusIconBorder" | "fiatAccountIconFill" | "fiatAccountGradientFrom" | "fiatAccountGradientTo" | "optionBoxBackground" | "spinnerBackground" | "spinnerIndicator" | "spinnerBackgroundVerifyAccount" | "spinnerIndicatorVerifyAccount" | undefined;
21
21
  } | undefined;
22
- boxShadow?: "connectButton" | "qrCode" | "dropdown" | "dialog" | "selectedOption" | "selectedWallet" | "notification" | "buttonShadow" | "buttonFocusedShadow" | "buttonHoverShadow" | "buttonFocusedShadowTertiary" | "buttonHoverShadowTertiary" | "buttonDisabledShadow" | "selectedDropdownItem" | {
23
- base?: "connectButton" | "qrCode" | "dropdown" | "dialog" | "selectedOption" | "selectedWallet" | "notification" | "buttonShadow" | "buttonFocusedShadow" | "buttonHoverShadow" | "buttonFocusedShadowTertiary" | "buttonHoverShadowTertiary" | "buttonDisabledShadow" | "selectedDropdownItem" | undefined;
24
- hover?: "connectButton" | "qrCode" | "dropdown" | "dialog" | "selectedOption" | "selectedWallet" | "notification" | "buttonShadow" | "buttonFocusedShadow" | "buttonHoverShadow" | "buttonFocusedShadowTertiary" | "buttonHoverShadowTertiary" | "buttonDisabledShadow" | "selectedDropdownItem" | undefined;
25
- active?: "connectButton" | "qrCode" | "dropdown" | "dialog" | "selectedOption" | "selectedWallet" | "notification" | "buttonShadow" | "buttonFocusedShadow" | "buttonHoverShadow" | "buttonFocusedShadowTertiary" | "buttonHoverShadowTertiary" | "buttonDisabledShadow" | "selectedDropdownItem" | undefined;
26
- selection?: "connectButton" | "qrCode" | "dropdown" | "dialog" | "selectedOption" | "selectedWallet" | "notification" | "buttonShadow" | "buttonFocusedShadow" | "buttonHoverShadow" | "buttonFocusedShadowTertiary" | "buttonHoverShadowTertiary" | "buttonDisabledShadow" | "selectedDropdownItem" | undefined;
27
- focused?: "connectButton" | "qrCode" | "dropdown" | "dialog" | "selectedOption" | "selectedWallet" | "notification" | "buttonShadow" | "buttonFocusedShadow" | "buttonHoverShadow" | "buttonFocusedShadowTertiary" | "buttonHoverShadowTertiary" | "buttonDisabledShadow" | "selectedDropdownItem" | undefined;
28
- focusedVisible?: "connectButton" | "qrCode" | "dropdown" | "dialog" | "selectedOption" | "selectedWallet" | "notification" | "buttonShadow" | "buttonFocusedShadow" | "buttonHoverShadow" | "buttonFocusedShadowTertiary" | "buttonHoverShadowTertiary" | "buttonDisabledShadow" | "selectedDropdownItem" | undefined;
22
+ boxShadow?: "connectButton" | "qrCode" | "dropdown" | "dialog" | "selectedOption" | "selectedWallet" | "notification" | "buttonShadow" | "buttonFocusedShadow" | "buttonHoverShadow" | "buttonFocusedShadowTertiary" | "buttonHoverShadowTertiary" | "buttonDisabledShadow" | "buttonInnerShadow" | "buttonFocusedInnerShadow" | "buttonHoverInnerShadow" | "buttonDisabledInnerShadow" | "selectedDropdownItem" | {
23
+ base?: "connectButton" | "qrCode" | "dropdown" | "dialog" | "selectedOption" | "selectedWallet" | "notification" | "buttonShadow" | "buttonFocusedShadow" | "buttonHoverShadow" | "buttonFocusedShadowTertiary" | "buttonHoverShadowTertiary" | "buttonDisabledShadow" | "buttonInnerShadow" | "buttonFocusedInnerShadow" | "buttonHoverInnerShadow" | "buttonDisabledInnerShadow" | "selectedDropdownItem" | undefined;
24
+ hover?: "connectButton" | "qrCode" | "dropdown" | "dialog" | "selectedOption" | "selectedWallet" | "notification" | "buttonShadow" | "buttonFocusedShadow" | "buttonHoverShadow" | "buttonFocusedShadowTertiary" | "buttonHoverShadowTertiary" | "buttonDisabledShadow" | "buttonInnerShadow" | "buttonFocusedInnerShadow" | "buttonHoverInnerShadow" | "buttonDisabledInnerShadow" | "selectedDropdownItem" | undefined;
25
+ active?: "connectButton" | "qrCode" | "dropdown" | "dialog" | "selectedOption" | "selectedWallet" | "notification" | "buttonShadow" | "buttonFocusedShadow" | "buttonHoverShadow" | "buttonFocusedShadowTertiary" | "buttonHoverShadowTertiary" | "buttonDisabledShadow" | "buttonInnerShadow" | "buttonFocusedInnerShadow" | "buttonHoverInnerShadow" | "buttonDisabledInnerShadow" | "selectedDropdownItem" | undefined;
26
+ selection?: "connectButton" | "qrCode" | "dropdown" | "dialog" | "selectedOption" | "selectedWallet" | "notification" | "buttonShadow" | "buttonFocusedShadow" | "buttonHoverShadow" | "buttonFocusedShadowTertiary" | "buttonHoverShadowTertiary" | "buttonDisabledShadow" | "buttonInnerShadow" | "buttonFocusedInnerShadow" | "buttonHoverInnerShadow" | "buttonDisabledInnerShadow" | "selectedDropdownItem" | undefined;
27
+ focused?: "connectButton" | "qrCode" | "dropdown" | "dialog" | "selectedOption" | "selectedWallet" | "notification" | "buttonShadow" | "buttonFocusedShadow" | "buttonHoverShadow" | "buttonFocusedShadowTertiary" | "buttonHoverShadowTertiary" | "buttonDisabledShadow" | "buttonInnerShadow" | "buttonFocusedInnerShadow" | "buttonHoverInnerShadow" | "buttonDisabledInnerShadow" | "selectedDropdownItem" | undefined;
28
+ focusedVisible?: "connectButton" | "qrCode" | "dropdown" | "dialog" | "selectedOption" | "selectedWallet" | "notification" | "buttonShadow" | "buttonFocusedShadow" | "buttonHoverShadow" | "buttonFocusedShadowTertiary" | "buttonHoverShadowTertiary" | "buttonDisabledShadow" | "buttonInnerShadow" | "buttonFocusedInnerShadow" | "buttonHoverInnerShadow" | "buttonDisabledInnerShadow" | "selectedDropdownItem" | undefined;
29
29
  } | undefined;
30
30
  color?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "errorBackground" | "errorBorder" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "selectedOptionBorder" | "focusedOptionBorder" | "standby" | "success" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "offBackground" | "offBackgroundInverse" | "hoverState" | "lightStroke" | "mediumStroke" | "heavyStroke" | "strokeColor" | "modalTopbarIcon" | "primaryText" | "secondaryText" | "tertiaryText" | "textSelection" | "inputBackground" | "inputBorderBase" | "inputBorderHover" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextPrimary" | "buttonTextHover" | "buttonTextDisabled" | "buttonBackgroundTertiary" | "buttonBackgroundHoverTertiary" | "buttonBackgroundDisabledTertiary" | "buttonTextTertiary" | "buttonTextDisabledTertiary" | "buttonBackground" | "buttonBackgroundHover" | "buttonBackgroundPressed" | "buttonBackgroundDisabled" | "buttonTextSecondaryDisabled" | "buttonTextSecondary" | "buttonIconBackgroundHover" | "buttonIconBackgroundPressed" | "buttonIconStroke" | "buttonBorderFocusedTertiary" | "buttonFocusedOutline" | "buttonBorderGradient" | "buttonHoverBorderGradient" | "buttonDisabledBorderGradient" | "badgeBackgroundSuccess" | "badgeBorderSuccess" | "badgeTextSuccess" | "newBadgeBackground" | "newBadgeBorder" | "newBadgeText" | "approvedBadgeBackground" | "approvedBadgeBorder" | "approvedBadgeText" | "failedBadgeBackground" | "failedBadgeBorder" | "failedBadgeText" | "inputAmountQuickOptionBaseBackground" | "inputAmountQuickOptionHoverBackground" | "inputAmountQuickOptionActiveBackground" | "inputAmountQuickOptionDisabledBackground" | "inputAmountQuickOptionBaseBorder" | "inputAmountQuickOptionHoverBorder" | "inputAmountQuickOptionActiveBorder" | "inputAmountQuickOptionFocusedBorder" | "youPayYouReceiveBackground" | "youPayYouReceiveBorder" | "youPayYouReceivePrimaryText" | "youPayYouReceiveSecondaryText" | "announceGradientFrom" | "announceGradientTo" | "modalHeaderDivider" | "modalFooterDivider" | "fiatPendingGradientFrom" | "fiatPendingGradientTo" | "fiatSuccessBackgroundFill" | "fiatFailedBackgroundFill" | "fiatStatusIconBorder" | "fiatAccountIconFill" | "fiatAccountGradientFrom" | "fiatAccountGradientTo" | "optionBoxBackground" | "spinnerBackground" | "spinnerIndicator" | "spinnerBackgroundVerifyAccount" | "spinnerIndicatorVerifyAccount" | {
31
31
  base?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "errorBackground" | "errorBorder" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "selectedOptionBorder" | "focusedOptionBorder" | "standby" | "success" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "offBackground" | "offBackgroundInverse" | "hoverState" | "lightStroke" | "mediumStroke" | "heavyStroke" | "strokeColor" | "modalTopbarIcon" | "primaryText" | "secondaryText" | "tertiaryText" | "textSelection" | "inputBackground" | "inputBorderBase" | "inputBorderHover" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextPrimary" | "buttonTextHover" | "buttonTextDisabled" | "buttonBackgroundTertiary" | "buttonBackgroundHoverTertiary" | "buttonBackgroundDisabledTertiary" | "buttonTextTertiary" | "buttonTextDisabledTertiary" | "buttonBackground" | "buttonBackgroundHover" | "buttonBackgroundPressed" | "buttonBackgroundDisabled" | "buttonTextSecondaryDisabled" | "buttonTextSecondary" | "buttonIconBackgroundHover" | "buttonIconBackgroundPressed" | "buttonIconStroke" | "buttonBorderFocusedTertiary" | "buttonFocusedOutline" | "buttonBorderGradient" | "buttonHoverBorderGradient" | "buttonDisabledBorderGradient" | "badgeBackgroundSuccess" | "badgeBorderSuccess" | "badgeTextSuccess" | "newBadgeBackground" | "newBadgeBorder" | "newBadgeText" | "approvedBadgeBackground" | "approvedBadgeBorder" | "approvedBadgeText" | "failedBadgeBackground" | "failedBadgeBorder" | "failedBadgeText" | "inputAmountQuickOptionBaseBackground" | "inputAmountQuickOptionHoverBackground" | "inputAmountQuickOptionActiveBackground" | "inputAmountQuickOptionDisabledBackground" | "inputAmountQuickOptionBaseBorder" | "inputAmountQuickOptionHoverBorder" | "inputAmountQuickOptionActiveBorder" | "inputAmountQuickOptionFocusedBorder" | "youPayYouReceiveBackground" | "youPayYouReceiveBorder" | "youPayYouReceivePrimaryText" | "youPayYouReceiveSecondaryText" | "announceGradientFrom" | "announceGradientTo" | "modalHeaderDivider" | "modalFooterDivider" | "fiatPendingGradientFrom" | "fiatPendingGradientTo" | "fiatSuccessBackgroundFill" | "fiatFailedBackgroundFill" | "fiatStatusIconBorder" | "fiatAccountIconFill" | "fiatAccountGradientFrom" | "fiatAccountGradientTo" | "optionBoxBackground" | "spinnerBackground" | "spinnerIndicator" | "spinnerBackgroundVerifyAccount" | "spinnerIndicatorVerifyAccount" | undefined;
@@ -25,7 +25,7 @@ interface DialogProps {
25
25
  */
26
26
  export declare function Dialog({ children, onClose, onAnimationComplete, open, titleId, isHidden, isSmartCloseable, withoutSidePadding, withoutBottomPadding, withTransition, testId, }: DialogProps): React.ReactPortal | null;
27
27
  export declare namespace Dialog {
28
- var Title: ({ title, titleMeta, hasCloseButton: hasCloseButtonProp, isCloseDisabled, onClose, hasBackButton: hasBackButtonProp, helpButtonUrl, isBackDisabled, onBack, className, }: DialogTitleProps) => React.JSX.Element;
28
+ var Title: ({ title, titleMeta, hasCloseButton: hasCloseButtonProp, isCloseDisabled, onClose, hasBackButton: hasBackButtonProp, isBackDisabled, onBack, className, }: DialogTitleProps) => React.JSX.Element;
29
29
  var Content: ({ children, fullHeight, paddingLeft, paddingBottom, paddingTop, className, withTopDivider, withBottomDivider, id, withoutInternalPadding, ...boxProps }: DialogContentProps) => React.JSX.Element;
30
30
  var BottomSection: ({ paddingX, children, ...boxProps }: BoxProps) => React.JSX.Element;
31
31
  var BottomBar: ({ topSection, actionButtonProps, bottomSection, onClose, }: import("../FunBottomBar/FunBottomBar").FunBottomBarProps) => React.JSX.Element | null;
@@ -48,7 +48,6 @@ export interface DialogTitleProps {
48
48
  isCloseDisabled?: boolean;
49
49
  onClose?: () => void;
50
50
  hasBackButton?: boolean;
51
- helpButtonUrl?: string;
52
51
  isBackDisabled?: boolean;
53
52
  onBack?: () => void;
54
53
  className?: string;
@@ -1,5 +1,6 @@
1
1
  export declare const SCROLL_BAR_WIDTH = 6;
2
2
  export declare const DIALOG_BOTTOM_PADDING = "15";
3
+ export declare const bottomPaddingVariable = "--bottom-padding-value";
3
4
  /**
4
5
  * note the border defined here is taken into account in the FunCheckoutModalHeightAnimationWrapper component in the `getPermittedHeight` function
5
6
  * adjusting the border width will require adjusting the `getPermittedHeight` function
@@ -7,7 +7,8 @@ interface FunAssetItemProps {
7
7
  badgeText: string | null;
8
8
  onClick: () => void;
9
9
  testId?: string;
10
+ isChainIconHidden?: boolean;
10
11
  }
11
- export declare const FunAssetItem: ({ asset, isActive, isDisabled, badgeText, onClick, testId, }: FunAssetItemProps) => React.JSX.Element;
12
+ export declare const FunAssetItem: ({ asset, isActive, isDisabled, isChainIconHidden, badgeText, onClick, testId, }: FunAssetItemProps) => React.JSX.Element;
12
13
  export declare function FunAssetItemSkeleton(): React.JSX.Element;
13
14
  export {};
@@ -9,6 +9,7 @@ interface FunAssetAvatarProps {
9
9
  prioritizeDefaults?: boolean;
10
10
  hideIfUnknown?: boolean;
11
11
  largeChainIcon?: boolean;
12
+ isChainIconHidden?: boolean;
12
13
  }
13
- export declare function FunAssetAvatar({ assetSrc, assetTicker, assetName, assetIconSize, chainId, prioritizeDefaults, hideIfUnknown, largeChainIcon, }: FunAssetAvatarProps): React.JSX.Element | null;
14
+ export declare function FunAssetAvatar({ assetSrc, assetTicker, assetName, assetIconSize, chainId, prioritizeDefaults, hideIfUnknown, largeChainIcon, isChainIconHidden, }: FunAssetAvatarProps): React.JSX.Element | null;
14
15
  export {};
@@ -1,28 +1,29 @@
1
1
  import React, { type ReactNode } from 'react';
2
2
  import type { CheckoutProgressStep } from '~/providers/FunkitCheckoutContext';
3
3
  interface TransactionStatusProps {
4
+ isLayerZero: boolean;
5
+ isWithdrawal: boolean;
4
6
  textConfigStatus?: TextConfigStatus;
5
7
  textConfigSteps?: TextConfigSteps;
6
8
  onOrderDelayed?: () => void;
7
9
  startTimeMs: number;
8
10
  status: 'delayed' | 'failed' | 'progress' | 'success';
9
11
  step: CheckoutProgressStep;
10
- isWithdrawal: boolean;
11
12
  }
12
- export type TextConfigStatus = Record<Exclude<TransactionStatusProps['status'], 'progress'> | 'progress_delayed', {
13
- title: string;
13
+ export type TextConfig = {
14
14
  description: ReactNode;
15
- }>;
16
- export declare const DEPOSIT_TEXT_CONFIG_STATUS: TextConfigStatus;
17
- export declare const WITHDRAWAL_TEXT_CONFIG_STATUS: TextConfigStatus;
18
- export type TextConfigSteps = Record<CheckoutProgressStep, {
19
15
  title: string;
20
- description: ReactNode;
21
- }>;
22
- export declare const DEPOSIT_TEXT_CONFIG_STEPS: TextConfigSteps;
23
- export declare const WITHDRAWAL_TEXT_CONFIG_STEPS: TextConfigSteps;
16
+ };
17
+ export type TextConfigContext = {
18
+ durationUnits: 'minutes' | 'seconds';
19
+ isWithdrawal: boolean;
20
+ };
21
+ export type TextConfigStatus = Record<Exclude<TransactionStatusProps['status'], 'progress'> | 'progress_delayed', TextConfig | ((context: TextConfigContext) => TextConfig)>;
22
+ export declare const DEFAULT_TEXT_CONFIG_STATUS: TextConfigStatus;
23
+ export type TextConfigSteps = Record<CheckoutProgressStep, TextConfig | ((context: TextConfigContext) => TextConfig)>;
24
+ export declare const DEFAULT_TEXT_CONFIG_STEPS: TextConfigSteps;
24
25
  export declare function TransactionStatusLoading({ expectedStatus, }: {
25
26
  expectedStatus: TransactionStatusProps['status'];
26
27
  }): React.JSX.Element;
27
- export declare function TransactionStatus({ status, step, isWithdrawal, textConfigStatus, textConfigSteps, }: TransactionStatusProps): React.JSX.Element;
28
+ export declare function TransactionStatus({ isLayerZero, isWithdrawal, status, step, textConfigStatus, textConfigSteps, }: TransactionStatusProps): React.JSX.Element;
28
29
  export {};
@@ -13,8 +13,9 @@ interface YouPayYouReceiveProps {
13
13
  showYouPaySection?: boolean;
14
14
  showFiatCurrencySection?: boolean;
15
15
  prioritizeDefaults?: boolean;
16
+ isYouPayChainIconHidden?: boolean;
16
17
  }
17
- export declare const YouPayYouReceive: ({ payLabel, receiveLabel, fiatCurrencyLabel, payTokenSymbol, receiveTokenSymbol, fiatCurrencySymbol, payTokenIconSrc, receiveTokenIconSrc, payTokenChainId, receiveTokenChainId, showYouPaySection, showFiatCurrencySection, prioritizeDefaults, }: YouPayYouReceiveProps) => React.JSX.Element;
18
+ export declare const YouPayYouReceive: ({ payLabel, receiveLabel, fiatCurrencyLabel, payTokenSymbol, receiveTokenSymbol, fiatCurrencySymbol, payTokenIconSrc, receiveTokenIconSrc, payTokenChainId, receiveTokenChainId, showYouPaySection, showFiatCurrencySection, prioritizeDefaults, isYouPayChainIconHidden, }: YouPayYouReceiveProps) => React.JSX.Element;
18
19
  export declare const YouPayYouReceiveBottomBarLayoutWrapper: ({ children, }: {
19
20
  children: React.ReactNode;
20
21
  }) => React.JSX.Element;
@@ -10,3 +10,5 @@ export declare function isMonkeyTiltCustomer(apiKey: string): apiKey is "2SrxurU
10
10
  export declare function isBasedCustomer(apiKey: string): apiKey is "clDebbfo9edXq1GydZ0CahSAfSimPj616lFa9p8e";
11
11
  export declare function isHyenaCustomer(apiKey: string): apiKey is "pLQBJsA6zS9tg990rbdBD6UdABkWRv5O60vlrVcW";
12
12
  export declare function isAvantisCustomer(apiKey: string): apiKey is "6TUi99Tq3O9MWj1IFX8Pv6spmPXzcvhy9NvBoeW2";
13
+ export declare function isPerplCustomer(apiKey: string): apiKey is "wQDLu86Qab61vbtru7thf8Yj0xaeqVUH4ohoXESu";
14
+ export declare function isLighterxyzCustomer(apiKey: string): apiKey is "i6e1I8cfX625TTwRJlD2DshKyAoaUtO8aeoaR4i2";
@@ -217,6 +217,10 @@ declare const themeContractValues: {
217
217
  buttonFocusedShadowTertiary: string;
218
218
  buttonHoverShadowTertiary: string;
219
219
  buttonDisabledShadow: string;
220
+ buttonInnerShadow: string;
221
+ buttonFocusedInnerShadow: string;
222
+ buttonHoverInnerShadow: string;
223
+ buttonDisabledInnerShadow: string;
220
224
  selectedDropdownItem: string;
221
225
  };
222
226
  spacing: {
@@ -450,6 +454,10 @@ export declare const themeVars: {
450
454
  buttonFocusedShadowTertiary: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
451
455
  buttonHoverShadowTertiary: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
452
456
  buttonDisabledShadow: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
457
+ buttonInnerShadow: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
458
+ buttonFocusedInnerShadow: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
459
+ buttonHoverInnerShadow: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
460
+ buttonDisabledInnerShadow: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
453
461
  selectedDropdownItem: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
454
462
  };
455
463
  spacing: {
@@ -678,13 +686,13 @@ export declare const sprinkles: ((props: {
678
686
  focused?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "errorBackground" | "errorBorder" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "selectedOptionBorder" | "focusedOptionBorder" | "standby" | "success" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "offBackground" | "offBackgroundInverse" | "hoverState" | "lightStroke" | "mediumStroke" | "heavyStroke" | "strokeColor" | "modalTopbarIcon" | "primaryText" | "secondaryText" | "tertiaryText" | "textSelection" | "inputBackground" | "inputBorderBase" | "inputBorderHover" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextPrimary" | "buttonTextHover" | "buttonTextDisabled" | "buttonBackgroundTertiary" | "buttonBackgroundHoverTertiary" | "buttonBackgroundDisabledTertiary" | "buttonTextTertiary" | "buttonTextDisabledTertiary" | "buttonBackground" | "buttonBackgroundHover" | "buttonBackgroundPressed" | "buttonBackgroundDisabled" | "buttonTextSecondaryDisabled" | "buttonTextSecondary" | "buttonIconBackgroundHover" | "buttonIconBackgroundPressed" | "buttonIconStroke" | "buttonBorderFocusedTertiary" | "buttonFocusedOutline" | "buttonBorderGradient" | "buttonHoverBorderGradient" | "buttonDisabledBorderGradient" | "badgeBackgroundSuccess" | "badgeBorderSuccess" | "badgeTextSuccess" | "newBadgeBackground" | "newBadgeBorder" | "newBadgeText" | "approvedBadgeBackground" | "approvedBadgeBorder" | "approvedBadgeText" | "failedBadgeBackground" | "failedBadgeBorder" | "failedBadgeText" | "inputAmountQuickOptionBaseBackground" | "inputAmountQuickOptionHoverBackground" | "inputAmountQuickOptionActiveBackground" | "inputAmountQuickOptionDisabledBackground" | "inputAmountQuickOptionBaseBorder" | "inputAmountQuickOptionHoverBorder" | "inputAmountQuickOptionActiveBorder" | "inputAmountQuickOptionFocusedBorder" | "youPayYouReceiveBackground" | "youPayYouReceiveBorder" | "youPayYouReceivePrimaryText" | "youPayYouReceiveSecondaryText" | "announceGradientFrom" | "announceGradientTo" | "modalHeaderDivider" | "modalFooterDivider" | "fiatPendingGradientFrom" | "fiatPendingGradientTo" | "fiatSuccessBackgroundFill" | "fiatFailedBackgroundFill" | "fiatStatusIconBorder" | "fiatAccountIconFill" | "fiatAccountGradientFrom" | "fiatAccountGradientTo" | "optionBoxBackground" | "spinnerBackground" | "spinnerIndicator" | "spinnerBackgroundVerifyAccount" | "spinnerIndicatorVerifyAccount" | undefined;
679
687
  focusedVisible?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "errorBackground" | "errorBorder" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "selectedOptionBorder" | "focusedOptionBorder" | "standby" | "success" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "offBackground" | "offBackgroundInverse" | "hoverState" | "lightStroke" | "mediumStroke" | "heavyStroke" | "strokeColor" | "modalTopbarIcon" | "primaryText" | "secondaryText" | "tertiaryText" | "textSelection" | "inputBackground" | "inputBorderBase" | "inputBorderHover" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextPrimary" | "buttonTextHover" | "buttonTextDisabled" | "buttonBackgroundTertiary" | "buttonBackgroundHoverTertiary" | "buttonBackgroundDisabledTertiary" | "buttonTextTertiary" | "buttonTextDisabledTertiary" | "buttonBackground" | "buttonBackgroundHover" | "buttonBackgroundPressed" | "buttonBackgroundDisabled" | "buttonTextSecondaryDisabled" | "buttonTextSecondary" | "buttonIconBackgroundHover" | "buttonIconBackgroundPressed" | "buttonIconStroke" | "buttonBorderFocusedTertiary" | "buttonFocusedOutline" | "buttonBorderGradient" | "buttonHoverBorderGradient" | "buttonDisabledBorderGradient" | "badgeBackgroundSuccess" | "badgeBorderSuccess" | "badgeTextSuccess" | "newBadgeBackground" | "newBadgeBorder" | "newBadgeText" | "approvedBadgeBackground" | "approvedBadgeBorder" | "approvedBadgeText" | "failedBadgeBackground" | "failedBadgeBorder" | "failedBadgeText" | "inputAmountQuickOptionBaseBackground" | "inputAmountQuickOptionHoverBackground" | "inputAmountQuickOptionActiveBackground" | "inputAmountQuickOptionDisabledBackground" | "inputAmountQuickOptionBaseBorder" | "inputAmountQuickOptionHoverBorder" | "inputAmountQuickOptionActiveBorder" | "inputAmountQuickOptionFocusedBorder" | "youPayYouReceiveBackground" | "youPayYouReceiveBorder" | "youPayYouReceivePrimaryText" | "youPayYouReceiveSecondaryText" | "announceGradientFrom" | "announceGradientTo" | "modalHeaderDivider" | "modalFooterDivider" | "fiatPendingGradientFrom" | "fiatPendingGradientTo" | "fiatSuccessBackgroundFill" | "fiatFailedBackgroundFill" | "fiatStatusIconBorder" | "fiatAccountIconFill" | "fiatAccountGradientFrom" | "fiatAccountGradientTo" | "optionBoxBackground" | "spinnerBackground" | "spinnerIndicator" | "spinnerBackgroundVerifyAccount" | "spinnerIndicatorVerifyAccount" | undefined;
680
688
  } | undefined;
681
- boxShadow?: "connectButton" | "qrCode" | "dropdown" | "dialog" | "selectedOption" | "selectedWallet" | "notification" | "buttonShadow" | "buttonFocusedShadow" | "buttonHoverShadow" | "buttonFocusedShadowTertiary" | "buttonHoverShadowTertiary" | "buttonDisabledShadow" | "selectedDropdownItem" | {
682
- base?: "connectButton" | "qrCode" | "dropdown" | "dialog" | "selectedOption" | "selectedWallet" | "notification" | "buttonShadow" | "buttonFocusedShadow" | "buttonHoverShadow" | "buttonFocusedShadowTertiary" | "buttonHoverShadowTertiary" | "buttonDisabledShadow" | "selectedDropdownItem" | undefined;
683
- hover?: "connectButton" | "qrCode" | "dropdown" | "dialog" | "selectedOption" | "selectedWallet" | "notification" | "buttonShadow" | "buttonFocusedShadow" | "buttonHoverShadow" | "buttonFocusedShadowTertiary" | "buttonHoverShadowTertiary" | "buttonDisabledShadow" | "selectedDropdownItem" | undefined;
684
- active?: "connectButton" | "qrCode" | "dropdown" | "dialog" | "selectedOption" | "selectedWallet" | "notification" | "buttonShadow" | "buttonFocusedShadow" | "buttonHoverShadow" | "buttonFocusedShadowTertiary" | "buttonHoverShadowTertiary" | "buttonDisabledShadow" | "selectedDropdownItem" | undefined;
685
- selection?: "connectButton" | "qrCode" | "dropdown" | "dialog" | "selectedOption" | "selectedWallet" | "notification" | "buttonShadow" | "buttonFocusedShadow" | "buttonHoverShadow" | "buttonFocusedShadowTertiary" | "buttonHoverShadowTertiary" | "buttonDisabledShadow" | "selectedDropdownItem" | undefined;
686
- focused?: "connectButton" | "qrCode" | "dropdown" | "dialog" | "selectedOption" | "selectedWallet" | "notification" | "buttonShadow" | "buttonFocusedShadow" | "buttonHoverShadow" | "buttonFocusedShadowTertiary" | "buttonHoverShadowTertiary" | "buttonDisabledShadow" | "selectedDropdownItem" | undefined;
687
- focusedVisible?: "connectButton" | "qrCode" | "dropdown" | "dialog" | "selectedOption" | "selectedWallet" | "notification" | "buttonShadow" | "buttonFocusedShadow" | "buttonHoverShadow" | "buttonFocusedShadowTertiary" | "buttonHoverShadowTertiary" | "buttonDisabledShadow" | "selectedDropdownItem" | undefined;
689
+ boxShadow?: "connectButton" | "qrCode" | "dropdown" | "dialog" | "selectedOption" | "selectedWallet" | "notification" | "buttonShadow" | "buttonFocusedShadow" | "buttonHoverShadow" | "buttonFocusedShadowTertiary" | "buttonHoverShadowTertiary" | "buttonDisabledShadow" | "buttonInnerShadow" | "buttonFocusedInnerShadow" | "buttonHoverInnerShadow" | "buttonDisabledInnerShadow" | "selectedDropdownItem" | {
690
+ base?: "connectButton" | "qrCode" | "dropdown" | "dialog" | "selectedOption" | "selectedWallet" | "notification" | "buttonShadow" | "buttonFocusedShadow" | "buttonHoverShadow" | "buttonFocusedShadowTertiary" | "buttonHoverShadowTertiary" | "buttonDisabledShadow" | "buttonInnerShadow" | "buttonFocusedInnerShadow" | "buttonHoverInnerShadow" | "buttonDisabledInnerShadow" | "selectedDropdownItem" | undefined;
691
+ hover?: "connectButton" | "qrCode" | "dropdown" | "dialog" | "selectedOption" | "selectedWallet" | "notification" | "buttonShadow" | "buttonFocusedShadow" | "buttonHoverShadow" | "buttonFocusedShadowTertiary" | "buttonHoverShadowTertiary" | "buttonDisabledShadow" | "buttonInnerShadow" | "buttonFocusedInnerShadow" | "buttonHoverInnerShadow" | "buttonDisabledInnerShadow" | "selectedDropdownItem" | undefined;
692
+ active?: "connectButton" | "qrCode" | "dropdown" | "dialog" | "selectedOption" | "selectedWallet" | "notification" | "buttonShadow" | "buttonFocusedShadow" | "buttonHoverShadow" | "buttonFocusedShadowTertiary" | "buttonHoverShadowTertiary" | "buttonDisabledShadow" | "buttonInnerShadow" | "buttonFocusedInnerShadow" | "buttonHoverInnerShadow" | "buttonDisabledInnerShadow" | "selectedDropdownItem" | undefined;
693
+ selection?: "connectButton" | "qrCode" | "dropdown" | "dialog" | "selectedOption" | "selectedWallet" | "notification" | "buttonShadow" | "buttonFocusedShadow" | "buttonHoverShadow" | "buttonFocusedShadowTertiary" | "buttonHoverShadowTertiary" | "buttonDisabledShadow" | "buttonInnerShadow" | "buttonFocusedInnerShadow" | "buttonHoverInnerShadow" | "buttonDisabledInnerShadow" | "selectedDropdownItem" | undefined;
694
+ focused?: "connectButton" | "qrCode" | "dropdown" | "dialog" | "selectedOption" | "selectedWallet" | "notification" | "buttonShadow" | "buttonFocusedShadow" | "buttonHoverShadow" | "buttonFocusedShadowTertiary" | "buttonHoverShadowTertiary" | "buttonDisabledShadow" | "buttonInnerShadow" | "buttonFocusedInnerShadow" | "buttonHoverInnerShadow" | "buttonDisabledInnerShadow" | "selectedDropdownItem" | undefined;
695
+ focusedVisible?: "connectButton" | "qrCode" | "dropdown" | "dialog" | "selectedOption" | "selectedWallet" | "notification" | "buttonShadow" | "buttonFocusedShadow" | "buttonHoverShadow" | "buttonFocusedShadowTertiary" | "buttonHoverShadowTertiary" | "buttonDisabledShadow" | "buttonInnerShadow" | "buttonFocusedInnerShadow" | "buttonHoverInnerShadow" | "buttonDisabledInnerShadow" | "selectedDropdownItem" | undefined;
688
696
  } | undefined;
689
697
  color?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "errorBackground" | "errorBorder" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "selectedOptionBorder" | "focusedOptionBorder" | "standby" | "success" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "offBackground" | "offBackgroundInverse" | "hoverState" | "lightStroke" | "mediumStroke" | "heavyStroke" | "strokeColor" | "modalTopbarIcon" | "primaryText" | "secondaryText" | "tertiaryText" | "textSelection" | "inputBackground" | "inputBorderBase" | "inputBorderHover" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextPrimary" | "buttonTextHover" | "buttonTextDisabled" | "buttonBackgroundTertiary" | "buttonBackgroundHoverTertiary" | "buttonBackgroundDisabledTertiary" | "buttonTextTertiary" | "buttonTextDisabledTertiary" | "buttonBackground" | "buttonBackgroundHover" | "buttonBackgroundPressed" | "buttonBackgroundDisabled" | "buttonTextSecondaryDisabled" | "buttonTextSecondary" | "buttonIconBackgroundHover" | "buttonIconBackgroundPressed" | "buttonIconStroke" | "buttonBorderFocusedTertiary" | "buttonFocusedOutline" | "buttonBorderGradient" | "buttonHoverBorderGradient" | "buttonDisabledBorderGradient" | "badgeBackgroundSuccess" | "badgeBorderSuccess" | "badgeTextSuccess" | "newBadgeBackground" | "newBadgeBorder" | "newBadgeText" | "approvedBadgeBackground" | "approvedBadgeBorder" | "approvedBadgeText" | "failedBadgeBackground" | "failedBadgeBorder" | "failedBadgeText" | "inputAmountQuickOptionBaseBackground" | "inputAmountQuickOptionHoverBackground" | "inputAmountQuickOptionActiveBackground" | "inputAmountQuickOptionDisabledBackground" | "inputAmountQuickOptionBaseBorder" | "inputAmountQuickOptionHoverBorder" | "inputAmountQuickOptionActiveBorder" | "inputAmountQuickOptionFocusedBorder" | "youPayYouReceiveBackground" | "youPayYouReceiveBorder" | "youPayYouReceivePrimaryText" | "youPayYouReceiveSecondaryText" | "announceGradientFrom" | "announceGradientTo" | "modalHeaderDivider" | "modalFooterDivider" | "fiatPendingGradientFrom" | "fiatPendingGradientTo" | "fiatSuccessBackgroundFill" | "fiatFailedBackgroundFill" | "fiatStatusIconBorder" | "fiatAccountIconFill" | "fiatAccountGradientFrom" | "fiatAccountGradientTo" | "optionBoxBackground" | "spinnerBackground" | "spinnerIndicator" | "spinnerBackgroundVerifyAccount" | "spinnerIndicatorVerifyAccount" | {
690
698
  base?: "accentColor" | "transparent" | "accentColorForeground" | "actionButtonBorder" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "error" | "errorBackground" | "errorBorder" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "selectedOptionBorder" | "focusedOptionBorder" | "standby" | "success" | "chainIconBorder" | "modalBackdrop" | "modalBackground" | "modalBorder" | "offBackground" | "offBackgroundInverse" | "hoverState" | "lightStroke" | "mediumStroke" | "heavyStroke" | "strokeColor" | "modalTopbarIcon" | "primaryText" | "secondaryText" | "tertiaryText" | "textSelection" | "inputBackground" | "inputBorderBase" | "inputBorderHover" | "actionColor" | "actionColorHover" | "actionColorDisabled" | "buttonPrimary" | "buttonDisabled" | "buttonWarning" | "buttonSuccess" | "buttonTextPrimary" | "buttonTextHover" | "buttonTextDisabled" | "buttonBackgroundTertiary" | "buttonBackgroundHoverTertiary" | "buttonBackgroundDisabledTertiary" | "buttonTextTertiary" | "buttonTextDisabledTertiary" | "buttonBackground" | "buttonBackgroundHover" | "buttonBackgroundPressed" | "buttonBackgroundDisabled" | "buttonTextSecondaryDisabled" | "buttonTextSecondary" | "buttonIconBackgroundHover" | "buttonIconBackgroundPressed" | "buttonIconStroke" | "buttonBorderFocusedTertiary" | "buttonFocusedOutline" | "buttonBorderGradient" | "buttonHoverBorderGradient" | "buttonDisabledBorderGradient" | "badgeBackgroundSuccess" | "badgeBorderSuccess" | "badgeTextSuccess" | "newBadgeBackground" | "newBadgeBorder" | "newBadgeText" | "approvedBadgeBackground" | "approvedBadgeBorder" | "approvedBadgeText" | "failedBadgeBackground" | "failedBadgeBorder" | "failedBadgeText" | "inputAmountQuickOptionBaseBackground" | "inputAmountQuickOptionHoverBackground" | "inputAmountQuickOptionActiveBackground" | "inputAmountQuickOptionDisabledBackground" | "inputAmountQuickOptionBaseBorder" | "inputAmountQuickOptionHoverBorder" | "inputAmountQuickOptionActiveBorder" | "inputAmountQuickOptionFocusedBorder" | "youPayYouReceiveBackground" | "youPayYouReceiveBorder" | "youPayYouReceivePrimaryText" | "youPayYouReceiveSecondaryText" | "announceGradientFrom" | "announceGradientTo" | "modalHeaderDivider" | "modalFooterDivider" | "fiatPendingGradientFrom" | "fiatPendingGradientTo" | "fiatSuccessBackgroundFill" | "fiatFailedBackgroundFill" | "fiatStatusIconBorder" | "fiatAccountIconFill" | "fiatAccountGradientFrom" | "fiatAccountGradientTo" | "optionBoxBackground" | "spinnerBackground" | "spinnerIndicator" | "spinnerBackgroundVerifyAccount" | "spinnerIndicatorVerifyAccount" | undefined;
@@ -4,33 +4,28 @@
4
4
  *
5
5
  * Make sure it is SERIALIZABLE and BACKWARD COMPATIBLE!!
6
6
  */
7
- import type { ApiCheckoutClientMetadata, ApiSelectedPaymentMethodInfo } from '@funkit/utils';
7
+ import type { ApiCheckoutClientMetadata } from '@funkit/utils';
8
8
  import type { FunkitActiveCheckoutItem, FunkitCheckoutActionParams, FunkitCheckoutConfig } from '~/providers/FunkitCheckoutContext';
9
- import { type PaymentMethodInfo } from './paymentMethods';
10
9
  import type { FunkitCheckoutQuoteResult } from './quote';
10
+ type Serialize<T> = T extends (...args: never[]) => unknown ? DeepSerialize<ReturnType<T>> : T extends object ? DeepSerialize<T> : T;
11
+ type DeepSerialize<T> = {
12
+ [K in keyof T]: Serialize<T[K]>;
13
+ };
11
14
  /**
12
15
  * Historical Checkout Configuration stored in the server
13
16
  * This is similar to FunkitCheckoutConfig but with some fields changed to serializable types
14
17
  * */
15
- export type ServerCheckoutConfig = Omit<FunkitCheckoutConfig, 'generateActionsParams'> & {
16
- generateActionsParams?: string;
17
- };
18
+ export type ServerCheckoutConfig = DeepSerialize<FunkitCheckoutConfig>;
19
+ type HistoricalCheckoutItemKey = 'id' | 'startTimestampMs' | 'finalDollarValue' | 'latestQuote' | 'depositAddress' | 'selectedSourceAssetInfo' | 'selectedPaymentMethodInfo';
18
20
  /**
19
21
  * HistoricalCheckoutItem stored in the server
20
22
  *
21
23
  * Make sure it is SERIALIZABLE and BACKWARD COMPATIBLE!!
22
24
  **/
23
- export interface HistoricalCheckoutItem {
24
- id: FunkitActiveCheckoutItem['id'];
25
- startTimestampMs: FunkitActiveCheckoutItem['startTimestampMs'];
26
- finalDollarValue: FunkitActiveCheckoutItem['finalDollarValue'];
27
- latestQuote: FunkitActiveCheckoutItem['latestQuote'];
28
- depositAddress: FunkitActiveCheckoutItem['depositAddress'];
25
+ export interface HistoricalCheckoutItem extends Pick<FunkitActiveCheckoutItem, HistoricalCheckoutItemKey> {
29
26
  initSettings: {
30
27
  config: ServerCheckoutConfig;
31
28
  };
32
- selectedSourceAssetInfo: FunkitActiveCheckoutItem['selectedSourceAssetInfo'];
33
- selectedPaymentMethodInfo: FunkitActiveCheckoutItem['selectedPaymentMethodInfo'];
34
29
  isWithdrawal?: boolean;
35
30
  }
36
31
  /**
@@ -44,4 +39,4 @@ export declare function generateClientMetadataForBackend({ checkoutItem, latestQ
44
39
  isWithdrawal?: boolean;
45
40
  }): ApiCheckoutClientMetadata;
46
41
  export declare function generateClientMetadataForTokenTransfer(): HistoricalCheckoutItem;
47
- export declare function toApiSelectedPaymentMethodInfo(paymentMethodInfo: PaymentMethodInfo): ApiSelectedPaymentMethodInfo;
42
+ export {};
@@ -11,7 +11,7 @@ export interface FunkitCheckoutQuoteResult extends Omit<ApiFunkitCheckoutQuoteRe
11
11
  finalSpreadUsd: string;
12
12
  finalFeesBreakdown: CheckoutFees;
13
13
  }
14
- export declare function getCheckoutBaseQuote(checkoutItem: FunkitActiveCheckoutItem, userId: string, walletAddress: Address, apiKey: string, sponsorInitialTransferGasLimit: number, wagmiConfig: Config, directExecutionInfo: FunkitDirectExecutionInfo, senderAddress?: Address, isWithdrawal?: boolean): Promise<CheckoutQuoteResponse>;
14
+ export declare function getCheckoutBaseQuote(checkoutItem: FunkitActiveCheckoutItem, userId: string, walletAddress: Address, apiKey: string, wagmiConfig: Config, directExecutionInfo: FunkitDirectExecutionInfo, senderAddress?: Address, isWithdrawal?: boolean): Promise<CheckoutQuoteResponse>;
15
15
  export declare function getQuoteFinalEstimation(baseQuote: CheckoutQuoteResponse, checkoutItem: FunkitActiveCheckoutItem, newPaymentMethodInfo: PaymentMethodInfo, wagmiConfig: Config, apiKey: string, loginType: LoginType, isWithdrawal?: boolean, brokerageQuote?: BluvoBrokerageQuote): Promise<{
16
16
  finalEstimation: FunkitCheckoutQuoteResult;
17
17
  brokerage?: BrokerageDetails;
@@ -28,7 +28,6 @@ export interface CheckoutQuoteParams {
28
28
  userId: string;
29
29
  walletAddress: Address;
30
30
  apiKey: string;
31
- sponsorInitialTransferGasLimit: number;
32
31
  newPaymentMethodInfo: PaymentMethodInfo;
33
32
  wagmiConfig: Config;
34
33
  loginType: LoginType;
@@ -39,7 +38,7 @@ export interface CheckoutQuoteParams {
39
38
  senderAddress?: Address;
40
39
  isWithdrawal?: boolean;
41
40
  }
42
- export declare function getQuoteAndEstimation({ checkoutItem, userId, walletAddress, apiKey, sponsorInitialTransferGasLimit, newPaymentMethodInfo, wagmiConfig, loginType, directExecutionInfo, senderAddress, isWithdrawal, }: CheckoutQuoteParams): Promise<{
41
+ export declare function getQuoteAndEstimation({ checkoutItem, userId, walletAddress, apiKey, newPaymentMethodInfo, wagmiConfig, loginType, directExecutionInfo, senderAddress, isWithdrawal, }: CheckoutQuoteParams): Promise<{
43
42
  baseQuote: CheckoutQuoteResponse;
44
43
  checkedAssetAmount: CheckedAssetAmount;
45
44
  finalEstimation: FunkitCheckoutQuoteResult;
@@ -36,12 +36,7 @@ export declare const useBluvoSupportedExchanges: ({ fullInfo, iconSize, filterBy
36
36
  export declare const useBluvo: () => {
37
37
  exchangeType: BluvoExchangeType | undefined;
38
38
  bluvoClient: {
39
- listExchanges: (status?: "live" | "offline" | "maintenance" | "coming_soon") => Promise<{
40
- id: string;
41
- name: string;
42
- logoUrl: string;
43
- status: import("@bluvo/sdk-ts").StatusEnum;
44
- }[] | null>;
39
+ listExchanges: (status?: "live" | "offline" | "maintenance" | "coming_soon") => Promise<any[] | null>;
45
40
  startWithdrawalFlow: (flowOptions: import("@bluvo/sdk-ts").WithdrawalFlowOptions) => Promise<{
46
41
  machine: import("@bluvo/sdk-ts").Machine<import("@bluvo/sdk-ts").FlowState, import("@bluvo/sdk-ts").FlowActionType>;
47
42
  closeOAuthWindow: null;
@@ -57,6 +52,20 @@ export declare const useBluvo: () => {
57
52
  machine: import("@bluvo/sdk-ts").Machine<import("@bluvo/sdk-ts").FlowState, import("@bluvo/sdk-ts").FlowActionType>;
58
53
  } | null>;
59
54
  requestQuote: (options: import("@bluvo/sdk-ts").QuoteRequestOptions) => Promise<{
55
+ success: boolean;
56
+ error: string;
57
+ type?: undefined;
58
+ rawQuote?: undefined;
59
+ quoteData?: undefined;
60
+ result?: undefined;
61
+ } | {
62
+ success: boolean;
63
+ error: string;
64
+ type: import("@bluvo/sdk-ts").TypeEnum2;
65
+ rawQuote?: undefined;
66
+ quoteData?: undefined;
67
+ result?: undefined;
68
+ } | {
60
69
  rawQuote: {
61
70
  id: string;
62
71
  asset: string;
@@ -98,25 +107,110 @@ export declare const useBluvo: () => {
98
107
  };
99
108
  expiresAt: number;
100
109
  };
101
- } | undefined>;
110
+ success: boolean;
111
+ result: {
112
+ rawQuote: {
113
+ id: string;
114
+ asset: string;
115
+ amountWithFee?: number | null;
116
+ amountNoFee?: number | null;
117
+ estimatedFee?: number | null;
118
+ amountWithFeeInFiat?: number | null;
119
+ amountNoFeeInFiat?: number | null;
120
+ estimatedFeeInFiat?: number | null;
121
+ destinationAddress: string;
122
+ network?: string | null;
123
+ tag?: string | null;
124
+ estimatedTotal?: number;
125
+ feeDetails?: Array<{
126
+ category: import("@bluvo/sdk-ts").CategoryEnum;
127
+ currency: string;
128
+ amount: number;
129
+ amountInFiat: number;
130
+ fiatCurrency: string;
131
+ }>;
132
+ expiresAt: string;
133
+ additionalInfo: {
134
+ minWithdrawal: string | null;
135
+ maxWithdrawal?: string | null;
136
+ };
137
+ };
138
+ quoteData: {
139
+ id: string;
140
+ asset: string;
141
+ amount: string;
142
+ estimatedFee: string;
143
+ estimatedTotal: string;
144
+ amountWithFeeInFiat: string;
145
+ amountNoFeeInFiat: string;
146
+ estimatedFeeInFiat: string;
147
+ additionalInfo: {
148
+ minWithdrawal: string | null;
149
+ maxWithdrawal?: string | null;
150
+ };
151
+ expiresAt: number;
152
+ };
153
+ };
154
+ error?: undefined;
155
+ type?: undefined;
156
+ }>;
102
157
  executeWithdrawal: (quoteId: string) => Promise<{
103
158
  success: boolean;
159
+ error: string;
160
+ type?: undefined;
161
+ } | {
162
+ success: boolean;
163
+ error: any;
164
+ type: import("@bluvo/sdk-ts").TypeEnum2;
165
+ } | {
166
+ success: boolean;
167
+ result: {
168
+ success: boolean;
169
+ error?: string;
170
+ type?: import("@bluvo/sdk-ts").TypeEnum2;
171
+ result?: unknown;
172
+ } | null | undefined;
104
173
  error?: string;
105
174
  type?: import("@bluvo/sdk-ts").TypeEnum2;
106
- result?: unknown;
107
- } | null | undefined>;
175
+ }>;
108
176
  submit2FA: (code: string) => Promise<{
109
177
  success: boolean;
178
+ error: string;
179
+ type?: undefined;
180
+ } | {
181
+ success: boolean;
182
+ error: any;
183
+ type: import("@bluvo/sdk-ts").TypeEnum2;
184
+ } | {
185
+ success: boolean;
186
+ result: {
187
+ success: boolean;
188
+ error?: string;
189
+ type?: import("@bluvo/sdk-ts").TypeEnum2;
190
+ result?: unknown;
191
+ } | null | undefined;
110
192
  error?: string;
111
193
  type?: import("@bluvo/sdk-ts").TypeEnum2;
112
- result?: unknown;
113
- } | null | undefined>;
194
+ }>;
114
195
  retryWithdrawal: () => Promise<{
115
196
  success: boolean;
197
+ error: string;
198
+ type?: undefined;
199
+ } | {
200
+ success: boolean;
201
+ error: any;
202
+ type: import("@bluvo/sdk-ts").TypeEnum2;
203
+ } | {
204
+ success: boolean;
205
+ result: {
206
+ success: boolean;
207
+ error?: string;
208
+ type?: import("@bluvo/sdk-ts").TypeEnum2;
209
+ result?: unknown;
210
+ } | null | undefined;
116
211
  error?: string;
117
212
  type?: import("@bluvo/sdk-ts").TypeEnum2;
118
- result?: unknown;
119
- } | null | undefined>;
213
+ } | undefined>;
120
214
  cancel: () => void;
121
215
  testWithdrawalComplete: (transactionId?: string) => void;
122
216
  isIdle: boolean;