@funkit/connect 7.1.0-next.12 → 7.1.0-next.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +30 -0
- package/dist/components/Dropdown/ChainDropdown.d.ts +1 -1
- package/dist/components/Dropdown/TokenAndChainDropdown.d.ts +1 -1
- package/dist/components/Dropdown/TokenDropdown.d.ts +1 -1
- package/dist/components/FunAsset/FunAssetItem.d.ts +1 -1
- package/dist/components/FunCheckoutHistory/FunDirectExecutionHistoryDetail.d.ts +1 -1
- package/dist/components/FunCheckoutModalHeightAnimationWrapper/FunCheckoutModalHeightAnimationWrapper.d.ts +1 -1
- package/dist/components/FunNotificationBanner/FunNotificationBannerIcon.d.ts +1 -1
- package/dist/components/FunSelectBrokerage/FunSelectBrokerage.d.ts +1 -1
- package/dist/components/FunTransactionSummary/PaymentAmountSummary.d.ts +2 -2
- package/dist/components/FunTransactionSummary/PaymentFeesSummary.d.ts +2 -2
- package/dist/components/FunTransactionSummary/PaymentFeesSummary.track.d.ts +2 -2
- package/dist/components/FunTransactionSummary/PaymentMethodSummary.d.ts +1 -1
- package/dist/components/FunTransactionSummary/PaymentRouteSummary.d.ts +1 -1
- package/dist/components/NewTokenDepositAlert/NewTokenDepositAlert.d.ts +1 -1
- package/dist/components/ReceiveAmount/ReceiveAmount.d.ts +2 -2
- package/dist/components/SourcePaymentMethodItem/SourcePaymentMethodItem.d.ts +1 -1
- package/dist/components/TransactionStatus/TransactionStatus.d.ts +1 -1
- package/dist/components/TransferTokenDetails/TransferTokenDetails.d.ts +1 -1
- package/dist/consts/customers.d.ts +1 -1
- package/dist/domains/asset.d.ts +2 -2
- package/dist/domains/checkout.d.ts +1 -1
- package/dist/domains/checkoutRecipient.d.ts +1 -1
- package/dist/domains/clientMetadata.d.ts +1 -1
- package/dist/domains/fees.d.ts +2 -2
- package/dist/domains/paymentMethods.d.ts +1 -1
- package/dist/domains/quote.d.ts +4 -4
- package/dist/domains/wallet.d.ts +1 -1
- package/dist/hooks/queries/useMeldDefaultCurrency.d.ts +1 -1
- package/dist/hooks/queries/useRecentCheckouts.d.ts +1 -1
- package/dist/hooks/queries/useRecentDeposits.d.ts +73 -2
- package/dist/hooks/queries/useWithdrawalQuote.d.ts +31 -31
- package/dist/hooks/track/useTrack.d.ts +1 -1
- package/dist/hooks/useBluvo.d.ts +3 -3
- package/dist/hooks/useCheckoutDirectExecution.d.ts +3 -3
- package/dist/hooks/useCheckoutItemDisplay.d.ts +2 -2
- package/dist/hooks/useCheckoutTimeEstimate.d.ts +2 -2
- package/dist/hooks/useCheckoutTransferInit.d.ts +1 -1
- package/dist/hooks/useCountdown.d.ts +1 -1
- package/dist/hooks/useEnabledTokenTransferChainTokens.d.ts +1 -1
- package/dist/hooks/useFrogAccount.d.ts +1 -1
- package/dist/hooks/useIsBlacklisted.d.ts +1 -1
- package/dist/hooks/useIsDynamicRoutingEnabled.d.ts +1 -1
- package/dist/hooks/useMinDeposit.d.ts +1 -1
- package/dist/hooks/useOnNewNotification.d.ts +1 -1
- package/dist/hooks/usePaymentSources.d.ts +3 -3
- package/dist/hooks/useRelayBypass.d.ts +1 -1
- package/dist/hooks/useTokenChain.d.ts +1 -1
- package/dist/hooks/useTokenTransfer.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +92 -48
- package/dist/modals/CheckoutModal/Brokerage/BrokerageSuccessModal.d.ts +1 -1
- package/dist/modals/CheckoutModal/Brokerage/BrokerageTwoFA.d.ts +2 -2
- package/dist/modals/CheckoutModal/Brokerage/ConnectExchange.d.ts +2 -2
- package/dist/modals/CheckoutModal/Brokerage/SelectBrokerage.d.ts +2 -2
- package/dist/modals/CheckoutModal/ConfirmationStep/CheckoutPrimaryInfo.d.ts +1 -1
- package/dist/modals/CheckoutModal/ConfirmationStep/ConfirmationStep.d.ts +1 -1
- package/dist/modals/CheckoutModal/ConfirmationStep/DisclaimerText.d.ts +1 -1
- package/dist/modals/CheckoutModal/ConfirmationStep/useCheckoutConfirmation.d.ts +1 -1
- package/dist/modals/CheckoutModal/ConfirmationStep/useCheckoutQuote.d.ts +1 -1
- package/dist/modals/CheckoutModal/ConfirmationStep/usePostCheckout.d.ts +2 -2
- package/dist/modals/CheckoutModal/ConfirmationStep/useQuoteRefresh.d.ts +1 -1
- package/dist/modals/CheckoutModal/ConfirmationStep/useSourceAssetConfirm.d.ts +2 -2
- package/dist/modals/CheckoutModal/DirectExecutionNotifCenter/DirectExecutionNotifCenter.d.ts +1 -1
- package/dist/modals/CheckoutModal/DirectExecutionNotifCenter/DirectExecutionNotifCenterContent.d.ts +1 -1
- package/dist/modals/CheckoutModal/InputAmount/AvailableBalance.d.ts +1 -1
- package/dist/modals/CheckoutModal/InputAmount/InputAmount.d.ts +1 -1
- package/dist/modals/CheckoutModal/InputAmount/InputAmountLoaded.d.ts +2 -2
- package/dist/modals/CheckoutModal/InputAmount/state.d.ts +2 -2
- package/dist/modals/CheckoutModal/InputAmount/useAmountInput.d.ts +1 -1
- package/dist/modals/CheckoutModal/InputAmount/useAvailableBalanceForCheckout.d.ts +3 -3
- package/dist/modals/CheckoutModal/InputAmount/useMeld.d.ts +1 -1
- package/dist/modals/CheckoutModal/InputAmount/utils.d.ts +2 -2
- package/dist/modals/CheckoutModal/MeldCurrencySelect/MeldCurrencySelect.d.ts +1 -1
- package/dist/modals/CheckoutModal/MeldQuotes/MeldQuotes.d.ts +1 -1
- package/dist/modals/CheckoutModal/MeldRedirect/MeldRedirect.d.ts +1 -1
- package/dist/modals/CheckoutModal/SelectAsset.d.ts +1 -1
- package/dist/modals/CheckoutModal/SourceChange/DefiPurchaseSection.d.ts +1 -1
- package/dist/modals/CheckoutModal/SourceChange/SourceChange.d.ts +1 -1
- package/dist/modals/CheckoutModal/TransferToken/CheckoutNotification.d.ts +1 -1
- package/dist/modals/CheckoutModal/TransferToken/CheckoutNotifications.track.d.ts +1 -1
- package/dist/modals/CheckoutModal/TransferToken/DirectExecutionNotification.d.ts +1 -1
- package/dist/modals/CheckoutModal/TransferToken/TransferToken.d.ts +1 -1
- package/dist/modals/CheckoutModal/TransferToken/types.d.ts +1 -1
- package/dist/modals/CheckoutModal/VirtualFiatAccount/BridgeCustomer.d.ts +2 -2
- package/dist/modals/CheckoutModal/VirtualFiatAccount/BridgeKyc.d.ts +1 -1
- package/dist/modals/CheckoutModal/VirtualFiatAccount/ErrorScreen.d.ts +1 -1
- package/dist/modals/CheckoutModal/VirtualFiatAccount/FiatAccountDetail.d.ts +1 -1
- package/dist/modals/CheckoutModal/VirtualFiatAccount/KycIframe.d.ts +2 -2
- package/dist/modals/CheckoutModal/VirtualFiatAccount/VirtualFiatAccount.d.ts +2 -2
- package/dist/modals/CheckoutModal/stepTransition.d.ts +5 -5
- package/dist/modals/CheckoutModal/stepTransition.track.d.ts +2 -2
- package/dist/modals/ProfileDetails/FunProfileViews/Home/HomeCheckoutDisplayRow.d.ts +2 -2
- package/dist/modals/ProfileDetails/FunProfileViews/Home/HomeTokenDisplayRow.d.ts +1 -1
- package/dist/modals/ProfileDetails/FunProfileViews/Home/ProfileTitleSection.d.ts +1 -1
- package/dist/modals/ProfileDetails/FunProfileViews/Home/index.d.ts +1 -1
- package/dist/modals/WithdrwalModal/WithdrawalContent.d.ts +1 -1
- package/dist/modals/WithdrwalModal/WithdrawalModal.d.ts +1 -1
- package/dist/modals/WithdrwalModal/WithdrawalNotification.d.ts +2 -2
- package/dist/modals/WithdrwalModal/useWithdrawal.d.ts +2 -2
- package/dist/providers/FunkitBrokerageProvider.d.ts +2 -2
- package/dist/providers/FunkitCheckoutContext/track.d.ts +4 -4
- package/dist/providers/FunkitHistoryContext.d.ts +2 -2
- package/dist/providers/FunkitI18nProvider.d.ts +1 -1
- package/dist/providers/FunkitProvider.d.ts +1 -1
- package/dist/providers/FunkitQuoteContext.track.d.ts +3 -3
- package/dist/themes/darkTheme.d.ts +1 -1
- package/dist/themes/lightTheme.d.ts +1 -1
- package/dist/utils/assets.d.ts +1 -1
- package/dist/utils/bluvo.d.ts +2 -2
- package/dist/utils/checkout.d.ts +2 -2
- package/dist/utils/customer.d.ts +2 -2
- package/dist/utils/flags/patches/enable-bitcoin-patch.d.ts +1 -1
- package/dist/utils/funkitProvider.d.ts +1 -1
- package/dist/utils/payment.d.ts +1 -1
- package/dist/utils/purifyCheckoutHistoryItem.d.ts +4 -5
- package/dist/utils/withdrawal.d.ts +1 -1
- package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/index.js +9 -9
- package/package.json +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
1
1
|
# @funkit/connect
|
|
2
2
|
|
|
3
|
+
## 7.1.0-next.15
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- e55876b: fix path alias inside the npm package
|
|
8
|
+
|
|
9
|
+
## 7.1.0-next.14
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- da4efac: fix types export
|
|
14
|
+
|
|
15
|
+
## 7.1.0-next.13
|
|
16
|
+
|
|
17
|
+
### Minor Changes
|
|
18
|
+
|
|
19
|
+
- f4552b0: Expose recent deposits hooks for SDK users with comprehensive documentation
|
|
20
|
+
|
|
21
|
+
Add two new public hooks for fetching recent deposits/direct executions:
|
|
22
|
+
|
|
23
|
+
- `useFunkitRecentDeposits`: Auto-integrates with FunkitProvider context
|
|
24
|
+
- `useFunkitRecentDepositsImpl`: Standalone implementation with explicit parameters
|
|
25
|
+
|
|
26
|
+
Both hooks return purified checkout history items suitable for external use and include full JSDoc documentation with usage examples.
|
|
27
|
+
|
|
28
|
+
### Patch Changes
|
|
29
|
+
|
|
30
|
+
- 2962aaa: feat(connect): remove persisted targetAssetAmount when source token changes - fixes default input amount logic
|
|
31
|
+
- 6802246: feat(connect): remove no eth asset msg for lighter
|
|
32
|
+
|
|
3
33
|
## 7.1.0-next.12
|
|
4
34
|
|
|
5
35
|
### Patch Changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { TokenTransferSourceChainsAndAssets } from '
|
|
2
|
+
import type { TokenTransferSourceChainsAndAssets } from '../../modals/CheckoutModal/TransferToken/TransferToken';
|
|
3
3
|
import type { BaseActiveDropdownItemProps } from './BaseActiveDropdownItem';
|
|
4
4
|
import { type BaseDropdownProps } from './BaseDropdown';
|
|
5
5
|
interface ChainDropdownProps {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { type ReactNode } from 'react';
|
|
2
|
-
import type { TokenTransferSourceChainsAndAssets } from '
|
|
2
|
+
import type { TokenTransferSourceChainsAndAssets } from '../../modals/CheckoutModal/TransferToken/TransferToken';
|
|
3
3
|
import type { BaseDropdownProps } from './BaseDropdown';
|
|
4
4
|
interface TokenAndChainDropdownProps {
|
|
5
5
|
isLoading: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { TokenTransferSourceChainsAndAssets } from '
|
|
2
|
+
import type { TokenTransferSourceChainsAndAssets } from '../../modals/CheckoutModal/TransferToken/TransferToken';
|
|
3
3
|
import { type BaseDropdownProps } from './BaseDropdown';
|
|
4
4
|
interface TokenDropdownProps {
|
|
5
5
|
selectedChainId: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { DirectExecution } from '@funkit/api-base';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import type { MergedMultiStepDirectExecution } from '
|
|
3
|
+
import type { MergedMultiStepDirectExecution } from '../../hooks/queries/useRecentDeposits';
|
|
4
4
|
import type { TextConfigStatus, TextConfigSteps } from '../TransactionStatus/TransactionStatus';
|
|
5
5
|
import type { FunDirectExecutionStatusProps } from './FunDirectExecutionStatus';
|
|
6
6
|
export declare function FunDirectExecutionHistoryDetail({ bottomBarId, directExecution, isActiveCheckout, onClose, onAnimationComplete, showCheckoutStatus, customTextConfigStatus, customTextConfigSteps, dangerousCustomDelayedAutoTriggerCutoff, disableAutoUpdate, hideYouReceive, }: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { FunCheckoutStep } from '
|
|
2
|
+
import { FunCheckoutStep } from '../../modals/CheckoutModal/stepTransition';
|
|
3
3
|
interface FunCheckoutModalHeightAnimationWrapperProps {
|
|
4
4
|
children: React.ReactNode;
|
|
5
5
|
checkoutStep?: FunCheckoutStep;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { NotificationStatus } from '
|
|
2
|
+
import type { NotificationStatus } from '../../modals/CheckoutModal/TransferToken/CheckoutNotification';
|
|
3
3
|
export interface FunNotificationBannerIconProps {
|
|
4
4
|
iconUrl?: string | null;
|
|
5
5
|
fallbackIconUrl?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { DirectExecutionType } from '@funkit/api-base';
|
|
3
|
-
import type { FunkitCheckoutQuoteResult } from '
|
|
4
|
-
import type { FunkitActiveCheckoutItem } from '
|
|
3
|
+
import type { FunkitCheckoutQuoteResult } from '../../domains/quote';
|
|
4
|
+
import type { FunkitActiveCheckoutItem } from '../../providers/FunkitCheckoutContext';
|
|
5
5
|
interface PaymentAmountSummaryProps {
|
|
6
6
|
isLoading: boolean;
|
|
7
7
|
targetChainId: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { type ReactNode } from 'react';
|
|
2
|
-
import type { CheckoutFees } from '
|
|
3
|
-
import type { FunkitCheckoutQuoteResult } from '
|
|
2
|
+
import type { CheckoutFees } from '../../domains/fees';
|
|
3
|
+
import type { FunkitCheckoutQuoteResult } from '../../domains/quote';
|
|
4
4
|
import { type FunTooltipProps } from '../FunTooltip/FunTooltip';
|
|
5
5
|
export declare const NO_DATA_VALUE = "-";
|
|
6
6
|
interface PaymentFeesSummaryProps {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { TrackEventData } from '
|
|
2
|
-
import type { FunkitActiveCheckoutItem } from '
|
|
1
|
+
import type { TrackEventData } from '../../hooks/track/useTrack';
|
|
2
|
+
import type { FunkitActiveCheckoutItem } from '../../providers/FunkitCheckoutContext';
|
|
3
3
|
import type { FeeItem } from './PaymentFeesSummary';
|
|
4
4
|
export declare const trackEventFromPaymentFeesSummary: (checkoutItem: FunkitActiveCheckoutItem, feeItems: FeeItem[], isWithdrawal: boolean) => TrackEventData;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { FunAddress } from '@funkit/api-base';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import type { PaymentMethodInfo } from '
|
|
3
|
+
import type { PaymentMethodInfo } from '../../domains/paymentMethods';
|
|
4
4
|
interface PaymentMethodSummaryProps {
|
|
5
5
|
paymentMethodInfo: PaymentMethodInfo;
|
|
6
6
|
customRecipient: FunAddress | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { FunAddress } from '@funkit/api-base';
|
|
2
2
|
import React, { type ReactNode } from 'react';
|
|
3
|
-
import { type PaymentMethodInfo } from '
|
|
3
|
+
import { type PaymentMethodInfo } from '../../domains/paymentMethods';
|
|
4
4
|
type PaymentRouteSummaryProps = {
|
|
5
5
|
paymentMethodInfo: PaymentMethodInfo | null;
|
|
6
6
|
customRecipient: FunAddress | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ApiFunkitCheckoutQuoteResult } from '@funkit/utils';
|
|
2
2
|
import React, { type ReactNode } from 'react';
|
|
3
|
-
import type { ServerCheckoutConfig } from '
|
|
4
|
-
import type { FunkitCheckoutConfig } from '
|
|
3
|
+
import type { ServerCheckoutConfig } from '../../domains/clientMetadata';
|
|
4
|
+
import type { FunkitCheckoutConfig } from '../../providers/FunkitCheckoutContext';
|
|
5
5
|
interface ReceiveAmountProps {
|
|
6
6
|
config: ServerCheckoutConfig | FunkitCheckoutConfig;
|
|
7
7
|
/** To override the default icon if custom one is needed */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { PaymentMethod } from '
|
|
2
|
+
import { PaymentMethod } from '../../domains/paymentMethods';
|
|
3
3
|
import { type FunPaymentMethodItemProps } from '../FunPaymentMethodItem/FunPaymentMethodItem';
|
|
4
4
|
interface SourcePaymentMethodItemProps extends Omit<FunPaymentMethodItemProps, 'valueIcon'> {
|
|
5
5
|
type: PaymentMethod;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { TFunction } from 'i18next';
|
|
2
2
|
import React, { type ReactNode } from 'react';
|
|
3
|
-
import type { CheckoutProgressStep } from '
|
|
3
|
+
import type { CheckoutProgressStep } from '../../providers/FunkitCheckoutContext';
|
|
4
4
|
interface TransactionStatusProps {
|
|
5
5
|
isSlowTransaction: boolean;
|
|
6
6
|
isWithdrawal: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { FunkitCheckoutConfig } from '
|
|
1
|
+
import type { FunkitCheckoutConfig } from '../providers/FunkitCheckoutContext';
|
|
2
2
|
export declare function isPolymarketCustomer(apiKey: string): apiKey is "Y53dikxXdT4E3afI1l8BMBSWgyhKvf65k6Dut1k6";
|
|
3
3
|
export declare function isOstiumCustomer(apiKey: string): apiKey is "SMbBD7DS9b3EPcyBVg4a8az1rRWR9xB068chHoUN";
|
|
4
4
|
export declare function isBankrCustomer(apiKey: string): apiKey is "vWe20Dfyui2ouvfOhtSTY3Czeo8lFdbo5xXQBALZ";
|
package/dist/domains/asset.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { TFunction } from 'i18next';
|
|
2
2
|
import type { Address } from 'viem';
|
|
3
|
-
import type { FunkitCheckoutConfig } from '
|
|
4
|
-
import type { AssetHoldingsItem } from '
|
|
3
|
+
import type { FunkitCheckoutConfig } from '../providers/FunkitCheckoutContext';
|
|
4
|
+
import type { AssetHoldingsItem } from '../utils/assets';
|
|
5
5
|
import { PaymentMethod } from '../domains/paymentMethods';
|
|
6
6
|
export declare const isStablecoin: (symbol: string) => string | undefined;
|
|
7
7
|
export declare function isPreferredChain(chainId: number, additionalChains?: number[]): boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type FunAddress } from '@funkit/api-base';
|
|
2
2
|
import { CheckoutRefundState, CheckoutState } from '@funkit/api-base';
|
|
3
|
-
import type { GeneralWalletContextProps } from '
|
|
3
|
+
import type { GeneralWalletContextProps } from '../providers/GeneralWalletProvider';
|
|
4
4
|
export declare const hasRisk: (apiKey: string, walletAddress: GeneralWalletContextProps["walletAddress"], customRecipient?: FunAddress) => Promise<boolean>;
|
|
5
5
|
export type CheckoutStatus = 'failed' | 'expired' | 'processing' | 'completed';
|
|
6
6
|
type CheckoutStateBooleans = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Address } from 'viem';
|
|
2
|
-
import type { FunkitCheckoutConfig } from '
|
|
2
|
+
import type { FunkitCheckoutConfig } from '../providers/FunkitCheckoutContext';
|
|
3
3
|
export declare function getCheckoutRecipient({ walletAddress, config, }: {
|
|
4
4
|
walletAddress: string;
|
|
5
5
|
config: FunkitCheckoutConfig;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Make sure it is SERIALIZABLE and BACKWARD COMPATIBLE!!
|
|
6
6
|
*/
|
|
7
7
|
import type { ApiCheckoutClientMetadata } from '@funkit/utils';
|
|
8
|
-
import type { FunkitActiveCheckoutItem, FunkitCheckoutActionParams, FunkitCheckoutConfig } from '
|
|
8
|
+
import type { FunkitActiveCheckoutItem, FunkitCheckoutActionParams, FunkitCheckoutConfig } from '../providers/FunkitCheckoutContext';
|
|
9
9
|
import type { FunkitCheckoutQuoteResult } from './quote';
|
|
10
10
|
type Serialize<T> = T extends (...args: never[]) => unknown ? DeepSerialize<ReturnType<T>> : T extends object ? DeepSerialize<T> : T;
|
|
11
11
|
type DeepSerialize<T> = {
|
package/dist/domains/fees.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { CheckoutQuoteResponse } from '@funkit/utils';
|
|
2
2
|
import type { Config } from 'wagmi';
|
|
3
|
-
import type { BluvoBrokerageQuote } from '
|
|
4
|
-
import { LoginType } from '
|
|
3
|
+
import type { BluvoBrokerageQuote } from '../hooks/useBluvo';
|
|
4
|
+
import { LoginType } from '../providers/GeneralWalletProvider';
|
|
5
5
|
import type { FunkitActiveCheckoutItem } from '../providers/FunkitCheckoutContext';
|
|
6
6
|
import { PaymentMethod, type PaymentMethodInfo } from './paymentMethods';
|
|
7
7
|
export interface BrokerageDetails {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BridgeCustomer, BridgeVirtualBankAccount } from '@funkit/api-base';
|
|
2
|
-
import { type BluvoExchangeType } from '
|
|
2
|
+
import { type BluvoExchangeType } from '../consts/bluvo';
|
|
3
3
|
/** Supported payment methods in FunkitConnect. **/
|
|
4
4
|
export declare enum PaymentMethod {
|
|
5
5
|
/** Meld - Credit / Debit Card **/
|
package/dist/domains/quote.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { ApiFunkitCheckoutQuoteResult, CheckoutQuoteResponse } from '@funkit/utils';
|
|
2
2
|
import type { Address } from 'viem';
|
|
3
3
|
import type { Config } from 'wagmi';
|
|
4
|
-
import type { BluvoBrokerageQuote } from '
|
|
5
|
-
import type { FunkitDirectExecutionInfo } from '
|
|
6
|
-
import type { FunkitActiveCheckoutItem } from '
|
|
7
|
-
import type { LoginType } from '
|
|
4
|
+
import type { BluvoBrokerageQuote } from '../hooks/useBluvo';
|
|
5
|
+
import type { FunkitDirectExecutionInfo } from '../hooks/useCheckoutDirectExecution';
|
|
6
|
+
import type { FunkitActiveCheckoutItem } from '../providers/FunkitCheckoutContext';
|
|
7
|
+
import type { LoginType } from '../providers/GeneralWalletProvider';
|
|
8
8
|
import { type BrokerageDetails, type CheckoutFees } from './fees';
|
|
9
9
|
import { type PaymentMethodInfo } from './paymentMethods';
|
|
10
10
|
export interface FunkitCheckoutQuoteResult extends Omit<ApiFunkitCheckoutQuoteResult, 'finalFeesBreakdown'> {
|
package/dist/domains/wallet.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type CheckoutHistoryItem } from '@funkit/api-base';
|
|
2
|
-
import { PaymentMethod } from '
|
|
2
|
+
import { PaymentMethod } from '../../domains/paymentMethods';
|
|
3
3
|
export declare const DEFAULT_NOTIF_CUTOFF: number;
|
|
4
4
|
interface RecentCheckoutsQuery {
|
|
5
5
|
isVisible: boolean;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type DirectExecution } from '@funkit/api-base';
|
|
2
|
+
import { type PurifiedCheckoutHistoryItem } from '../../utils/purifyCheckoutHistoryItem';
|
|
2
3
|
/**
|
|
3
4
|
* Query parameters for the useRecentDeposits hook.
|
|
4
5
|
*/
|
|
@@ -19,13 +20,27 @@ interface RecentDirectExecutionsQuery {
|
|
|
19
20
|
* Maximum number of deposits to fetch from the API.
|
|
20
21
|
* @default 5
|
|
21
22
|
*/
|
|
22
|
-
|
|
23
|
+
fetchSize?: number;
|
|
23
24
|
/**
|
|
24
25
|
* Custom cutoff time in milliseconds for determining which deposits are "recent".
|
|
25
26
|
* Deposits created after this timestamp will be included.
|
|
26
27
|
* If not provided, uses Fun's default strategy.
|
|
27
28
|
*/
|
|
28
29
|
cutOffTimeMs?: number;
|
|
30
|
+
/**
|
|
31
|
+
* API key for authenticating requests to Fun's API server.
|
|
32
|
+
*/
|
|
33
|
+
apiKey: string;
|
|
34
|
+
/**
|
|
35
|
+
* User ID for which to fetch direct executions.
|
|
36
|
+
* Usually user's connected wallet address.
|
|
37
|
+
*/
|
|
38
|
+
userId: string;
|
|
39
|
+
/**
|
|
40
|
+
* Interval in milliseconds for how often to refetch the data.
|
|
41
|
+
* Determines the polling frequency for keeping deposit data up to date.
|
|
42
|
+
*/
|
|
43
|
+
refreshIntervalMs: number;
|
|
29
44
|
}
|
|
30
45
|
export interface MergedMultiStepDirectExecution extends DirectExecution {
|
|
31
46
|
/**
|
|
@@ -37,10 +52,66 @@ export interface MergedMultiStepDirectExecution extends DirectExecution {
|
|
|
37
52
|
}
|
|
38
53
|
export declare function isTokenTransferDirectExecution(de: DirectExecution): boolean;
|
|
39
54
|
export declare function isWithdrawalDirectExecution(de: DirectExecution): boolean;
|
|
55
|
+
type DefaultDEQueryKey = 'apiKey' | 'userId' | 'refreshIntervalMs';
|
|
56
|
+
export type RecentDEQuerySimplified = Omit<RecentDirectExecutionsQuery, DefaultDEQueryKey>;
|
|
40
57
|
/**
|
|
41
58
|
* @returns recent direct executions tied to a recipient address used in the token transfer flow
|
|
42
59
|
*/
|
|
43
|
-
export declare const useRecentDeposits: ({ isVisible, memoizedFilterFunc,
|
|
60
|
+
export declare const useRecentDeposits: ({ isVisible, memoizedFilterFunc, fetchSize, cutOffTimeMs, }: RecentDEQuerySimplified) => {
|
|
44
61
|
data: MergedMultiStepDirectExecution[] | undefined;
|
|
45
62
|
};
|
|
63
|
+
/**
|
|
64
|
+
* Hook for SDK users to fetch recent deposits/direct executions with automatic context integration.
|
|
65
|
+
*
|
|
66
|
+
* **Requirements**: Must be used inside FunkitProvider context as it automatically retrieves:
|
|
67
|
+
* - API key, User ID, Refresh interval from Fun
|
|
68
|
+
*
|
|
69
|
+
* Returns checkout history items
|
|
70
|
+
*
|
|
71
|
+
* @param query - Simplified query parameters (excludes apiKey, userId, refreshIntervalMs)
|
|
72
|
+
* @returns Object with `data` property containing array of purified direct executions or undefined if not loaded
|
|
73
|
+
*
|
|
74
|
+
* @example
|
|
75
|
+
* ```tsx
|
|
76
|
+
* function MyComponent() {
|
|
77
|
+
* const { data: recentDeposits } = useFunkitRecentDeposits({
|
|
78
|
+
* isVisible: true,
|
|
79
|
+
* fetchSize: 10,
|
|
80
|
+
* cutOffTimeMs: 24 * 60 * 60 * 1000, // Last 24 hours
|
|
81
|
+
* })
|
|
82
|
+
* return <div>{recentDeposits?.length} recent deposits</div>
|
|
83
|
+
* }
|
|
84
|
+
* ```
|
|
85
|
+
*/
|
|
86
|
+
export declare function useFunkitRecentDeposits(query: RecentDEQuerySimplified): {
|
|
87
|
+
data: PurifiedCheckoutHistoryItem[] | undefined;
|
|
88
|
+
};
|
|
89
|
+
/**
|
|
90
|
+
* Implementation hook for SDK users to fetch recent deposits with explicit parameters.
|
|
91
|
+
*
|
|
92
|
+
* **Requirements**: Does NOT require FunkitProvider context. All parameters must be provided explicitly.
|
|
93
|
+
* This is useful for custom implementations or when using outside the standard Funkit provider hierarchy.
|
|
94
|
+
*
|
|
95
|
+
* Returns purified checkout history items
|
|
96
|
+
*
|
|
97
|
+
* @param query - Complete query parameters including apiKey, userId, and refreshIntervalMs
|
|
98
|
+
* @returns Object with `data` property containing array of purified direct executions or undefined if not loaded
|
|
99
|
+
*
|
|
100
|
+
* @example
|
|
101
|
+
* ```tsx
|
|
102
|
+
* function MyCustomComponent() {
|
|
103
|
+
* const { data: recentDeposits } = useFunkitRecentDepositsImpl({
|
|
104
|
+
* isVisible: true,
|
|
105
|
+
* apiKey: 'your-api-key',
|
|
106
|
+
* userId: 'user-wallet-address',
|
|
107
|
+
* refreshIntervalMs: 5000,
|
|
108
|
+
* fetchSize: 10,
|
|
109
|
+
* })
|
|
110
|
+
* return <div>{recentDeposits?.length} recent deposits</div>
|
|
111
|
+
* }
|
|
112
|
+
* ```
|
|
113
|
+
*/
|
|
114
|
+
export declare function useFunkitRecentDepositsImpl(query: RecentDirectExecutionsQuery): {
|
|
115
|
+
data: PurifiedCheckoutHistoryItem[] | undefined;
|
|
116
|
+
};
|
|
46
117
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Address } from 'viem';
|
|
2
|
-
import { type FunkitWithdrawalConfig } from '
|
|
2
|
+
import { type FunkitWithdrawalConfig } from '../../providers/FunkitCheckoutContext';
|
|
3
3
|
interface CheckoutQuoteParams {
|
|
4
4
|
recipientAddress: string;
|
|
5
5
|
chainId: string;
|
|
@@ -15,8 +15,8 @@ export declare function useWithdrawalQuote({ recipientAddress, chainId, symbol,
|
|
|
15
15
|
isInstantQuoting: boolean;
|
|
16
16
|
data: {
|
|
17
17
|
baseQuote: import("@funkit/utils").CheckoutQuoteResponse;
|
|
18
|
-
checkedAssetAmount: import("
|
|
19
|
-
finalEstimation: import("
|
|
18
|
+
checkedAssetAmount: import("../../domains/quote").CheckedAssetAmount;
|
|
19
|
+
finalEstimation: import("../../domains/quote").FunkitCheckoutQuoteResult;
|
|
20
20
|
} | null;
|
|
21
21
|
error: Error;
|
|
22
22
|
isError: true;
|
|
@@ -41,22 +41,22 @@ export declare function useWithdrawalQuote({ recipientAddress, chainId, symbol,
|
|
|
41
41
|
isStale: boolean;
|
|
42
42
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<{
|
|
43
43
|
baseQuote: import("@funkit/utils").CheckoutQuoteResponse;
|
|
44
|
-
checkedAssetAmount: import("
|
|
45
|
-
finalEstimation: import("
|
|
44
|
+
checkedAssetAmount: import("../../domains/quote").CheckedAssetAmount;
|
|
45
|
+
finalEstimation: import("../../domains/quote").FunkitCheckoutQuoteResult;
|
|
46
46
|
} | null, Error>>;
|
|
47
47
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
48
48
|
promise: Promise<{
|
|
49
49
|
baseQuote: import("@funkit/utils").CheckoutQuoteResponse;
|
|
50
|
-
checkedAssetAmount: import("
|
|
51
|
-
finalEstimation: import("
|
|
50
|
+
checkedAssetAmount: import("../../domains/quote").CheckedAssetAmount;
|
|
51
|
+
finalEstimation: import("../../domains/quote").FunkitCheckoutQuoteResult;
|
|
52
52
|
} | null>;
|
|
53
53
|
} | {
|
|
54
54
|
quoteEnabled: boolean;
|
|
55
55
|
isInstantQuoting: boolean;
|
|
56
56
|
data: {
|
|
57
57
|
baseQuote: import("@funkit/utils").CheckoutQuoteResponse;
|
|
58
|
-
checkedAssetAmount: import("
|
|
59
|
-
finalEstimation: import("
|
|
58
|
+
checkedAssetAmount: import("../../domains/quote").CheckedAssetAmount;
|
|
59
|
+
finalEstimation: import("../../domains/quote").FunkitCheckoutQuoteResult;
|
|
60
60
|
} | null;
|
|
61
61
|
error: null;
|
|
62
62
|
isError: false;
|
|
@@ -81,14 +81,14 @@ export declare function useWithdrawalQuote({ recipientAddress, chainId, symbol,
|
|
|
81
81
|
isStale: boolean;
|
|
82
82
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<{
|
|
83
83
|
baseQuote: import("@funkit/utils").CheckoutQuoteResponse;
|
|
84
|
-
checkedAssetAmount: import("
|
|
85
|
-
finalEstimation: import("
|
|
84
|
+
checkedAssetAmount: import("../../domains/quote").CheckedAssetAmount;
|
|
85
|
+
finalEstimation: import("../../domains/quote").FunkitCheckoutQuoteResult;
|
|
86
86
|
} | null, Error>>;
|
|
87
87
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
88
88
|
promise: Promise<{
|
|
89
89
|
baseQuote: import("@funkit/utils").CheckoutQuoteResponse;
|
|
90
|
-
checkedAssetAmount: import("
|
|
91
|
-
finalEstimation: import("
|
|
90
|
+
checkedAssetAmount: import("../../domains/quote").CheckedAssetAmount;
|
|
91
|
+
finalEstimation: import("../../domains/quote").FunkitCheckoutQuoteResult;
|
|
92
92
|
} | null>;
|
|
93
93
|
} | {
|
|
94
94
|
quoteEnabled: boolean;
|
|
@@ -117,14 +117,14 @@ export declare function useWithdrawalQuote({ recipientAddress, chainId, symbol,
|
|
|
117
117
|
isStale: boolean;
|
|
118
118
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<{
|
|
119
119
|
baseQuote: import("@funkit/utils").CheckoutQuoteResponse;
|
|
120
|
-
checkedAssetAmount: import("
|
|
121
|
-
finalEstimation: import("
|
|
120
|
+
checkedAssetAmount: import("../../domains/quote").CheckedAssetAmount;
|
|
121
|
+
finalEstimation: import("../../domains/quote").FunkitCheckoutQuoteResult;
|
|
122
122
|
} | null, Error>>;
|
|
123
123
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
124
124
|
promise: Promise<{
|
|
125
125
|
baseQuote: import("@funkit/utils").CheckoutQuoteResponse;
|
|
126
|
-
checkedAssetAmount: import("
|
|
127
|
-
finalEstimation: import("
|
|
126
|
+
checkedAssetAmount: import("../../domains/quote").CheckedAssetAmount;
|
|
127
|
+
finalEstimation: import("../../domains/quote").FunkitCheckoutQuoteResult;
|
|
128
128
|
} | null>;
|
|
129
129
|
} | {
|
|
130
130
|
quoteEnabled: boolean;
|
|
@@ -153,14 +153,14 @@ export declare function useWithdrawalQuote({ recipientAddress, chainId, symbol,
|
|
|
153
153
|
isStale: boolean;
|
|
154
154
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<{
|
|
155
155
|
baseQuote: import("@funkit/utils").CheckoutQuoteResponse;
|
|
156
|
-
checkedAssetAmount: import("
|
|
157
|
-
finalEstimation: import("
|
|
156
|
+
checkedAssetAmount: import("../../domains/quote").CheckedAssetAmount;
|
|
157
|
+
finalEstimation: import("../../domains/quote").FunkitCheckoutQuoteResult;
|
|
158
158
|
} | null, Error>>;
|
|
159
159
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
160
160
|
promise: Promise<{
|
|
161
161
|
baseQuote: import("@funkit/utils").CheckoutQuoteResponse;
|
|
162
|
-
checkedAssetAmount: import("
|
|
163
|
-
finalEstimation: import("
|
|
162
|
+
checkedAssetAmount: import("../../domains/quote").CheckedAssetAmount;
|
|
163
|
+
finalEstimation: import("../../domains/quote").FunkitCheckoutQuoteResult;
|
|
164
164
|
} | null>;
|
|
165
165
|
} | {
|
|
166
166
|
quoteEnabled: boolean;
|
|
@@ -189,22 +189,22 @@ export declare function useWithdrawalQuote({ recipientAddress, chainId, symbol,
|
|
|
189
189
|
isStale: boolean;
|
|
190
190
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<{
|
|
191
191
|
baseQuote: import("@funkit/utils").CheckoutQuoteResponse;
|
|
192
|
-
checkedAssetAmount: import("
|
|
193
|
-
finalEstimation: import("
|
|
192
|
+
checkedAssetAmount: import("../../domains/quote").CheckedAssetAmount;
|
|
193
|
+
finalEstimation: import("../../domains/quote").FunkitCheckoutQuoteResult;
|
|
194
194
|
} | null, Error>>;
|
|
195
195
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
196
196
|
promise: Promise<{
|
|
197
197
|
baseQuote: import("@funkit/utils").CheckoutQuoteResponse;
|
|
198
|
-
checkedAssetAmount: import("
|
|
199
|
-
finalEstimation: import("
|
|
198
|
+
checkedAssetAmount: import("../../domains/quote").CheckedAssetAmount;
|
|
199
|
+
finalEstimation: import("../../domains/quote").FunkitCheckoutQuoteResult;
|
|
200
200
|
} | null>;
|
|
201
201
|
} | {
|
|
202
202
|
quoteEnabled: boolean;
|
|
203
203
|
isInstantQuoting: boolean;
|
|
204
204
|
data: {
|
|
205
205
|
baseQuote: import("@funkit/utils").CheckoutQuoteResponse;
|
|
206
|
-
checkedAssetAmount: import("
|
|
207
|
-
finalEstimation: import("
|
|
206
|
+
checkedAssetAmount: import("../../domains/quote").CheckedAssetAmount;
|
|
207
|
+
finalEstimation: import("../../domains/quote").FunkitCheckoutQuoteResult;
|
|
208
208
|
} | null;
|
|
209
209
|
isError: false;
|
|
210
210
|
error: null;
|
|
@@ -229,14 +229,14 @@ export declare function useWithdrawalQuote({ recipientAddress, chainId, symbol,
|
|
|
229
229
|
isStale: boolean;
|
|
230
230
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<{
|
|
231
231
|
baseQuote: import("@funkit/utils").CheckoutQuoteResponse;
|
|
232
|
-
checkedAssetAmount: import("
|
|
233
|
-
finalEstimation: import("
|
|
232
|
+
checkedAssetAmount: import("../../domains/quote").CheckedAssetAmount;
|
|
233
|
+
finalEstimation: import("../../domains/quote").FunkitCheckoutQuoteResult;
|
|
234
234
|
} | null, Error>>;
|
|
235
235
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
236
236
|
promise: Promise<{
|
|
237
237
|
baseQuote: import("@funkit/utils").CheckoutQuoteResponse;
|
|
238
|
-
checkedAssetAmount: import("
|
|
239
|
-
finalEstimation: import("
|
|
238
|
+
checkedAssetAmount: import("../../domains/quote").CheckedAssetAmount;
|
|
239
|
+
finalEstimation: import("../../domains/quote").FunkitCheckoutQuoteResult;
|
|
240
240
|
} | null>;
|
|
241
241
|
};
|
|
242
242
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { FunkitUserInfo } from '
|
|
1
|
+
import type { FunkitUserInfo } from '../../consts/funkit';
|
|
2
2
|
import type { CheckoutModalEvent } from './CheckoutModalEvent';
|
|
3
3
|
import type { WithdrawModalEvent } from './WithdrawModalEvent';
|
|
4
4
|
export interface TrackEventData {
|
package/dist/hooks/useBluvo.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { WalletwithdrawquotequotationResponse as WithdrawalQuotation } from '@bluvo/sdk-ts';
|
|
2
|
-
import { BluvoExchangeStatus, type BluvoExchangeType } from '
|
|
3
|
-
import { type FunkitActiveCheckoutItem } from '
|
|
2
|
+
import { BluvoExchangeStatus, type BluvoExchangeType } from '../consts/bluvo';
|
|
3
|
+
import { type FunkitActiveCheckoutItem } from '../providers/FunkitCheckoutContext';
|
|
4
4
|
import type { FunBrokerageItemProps } from '../components/FunSelectBrokerage/FunBrokerageItem';
|
|
5
5
|
type SupportedExchangeOption = FunBrokerageItemProps & {
|
|
6
6
|
exchange: BluvoExchangeType;
|
|
@@ -18,7 +18,7 @@ export declare const useBluvoExchangeBalance: ({ exchange, refetchOnMount, }: {
|
|
|
18
18
|
exchange: BluvoExchangeType | undefined;
|
|
19
19
|
refetchOnMount?: boolean;
|
|
20
20
|
}) => {
|
|
21
|
-
data: import("
|
|
21
|
+
data: import("../domains/wallet").AssetHoldingsMap<import("../domains/wallet").BrokerageAssetHoldingsItem> | undefined;
|
|
22
22
|
totalBalance: number;
|
|
23
23
|
isLoading: boolean;
|
|
24
24
|
isError: boolean;
|
|
@@ -2,9 +2,9 @@ import { DirectExecutionType } from '@funkit/api-base';
|
|
|
2
2
|
import type { RelayTxHash, RelayVmType } from '@funkit/fun-relay';
|
|
3
3
|
import type { CheckoutQuoteResponse } from '@funkit/utils';
|
|
4
4
|
import type { Address, Hex } from 'viem';
|
|
5
|
-
import type { FunkitCheckoutQuoteResult } from '
|
|
6
|
-
import type { FunkitActiveCheckoutItem, FunkitCheckoutActionParams } from '
|
|
7
|
-
import type { WithdrawalClient } from '
|
|
5
|
+
import type { FunkitCheckoutQuoteResult } from '../domains/quote';
|
|
6
|
+
import type { FunkitActiveCheckoutItem, FunkitCheckoutActionParams } from '../providers/FunkitCheckoutContext';
|
|
7
|
+
import type { WithdrawalClient } from '../wallets/Wallet';
|
|
8
8
|
interface DirectExecutionQuoteRequestParamsBase {
|
|
9
9
|
actionParams: FunkitCheckoutActionParams[];
|
|
10
10
|
fromChainId: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ServerCheckoutConfig } from '
|
|
2
|
-
import type { FunkitCheckoutConfig } from '
|
|
1
|
+
import type { ServerCheckoutConfig } from '../domains/clientMetadata';
|
|
2
|
+
import type { FunkitCheckoutConfig } from '../providers/FunkitCheckoutContext';
|
|
3
3
|
interface UseCheckoutItemDisplay {
|
|
4
4
|
checkoutConfig: FunkitCheckoutConfig | ServerCheckoutConfig | undefined;
|
|
5
5
|
hideAmount?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { PaymentMethod } from '
|
|
2
|
-
import type { FunkitCheckoutQuoteResult } from '
|
|
1
|
+
import type { PaymentMethod } from '../domains/paymentMethods';
|
|
2
|
+
import type { FunkitCheckoutQuoteResult } from '../domains/quote';
|
|
3
3
|
export declare const LAYERZEO_OFT_TIME_ESTIMATE_SECONDS = 180;
|
|
4
4
|
/**
|
|
5
5
|
* https://linear.app/funxyz/issue/PE-775/sdkconnectwith-next-pm-requests
|