@funkit/connect 4.0.2 → 4.0.3

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 (31) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist/components/Box/Box.d.ts +1 -1
  3. package/dist/components/FunButton/FunButton.css.d.ts +1 -0
  4. package/dist/components/FunCountdown/FunCountdown.d.ts +2 -1
  5. package/dist/components/FunTransactionSummary/FunTxSummaryComponents.d.ts +0 -5
  6. package/dist/components/FunTransactionSummary/PaymentFeesSummary.css.d.ts +2 -0
  7. package/dist/components/FunTransactionSummary/PaymentFeesSummary.d.ts +6 -4
  8. package/dist/consts/customers.d.ts +1 -0
  9. package/dist/css/sprinkles.css.d.ts +1 -1
  10. package/dist/domains/paymentMethods.d.ts +7 -9
  11. package/dist/hooks/useFunkitMaxCheckoutUsdInfo.d.ts +25 -0
  12. package/dist/hooks/useMesh.d.ts +2 -2
  13. package/dist/index.css +2067 -2001
  14. package/dist/index.d.ts +1 -0
  15. package/dist/index.js +1895 -1766
  16. package/dist/modals/CheckoutModal/ConfirmationStep/CheckoutPrimaryInfo.d.ts +7 -2
  17. package/dist/modals/CheckoutModal/ConfirmationStep/DisclaimerText.d.ts +7 -0
  18. package/dist/modals/CheckoutModal/{InputAmount → ConfirmationStep}/useCheckoutQuote.d.ts +3 -4
  19. package/dist/modals/CheckoutModal/useSourceAssetConfirm.d.ts +5 -1
  20. package/dist/modals/FunCheckoutHistoryModal/FunCheckoutHistoryTransaction.css.d.ts +1 -0
  21. package/dist/modals/ProfileDetails/FunProfileViews/Home/Home.css.d.ts +1 -0
  22. package/dist/providers/FunkitCheckoutContext.d.ts +1 -8
  23. package/dist/providers/FunkitMeshProvider.d.ts +9 -15
  24. package/dist/providers/UserPresenceContext.d.ts +9 -0
  25. package/dist/scroll-G557LOXM.js +7 -0
  26. package/dist/utils/checkout.d.ts +5 -1
  27. package/dist/utils/flags/config.d.ts +8 -0
  28. package/dist/wallets/walletConnectors/index.js +46 -46
  29. package/package.json +5 -5
  30. package/dist/components/FunNotification/FunCheckoutNotification.d.ts +0 -7
  31. package/dist/modals/CheckoutModal/useCheckoutQuote.d.ts +0 -7
@@ -1,4 +1,9 @@
1
1
  import React from 'react';
2
- export declare function CheckoutPrimaryInfo({ showTokenAmount, }: {
2
+ import type { FunkitActiveCheckoutItem } from '~/providers/FunkitCheckoutContext';
3
+ interface CheckoutPrimaryInfoProps {
3
4
  showTokenAmount?: boolean;
4
- }): React.JSX.Element | null;
5
+ checkoutItem: FunkitActiveCheckoutItem;
6
+ isLoading?: boolean;
7
+ }
8
+ export declare function CheckoutPrimaryInfo({ showTokenAmount, checkoutItem, isLoading, }: CheckoutPrimaryInfoProps): React.JSX.Element;
9
+ export {};
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ interface DisclaimerTextProps {
3
+ showDydxDisclaimer: boolean;
4
+ continueText: string;
5
+ }
6
+ export declare const DisclaimerText: ({ showDydxDisclaimer, continueText, }: DisclaimerTextProps) => React.JSX.Element;
7
+ export {};
@@ -1,17 +1,16 @@
1
1
  import { type CheckoutQuoteError } from '../../../providers/FunkitCheckoutContext';
2
2
  interface TriggerNewQuoteOptions {
3
3
  maxRetries: number;
4
- targetAssetAmount: number;
5
4
  }
6
5
  interface UseCheckoutQuoteOptions {
7
- onFailure(error: CheckoutQuoteError): void;
8
- onSuccess(): void;
6
+ onFailure: (error: CheckoutQuoteError) => void;
7
+ onSuccess?: () => void;
9
8
  }
10
9
  interface UseCheckoutQuoteResult {
11
10
  error: string | null;
12
11
  isQuoting: boolean;
13
12
  step: string | null;
14
- triggerNewQuote(options: TriggerNewQuoteOptions): void;
13
+ triggerNewQuote: (options: TriggerNewQuoteOptions) => void;
15
14
  }
16
15
  export declare function useCheckoutQuote({ onFailure, onSuccess, }: UseCheckoutQuoteOptions): UseCheckoutQuoteResult;
17
16
  export {};
@@ -2,9 +2,13 @@ import type { Operation } from '@funkit/core';
2
2
  import { type PaymentMethodInfo } from '../../domains/paymentMethods';
3
3
  import { type CheckoutQuoteResult, type FunkitActiveCheckoutItem } from '../../providers/FunkitCheckoutContext';
4
4
  import { LoginType } from '../../providers/GeneralWalletProvider';
5
+ export interface SourceAssetConfirmed {
6
+ isQuoteSuccess: boolean;
7
+ maxTargetAssetAmount: number | undefined;
8
+ }
5
9
  export declare function preparePaymentMethodInfo(selectedPaymentMethodInfo: PaymentMethodInfo | null, meshNetworkInfo: {
6
10
  meshNetworkId: string | undefined;
7
- } | null): Promise<import("../../domains/paymentMethods").PaymentMethodCardInfo | import("../../domains/paymentMethods").PaymentMethodBrokerageInfo | import("../../domains/paymentMethods").PaymentMethodAccountInfo>;
11
+ } | null): PaymentMethodInfo;
8
12
  export declare function fetchSponsorInitialTransferGasLimit(checkoutItem: FunkitActiveCheckoutItem, loginType: LoginType, generateCheckoutTransferOpItems: (toAddress: string, tokenAmount: number | string) => Promise<{
9
13
  transferOp: Operation | null;
10
14
  }>): Promise<number>;
@@ -1,2 +1,3 @@
1
1
  export declare const ContentExpanded: string;
2
2
  export declare const ContentCollapsed: string;
3
+ export declare const expandableTriggerBaseStyles: string;
@@ -1,3 +1,4 @@
1
1
  export declare const animateTitleInClass: string;
2
2
  export declare const animateTitleOutClass: string;
3
3
  export declare const animateVirtuosoInClass: string;
4
+ export declare const tabLabelStyles: string;
@@ -1,5 +1,4 @@
1
1
  import { type ApiCheckoutClientMetadata, type ApiFunkitCheckoutConfig } from '@funkit/api-base';
2
- import { type Operation } from '@funkit/core';
3
2
  import React, { type ReactNode } from 'react';
4
3
  import { type Abi, type Address } from 'viem';
5
4
  import type { AssetHoldingsItem } from '~/utils/assets';
@@ -55,11 +54,6 @@ export interface FunkitCheckoutConfig extends Omit<ApiFunkitCheckoutConfig, 'gen
55
54
  /** User identification within customer's app for logging and customer dashboard purposes (future). **/
56
55
  externalCheckoutUserId?: string;
57
56
  }
58
- export interface CheckoutClientMetadata extends Omit<ApiCheckoutClientMetadata, 'initSettings'> {
59
- initSettings: {
60
- config: FunkitCheckoutConfig;
61
- };
62
- }
63
57
  interface FunkitCheckoutValidationResult {
64
58
  isValid: boolean;
65
59
  message: string;
@@ -95,7 +89,7 @@ interface UseFunkitCheckoutPropsWithFullConfig extends UseFunkitCheckoutProps {
95
89
  /**
96
90
  * Checkout Item for frontend use
97
91
  */
98
- export interface FunkitActiveCheckoutItem extends Omit<CheckoutClientMetadata, 'selectedPaymentMethodInfo' | 'initSettings'> {
92
+ export interface FunkitActiveCheckoutItem extends Omit<ApiCheckoutClientMetadata, 'selectedPaymentMethodInfo' | 'initSettings'> {
99
93
  /** Whether the checkout quote is being fetched **/
100
94
  isQuoting: boolean;
101
95
  /** Latest checkout estimated fees and time **/
@@ -132,7 +126,6 @@ interface FunkitCheckoutContextInterface {
132
126
  getCheckoutQuote(sponsorInitialTransferGasLimit: number, newPaymentMethodInfo: PaymentMethodInfo, disableInformationStreaming?: boolean): Promise<CheckoutQuoteResult & {
133
127
  shellCheckoutItemWithNextQuote: FunkitActiveCheckoutItem;
134
128
  }>;
135
- generateSignedBatchOperation(actionsParams: FunkitCheckoutActionParams[], assetChainId: string, bypassWalletInit: boolean, stepMessageSetter: (m: string) => void): Promise<null | Operation>;
136
129
  setCheckoutQuote(quote: FunkitActiveCheckoutItem): void;
137
130
  setCompletedTimestamp(timestampMs: number): void;
138
131
  }
@@ -1,27 +1,21 @@
1
- import { type LinkPayload } from '@meshconnect/web-link-sdk';
2
1
  import React, { type ReactNode } from 'react';
3
- import type { MeshExchangeType } from '~/consts/mesh';
2
+ import { type MeshExchangeType } from '~/consts/mesh';
3
+ export interface MeshConnectionInfo {
4
+ accessToken: string;
5
+ accountId: string;
6
+ brokerType: MeshExchangeType;
7
+ }
4
8
  export declare function FunkitMeshProvider({ children }: {
5
9
  children: ReactNode;
6
10
  }): React.JSX.Element;
7
11
  export declare function useFunkitMesh(): {
12
+ getActiveConnection: (brokerType: MeshExchangeType) => MeshConnectionInfo | null;
13
+ getFirstActiveConnection: () => MeshConnectionInfo | null;
8
14
  unlinkBrokerage: (brokerType: MeshExchangeType) => void;
9
- getActiveConnection: (brokerType: MeshExchangeType) => (LinkPayload & {
10
- connectionExpiresAtMs: number;
11
- }) | null | undefined;
12
- getFirstActiveConnection: () => {
13
- accessToken?: import("@meshconnect/web-link-sdk").AccessTokenPayload;
14
- delayedAuth?: import("@meshconnect/web-link-sdk").DelayedAuthPayload;
15
- connectionExpiresAtMs?: number | undefined;
16
- brokerType: MeshExchangeType;
17
- } | null;
18
15
  };
19
16
  interface FunkitMeshHook {
20
17
  onBeforeConnect(): void;
21
- onConnected(data: {
22
- brokerData: LinkPayload;
23
- brokerType: MeshExchangeType;
24
- } | null): void;
18
+ onConnected(connection: MeshConnectionInfo | null): void;
25
19
  onMeshModalClose(): void;
26
20
  }
27
21
  /**
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { type PropsWithChildren } from 'react';
3
+ interface UserPresence {
4
+ isAway: boolean;
5
+ }
6
+ export declare const UserPresenceContext: React.Context<UserPresence>;
7
+ export declare const UserPresenceProvider: ({ children }: PropsWithChildren) => React.JSX.Element;
8
+ export declare const useUserPresence: () => UserPresence;
9
+ export {};
@@ -0,0 +1,7 @@
1
+ "use client";
2
+
3
+ // src/providers/chainIcons/scroll.svg
4
+ var scroll_default = 'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" id="Layer_1" x="0" y="0" version="1.1" viewBox="0 0 444 444"><style>.st0{fill:%23ffeeda}.st2{fill:%23101010}</style><path d="M0 0h444v444H0z" class="st0"/><path d="M333.4 262V110.6c-.2-12.7-10.3-22.9-23-22.9h-158c-34.1.5-61.5 28.4-61.5 62.6 0 11.5 3.1 21.4 7.8 30.1 4 7.2 10.3 14 16.5 19.1 1.8 1.4.9.8 6.3 4.1 7.4 4.5 15.9 6.8 15.9 6.8l-.1 90.6c.2 4.3.6 8.4 1.8 12.3 3.5 12.8 12.4 22.6 24.4 27.3 5 2 10.7 3.3 16.8 3.4l126.2.4c25.1 0 45.5-20.4 45.5-45.6.1-15-7.4-28.4-18.6-36.8" class="st0"/><path d="M336.5 299.9C336 316 322.7 329 306.4 329l-86.8-.3c6.9-8 11.1-18.4 11.1-29.8 0-17.8-10.6-30.1-10.6-30.1h86.4c16.6 0 30.1 13.5 30.1 30.1z" style="fill:%23ebc28e"/><path d="M123.5 186.7c-10-9.5-17-21.7-17-36.3v-1.5c.8-24.8 21.2-44.8 46-45.5h158c4.1.2 7.4 3.1 7.4 7.3v133.7c3.6.6 5.4 1.1 8.9 2.4 2.8 1 6.6 3.2 6.6 3.2V110.7c-.2-12.7-10.3-22.9-23-22.9h-158c-34.1.5-61.5 28.4-61.5 62.6 0 19.9 9.1 36.9 23.9 48.8 1 .8 2 1.9 4.6 1.9 4.6 0 7.9-3.7 7.7-7.7 0-3.4-1.5-4.6-3.6-6.7" class="st2"/><path d="M306.4 253.2H182.5c-8.3.1-15 6.8-15 15.1v17.8c.2 8.2 7.2 15.2 15.6 15.2h9.2v-15.2H183v-17.4h5c15.7 0 27.2 14.5 27.2 30.1 0 13.8-12.6 31.4-33.6 30-18.6-1.2-28.7-17.8-28.7-30v-151c0-6.8-5.6-12.4-12.4-12.4h-12.4v15.5h9.2v148c-.5 30.1 21.4 45.2 44.3 45.2l124.9.4c25.1 0 45.5-20.4 45.5-45.6.1-25.2-20.4-45.7-45.6-45.7m30.1 46.7C336 316 322.7 329 306.4 329l-86.8-.3c6.9-8 11.1-18.4 11.1-29.8 0-17.8-10.6-30.1-10.6-30.1h86.4c16.6 0 30.1 13.5 30.1 30.1zM273 153.7h-93.4v-15.5H273c4.2 0 7.7 3.4 7.7 7.7.1 4.3-3.3 7.8-7.7 7.8" class="st2"/><path d="M273 226.4h-93.4V211H273c4.2 0 7.7 3.4 7.7 7.7.1 4.2-3.3 7.7-7.7 7.7M289.5 190H179.6v-15.5h109.8c4.2 0 7.7 3.4 7.7 7.7.2 4.3-3.3 7.8-7.6 7.8" class="st2"/></svg>';
5
+ export {
6
+ scroll_default as default
7
+ };
@@ -121,7 +121,11 @@ export declare function categorizeCheckoutHistories(checkoutHistoryList: Checkou
121
121
  };
122
122
  export declare function getCheckoutStateStepNumber(state: CheckoutState): 0 | 1 | 3 | 2;
123
123
  export declare function formatTokenAmountForMoonpay(amount: number, mpCurrencyCode: string): string;
124
- export declare function hackTimeEstimationForImportantCustomer(originalTimeEstimation: number, paymentMethod: PaymentMethod, apiKey: string): any;
124
+ /**
125
+ * https://linear.app/funxyz/issue/ENG-1154/update-dydx-and-polymarkets-time-estimate
126
+ * @returns time estimation in seconds
127
+ */
128
+ export declare function hackTimeEstimationForImportantCustomer(originalTimeEstimationMs: number | undefined, paymentMethod: PaymentMethod, apiKey: string): number;
125
129
  export declare function getEstimateEndTimeInfo(createdTimeMs: number, checkoutItem: FunkitActiveCheckoutItem | HistoricalCheckoutItem, apiKey: string): {
126
130
  estimatedEndTimeMs: number;
127
131
  estimatedEndTimeFromNowMs: number;
@@ -49,6 +49,14 @@ export declare const flagConfig: {
49
49
  blocked_countries: {
50
50
  type: "string";
51
51
  default_value: string;
52
+ overrides: {
53
+ if_any: {
54
+ key: "apiKey";
55
+ type: "isAnyOf";
56
+ values: string[];
57
+ }[];
58
+ value: string;
59
+ }[];
52
60
  };
53
61
  address_blacklist: {
54
62
  type: "string";
@@ -1,16 +1,16 @@
1
1
  "use client";
2
- import {
3
- zealWallet
4
- } from "./chunk-JROWU5BP.js";
5
2
  import {
6
3
  xdefiWallet
7
4
  } from "./chunk-NO7XMBB5.js";
5
+ import {
6
+ zealWallet
7
+ } from "./chunk-JROWU5BP.js";
8
8
  import {
9
9
  zerionWallet
10
10
  } from "./chunk-ETTNDQQG.js";
11
11
  import {
12
- tahoWallet
13
- } from "./chunk-6P2EMPZI.js";
12
+ subWallet
13
+ } from "./chunk-4UM4GTKZ.js";
14
14
  import {
15
15
  talismanWallet
16
16
  } from "./chunk-ABFSXBE6.js";
@@ -27,20 +27,23 @@ import {
27
27
  uniswapWallet
28
28
  } from "./chunk-LH7BMNFZ.js";
29
29
  import {
30
- ramperWallet
31
- } from "./chunk-PIUNLQJG.js";
30
+ tahoWallet
31
+ } from "./chunk-6P2EMPZI.js";
32
32
  import {
33
33
  walletConnectWallet
34
34
  } from "./chunk-NP5QGWNL.js";
35
35
  import {
36
- frontierWallet
37
- } from "./chunk-HKV7EMYZ.js";
36
+ phantomWallet
37
+ } from "./chunk-ZSVTX6EK.js";
38
38
  import {
39
39
  rabbyWallet
40
40
  } from "./chunk-BVX4XGNP.js";
41
41
  import {
42
42
  rainbowWallet
43
43
  } from "./chunk-MOOBCMMB.js";
44
+ import {
45
+ ramperWallet
46
+ } from "./chunk-PIUNLQJG.js";
44
47
  import {
45
48
  roninWallet
46
49
  } from "./chunk-25VW5TZP.js";
@@ -50,15 +53,18 @@ import {
50
53
  import {
51
54
  safeheronWallet
52
55
  } from "./chunk-R6RWZRFF.js";
53
- import {
54
- subWallet
55
- } from "./chunk-4UM4GTKZ.js";
56
56
  import {
57
57
  safepalWallet
58
58
  } from "./chunk-6LPM6LUQ.js";
59
+ import {
60
+ ledgerWallet
61
+ } from "./chunk-BRBKM4PW.js";
59
62
  import {
60
63
  metaMaskWallet
61
64
  } from "./chunk-N2NIIUW6.js";
65
+ import {
66
+ mewWallet
67
+ } from "./chunk-V57WLZEE.js";
62
68
  import {
63
69
  oktoWallet
64
70
  } from "./chunk-ADIXAKUL.js";
@@ -75,47 +81,41 @@ import {
75
81
  oneKeyWallet
76
82
  } from "./chunk-4AD7VI2P.js";
77
83
  import {
78
- phantomWallet
79
- } from "./chunk-ZSVTX6EK.js";
80
- import {
81
- injectedWallet
82
- } from "./chunk-VCVVV2K7.js";
84
+ foxWallet
85
+ } from "./chunk-XYBEMO3C.js";
83
86
  import {
84
87
  frameWallet
85
88
  } from "./chunk-ZMYVTWDF.js";
89
+ import {
90
+ frontierWallet
91
+ } from "./chunk-HKV7EMYZ.js";
86
92
  import {
87
93
  gateWallet
88
94
  } from "./chunk-3NC26XLM.js";
89
- import {
90
- enkryptWallet
91
- } from "./chunk-SJTXS4ZW.js";
92
95
  import {
93
96
  imTokenWallet
94
97
  } from "./chunk-COZ7MIQS.js";
95
98
  import {
96
- mewWallet
97
- } from "./chunk-V57WLZEE.js";
98
- import {
99
- ledgerWallet
100
- } from "./chunk-BRBKM4PW.js";
99
+ injectedWallet
100
+ } from "./chunk-VCVVV2K7.js";
101
101
  import {
102
102
  kresusWallet
103
103
  } from "./chunk-MJXPRJZT.js";
104
104
  import {
105
- bybitWallet
106
- } from "./chunk-W5O4YSZN.js";
107
- import {
108
- clvWallet
109
- } from "./chunk-LEXSM5KI.js";
105
+ braveWallet
106
+ } from "./chunk-PB254NQ4.js";
110
107
  import {
111
108
  coin98Wallet
112
109
  } from "./chunk-KFFJPS5R.js";
113
- import {
114
- coreWallet
115
- } from "./chunk-JXP2QPW7.js";
116
110
  import {
117
111
  coinbaseWallet
118
112
  } from "./chunk-H4IRCEZN.js";
113
+ import {
114
+ clvWallet
115
+ } from "./chunk-LEXSM5KI.js";
116
+ import {
117
+ coreWallet
118
+ } from "./chunk-JXP2QPW7.js";
119
119
  import {
120
120
  dawnWallet
121
121
  } from "./chunk-LN7OD5EC.js";
@@ -123,30 +123,30 @@ import {
123
123
  desigWallet
124
124
  } from "./chunk-CTU6JCOK.js";
125
125
  import {
126
- foxWallet
127
- } from "./chunk-XYBEMO3C.js";
126
+ enkryptWallet
127
+ } from "./chunk-SJTXS4ZW.js";
128
+ import {
129
+ argentWallet
130
+ } from "./chunk-WSQ2YJO2.js";
131
+ import {
132
+ bitskiWallet
133
+ } from "./chunk-P74YPRF6.js";
134
+ import {
135
+ bitgetWallet
136
+ } from "./chunk-7GSNBOD3.js";
128
137
  import {
129
138
  bifrostWallet
130
139
  } from "./chunk-545L7Y4M.js";
131
140
  import {
132
141
  bitverseWallet
133
142
  } from "./chunk-3HZRRP4Y.js";
134
- import {
135
- bitskiWallet
136
- } from "./chunk-P74YPRF6.js";
137
143
  import {
138
144
  bloomWallet
139
145
  } from "./chunk-S27IADFU.js";
140
146
  import {
141
- bitgetWallet
142
- } from "./chunk-7GSNBOD3.js";
143
- import {
144
- braveWallet
145
- } from "./chunk-PB254NQ4.js";
147
+ bybitWallet
148
+ } from "./chunk-W5O4YSZN.js";
146
149
  import "./chunk-WRA2DVJ7.js";
147
- import {
148
- argentWallet
149
- } from "./chunk-WSQ2YJO2.js";
150
150
  import "./chunk-23WIEY36.js";
151
151
  export {
152
152
  argentWallet,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@funkit/connect",
3
- "version": "4.0.2",
3
+ "version": "4.0.3",
4
4
  "description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
5
5
  "files": [
6
6
  "dist",
@@ -90,10 +90,10 @@
90
90
  "react-virtuoso": "4.10.1",
91
91
  "ua-parser-js": "^1.0.37",
92
92
  "uuid": "^9.0.1",
93
- "@funkit/core": "2.2.8",
94
- "@funkit/api-base": "1.4.1",
95
- "@funkit/utils": "1.0.2",
96
- "@funkit/wagmi-tools": "3.0.19"
93
+ "@funkit/api-base": "1.4.2",
94
+ "@funkit/utils": "1.0.3",
95
+ "@funkit/core": "2.2.9",
96
+ "@funkit/wagmi-tools": "3.0.20"
97
97
  },
98
98
  "repository": {
99
99
  "type": "git",
@@ -1,7 +0,0 @@
1
- import type { CheckoutHistoryItem } from '@funkit/api-base';
2
- import React from 'react';
3
- import { HistoryContentPages } from '../../utils/checkoutHistory';
4
- export declare function FunCheckoutNotification({ checkoutHistoryItem, onSelect, }: {
5
- checkoutHistoryItem: CheckoutHistoryItem;
6
- onSelect: (depositAddress: `0x${string}`, initialPage: HistoryContentPages) => void;
7
- }): React.JSX.Element;
@@ -1,7 +0,0 @@
1
- import { type DeepPartial } from '@funkit/utils';
2
- import { type FunkitActiveCheckoutItem } from '~/providers/FunkitCheckoutContext';
3
- export declare function useCheckoutQuote(): (overridingCheckoutItem?: DeepPartial<FunkitActiveCheckoutItem>) => Promise<{
4
- baseQuote: import("@funkit/api-base").CheckoutQuoteResponse;
5
- finalEstimation: import("~/domains/quote").FunkitCheckoutQuoteResult;
6
- availableAssetAmount: number | undefined;
7
- }>;