0xtrails 0.16.2 → 0.17.1
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/README.md +488 -3
- package/dist/BluvoExchangeSelection.lazy-D6ynQVSb.js +1 -0
- package/dist/BluvoOnrampFlow.lazy-BcDqhGLi.js +143 -0
- package/dist/ConnectWalletCard-BkbHCcWi.js +26 -0
- package/dist/actionBuilder-CAS2u5wu.js +2 -0
- package/dist/actions/index.d.ts +7 -23
- package/dist/actions/index.js +1 -37
- package/dist/contractConstants-CvJrYK9v.js +1 -0
- package/dist/defineProperty-BbfpZ9Tg.js +1 -0
- package/dist/edge-DmNcuJar.d.ts +121 -0
- package/dist/edge-L_Lk1K6j.js +1 -0
- package/dist/hooks/index.d.ts +6 -38
- package/dist/hooks/index.js +1 -67
- package/dist/hydrate/index.d.ts +196 -8
- package/dist/hydrate/index.js +1 -19
- package/dist/hydrate-QyWqQfec.js +1 -0
- package/dist/iife/trails.min.js +7324 -0
- package/dist/index-CMdwQmYL.d.ts +1044 -0
- package/dist/index.d.ts +1023 -114
- package/dist/index.js +1 -317
- package/dist/multicall-BCUHt_9t.d.ts +148 -0
- package/dist/offlineRecovery-BfgccnFf.d.ts +1232 -0
- package/dist/plugins/edge.d.ts +4 -0
- package/dist/plugins/edge.js +1 -0
- package/dist/quoteError-CmTH5Qm2.d.ts +24 -0
- package/dist/src-Cy3oxYgV.js +94 -0
- package/dist/sushiswapV3-D3h41LNZ.d.ts +723 -0
- package/dist/tokenTypes-D812t5L9.d.ts +31 -0
- package/dist/types-BK0WkVnx.d.ts +2161 -0
- package/dist/useViewManager-BeUH_k1s.d.ts +1224 -0
- package/dist/{actions/utils.d.ts → utils-KPnWBA9x.d.ts} +77 -52
- package/dist/widget/connect-showcase.d.ts +8 -0
- package/dist/widget/connect-showcase.js +1 -0
- package/dist/widget/index.d.ts +5 -21
- package/dist/widget/index.js +1 -33
- package/package.json +42 -42
- package/dist/_virtual/_@oxc-project_runtime@0.126.0/helpers/defineProperty.js +0 -12
- package/dist/_virtual/_@oxc-project_runtime@0.126.0/helpers/toPrimitive.js +0 -14
- package/dist/_virtual/_@oxc-project_runtime@0.126.0/helpers/toPropertyKey.js +0 -9
- package/dist/_virtual/_@oxc-project_runtime@0.126.0/helpers/typeof.js +0 -11
- package/dist/abi.d.ts +0 -37
- package/dist/abi.d.ts.map +0 -1
- package/dist/abis/erc20.d.ts +0 -19
- package/dist/abis/erc20.d.ts.map +0 -1
- package/dist/abis/requireUtils.d.ts +0 -134
- package/dist/abis/requireUtils.d.ts.map +0 -1
- package/dist/abis/requireUtils.js +0 -168
- package/dist/abis/trailsHydrate.d.ts +0 -7
- package/dist/abis/trailsHydrate.d.ts.map +0 -1
- package/dist/abis/trailsRouter.d.ts +0 -30
- package/dist/abis/trailsRouter.d.ts.map +0 -1
- package/dist/abis/trailsRouter.js +0 -66
- package/dist/abis/trailsSweep.d.ts +0 -7
- package/dist/abis/trailsSweep.d.ts.map +0 -1
- package/dist/abortController.d.ts +0 -8
- package/dist/abortController.d.ts.map +0 -1
- package/dist/abortController.js +0 -23
- package/dist/actions/actionBuilder.d.ts +0 -424
- package/dist/actions/actionBuilder.d.ts.map +0 -1
- package/dist/actions/actionBuilder.js +0 -173
- package/dist/actions/constants.d.ts +0 -1809
- package/dist/actions/constants.d.ts.map +0 -1
- package/dist/actions/constants.js +0 -37
- package/dist/actions/custom-integrations/sushiswapV3/addresses.d.ts +0 -4
- package/dist/actions/custom-integrations/sushiswapV3/addresses.d.ts.map +0 -1
- package/dist/actions/custom-integrations/sushiswapV3/addresses.js +0 -33
- package/dist/actions/custom-integrations/sushiswapV3/calldata.d.ts +0 -4
- package/dist/actions/custom-integrations/sushiswapV3/calldata.d.ts.map +0 -1
- package/dist/actions/custom-integrations/sushiswapV3/calldata.js +0 -124
- package/dist/actions/custom-integrations/sushiswapV3/calls.d.ts +0 -28
- package/dist/actions/custom-integrations/sushiswapV3/calls.d.ts.map +0 -1
- package/dist/actions/custom-integrations/sushiswapV3/calls.js +0 -27
- package/dist/actions/custom-integrations/sushiswapV3/helpers.d.ts +0 -15
- package/dist/actions/custom-integrations/sushiswapV3/helpers.d.ts.map +0 -1
- package/dist/actions/custom-integrations/sushiswapV3/helpers.js +0 -27
- package/dist/actions/custom-integrations/sushiswapV3/sushiswapV3.d.ts +0 -9
- package/dist/actions/custom-integrations/sushiswapV3/sushiswapV3.d.ts.map +0 -1
- package/dist/actions/custom-integrations/sushiswapV3/sushiswapV3.js +0 -246
- package/dist/actions/custom-integrations/sushiswapV3/types.d.ts +0 -95
- package/dist/actions/custom-integrations/sushiswapV3/types.d.ts.map +0 -1
- package/dist/actions/custom-integrations/uniswapV3/addresses.d.ts +0 -4
- package/dist/actions/custom-integrations/uniswapV3/addresses.d.ts.map +0 -1
- package/dist/actions/custom-integrations/uniswapV3/addresses.js +0 -33
- package/dist/actions/custom-integrations/uniswapV3/calldata.d.ts +0 -4
- package/dist/actions/custom-integrations/uniswapV3/calldata.d.ts.map +0 -1
- package/dist/actions/custom-integrations/uniswapV3/calldata.js +0 -190
- package/dist/actions/custom-integrations/uniswapV3/calls.d.ts +0 -50
- package/dist/actions/custom-integrations/uniswapV3/calls.d.ts.map +0 -1
- package/dist/actions/custom-integrations/uniswapV3/calls.js +0 -27
- package/dist/actions/custom-integrations/uniswapV3/helpers.d.ts +0 -23
- package/dist/actions/custom-integrations/uniswapV3/helpers.d.ts.map +0 -1
- package/dist/actions/custom-integrations/uniswapV3/helpers.js +0 -27
- package/dist/actions/custom-integrations/uniswapV3/types.d.ts +0 -90
- package/dist/actions/custom-integrations/uniswapV3/types.d.ts.map +0 -1
- package/dist/actions/custom-integrations/uniswapV3/uniswapV3.d.ts +0 -9
- package/dist/actions/custom-integrations/uniswapV3/uniswapV3.d.ts.map +0 -1
- package/dist/actions/custom-integrations/uniswapV3/uniswapV3.js +0 -244
- package/dist/actions/destinationCalls.d.ts +0 -17
- package/dist/actions/destinationCalls.d.ts.map +0 -1
- package/dist/actions/destinationCalls.js +0 -43
- package/dist/actions/dynamic.d.ts +0 -97
- package/dist/actions/dynamic.d.ts.map +0 -1
- package/dist/actions/dynamic.js +0 -27
- package/dist/actions/hooks/useEarnBalances.d.ts +0 -53
- package/dist/actions/hooks/useEarnBalances.d.ts.map +0 -1
- package/dist/actions/hooks/useEarnBalances.js +0 -37
- package/dist/actions/hooks/useEarnMarkets.d.ts +0 -29
- package/dist/actions/hooks/useEarnMarkets.d.ts.map +0 -1
- package/dist/actions/hooks/useEarnMarkets.js +0 -30
- package/dist/actions/hooks/useEarnProviders.d.ts +0 -18
- package/dist/actions/hooks/useEarnProviders.d.ts.map +0 -1
- package/dist/actions/hooks/useEarnProviders.js +0 -25
- package/dist/actions/hooks/useResolveActions.d.ts +0 -19
- package/dist/actions/hooks/useResolveActions.d.ts.map +0 -1
- package/dist/actions/hooks/useResolveActions.js +0 -56
- package/dist/actions/index.d.ts.map +0 -1
- package/dist/actions/resolveActions.d.ts +0 -13
- package/dist/actions/resolveActions.d.ts.map +0 -1
- package/dist/actions/resolveActions.js +0 -267
- package/dist/actions/resolvers.d.ts +0 -29
- package/dist/actions/resolvers.d.ts.map +0 -1
- package/dist/actions/resolvers.js +0 -161
- package/dist/actions/types/earn.d.ts +0 -51
- package/dist/actions/types/earn.d.ts.map +0 -1
- package/dist/actions/types.d.ts +0 -319
- package/dist/actions/types.d.ts.map +0 -1
- package/dist/actions/types.js +0 -24
- package/dist/actions/utils.d.ts.map +0 -1
- package/dist/actions/utils.js +0 -203
- package/dist/adapters/evmAdapter.d.ts +0 -10
- package/dist/adapters/evmAdapter.d.ts.map +0 -1
- package/dist/adapters/evmAdapter.js +0 -28
- package/dist/analytics/hooks/useWidgetAnalytics.d.ts +0 -8
- package/dist/analytics/hooks/useWidgetAnalytics.d.ts.map +0 -1
- package/dist/analytics/hooks/useWidgetAnalytics.js +0 -41
- package/dist/analytics.d.ts +0 -715
- package/dist/analytics.d.ts.map +0 -1
- package/dist/analytics.js +0 -881
- package/dist/chainRegistry.d.ts +0 -6
- package/dist/chainRegistry.d.ts.map +0 -1
- package/dist/chainRegistry.js +0 -47
- package/dist/chainResolution.d.ts +0 -6
- package/dist/chainResolution.d.ts.map +0 -1
- package/dist/chainResolution.js +0 -53
- package/dist/chainRpcClient.d.ts +0 -8
- package/dist/chainRpcClient.d.ts.map +0 -1
- package/dist/chainRpcClient.js +0 -67
- package/dist/chainSwitch.d.ts +0 -7
- package/dist/chainSwitch.d.ts.map +0 -1
- package/dist/chainSwitch.js +0 -66
- package/dist/chains.d.ts +0 -59
- package/dist/chains.d.ts.map +0 -1
- package/dist/chains.js +0 -152
- package/dist/committedIntentStore.d.ts +0 -5
- package/dist/committedIntentStore.d.ts.map +0 -1
- package/dist/committedIntentStore.js +0 -52
- package/dist/config.d.ts +0 -2
- package/dist/config.d.ts.map +0 -1
- package/dist/configDefaults.d.ts +0 -7
- package/dist/configDefaults.d.ts.map +0 -1
- package/dist/configDefaults.js +0 -9
- package/dist/configStore.d.ts +0 -31
- package/dist/configStore.d.ts.map +0 -1
- package/dist/configStore.js +0 -53
- package/dist/constants.d.ts +0 -176
- package/dist/constants.d.ts.map +0 -1
- package/dist/constants.js +0 -184
- package/dist/contractConstants.d.ts +0 -8
- package/dist/contractConstants.d.ts.map +0 -1
- package/dist/contractConstants.js +0 -9
- package/dist/contractUtils.d.ts +0 -6
- package/dist/contractUtils.d.ts.map +0 -1
- package/dist/contractUtils.js +0 -19
- package/dist/cssUtils.d.ts +0 -2
- package/dist/cssUtils.d.ts.map +0 -1
- package/dist/cssUtils.js +0 -7
- package/dist/customChains.d.ts +0 -24
- package/dist/customChains.d.ts.map +0 -1
- package/dist/customChains.js +0 -20
- package/dist/customTokens.d.ts +0 -12
- package/dist/customTokens.d.ts.map +0 -1
- package/dist/customTokens.js +0 -64
- package/dist/decoders.d.ts +0 -69
- package/dist/decoders.d.ts.map +0 -1
- package/dist/decoders.js +0 -181
- package/dist/ens.d.ts +0 -20
- package/dist/ens.d.ts.map +0 -1
- package/dist/ens.js +0 -92
- package/dist/error.d.ts +0 -97
- package/dist/error.d.ts.map +0 -1
- package/dist/error.js +0 -298
- package/dist/estimate.d.ts +0 -78
- package/dist/estimate.d.ts.map +0 -1
- package/dist/estimate.js +0 -147
- package/dist/explorer.d.ts +0 -12
- package/dist/explorer.d.ts.map +0 -1
- package/dist/explorer.js +0 -15
- package/dist/fees.d.ts +0 -65
- package/dist/fees.d.ts.map +0 -1
- package/dist/fees.js +0 -165
- package/dist/gasless.d.ts +0 -123
- package/dist/gasless.d.ts.map +0 -1
- package/dist/gasless.js +0 -314
- package/dist/hooks/index.d.ts.map +0 -1
- package/dist/hooks/persistedToken.d.ts +0 -22
- package/dist/hooks/persistedToken.d.ts.map +0 -1
- package/dist/hooks/persistedToken.js +0 -65
- package/dist/hooks/prepareTrailsSendTransactionDestination.d.ts +0 -26
- package/dist/hooks/prepareTrailsSendTransactionDestination.d.ts.map +0 -1
- package/dist/hooks/prepareTrailsSendTransactionDestination.js +0 -33
- package/dist/hooks/useAmountUsd.d.ts +0 -12
- package/dist/hooks/useAmountUsd.d.ts.map +0 -1
- package/dist/hooks/useAmountUsd.js +0 -21
- package/dist/hooks/useBalanceVisible.d.ts +0 -15
- package/dist/hooks/useBalanceVisible.d.ts.map +0 -1
- package/dist/hooks/useBalanceVisible.js +0 -46
- package/dist/hooks/useBluvoTokenList.d.ts +0 -13
- package/dist/hooks/useBluvoTokenList.d.ts.map +0 -1
- package/dist/hooks/useBluvoTokenList.js +0 -57
- package/dist/hooks/useChainFilter.d.ts +0 -14
- package/dist/hooks/useChainFilter.d.ts.map +0 -1
- package/dist/hooks/useChainFilter.js +0 -24
- package/dist/hooks/useCheckout.d.ts +0 -80
- package/dist/hooks/useCheckout.d.ts.map +0 -1
- package/dist/hooks/useCheckout.js +0 -118
- package/dist/hooks/useClickTracking.d.ts +0 -12
- package/dist/hooks/useClickTracking.d.ts.map +0 -1
- package/dist/hooks/useClickTracking.js +0 -37
- package/dist/hooks/useCombinedHistory.d.ts +0 -50
- package/dist/hooks/useCombinedHistory.d.ts.map +0 -1
- package/dist/hooks/useCombinedHistory.js +0 -168
- package/dist/hooks/useCustomTokenSearch.d.ts +0 -28
- package/dist/hooks/useCustomTokenSearch.d.ts.map +0 -1
- package/dist/hooks/useCustomTokenSearch.js +0 -165
- package/dist/hooks/useDebounce.d.ts +0 -10
- package/dist/hooks/useDebounce.d.ts.map +0 -1
- package/dist/hooks/useDebounce.js +0 -15
- package/dist/hooks/useDebugScreens.d.ts +0 -17
- package/dist/hooks/useDebugScreens.d.ts.map +0 -1
- package/dist/hooks/useDebugScreens.js +0 -412
- package/dist/hooks/useDefaultDestinationToken.d.ts +0 -20
- package/dist/hooks/useDefaultDestinationToken.d.ts.map +0 -1
- package/dist/hooks/useDefaultDestinationToken.js +0 -60
- package/dist/hooks/useDefaultOriginToken.d.ts +0 -26
- package/dist/hooks/useDefaultOriginToken.d.ts.map +0 -1
- package/dist/hooks/useDefaultOriginToken.js +0 -120
- package/dist/hooks/useDepositMonitor.d.ts +0 -20
- package/dist/hooks/useDepositMonitor.d.ts.map +0 -1
- package/dist/hooks/useDepositMonitor.js +0 -54
- package/dist/hooks/useDestinationSelectedToken.d.ts +0 -38
- package/dist/hooks/useDestinationSelectedToken.d.ts.map +0 -1
- package/dist/hooks/useDestinationSelectedToken.js +0 -178
- package/dist/hooks/useDisplayCurrencyPreference.d.ts +0 -15
- package/dist/hooks/useDisplayCurrencyPreference.d.ts.map +0 -1
- package/dist/hooks/useDisplayCurrencyPreference.js +0 -57
- package/dist/hooks/useEarnPool.d.ts +0 -12
- package/dist/hooks/useEarnPool.d.ts.map +0 -1
- package/dist/hooks/useEarnPool.js +0 -21
- package/dist/hooks/useEffectiveFundBalance.d.ts +0 -28
- package/dist/hooks/useEffectiveFundBalance.d.ts.map +0 -1
- package/dist/hooks/useEffectiveFundBalance.js +0 -24
- package/dist/hooks/useExchangeFundingSelection.d.ts +0 -17
- package/dist/hooks/useExchangeFundingSelection.d.ts.map +0 -1
- package/dist/hooks/useExchangeFundingSelection.js +0 -25
- package/dist/hooks/useExecutingIntentsCount.d.ts +0 -15
- package/dist/hooks/useExecutingIntentsCount.d.ts.map +0 -1
- package/dist/hooks/useExternalFundingReceiptSync.d.ts +0 -11
- package/dist/hooks/useExternalFundingReceiptSync.d.ts.map +0 -1
- package/dist/hooks/useExternalFundingReceiptSync.js +0 -32
- package/dist/hooks/useFiatOnRampCurrencies.d.ts +0 -15
- package/dist/hooks/useFiatOnRampCurrencies.d.ts.map +0 -1
- package/dist/hooks/useFiatOnRampCurrencies.js +0 -14
- package/dist/hooks/useFiatSelectedCurrency.d.ts +0 -19
- package/dist/hooks/useFiatSelectedCurrency.d.ts.map +0 -1
- package/dist/hooks/useFiatSelectedCurrency.js +0 -55
- package/dist/hooks/useGetIntent.d.ts +0 -19
- package/dist/hooks/useGetIntent.d.ts.map +0 -1
- package/dist/hooks/useGetIntent.js +0 -26
- package/dist/hooks/useIntentReceiptBalances.d.ts +0 -16
- package/dist/hooks/useIntentReceiptBalances.d.ts.map +0 -1
- package/dist/hooks/useIntentReceiptBalances.js +0 -77
- package/dist/hooks/useIntentTransactionHistory.d.ts +0 -25
- package/dist/hooks/useIntentTransactionHistory.d.ts.map +0 -1
- package/dist/hooks/useIntentTransactionHistory.js +0 -357
- package/dist/hooks/useIsMobile.d.ts +0 -5
- package/dist/hooks/useIsMobile.d.ts.map +0 -1
- package/dist/hooks/useIsMobile.js +0 -21
- package/dist/hooks/useLocalePreference.d.ts +0 -21
- package/dist/hooks/useLocalePreference.d.ts.map +0 -1
- package/dist/hooks/useLocalePreference.js +0 -193
- package/dist/hooks/useMeldTransactionHistory.d.ts +0 -49
- package/dist/hooks/useMeldTransactionHistory.d.ts.map +0 -1
- package/dist/hooks/useMeldTransactionHistory.js +0 -71
- package/dist/hooks/useMeldTransactionStatus.d.ts +0 -61
- package/dist/hooks/useMeldTransactionStatus.d.ts.map +0 -1
- package/dist/hooks/useMeldTransactionStatus.js +0 -284
- package/dist/hooks/useOnRampCountryDefaults.d.ts +0 -18
- package/dist/hooks/useOnRampCountryDefaults.d.ts.map +0 -1
- package/dist/hooks/useOnRampCountryDefaults.js +0 -20
- package/dist/hooks/useOnRampPaymentMethods.d.ts +0 -15
- package/dist/hooks/useOnRampPaymentMethods.d.ts.map +0 -1
- package/dist/hooks/useOnRampPaymentMethods.js +0 -27
- package/dist/hooks/useOnRampProviderWidget.d.ts +0 -40
- package/dist/hooks/useOnRampProviderWidget.d.ts.map +0 -1
- package/dist/hooks/useOnRampProviderWidget.js +0 -70
- package/dist/hooks/useOnRampQuote.d.ts +0 -38
- package/dist/hooks/useOnRampQuote.d.ts.map +0 -1
- package/dist/hooks/useOnRampQuote.js +0 -159
- package/dist/hooks/useOnRampTransactionStatus.d.ts +0 -73
- package/dist/hooks/useOnRampTransactionStatus.d.ts.map +0 -1
- package/dist/hooks/useOriginSelectedToken.d.ts +0 -22
- package/dist/hooks/useOriginSelectedToken.d.ts.map +0 -1
- package/dist/hooks/useOriginSelectedToken.js +0 -127
- package/dist/hooks/usePayMessage.d.ts +0 -35
- package/dist/hooks/usePayMessage.d.ts.map +0 -1
- package/dist/hooks/usePayMessage.js +0 -333
- package/dist/hooks/usePriceImpactWarning.d.ts +0 -8
- package/dist/hooks/usePriceImpactWarning.d.ts.map +0 -1
- package/dist/hooks/usePriceImpactWarning.js +0 -9
- package/dist/hooks/useQuote.d.ts +0 -611
- package/dist/hooks/useQuote.d.ts.map +0 -1
- package/dist/hooks/useQuote.js +0 -590
- package/dist/hooks/useRecentChains.d.ts +0 -7
- package/dist/hooks/useRecentChains.d.ts.map +0 -1
- package/dist/hooks/useRecentChains.js +0 -52
- package/dist/hooks/useRecentTokens.d.ts +0 -7
- package/dist/hooks/useRecentTokens.d.ts.map +0 -1
- package/dist/hooks/useRecentTokens.js +0 -82
- package/dist/hooks/useRecipients.d.ts +0 -17
- package/dist/hooks/useRecipients.d.ts.map +0 -1
- package/dist/hooks/useRecipients.js +0 -75
- package/dist/hooks/useSelectedFeeOption.d.ts +0 -31
- package/dist/hooks/useSelectedFeeOption.d.ts.map +0 -1
- package/dist/hooks/useSelectedFeeOption.js +0 -113
- package/dist/hooks/useSelectedFundMethod.d.ts +0 -73
- package/dist/hooks/useSelectedFundMethod.d.ts.map +0 -1
- package/dist/hooks/useSelectedFundMethod.js +0 -51
- package/dist/hooks/useSelectedRecipient.d.ts +0 -12
- package/dist/hooks/useSelectedRecipient.d.ts.map +0 -1
- package/dist/hooks/useSelectedRecipient.js +0 -39
- package/dist/hooks/useSendForm.d.ts +0 -141
- package/dist/hooks/useSendForm.d.ts.map +0 -1
- package/dist/hooks/useSendForm.js +0 -595
- package/dist/hooks/useSwapAmount.d.ts +0 -13
- package/dist/hooks/useSwapAmount.d.ts.map +0 -1
- package/dist/hooks/useSwapAmount.js +0 -24
- package/dist/hooks/useSwapState.d.ts +0 -21
- package/dist/hooks/useSwapState.d.ts.map +0 -1
- package/dist/hooks/useSwapState.js +0 -44
- package/dist/hooks/useTargetAmount.d.ts +0 -6
- package/dist/hooks/useTargetAmount.d.ts.map +0 -1
- package/dist/hooks/useTargetAmount.js +0 -17
- package/dist/hooks/useTheme.d.ts +0 -14
- package/dist/hooks/useTheme.d.ts.map +0 -1
- package/dist/hooks/useTheme.js +0 -47
- package/dist/hooks/useTokenList.d.ts +0 -43
- package/dist/hooks/useTokenList.d.ts.map +0 -1
- package/dist/hooks/useTokenList.js +0 -456
- package/dist/hooks/useTrailsSendTransaction.d.ts +0 -139
- package/dist/hooks/useTrailsSendTransaction.d.ts.map +0 -1
- package/dist/hooks/useTrailsSendTransaction.js +0 -418
- package/dist/hooks/useViewManager.d.ts +0 -89
- package/dist/hooks/useViewManager.d.ts.map +0 -1
- package/dist/hooks/useViewManager.js +0 -274
- package/dist/hooks/useWalletConnectionContext.d.ts +0 -26
- package/dist/hooks/useWalletConnectionContext.d.ts.map +0 -1
- package/dist/hooks/useWalletConnectionContext.js +0 -53
- package/dist/hooks/useWidgetProps.d.ts +0 -13
- package/dist/hooks/useWidgetProps.d.ts.map +0 -1
- package/dist/hooks/useWidgetProps.js +0 -18
- package/dist/hydrate/builder.d.ts +0 -131
- package/dist/hydrate/builder.d.ts.map +0 -1
- package/dist/hydrate/builder.js +0 -210
- package/dist/hydrate/constants.d.ts +0 -13
- package/dist/hydrate/constants.d.ts.map +0 -1
- package/dist/hydrate/constants.js +0 -5
- package/dist/hydrate/encodeExecute.d.ts +0 -73
- package/dist/hydrate/encodeExecute.d.ts.map +0 -1
- package/dist/hydrate/encodeExecute.js +0 -60
- package/dist/hydrate/index.d.ts.map +0 -1
- package/dist/hydrate/multicall.d.ts +0 -69
- package/dist/hydrate/multicall.d.ts.map +0 -1
- package/dist/hydrate/multicall.js +0 -167
- package/dist/hydrate/payload.d.ts +0 -38
- package/dist/hydrate/payload.d.ts.map +0 -1
- package/dist/hydrate/payload.js +0 -26
- package/dist/hydrate/selectors.d.ts +0 -28
- package/dist/hydrate/selectors.d.ts.map +0 -1
- package/dist/hydrate/selectors.js +0 -326
- package/dist/hydrate/source.d.ts +0 -11
- package/dist/hydrate/source.d.ts.map +0 -1
- package/dist/hydrate/source.js +0 -19
- package/dist/hydrate/types.d.ts +0 -21
- package/dist/hydrate/types.d.ts.map +0 -1
- package/dist/hydrate/utils.d.ts +0 -8
- package/dist/hydrate/utils.d.ts.map +0 -1
- package/dist/hydrate/utils.js +0 -23
- package/dist/index.d.ts.map +0 -1
- package/dist/indexerClient.d.ts +0 -23
- package/dist/indexerClient.d.ts.map +0 -1
- package/dist/indexerClient.js +0 -40
- package/dist/intentConfigStore.d.ts +0 -8
- package/dist/intentConfigStore.d.ts.map +0 -1
- package/dist/intentConfigStore.js +0 -40
- package/dist/intentProtocolApi.d.ts +0 -11
- package/dist/intentProtocolApi.d.ts.map +0 -1
- package/dist/intentProtocolApi.js +0 -11
- package/dist/intentProtocolEncoding.d.ts +0 -30
- package/dist/intentProtocolEncoding.d.ts.map +0 -1
- package/dist/intentProtocolEncoding.js +0 -114
- package/dist/intentProtocolResolver.d.ts +0 -28
- package/dist/intentProtocolResolver.d.ts.map +0 -1
- package/dist/intentProtocolResolver.js +0 -34
- package/dist/intentReceiptMonitor.d.ts +0 -24
- package/dist/intentReceiptMonitor.d.ts.map +0 -1
- package/dist/intentReceiptMonitor.js +0 -30
- package/dist/intentReceiptPoller.d.ts +0 -69
- package/dist/intentReceiptPoller.d.ts.map +0 -1
- package/dist/intentReceiptPoller.js +0 -162
- package/dist/intentValidation.d.ts +0 -5
- package/dist/intentValidation.d.ts.map +0 -1
- package/dist/intentValidation.js +0 -19
- package/dist/intents.d.ts +0 -148
- package/dist/intents.d.ts.map +0 -1
- package/dist/intents.js +0 -391
- package/dist/keyMachineClient.d.ts +0 -9
- package/dist/keyMachineClient.d.ts.map +0 -1
- package/dist/keyMachineClient.js +0 -13
- package/dist/keymachine/index.d.ts +0 -34
- package/dist/keymachine/index.d.ts.map +0 -1
- package/dist/keymachine/index.js +0 -92
- package/dist/keymachine/key-machine.gen.d.ts +0 -461
- package/dist/keymachine/key-machine.gen.d.ts.map +0 -1
- package/dist/keymachine/key-machine.gen.js +0 -164
- package/dist/localeUtils.d.ts +0 -46
- package/dist/localeUtils.d.ts.map +0 -1
- package/dist/localeUtils.js +0 -60
- package/dist/logger/index.d.ts +0 -16
- package/dist/logger/index.d.ts.map +0 -1
- package/dist/logger/index.js +0 -57
- package/dist/logger/useSyncLoggerDebug.d.ts +0 -2
- package/dist/logger/useSyncLoggerDebug.d.ts.map +0 -1
- package/dist/logger/useSyncLoggerDebug.js +0 -9
- package/dist/logger.d.ts +0 -2
- package/dist/logger.d.ts.map +0 -1
- package/dist/meld/components/MeldCountriesList.d.ts +0 -9
- package/dist/meld/components/MeldCountriesList.d.ts.map +0 -1
- package/dist/meld/components/MeldCountriesList.js +0 -167
- package/dist/meld/components/MeldFundMethods.d.ts +0 -14
- package/dist/meld/components/MeldFundMethods.d.ts.map +0 -1
- package/dist/meld/components/MeldFundMethods.js +0 -163
- package/dist/meld/components/MeldProvidersList.d.ts +0 -11
- package/dist/meld/components/MeldProvidersList.d.ts.map +0 -1
- package/dist/meld/components/MeldProvidersList.js +0 -145
- package/dist/meld/components/MeldTokensList.d.ts +0 -12
- package/dist/meld/components/MeldTokensList.d.ts.map +0 -1
- package/dist/meld/components/MeldTokensList.js +0 -215
- package/dist/meld/components/SimpleHeader.d.ts +0 -8
- package/dist/meld/components/SimpleHeader.d.ts.map +0 -1
- package/dist/meld/components/SimpleHeader.js +0 -18
- package/dist/meld/utils/meld.d.ts +0 -41
- package/dist/meld/utils/meld.d.ts.map +0 -1
- package/dist/meld/utils/meld.js +0 -24
- package/dist/mutations.d.ts +0 -19
- package/dist/mutations.d.ts.map +0 -1
- package/dist/mutations.js +0 -91
- package/dist/offlineRecovery.d.ts +0 -24
- package/dist/offlineRecovery.d.ts.map +0 -1
- package/dist/offlineRecovery.js +0 -219
- package/dist/onramp/MeshConnectFlow.d.ts +0 -27
- package/dist/onramp/MeshConnectFlow.d.ts.map +0 -1
- package/dist/onramp/MeshConnectFlow.js +0 -41
- package/dist/onramp/MeshConnectIframe.d.ts +0 -22
- package/dist/onramp/MeshConnectIframe.d.ts.map +0 -1
- package/dist/onramp/MeshConnectIframe.js +0 -434
- package/dist/onramp/SendFromExchangeButton.d.ts +0 -16
- package/dist/onramp/SendFromExchangeButton.d.ts.map +0 -1
- package/dist/onramp/SendFromExchangeButton.js +0 -36
- package/dist/onramp/TrailsOnRampProvider.d.ts +0 -38
- package/dist/onramp/TrailsOnRampProvider.d.ts.map +0 -1
- package/dist/onramp/TrailsOnRampProvider.js +0 -25
- package/dist/onramp/bluvo/hooks/useBluvoFundingSelection.d.ts +0 -12
- package/dist/onramp/bluvo/hooks/useBluvoFundingSelection.d.ts.map +0 -1
- package/dist/onramp/bluvo/hooks/useBluvoFundingSelection.js +0 -18
- package/dist/onramp/index.d.ts +0 -13
- package/dist/onramp/index.d.ts.map +0 -1
- package/dist/onramp/mesh/components/MeshExchangeConfirmation.d.ts +0 -10
- package/dist/onramp/mesh/components/MeshExchangeConfirmation.d.ts.map +0 -1
- package/dist/onramp/mesh/components/MeshExchangeConfirmation.js +0 -62
- package/dist/onramp/mesh/components/MeshExchangeIcon.d.ts +0 -13
- package/dist/onramp/mesh/components/MeshExchangeIcon.d.ts.map +0 -1
- package/dist/onramp/mesh/components/MeshExchangeIcon.js +0 -54
- package/dist/onramp/mesh/components/MeshExchangeSelection.d.ts +0 -12
- package/dist/onramp/mesh/components/MeshExchangeSelection.d.ts.map +0 -1
- package/dist/onramp/mesh/components/MeshExchangeSelection.js +0 -135
- package/dist/onramp/mesh/components/MeshSessionOptions.d.ts +0 -15
- package/dist/onramp/mesh/components/MeshSessionOptions.d.ts.map +0 -1
- package/dist/onramp/mesh/components/MeshSessionOptions.js +0 -68
- package/dist/onramp/mesh/hooks/useMeshAccessTokens.d.ts +0 -9
- package/dist/onramp/mesh/hooks/useMeshAccessTokens.d.ts.map +0 -1
- package/dist/onramp/mesh/hooks/useMeshAccessTokens.js +0 -38
- package/dist/onramp/mesh/hooks/useMeshFundingSelection.d.ts +0 -11
- package/dist/onramp/mesh/hooks/useMeshFundingSelection.d.ts.map +0 -1
- package/dist/onramp/mesh/hooks/useMeshFundingSelection.js +0 -21
- package/dist/onramp/mesh/hooks/useMeshOnrampFlow.d.ts +0 -71
- package/dist/onramp/mesh/hooks/useMeshOnrampFlow.d.ts.map +0 -1
- package/dist/onramp/mesh/hooks/useMeshOnrampFlow.js +0 -168
- package/dist/onramp/mesh/hooks/useMeshOnrampSessionState.d.ts +0 -32
- package/dist/onramp/mesh/hooks/useMeshOnrampSessionState.d.ts.map +0 -1
- package/dist/onramp/mesh/hooks/useMeshOnrampSessionState.js +0 -28
- package/dist/onramp/mesh/hooks/useMeshSelectedTokenBalance.d.ts +0 -19
- package/dist/onramp/mesh/hooks/useMeshSelectedTokenBalance.d.ts.map +0 -1
- package/dist/onramp/mesh/hooks/useMeshSelectedTokenBalance.js +0 -57
- package/dist/onramp/mesh/hooks/useMeshSessionAccountBalance.d.ts +0 -15
- package/dist/onramp/mesh/hooks/useMeshSessionAccountBalance.d.ts.map +0 -1
- package/dist/onramp/mesh/hooks/useMeshSessionAccountBalance.js +0 -45
- package/dist/onramp/mesh/hooks/useMeshSessionStorage.d.ts +0 -7
- package/dist/onramp/mesh/hooks/useMeshSessionStorage.d.ts.map +0 -1
- package/dist/onramp/mesh/hooks/useMeshSessionStorage.js +0 -20
- package/dist/onramp/meshSessionStorage.d.ts +0 -13
- package/dist/onramp/meshSessionStorage.d.ts.map +0 -1
- package/dist/onramp/meshSessionStorage.js +0 -165
- package/dist/onramp/meshconnect.d.ts +0 -32
- package/dist/onramp/meshconnect.d.ts.map +0 -1
- package/dist/onramp/meshconnect.js +0 -124
- package/dist/onramp/trailsOnramp.d.ts +0 -32
- package/dist/onramp/trailsOnramp.d.ts.map +0 -1
- package/dist/onramp/trailsOnramp.js +0 -64
- package/dist/onramp-client/index.d.ts +0 -13
- package/dist/onramp-client/index.d.ts.map +0 -1
- package/dist/onramp-client/index.js +0 -19
- package/dist/onrampClient.d.ts +0 -10
- package/dist/onrampClient.d.ts.map +0 -1
- package/dist/onrampClient.js +0 -31
- package/dist/package.js +0 -123
- package/dist/placeholder.d.ts +0 -142
- package/dist/placeholder.d.ts.map +0 -1
- package/dist/placeholder.js +0 -95
- package/dist/poolUtils.d.ts +0 -16
- package/dist/poolUtils.d.ts.map +0 -1
- package/dist/poolUtils.js +0 -87
- package/dist/pools.d.ts +0 -33
- package/dist/pools.d.ts.map +0 -1
- package/dist/pools.js +0 -77
- package/dist/prepareSend.d.ts +0 -12
- package/dist/prepareSend.d.ts.map +0 -1
- package/dist/prepareSend.js +0 -207
- package/dist/query/QueryProvider.d.ts +0 -9
- package/dist/query/QueryProvider.d.ts.map +0 -1
- package/dist/query/QueryProvider.js +0 -13
- package/dist/query/balance.fetchers.d.ts +0 -116
- package/dist/query/balance.fetchers.d.ts.map +0 -1
- package/dist/query/balance.fetchers.js +0 -289
- package/dist/query/balance.hooks.d.ts +0 -80
- package/dist/query/balance.hooks.d.ts.map +0 -1
- package/dist/query/balance.hooks.js +0 -123
- package/dist/query/balance.queries.d.ts +0 -93
- package/dist/query/balance.queries.d.ts.map +0 -1
- package/dist/query/balance.queries.js +0 -142
- package/dist/query/chains.hooks.d.ts +0 -5
- package/dist/query/chains.hooks.d.ts.map +0 -1
- package/dist/query/chains.hooks.js +0 -40
- package/dist/query/chains.queries.d.ts +0 -16
- package/dist/query/chains.queries.d.ts.map +0 -1
- package/dist/query/chains.queries.js +0 -17
- package/dist/query/client.d.ts +0 -16
- package/dist/query/client.d.ts.map +0 -1
- package/dist/query/client.js +0 -15
- package/dist/query/fiat.fetchers.d.ts +0 -11
- package/dist/query/fiat.fetchers.d.ts.map +0 -1
- package/dist/query/fiat.fetchers.js +0 -10
- package/dist/query/fiat.hooks.d.ts +0 -18
- package/dist/query/fiat.hooks.d.ts.map +0 -1
- package/dist/query/fiat.hooks.js +0 -20
- package/dist/query/fiat.queries.d.ts +0 -24
- package/dist/query/fiat.queries.d.ts.map +0 -1
- package/dist/query/fiat.queries.js +0 -39
- package/dist/query/geo.fetchers.d.ts +0 -5
- package/dist/query/geo.fetchers.d.ts.map +0 -1
- package/dist/query/geo.fetchers.js +0 -61
- package/dist/query/geo.hooks.d.ts +0 -5
- package/dist/query/geo.hooks.d.ts.map +0 -1
- package/dist/query/geo.hooks.js +0 -17
- package/dist/query/geo.queries.d.ts +0 -22
- package/dist/query/geo.queries.d.ts.map +0 -1
- package/dist/query/geo.queries.js +0 -33
- package/dist/query/helpers.d.ts +0 -18
- package/dist/query/helpers.d.ts.map +0 -1
- package/dist/query/helpers.js +0 -31
- package/dist/query/intentProtocol.queries.d.ts +0 -32
- package/dist/query/intentProtocol.queries.d.ts.map +0 -1
- package/dist/query/intentProtocol.queries.js +0 -41
- package/dist/query/meld.fetchers.d.ts +0 -19
- package/dist/query/meld.fetchers.d.ts.map +0 -1
- package/dist/query/meld.fetchers.js +0 -41
- package/dist/query/meld.hooks.d.ts +0 -4
- package/dist/query/meld.hooks.d.ts.map +0 -1
- package/dist/query/meld.hooks.js +0 -15
- package/dist/query/meld.queries.d.ts +0 -61
- package/dist/query/meld.queries.d.ts.map +0 -1
- package/dist/query/meld.queries.js +0 -97
- package/dist/query/persister.d.ts +0 -9
- package/dist/query/persister.d.ts.map +0 -1
- package/dist/query/persister.js +0 -13
- package/dist/query/price.fetchers.d.ts +0 -15
- package/dist/query/price.fetchers.d.ts.map +0 -1
- package/dist/query/price.fetchers.js +0 -26
- package/dist/query/price.hooks.d.ts +0 -352
- package/dist/query/price.hooks.d.ts.map +0 -1
- package/dist/query/price.hooks.js +0 -35
- package/dist/query/price.queries.d.ts +0 -34
- package/dist/query/price.queries.d.ts.map +0 -1
- package/dist/query/price.queries.js +0 -139
- package/dist/query/serialization.d.ts +0 -3
- package/dist/query/serialization.d.ts.map +0 -1
- package/dist/query/serialization.js +0 -17
- package/dist/query/token.fetchers.d.ts +0 -13
- package/dist/query/token.fetchers.d.ts.map +0 -1
- package/dist/query/token.fetchers.js +0 -6
- package/dist/query/token.hooks.d.ts +0 -41
- package/dist/query/token.hooks.d.ts.map +0 -1
- package/dist/query/token.hooks.js +0 -68
- package/dist/query/token.queries.d.ts +0 -67
- package/dist/query/token.queries.d.ts.map +0 -1
- package/dist/query/token.queries.js +0 -144
- package/dist/queryParams.d.ts +0 -9
- package/dist/queryParams.d.ts.map +0 -1
- package/dist/queryParamsCore.d.ts +0 -2
- package/dist/queryParamsCore.d.ts.map +0 -1
- package/dist/queryParamsCore.js +0 -10
- package/dist/quoteError.d.ts +0 -22
- package/dist/quoteError.d.ts.map +0 -1
- package/dist/quoteError.js +0 -9
- package/dist/recover.d.ts +0 -304
- package/dist/recover.d.ts.map +0 -1
- package/dist/recover.js +0 -703
- package/dist/smartContractWallet.d.ts +0 -8
- package/dist/smartContractWallet.d.ts.map +0 -1
- package/dist/smartContractWallet.js +0 -11
- package/dist/theme.d.ts +0 -3
- package/dist/theme.d.ts.map +0 -1
- package/dist/toast.d.ts +0 -9
- package/dist/toast.d.ts.map +0 -1
- package/dist/toast.js +0 -31
- package/dist/tokenRegistry.d.ts +0 -50
- package/dist/tokenRegistry.d.ts.map +0 -1
- package/dist/tokenRegistry.js +0 -589
- package/dist/tokenTypes.d.ts +0 -29
- package/dist/tokenTypes.d.ts.map +0 -1
- package/dist/tokens.d.ts +0 -62
- package/dist/tokens.d.ts.map +0 -1
- package/dist/tokens.js +0 -370
- package/dist/trailsClient.d.ts +0 -11
- package/dist/trailsClient.d.ts.map +0 -1
- package/dist/trailsClient.js +0 -29
- package/dist/transactionIntent/constants.d.ts +0 -8
- package/dist/transactionIntent/constants.d.ts.map +0 -1
- package/dist/transactionIntent/constants.js +0 -11
- package/dist/transactionIntent/deposits/depositOrchestrator.d.ts +0 -55
- package/dist/transactionIntent/deposits/depositOrchestrator.d.ts.map +0 -1
- package/dist/transactionIntent/deposits/depositOrchestrator.js +0 -88
- package/dist/transactionIntent/deposits/gaslessDeposit.d.ts +0 -31
- package/dist/transactionIntent/deposits/gaslessDeposit.d.ts.map +0 -1
- package/dist/transactionIntent/deposits/gaslessDeposit.js +0 -218
- package/dist/transactionIntent/deposits/index.d.ts +0 -4
- package/dist/transactionIntent/deposits/index.d.ts.map +0 -1
- package/dist/transactionIntent/deposits/standardDeposit.d.ts +0 -50
- package/dist/transactionIntent/deposits/standardDeposit.d.ts.map +0 -1
- package/dist/transactionIntent/deposits/standardDeposit.js +0 -131
- package/dist/transactionIntent/execution/index.d.ts +0 -2
- package/dist/transactionIntent/execution/index.d.ts.map +0 -1
- package/dist/transactionIntent/execution/transactionState.d.ts +0 -5
- package/dist/transactionIntent/execution/transactionState.d.ts.map +0 -1
- package/dist/transactionIntent/execution/transactionState.js +0 -21
- package/dist/transactionIntent/handlers/index.d.ts +0 -2
- package/dist/transactionIntent/handlers/index.d.ts.map +0 -1
- package/dist/transactionIntent/handlers/intentHandler.d.ts +0 -71
- package/dist/transactionIntent/handlers/intentHandler.d.ts.map +0 -1
- package/dist/transactionIntent/handlers/intentHandler.js +0 -533
- package/dist/transactionIntent/helpers/index.d.ts +0 -2
- package/dist/transactionIntent/helpers/index.d.ts.map +0 -1
- package/dist/transactionIntent/helpers/transactionStateHelpers.d.ts +0 -68
- package/dist/transactionIntent/helpers/transactionStateHelpers.d.ts.map +0 -1
- package/dist/transactionIntent/helpers/transactionStateHelpers.js +0 -124
- package/dist/transactionIntent/index.d.ts +0 -10
- package/dist/transactionIntent/index.d.ts.map +0 -1
- package/dist/transactionIntent/quote/feeExtractors.d.ts +0 -13
- package/dist/transactionIntent/quote/feeExtractors.d.ts.map +0 -1
- package/dist/transactionIntent/quote/feeExtractors.js +0 -52
- package/dist/transactionIntent/quote/index.d.ts +0 -4
- package/dist/transactionIntent/quote/index.d.ts.map +0 -1
- package/dist/transactionIntent/quote/normalizeQuote.d.ts +0 -44
- package/dist/transactionIntent/quote/normalizeQuote.d.ts.map +0 -1
- package/dist/transactionIntent/quote/normalizeQuote.js +0 -214
- package/dist/transactionIntent/quote/quoteHelpers.d.ts +0 -6
- package/dist/transactionIntent/quote/quoteHelpers.d.ts.map +0 -1
- package/dist/transactionIntent/quote/quoteHelpers.js +0 -47
- package/dist/transactionIntent/types.d.ts +0 -181
- package/dist/transactionIntent/types.d.ts.map +0 -1
- package/dist/transactionIntent/types.js +0 -38
- package/dist/transactionIntent/utils/balanceChecker.d.ts +0 -20
- package/dist/transactionIntent/utils/balanceChecker.d.ts.map +0 -1
- package/dist/transactionIntent/utils/balanceChecker.js +0 -55
- package/dist/transactionIntent/utils/index.d.ts +0 -3
- package/dist/transactionIntent/utils/index.d.ts.map +0 -1
- package/dist/transactionIntent/utils/resilientDepositTracker.d.ts +0 -25
- package/dist/transactionIntent/utils/resilientDepositTracker.d.ts.map +0 -1
- package/dist/transactionIntent/utils/resilientDepositTracker.js +0 -62
- package/dist/transactionIntent/utils/testnetHelpers.d.ts +0 -2
- package/dist/transactionIntent/utils/testnetHelpers.d.ts.map +0 -1
- package/dist/transactionIntent/validators.d.ts +0 -4
- package/dist/transactionIntent/validators.d.ts.map +0 -1
- package/dist/transactionIntent/validators.js +0 -11
- package/dist/transactions.d.ts +0 -176
- package/dist/transactions.d.ts.map +0 -1
- package/dist/transactions.js +0 -115
- package/dist/umd/trails.min.js +0 -1251
- package/dist/utils/address.d.ts +0 -28
- package/dist/utils/address.d.ts.map +0 -1
- package/dist/utils/address.js +0 -30
- package/dist/utils/fiat.d.ts +0 -8
- package/dist/utils/fiat.d.ts.map +0 -1
- package/dist/utils/fiat.js +0 -30
- package/dist/utils/format.d.ts +0 -74
- package/dist/utils/format.d.ts.map +0 -1
- package/dist/utils/format.js +0 -274
- package/dist/utils/localStorageGc.d.ts +0 -22
- package/dist/utils/localStorageGc.d.ts.map +0 -1
- package/dist/utils/localStorageGc.js +0 -53
- package/dist/utils/passthrough.d.ts +0 -46
- package/dist/utils/passthrough.d.ts.map +0 -1
- package/dist/utils/passthrough.js +0 -20
- package/dist/utils/time.d.ts +0 -27
- package/dist/utils/time.d.ts.map +0 -1
- package/dist/utils/time.js +0 -68
- package/dist/utils/tokenResolution.d.ts +0 -19
- package/dist/utils/tokenResolution.d.ts.map +0 -1
- package/dist/utils/tokenResolution.js +0 -53
- package/dist/utils/validation.d.ts +0 -53
- package/dist/utils/validation.d.ts.map +0 -1
- package/dist/utils/validation.js +0 -80
- package/dist/utils.d.ts +0 -34
- package/dist/utils.d.ts.map +0 -1
- package/dist/utils.js +0 -58
- package/dist/version.d.ts +0 -3
- package/dist/version.d.ts.map +0 -1
- package/dist/version.js +0 -9
- package/dist/widget/assets/components/Aave.d.ts +0 -8
- package/dist/widget/assets/components/Aave.d.ts.map +0 -1
- package/dist/widget/assets/components/Aave.js +0 -29
- package/dist/widget/assets/components/ExchangeIconBlack.d.ts +0 -8
- package/dist/widget/assets/components/ExchangeIconBlack.d.ts.map +0 -1
- package/dist/widget/assets/components/FundMethodCardBrands.d.ts +0 -8
- package/dist/widget/assets/components/FundMethodCardBrands.d.ts.map +0 -1
- package/dist/widget/assets/components/FundMethodCardBrands.js +0 -49
- package/dist/widget/assets/components/FundMethodExchangeBrands.d.ts +0 -8
- package/dist/widget/assets/components/FundMethodExchangeBrands.d.ts.map +0 -1
- package/dist/widget/assets/components/FundMethodExchangeBrands.js +0 -37
- package/dist/widget/assets/components/MetaMaskIconFox.d.ts +0 -8
- package/dist/widget/assets/components/MetaMaskIconFox.d.ts.map +0 -1
- package/dist/widget/assets/components/MetaMaskIconFoxWithMargins.d.ts +0 -8
- package/dist/widget/assets/components/MetaMaskIconFoxWithMargins.d.ts.map +0 -1
- package/dist/widget/assets/components/MetaMaskLogoBlack.d.ts +0 -8
- package/dist/widget/assets/components/MetaMaskLogoBlack.d.ts.map +0 -1
- package/dist/widget/assets/components/MetaMaskLogoWhite.d.ts +0 -8
- package/dist/widget/assets/components/MetaMaskLogoWhite.d.ts.map +0 -1
- package/dist/widget/assets/components/Morpho.d.ts +0 -8
- package/dist/widget/assets/components/Morpho.d.ts.map +0 -1
- package/dist/widget/assets/components/Morpho.js +0 -51
- package/dist/widget/assets/components/TrailsBlack.d.ts +0 -8
- package/dist/widget/assets/components/TrailsBlack.d.ts.map +0 -1
- package/dist/widget/assets/components/TrailsBlack.js +0 -25
- package/dist/widget/assets/components/TrailsWhite.d.ts +0 -8
- package/dist/widget/assets/components/TrailsWhite.d.ts.map +0 -1
- package/dist/widget/assets/components/TrailsWhite.js +0 -25
- package/dist/widget/assets/components/WalletChangeBlack.d.ts +0 -8
- package/dist/widget/assets/components/WalletChangeBlack.d.ts.map +0 -1
- package/dist/widget/assets/components/WalletConnectLogo.d.ts +0 -8
- package/dist/widget/assets/components/WalletConnectLogo.d.ts.map +0 -1
- package/dist/widget/assets/components/WalletConnectLogoBlack.d.ts +0 -8
- package/dist/widget/assets/components/WalletConnectLogoBlack.d.ts.map +0 -1
- package/dist/widget/assets/components/WalletConnectLogoBlue.d.ts +0 -8
- package/dist/widget/assets/components/WalletConnectLogoBlue.d.ts.map +0 -1
- package/dist/widget/assets/components/WalletConnectLogoWhite.d.ts +0 -8
- package/dist/widget/assets/components/WalletConnectLogoWhite.d.ts.map +0 -1
- package/dist/widget/assets/components/index.d.ts +0 -17
- package/dist/widget/assets/components/index.d.ts.map +0 -1
- package/dist/widget/bluvo/bluvo-lib/BluvoCache.d.ts +0 -54
- package/dist/widget/bluvo/bluvo-lib/BluvoCache.d.ts.map +0 -1
- package/dist/widget/bluvo/bluvo-lib/BluvoCache.js +0 -68
- package/dist/widget/bluvo/bluvo-lib/BluvoFlowClient.d.ts +0 -386
- package/dist/widget/bluvo/bluvo-lib/BluvoFlowClient.d.ts.map +0 -1
- package/dist/widget/bluvo/bluvo-lib/BluvoFlowClient.js +0 -872
- package/dist/widget/bluvo/bluvo-lib/BluvoWebClient.d.ts +0 -192
- package/dist/widget/bluvo/bluvo-lib/BluvoWebClient.d.ts.map +0 -1
- package/dist/widget/bluvo/bluvo-lib/BluvoWebClient.js +0 -294
- package/dist/widget/bluvo/bluvo-lib/WebSocketClient.d.ts +0 -51
- package/dist/widget/bluvo/bluvo-lib/WebSocketClient.d.ts.map +0 -1
- package/dist/widget/bluvo/bluvo-lib/WebSocketClient.js +0 -72
- package/dist/widget/bluvo/bluvo-lib/WebsocketListener.d.ts +0 -19
- package/dist/widget/bluvo/bluvo-lib/WebsocketListener.d.ts.map +0 -1
- package/dist/widget/bluvo/bluvo-lib/WebsocketListener.js +0 -62
- package/dist/widget/bluvo/bluvo-lib/WorkflowTypes.d.ts +0 -44
- package/dist/widget/bluvo/bluvo-lib/WorkflowTypes.d.ts.map +0 -1
- package/dist/widget/bluvo/bluvo-lib/WorkflowTypes.js +0 -6
- package/dist/widget/bluvo/bluvo-lib/api.types.d.ts +0 -49
- package/dist/widget/bluvo/bluvo-lib/api.types.d.ts.map +0 -1
- package/dist/widget/bluvo/bluvo-lib/balanceTransform.d.ts +0 -84
- package/dist/widget/bluvo/bluvo-lib/balanceTransform.d.ts.map +0 -1
- package/dist/widget/bluvo/bluvo-lib/balanceTransform.js +0 -26
- package/dist/widget/bluvo/bluvo-lib/createMachine.d.ts +0 -3
- package/dist/widget/bluvo/bluvo-lib/createMachine.d.ts.map +0 -1
- package/dist/widget/bluvo/bluvo-lib/createMachine.js +0 -38
- package/dist/widget/bluvo/bluvo-lib/error-codes.d.ts +0 -156
- package/dist/widget/bluvo/bluvo-lib/error-codes.d.ts.map +0 -1
- package/dist/widget/bluvo/bluvo-lib/error-codes.js +0 -115
- package/dist/widget/bluvo/bluvo-lib/flow.types.d.ts +0 -356
- package/dist/widget/bluvo/bluvo-lib/flow.types.d.ts.map +0 -1
- package/dist/widget/bluvo/bluvo-lib/flowMachine.d.ts +0 -4
- package/dist/widget/bluvo/bluvo-lib/flowMachine.d.ts.map +0 -1
- package/dist/widget/bluvo/bluvo-lib/flowMachine.js +0 -45
- package/dist/widget/bluvo/bluvo-lib/flowMachine.types.d.ts +0 -20
- package/dist/widget/bluvo/bluvo-lib/flowMachine.types.d.ts.map +0 -1
- package/dist/widget/bluvo/bluvo-lib/flowStateHandlers.d.ts +0 -39
- package/dist/widget/bluvo/bluvo-lib/flowStateHandlers.d.ts.map +0 -1
- package/dist/widget/bluvo/bluvo-lib/flowStateHandlers.js +0 -395
- package/dist/widget/bluvo/bluvo-lib/index.d.ts +0 -5
- package/dist/widget/bluvo/bluvo-lib/index.d.ts.map +0 -1
- package/dist/widget/bluvo/bluvo-lib/machine.types.d.ts +0 -15
- package/dist/widget/bluvo/bluvo-lib/machine.types.d.ts.map +0 -1
- package/dist/widget/bluvo/bluvo-lib/stateHelpers.d.ts +0 -23
- package/dist/widget/bluvo/bluvo-lib/stateHelpers.d.ts.map +0 -1
- package/dist/widget/bluvo/bluvo-lib/stateHelpers.js +0 -24
- package/dist/widget/bluvo/bluvo-lib/useBluvoFlow.d.ts +0 -325
- package/dist/widget/bluvo/bluvo-lib/useBluvoFlow.d.ts.map +0 -1
- package/dist/widget/bluvo/bluvo-lib/useBluvoFlow.js +0 -152
- package/dist/widget/bluvo/bluvo-lib/useFlowMachine.d.ts +0 -11
- package/dist/widget/bluvo/bluvo-lib/useFlowMachine.d.ts.map +0 -1
- package/dist/widget/bluvo/bluvo-lib/useFlowMachine.js +0 -25
- package/dist/widget/bluvo/bluvo-lib/useWithdrawMachine.d.ts +0 -17
- package/dist/widget/bluvo/bluvo-lib/useWithdrawMachine.d.ts.map +0 -1
- package/dist/widget/bluvo/bluvo-lib/withdrawal.types.d.ts +0 -46
- package/dist/widget/bluvo/bluvo-lib/withdrawal.types.d.ts.map +0 -1
- package/dist/widget/bluvo/bluvo-lib/withdrawalErrorHandler.d.ts +0 -29
- package/dist/widget/bluvo/bluvo-lib/withdrawalErrorHandler.d.ts.map +0 -1
- package/dist/widget/bluvo/bluvo-lib/withdrawalErrorHandler.js +0 -95
- package/dist/widget/bluvo/bluvo-lib/withdrawalMachine.d.ts +0 -3
- package/dist/widget/bluvo/bluvo-lib/withdrawalMachine.d.ts.map +0 -1
- package/dist/widget/bluvo/bluvo-lib/withdrawalMachine.js +0 -137
- package/dist/widget/bluvo/index.d.ts +0 -2
- package/dist/widget/bluvo/index.d.ts.map +0 -1
- package/dist/widget/components/AccountActionsDropdown.d.ts +0 -4
- package/dist/widget/components/AccountActionsDropdown.d.ts.map +0 -1
- package/dist/widget/components/AccountActionsDropdown.js +0 -23
- package/dist/widget/components/AccountIntentTransactionHistory.d.ts +0 -9
- package/dist/widget/components/AccountIntentTransactionHistory.d.ts.map +0 -1
- package/dist/widget/components/AccountIntentTransactionHistory.js +0 -426
- package/dist/widget/components/AccountIntentTransactionHistoryButton.d.ts +0 -4
- package/dist/widget/components/AccountIntentTransactionHistoryButton.d.ts.map +0 -1
- package/dist/widget/components/AccountIntentTransactionHistoryButton.js +0 -23
- package/dist/widget/components/AccountSettings.d.ts +0 -7
- package/dist/widget/components/AccountSettings.d.ts.map +0 -1
- package/dist/widget/components/AccountSettings.js +0 -106
- package/dist/widget/components/AddressOrEnsName.d.ts +0 -13
- package/dist/widget/components/AddressOrEnsName.d.ts.map +0 -1
- package/dist/widget/components/AddressOrEnsName.js +0 -13
- package/dist/widget/components/AddressWalletIcon.d.ts +0 -8
- package/dist/widget/components/AddressWalletIcon.d.ts.map +0 -1
- package/dist/widget/components/AddressWalletIcon.js +0 -32
- package/dist/widget/components/AllChainsIcon.d.ts +0 -9
- package/dist/widget/components/AllChainsIcon.d.ts.map +0 -1
- package/dist/widget/components/AllChainsIcon.js +0 -98
- package/dist/widget/components/BluvoExchangeSelection.d.ts +0 -12
- package/dist/widget/components/BluvoExchangeSelection.d.ts.map +0 -1
- package/dist/widget/components/BluvoExchangeSelection.js +0 -131
- package/dist/widget/components/BluvoExchangeSelection.lazy.d.ts +0 -2
- package/dist/widget/components/BluvoExchangeSelection.lazy.d.ts.map +0 -1
- package/dist/widget/components/BluvoExchangeSelection.lazy.js +0 -4
- package/dist/widget/components/BluvoOnrampFlow.d.ts +0 -20
- package/dist/widget/components/BluvoOnrampFlow.d.ts.map +0 -1
- package/dist/widget/components/BluvoOnrampFlow.js +0 -1472
- package/dist/widget/components/BluvoOnrampFlow.lazy.d.ts +0 -2
- package/dist/widget/components/BluvoOnrampFlow.lazy.d.ts.map +0 -1
- package/dist/widget/components/BluvoOnrampFlow.lazy.js +0 -4
- package/dist/widget/components/ChainFilterDropdown.d.ts +0 -17
- package/dist/widget/components/ChainFilterDropdown.d.ts.map +0 -1
- package/dist/widget/components/ChainFilterDropdown.js +0 -124
- package/dist/widget/components/ChainImage.d.ts +0 -8
- package/dist/widget/components/ChainImage.d.ts.map +0 -1
- package/dist/widget/components/ChainImage.js +0 -24
- package/dist/widget/components/ChainList.d.ts +0 -9
- package/dist/widget/components/ChainList.d.ts.map +0 -1
- package/dist/widget/components/ChainList.js +0 -177
- package/dist/widget/components/ClassicSwap.d.ts +0 -10
- package/dist/widget/components/ClassicSwap.d.ts.map +0 -1
- package/dist/widget/components/ClassicSwap.js +0 -786
- package/dist/widget/components/ConfigDisplay.d.ts +0 -7
- package/dist/widget/components/ConfigDisplay.d.ts.map +0 -1
- package/dist/widget/components/ConfigDisplay.js +0 -122
- package/dist/widget/components/ConnectWallet.d.ts +0 -12
- package/dist/widget/components/ConnectWallet.d.ts.map +0 -1
- package/dist/widget/components/ConnectWallet.js +0 -215
- package/dist/widget/components/ConnectedWallets.d.ts +0 -19
- package/dist/widget/components/ConnectedWallets.d.ts.map +0 -1
- package/dist/widget/components/ConnectedWallets.js +0 -149
- package/dist/widget/components/CopyButton.d.ts +0 -18
- package/dist/widget/components/CopyButton.d.ts.map +0 -1
- package/dist/widget/components/CopyButton.js +0 -51
- package/dist/widget/components/CountryFilterDropdown.d.ts +0 -15
- package/dist/widget/components/CountryFilterDropdown.d.ts.map +0 -1
- package/dist/widget/components/CountryFilterDropdown.js +0 -93
- package/dist/widget/components/DebugMenu.d.ts +0 -7
- package/dist/widget/components/DebugMenu.d.ts.map +0 -1
- package/dist/widget/components/DebugMenu.js +0 -33
- package/dist/widget/components/DebugScreensList.d.ts +0 -7
- package/dist/widget/components/DebugScreensList.d.ts.map +0 -1
- package/dist/widget/components/DebugScreensList.js +0 -56
- package/dist/widget/components/DebugToast.d.ts +0 -3
- package/dist/widget/components/DebugToast.d.ts.map +0 -1
- package/dist/widget/components/DebugToast.js +0 -46
- package/dist/widget/components/DepositTracker.d.ts +0 -13
- package/dist/widget/components/DepositTracker.d.ts.map +0 -1
- package/dist/widget/components/DepositTracker.js +0 -194
- package/dist/widget/components/DirectTransfer.d.ts +0 -15
- package/dist/widget/components/DirectTransfer.d.ts.map +0 -1
- package/dist/widget/components/DirectTransfer.js +0 -218
- package/dist/widget/components/Disconnect.d.ts +0 -8
- package/dist/widget/components/Disconnect.d.ts.map +0 -1
- package/dist/widget/components/Disconnect.js +0 -37
- package/dist/widget/components/DynamicInputStyles.d.ts +0 -22
- package/dist/widget/components/DynamicInputStyles.d.ts.map +0 -1
- package/dist/widget/components/DynamicInputStyles.js +0 -27
- package/dist/widget/components/DynamicSizeInputField.d.ts +0 -17
- package/dist/widget/components/DynamicSizeInputField.d.ts.map +0 -1
- package/dist/widget/components/DynamicSizeInputField.js +0 -125
- package/dist/widget/components/ENSAvatar.d.ts +0 -12
- package/dist/widget/components/ENSAvatar.d.ts.map +0 -1
- package/dist/widget/components/ENSAvatar.js +0 -22
- package/dist/widget/components/Earn.d.ts +0 -33
- package/dist/widget/components/Earn.d.ts.map +0 -1
- package/dist/widget/components/Earn.js +0 -79
- package/dist/widget/components/EarnMarkets.d.ts +0 -9
- package/dist/widget/components/EarnMarkets.d.ts.map +0 -1
- package/dist/widget/components/EarnMarkets.js +0 -313
- package/dist/widget/components/EarnPools.d.ts +0 -8
- package/dist/widget/components/EarnPools.d.ts.map +0 -1
- package/dist/widget/components/EarnPools.js +0 -256
- package/dist/widget/components/EarnPoolsFilters.d.ts +0 -18
- package/dist/widget/components/EarnPoolsFilters.d.ts.map +0 -1
- package/dist/widget/components/EarnPoolsFilters.js +0 -106
- package/dist/widget/components/EarnWithdraw.d.ts +0 -21
- package/dist/widget/components/EarnWithdraw.d.ts.map +0 -1
- package/dist/widget/components/EarnWithdraw.js +0 -477
- package/dist/widget/components/ErrorAnimationIcon.d.ts +0 -2
- package/dist/widget/components/ErrorAnimationIcon.d.ts.map +0 -1
- package/dist/widget/components/ErrorAnimationIcon.js +0 -148
- package/dist/widget/components/ErrorDisplay.d.ts +0 -9
- package/dist/widget/components/ErrorDisplay.d.ts.map +0 -1
- package/dist/widget/components/ErrorDisplay.js +0 -104
- package/dist/widget/components/ExecutingIntentsBadge.d.ts +0 -12
- package/dist/widget/components/ExecutingIntentsBadge.d.ts.map +0 -1
- package/dist/widget/components/ExecutionStatusBadge.d.ts +0 -5
- package/dist/widget/components/ExecutionStatusBadge.d.ts.map +0 -1
- package/dist/widget/components/ExecutionStatusBadge.js +0 -45
- package/dist/widget/components/FeeOption.d.ts +0 -20
- package/dist/widget/components/FeeOption.d.ts.map +0 -1
- package/dist/widget/components/FeeOption.js +0 -71
- package/dist/widget/components/FeeOptions.d.ts +0 -20
- package/dist/widget/components/FeeOptions.d.ts.map +0 -1
- package/dist/widget/components/FeeOptions.js +0 -99
- package/dist/widget/components/FiatSelector.d.ts +0 -18
- package/dist/widget/components/FiatSelector.d.ts.map +0 -1
- package/dist/widget/components/FiatSelector.js +0 -171
- package/dist/widget/components/FiatSelectorButton.d.ts +0 -11
- package/dist/widget/components/FiatSelectorButton.d.ts.map +0 -1
- package/dist/widget/components/FiatSelectorButton.js +0 -41
- package/dist/widget/components/Footer.d.ts +0 -7
- package/dist/widget/components/Footer.d.ts.map +0 -1
- package/dist/widget/components/Footer.js +0 -71
- package/dist/widget/components/Fund.d.ts +0 -19
- package/dist/widget/components/Fund.d.ts.map +0 -1
- package/dist/widget/components/Fund.js +0 -16
- package/dist/widget/components/Fund.types.d.ts +0 -22
- package/dist/widget/components/Fund.types.d.ts.map +0 -1
- package/dist/widget/components/FundExactInput.d.ts +0 -5
- package/dist/widget/components/FundExactInput.d.ts.map +0 -1
- package/dist/widget/components/FundExactInput.js +0 -1116
- package/dist/widget/components/FundExactOutput.d.ts +0 -5
- package/dist/widget/components/FundExactOutput.d.ts.map +0 -1
- package/dist/widget/components/FundExactOutput.js +0 -498
- package/dist/widget/components/FundMethods.d.ts +0 -15
- package/dist/widget/components/FundMethods.d.ts.map +0 -1
- package/dist/widget/components/FundMethods.js +0 -219
- package/dist/widget/components/FundWalletSelection.d.ts +0 -3
- package/dist/widget/components/FundWalletSelection.d.ts.map +0 -1
- package/dist/widget/components/FundWalletSelection.js +0 -38
- package/dist/widget/components/FundingMethodSelectorButton.d.ts +0 -11
- package/dist/widget/components/FundingMethodSelectorButton.d.ts.map +0 -1
- package/dist/widget/components/FundingMethodSelectorButton.js +0 -57
- package/dist/widget/components/GreenCheckAnimation.d.ts +0 -2
- package/dist/widget/components/GreenCheckAnimation.d.ts.map +0 -1
- package/dist/widget/components/GreenCheckAnimation.js +0 -135
- package/dist/widget/components/HighPriceImpactBlock.d.ts +0 -7
- package/dist/widget/components/HighPriceImpactBlock.d.ts.map +0 -1
- package/dist/widget/components/HighPriceImpactBlock.js +0 -33
- package/dist/widget/components/HookModalContent.d.ts +0 -8
- package/dist/widget/components/HookModalContent.d.ts.map +0 -1
- package/dist/widget/components/HookModalContent.js +0 -237
- package/dist/widget/components/Identicon.d.ts +0 -9
- package/dist/widget/components/Identicon.d.ts.map +0 -1
- package/dist/widget/components/Identicon.js +0 -176
- package/dist/widget/components/LoadingSpinner.d.ts +0 -5
- package/dist/widget/components/LoadingSpinner.d.ts.map +0 -1
- package/dist/widget/components/LoadingSpinner.js +0 -5
- package/dist/widget/components/MeldForm.d.ts +0 -24
- package/dist/widget/components/MeldForm.d.ts.map +0 -1
- package/dist/widget/components/MeldForm.js +0 -447
- package/dist/widget/components/MeldHistory.d.ts +0 -13
- package/dist/widget/components/MeldHistory.d.ts.map +0 -1
- package/dist/widget/components/MeldHistory.js +0 -307
- package/dist/widget/components/MeldStepsFlow.d.ts +0 -6
- package/dist/widget/components/MeldStepsFlow.d.ts.map +0 -1
- package/dist/widget/components/MeldStepsFlow.js +0 -785
- package/dist/widget/components/MeldTransactionStatus.d.ts +0 -20
- package/dist/widget/components/MeldTransactionStatus.d.ts.map +0 -1
- package/dist/widget/components/MeldTransactionStatus.js +0 -157
- package/dist/widget/components/MeshExchangeAccountHeader.d.ts +0 -9
- package/dist/widget/components/MeshExchangeAccountHeader.d.ts.map +0 -1
- package/dist/widget/components/MeshExchangeAccountHeader.js +0 -30
- package/dist/widget/components/Modal.d.ts +0 -9
- package/dist/widget/components/Modal.d.ts.map +0 -1
- package/dist/widget/components/Modal.js +0 -65
- package/dist/widget/components/OFTProgressBar.d.ts +0 -16
- package/dist/widget/components/OFTProgressBar.d.ts.map +0 -1
- package/dist/widget/components/OFTProgressBar.js +0 -49
- package/dist/widget/components/OnRampProviderSelector.d.ts +0 -13
- package/dist/widget/components/OnRampProviderSelector.d.ts.map +0 -1
- package/dist/widget/components/OnRampProviderSelector.js +0 -144
- package/dist/widget/components/OnrampErrorScreen.d.ts +0 -15
- package/dist/widget/components/OnrampErrorScreen.d.ts.map +0 -1
- package/dist/widget/components/OnrampErrorScreen.js +0 -102
- package/dist/widget/components/OnrampHistoryRow.d.ts +0 -13
- package/dist/widget/components/OnrampHistoryRow.d.ts.map +0 -1
- package/dist/widget/components/OnrampHistoryRow.js +0 -249
- package/dist/widget/components/OnrampPaymentMethods.d.ts +0 -7
- package/dist/widget/components/OnrampPaymentMethods.d.ts.map +0 -1
- package/dist/widget/components/OnrampPaymentMethods.js +0 -54
- package/dist/widget/components/OnrampProviderConfirmation.d.ts +0 -30
- package/dist/widget/components/OnrampProviderConfirmation.d.ts.map +0 -1
- package/dist/widget/components/OnrampProviderConfirmation.js +0 -705
- package/dist/widget/components/OriginSelectionAmount.d.ts +0 -12
- package/dist/widget/components/OriginSelectionAmount.d.ts.map +0 -1
- package/dist/widget/components/OriginSelectionAmount.js +0 -104
- package/dist/widget/components/OriginTransferInformation.d.ts +0 -10
- package/dist/widget/components/OriginTransferInformation.d.ts.map +0 -1
- package/dist/widget/components/OriginTransferInformation.js +0 -56
- package/dist/widget/components/Pay.d.ts +0 -7
- package/dist/widget/components/Pay.d.ts.map +0 -1
- package/dist/widget/components/Pay.js +0 -649
- package/dist/widget/components/PaymentMethods.d.ts +0 -10
- package/dist/widget/components/PaymentMethods.d.ts.map +0 -1
- package/dist/widget/components/PaymentMethods.js +0 -118
- package/dist/widget/components/PercentageMaxButtons.d.ts +0 -14
- package/dist/widget/components/PercentageMaxButtons.d.ts.map +0 -1
- package/dist/widget/components/PercentageMaxButtons.js +0 -62
- package/dist/widget/components/PoolDeposit.d.ts +0 -32
- package/dist/widget/components/PoolDeposit.d.ts.map +0 -1
- package/dist/widget/components/PoolDeposit.js +0 -426
- package/dist/widget/components/PriceImpactWarning.d.ts +0 -11
- package/dist/widget/components/PriceImpactWarning.d.ts.map +0 -1
- package/dist/widget/components/PriceImpactWarning.js +0 -58
- package/dist/widget/components/PulsatingButton.d.ts +0 -9
- package/dist/widget/components/PulsatingButton.d.ts.map +0 -1
- package/dist/widget/components/PulsatingButton.js +0 -48
- package/dist/widget/components/QRCodeOptions.d.ts +0 -9
- package/dist/widget/components/QRCodeOptions.d.ts.map +0 -1
- package/dist/widget/components/QRCodeOptions.js +0 -57
- package/dist/widget/components/QRCodeWalletSelect.d.ts +0 -13
- package/dist/widget/components/QRCodeWalletSelect.d.ts.map +0 -1
- package/dist/widget/components/QRCodeWalletSelect.js +0 -45
- package/dist/widget/components/QrCode.d.ts +0 -10
- package/dist/widget/components/QrCode.d.ts.map +0 -1
- package/dist/widget/components/QrCode.js +0 -69
- package/dist/widget/components/QuoteDetails.d.ts +0 -25
- package/dist/widget/components/QuoteDetails.d.ts.map +0 -1
- package/dist/widget/components/QuoteDetails.js +0 -728
- package/dist/widget/components/QuoteInputErrorBlock.d.ts +0 -7
- package/dist/widget/components/QuoteInputErrorBlock.d.ts.map +0 -1
- package/dist/widget/components/QuoteInputErrorBlock.js +0 -22
- package/dist/widget/components/Receipt.d.ts +0 -18
- package/dist/widget/components/Receipt.d.ts.map +0 -1
- package/dist/widget/components/Receipt.js +0 -443
- package/dist/widget/components/ReceiptRecoverableFunds.d.ts +0 -25
- package/dist/widget/components/ReceiptRecoverableFunds.d.ts.map +0 -1
- package/dist/widget/components/ReceiptRecoverableFunds.js +0 -75
- package/dist/widget/components/RecentChains.d.ts +0 -9
- package/dist/widget/components/RecentChains.d.ts.map +0 -1
- package/dist/widget/components/RecentChains.js +0 -28
- package/dist/widget/components/RecentTokens.d.ts +0 -10
- package/dist/widget/components/RecentTokens.d.ts.map +0 -1
- package/dist/widget/components/RecentTokens.js +0 -37
- package/dist/widget/components/RecipientSelectorButton.d.ts +0 -6
- package/dist/widget/components/RecipientSelectorButton.d.ts.map +0 -1
- package/dist/widget/components/RecipientSelectorButton.js +0 -36
- package/dist/widget/components/Recipients.d.ts +0 -9
- package/dist/widget/components/Recipients.d.ts.map +0 -1
- package/dist/widget/components/Recipients.js +0 -208
- package/dist/widget/components/RefundWarning.d.ts +0 -11
- package/dist/widget/components/RefundWarning.d.ts.map +0 -1
- package/dist/widget/components/RefundWarning.js +0 -33
- package/dist/widget/components/RequiredPropsError.d.ts +0 -8
- package/dist/widget/components/RequiredPropsError.d.ts.map +0 -1
- package/dist/widget/components/RequiredPropsError.js +0 -14
- package/dist/widget/components/ScreenHeader.d.ts +0 -13
- package/dist/widget/components/ScreenHeader.d.ts.map +0 -1
- package/dist/widget/components/ScreenHeader.js +0 -64
- package/dist/widget/components/SearchInputField.d.ts +0 -14
- package/dist/widget/components/SearchInputField.d.ts.map +0 -1
- package/dist/widget/components/SearchInputField.js +0 -51
- package/dist/widget/components/SessionTimeoutScreen.d.ts +0 -12
- package/dist/widget/components/SessionTimeoutScreen.d.ts.map +0 -1
- package/dist/widget/components/SessionTimeoutScreen.js +0 -64
- package/dist/widget/components/ShadowPortal.d.ts +0 -6
- package/dist/widget/components/ShadowPortal.d.ts.map +0 -1
- package/dist/widget/components/ShadowPortal.js +0 -52
- package/dist/widget/components/ShadowRootContext.d.ts +0 -8
- package/dist/widget/components/ShadowRootContext.d.ts.map +0 -1
- package/dist/widget/components/ShadowRootContext.js +0 -12
- package/dist/widget/components/SimpleRecipientInputScreen.d.ts +0 -13
- package/dist/widget/components/SimpleRecipientInputScreen.d.ts.map +0 -1
- package/dist/widget/components/SimpleRecipientInputScreen.js +0 -48
- package/dist/widget/components/SlippageToleranceSettings.d.ts +0 -9
- package/dist/widget/components/SlippageToleranceSettings.d.ts.map +0 -1
- package/dist/widget/components/SlippageToleranceSettings.js +0 -159
- package/dist/widget/components/Swap.d.ts +0 -43
- package/dist/widget/components/Swap.d.ts.map +0 -1
- package/dist/widget/components/Swap.js +0 -6
- package/dist/widget/components/SwapDisplay.d.ts +0 -9
- package/dist/widget/components/SwapDisplay.d.ts.map +0 -1
- package/dist/widget/components/SwapDisplay.js +0 -72
- package/dist/widget/components/ThemeProvider.d.ts +0 -16
- package/dist/widget/components/ThemeProvider.d.ts.map +0 -1
- package/dist/widget/components/ThemeProvider.js +0 -52
- package/dist/widget/components/ThemeSyncer.d.ts +0 -6
- package/dist/widget/components/ThemeSyncer.d.ts.map +0 -1
- package/dist/widget/components/ThemeSyncer.js +0 -25
- package/dist/widget/components/Toast.d.ts +0 -24
- package/dist/widget/components/Toast.d.ts.map +0 -1
- package/dist/widget/components/Toast.js +0 -206
- package/dist/widget/components/TokenDisplayNonSelectable.d.ts +0 -11
- package/dist/widget/components/TokenDisplayNonSelectable.d.ts.map +0 -1
- package/dist/widget/components/TokenDisplayNonSelectable.js +0 -30
- package/dist/widget/components/TokenImage.d.ts +0 -11
- package/dist/widget/components/TokenImage.d.ts.map +0 -1
- package/dist/widget/components/TokenImage.js +0 -96
- package/dist/widget/components/TokenList.d.ts +0 -20
- package/dist/widget/components/TokenList.d.ts.map +0 -1
- package/dist/widget/components/TokenList.js +0 -45
- package/dist/widget/components/TokenSelector.d.ts +0 -32
- package/dist/widget/components/TokenSelector.d.ts.map +0 -1
- package/dist/widget/components/TokenSelector.js +0 -479
- package/dist/widget/components/TokenSelectorButton.d.ts +0 -17
- package/dist/widget/components/TokenSelectorButton.d.ts.map +0 -1
- package/dist/widget/components/TokenSelectorButton.js +0 -64
- package/dist/widget/components/TokenSkeleton.d.ts +0 -12
- package/dist/widget/components/TokenSkeleton.d.ts.map +0 -1
- package/dist/widget/components/TokenSkeleton.js +0 -36
- package/dist/widget/components/Tooltip.d.ts +0 -14
- package/dist/widget/components/Tooltip.d.ts.map +0 -1
- package/dist/widget/components/Tooltip.js +0 -38
- package/dist/widget/components/TrailsHookModal.d.ts +0 -10
- package/dist/widget/components/TrailsHookModal.d.ts.map +0 -1
- package/dist/widget/components/TrailsHookModal.js +0 -55
- package/dist/widget/components/TransactionDetails.d.ts +0 -10
- package/dist/widget/components/TransactionDetails.d.ts.map +0 -1
- package/dist/widget/components/TransactionDetails.js +0 -492
- package/dist/widget/components/TransactionHistoryItem.d.ts +0 -23
- package/dist/widget/components/TransactionHistoryItem.d.ts.map +0 -1
- package/dist/widget/components/TransactionHistoryItem.js +0 -547
- package/dist/widget/components/TransferPendingVertical.d.ts +0 -16
- package/dist/widget/components/TransferPendingVertical.d.ts.map +0 -1
- package/dist/widget/components/TransferPendingVertical.js +0 -356
- package/dist/widget/components/TruncatedTransactionHash.d.ts +0 -12
- package/dist/widget/components/TruncatedTransactionHash.d.ts.map +0 -1
- package/dist/widget/components/TruncatedTransactionHash.js +0 -36
- package/dist/widget/components/UserPreferences.d.ts +0 -7
- package/dist/widget/components/UserPreferences.d.ts.map +0 -1
- package/dist/widget/components/UserPreferences.js +0 -282
- package/dist/widget/components/WaasFeeOptions.d.ts +0 -12
- package/dist/widget/components/WaasFeeOptions.d.ts.map +0 -1
- package/dist/widget/components/WaasFeeOptions.js +0 -349
- package/dist/widget/components/WalletAccountHeader.d.ts +0 -8
- package/dist/widget/components/WalletAccountHeader.d.ts.map +0 -1
- package/dist/widget/components/WalletAccountHeader.js +0 -45
- package/dist/widget/components/WalletConfirmation.d.ts +0 -15
- package/dist/widget/components/WalletConfirmation.d.ts.map +0 -1
- package/dist/widget/components/WalletConfirmation.js +0 -145
- package/dist/widget/components/WalletConnect.d.ts +0 -11
- package/dist/widget/components/WalletConnect.d.ts.map +0 -1
- package/dist/widget/components/WalletConnect.js +0 -164
- package/dist/widget/components/WalletConnectionPending.d.ts +0 -12
- package/dist/widget/components/WalletConnectionPending.d.ts.map +0 -1
- package/dist/widget/components/WalletConnectionPending.js +0 -124
- package/dist/widget/components/WalletList.d.ts +0 -16
- package/dist/widget/components/WalletList.d.ts.map +0 -1
- package/dist/widget/components/WalletList.js +0 -88
- package/dist/widget/components/WidgetProviders.d.ts +0 -16
- package/dist/widget/components/WidgetProviders.d.ts.map +0 -1
- package/dist/widget/components/WidgetProviders.js +0 -43
- package/dist/widget/components/Withdraw.d.ts +0 -12
- package/dist/widget/components/Withdraw.d.ts.map +0 -1
- package/dist/widget/components/Withdraw.js +0 -551
- package/dist/widget/components/YellowWarningAnimation.d.ts +0 -2
- package/dist/widget/components/YellowWarningAnimation.d.ts.map +0 -1
- package/dist/widget/components/YellowWarningAnimation.js +0 -167
- package/dist/widget/components/earnMarketUtils.d.ts +0 -11
- package/dist/widget/components/earnMarketUtils.d.ts.map +0 -1
- package/dist/widget/components/earnMarketUtils.js +0 -48
- package/dist/widget/components/earnNetworks.d.ts +0 -6
- package/dist/widget/components/earnNetworks.d.ts.map +0 -1
- package/dist/widget/components/earnNetworks.js +0 -33
- package/dist/widget/index.d.ts.map +0 -1
- package/dist/widget/modes/EarnWidget.d.ts +0 -90
- package/dist/widget/modes/EarnWidget.d.ts.map +0 -1
- package/dist/widget/modes/EarnWidget.js +0 -41
- package/dist/widget/modes/FundWidget.d.ts +0 -110
- package/dist/widget/modes/FundWidget.d.ts.map +0 -1
- package/dist/widget/modes/FundWidget.js +0 -48
- package/dist/widget/modes/PayWidget.d.ts +0 -80
- package/dist/widget/modes/PayWidget.d.ts.map +0 -1
- package/dist/widget/modes/PayWidget.js +0 -40
- package/dist/widget/modes/SwapWidget.d.ts +0 -76
- package/dist/widget/modes/SwapWidget.d.ts.map +0 -1
- package/dist/widget/modes/SwapWidget.js +0 -41
- package/dist/widget/modes/WithdrawWidget.d.ts +0 -87
- package/dist/widget/modes/WithdrawWidget.d.ts.map +0 -1
- package/dist/widget/modes/WithdrawWidget.js +0 -38
- package/dist/widget/props.d.ts +0 -255
- package/dist/widget/props.d.ts.map +0 -1
- package/dist/widget/props.js +0 -14
- package/dist/widget/providers/TrailsModalProvider.d.ts +0 -78
- package/dist/widget/providers/TrailsModalProvider.d.ts.map +0 -1
- package/dist/widget/providers/TrailsModalProvider.js +0 -57
- package/dist/widget/providers/TrailsProvider.d.ts +0 -100
- package/dist/widget/providers/TrailsProvider.d.ts.map +0 -1
- package/dist/widget/providers/TrailsProvider.js +0 -101
- package/dist/widget/providers/UserActivityProvider.d.ts +0 -18
- package/dist/widget/providers/UserActivityProvider.d.ts.map +0 -1
- package/dist/widget/providers/UserActivityProvider.js +0 -38
- package/dist/widget/providers/WalletContext.d.ts +0 -10
- package/dist/widget/providers/WalletContext.d.ts.map +0 -1
- package/dist/widget/providers/WalletContext.js +0 -23
- package/dist/widget/providers/WidgetProviderTree.d.ts +0 -24
- package/dist/widget/providers/WidgetProviderTree.d.ts.map +0 -1
- package/dist/widget/providers/WidgetProviderTree.js +0 -35
- package/dist/widget/providers/adapterConfig.d.ts +0 -13
- package/dist/widget/providers/adapterConfig.d.ts.map +0 -1
- package/dist/widget/providers/adapterConfig.js +0 -97
- package/dist/widget/providers/sequenceSupport.d.ts +0 -42
- package/dist/widget/providers/sequenceSupport.d.ts.map +0 -1
- package/dist/widget/providers/walletRuntimeResolution.d.ts +0 -10
- package/dist/widget/providers/walletRuntimeResolution.d.ts.map +0 -1
- package/dist/widget/providers/walletRuntimeResolution.js +0 -14
- package/dist/widget/shared/destinationDefaultToken.d.ts +0 -15
- package/dist/widget/shared/destinationDefaultToken.d.ts.map +0 -1
- package/dist/widget/shared/destinationDefaultToken.js +0 -18
- package/dist/widget/shared/destinationSupport.d.ts +0 -40
- package/dist/widget/shared/destinationSupport.d.ts.map +0 -1
- package/dist/widget/shared/destinationSupport.js +0 -215
- package/dist/widget/shared/mapSharedProps.d.ts +0 -9
- package/dist/widget/shared/mapSharedProps.d.ts.map +0 -1
- package/dist/widget/shared/mapSharedProps.js +0 -22
- package/dist/widget/shared/methodMap.d.ts +0 -18
- package/dist/widget/shared/methodMap.d.ts.map +0 -1
- package/dist/widget/shared/methodMap.js +0 -25
- package/dist/widget/shared/resolution.d.ts +0 -8
- package/dist/widget/shared/resolution.d.ts.map +0 -1
- package/dist/widget/shared/resolution.js +0 -63
- package/dist/widget/shared/resolvePaymentSource.d.ts +0 -37
- package/dist/widget/shared/resolvePaymentSource.d.ts.map +0 -1
- package/dist/widget/shared/resolvePaymentSource.js +0 -19
- package/dist/widget/shared/types.d.ts +0 -142
- package/dist/widget/shared/types.d.ts.map +0 -1
- package/dist/widget/styles.gen.d.ts +0 -2
- package/dist/widget/styles.gen.d.ts.map +0 -1
- package/dist/widget/styles.gen.js +0 -29
- package/dist/widget/types/analytics.d.ts +0 -22
- package/dist/widget/types/analytics.d.ts.map +0 -1
- package/dist/widget/types/commonProps.d.ts +0 -48
- package/dist/widget/types/commonProps.d.ts.map +0 -1
- package/dist/widget/utils/countryUtils.d.ts +0 -37
- package/dist/widget/utils/countryUtils.d.ts.map +0 -1
- package/dist/widget/utils/countryUtils.js +0 -14
- package/dist/widget/utils/forexRateStore.d.ts +0 -25
- package/dist/widget/utils/forexRateStore.d.ts.map +0 -1
- package/dist/widget/utils/forexRateStore.js +0 -59
- package/dist/widget/utils/fundMethodSwitchState.d.ts +0 -14
- package/dist/widget/utils/fundMethodSwitchState.d.ts.map +0 -1
- package/dist/widget/utils/fundMethodSwitchState.js +0 -6
- package/dist/widget/utils/historyFilters.d.ts +0 -13
- package/dist/widget/utils/historyFilters.d.ts.map +0 -1
- package/dist/widget/utils/historyFilters.js +0 -108
- package/dist/widget/utils/localeStore.d.ts +0 -19
- package/dist/widget/utils/localeStore.d.ts.map +0 -1
- package/dist/widget/utils/localeStore.js +0 -39
- package/dist/widget/utils/meldProviderUtils.d.ts +0 -6
- package/dist/widget/utils/meldProviderUtils.d.ts.map +0 -1
- package/dist/widget/utils/meldProviderUtils.js +0 -9
- package/dist/widget/utils/meshSupportedTokens.d.ts +0 -4
- package/dist/widget/utils/meshSupportedTokens.d.ts.map +0 -1
- package/dist/widget/utils/meshSupportedTokens.js +0 -12
- package/dist/widget/utils/onrampConfig.d.ts +0 -11
- package/dist/widget/utils/onrampConfig.d.ts.map +0 -1
- package/dist/widget/utils/onrampConfig.js +0 -6
- package/dist/widget/utils/statusLabel.d.ts +0 -2
- package/dist/widget/utils/statusLabel.d.ts.map +0 -1
- package/dist/widget/utils/statusLabel.js +0 -6
- package/dist/widget/utils/tokens.d.ts +0 -60
- package/dist/widget/utils/tokens.d.ts.map +0 -1
- package/dist/widget/utils/tokens.js +0 -16
- package/dist/widget/utils/trailsOnrampConfig.d.ts +0 -23
- package/dist/widget/utils/trailsOnrampConfig.d.ts.map +0 -1
- package/dist/widget/utils/trailsOnrampConfig.js +0 -7
- package/dist/widget/utils/transactionFailure.d.ts +0 -20
- package/dist/widget/utils/transactionFailure.d.ts.map +0 -1
- package/dist/widget/utils/transactionFailure.js +0 -12
- package/dist/widget/utils/viewManagerGuards.d.ts +0 -5
- package/dist/widget/utils/viewManagerGuards.d.ts.map +0 -1
- package/dist/widget/utils/viewManagerGuards.js +0 -24
- package/dist/widget/utils/walletConnectRedirect.d.ts +0 -19
- package/dist/widget/utils/walletConnectRedirect.d.ts.map +0 -1
- package/dist/widget/utils/walletConnectRedirect.js +0 -21
- package/dist/widget/utils/windowUtils.d.ts +0 -13
- package/dist/widget/utils/windowUtils.d.ts.map +0 -1
- package/dist/widget/utils/windowUtils.js +0 -84
- package/dist/widget/widget.d.ts +0 -16
- package/dist/widget/widget.d.ts.map +0 -1
- package/dist/widget/widget.js +0 -1541
- package/dist/widgetFlowHooks.d.ts +0 -12
- package/dist/widgetFlowHooks.d.ts.map +0 -1
- package/dist/widgetFlowHooks.js +0 -18
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
import { UseQuoteProps, SwapReturn } from './useQuote.js';
|
|
2
|
-
import { Address, Hex } from 'viem';
|
|
3
|
-
import { DestinationCallsInput } from '../actions/destinationCalls.js';
|
|
4
|
-
export type TrailsSendTransactionVariables = {
|
|
5
|
-
to?: Address;
|
|
6
|
-
/**
|
|
7
|
-
* Native token amount for the ORIGIN, as raw wei (smallest unit) — the
|
|
8
|
-
* same convention as standard wallet `sendTransaction`. Use
|
|
9
|
-
* `parseEther('0.01')` or `parseUnits('0.01', 18)` to construct it.
|
|
10
|
-
*/
|
|
11
|
-
value?: bigint;
|
|
12
|
-
/**
|
|
13
|
-
* Low-level ABI-encoded destination calldata for a single destination call.
|
|
14
|
-
* Mutually exclusive with hook-level `actions` and `calls`.
|
|
15
|
-
*/
|
|
16
|
-
data?: Hex;
|
|
17
|
-
/**
|
|
18
|
-
* Destination token address (ERC20) the recipient must receive. Pair
|
|
19
|
-
* with `tokenAmount`.
|
|
20
|
-
*/
|
|
21
|
-
tokenAddress?: Address;
|
|
22
|
-
/**
|
|
23
|
-
* Destination token amount, as a **human-readable decimal string** (e.g.
|
|
24
|
-
* `"3"` for 3 USDC, `"0.5"` for half a token). Scaled to the destination
|
|
25
|
-
* token's decimals internally via `parseUnits` once those decimals have
|
|
26
|
-
* been resolved.
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
|
-
tokenAmount?: string;
|
|
30
|
-
/** Destination token amount already scaled to the token's smallest unit. */
|
|
31
|
-
tokenAmountRaw?: string | bigint;
|
|
32
|
-
/** Override the destination token's decimals (skip the registry/RPC lookup). */
|
|
33
|
-
tokenDecimals?: number;
|
|
34
|
-
/** Destination chain ID. Defaults to the connected chain when omitted. */
|
|
35
|
-
toChainId?: number;
|
|
36
|
-
/**
|
|
37
|
-
* Origin token address (ERC20). Required together with `fromChainId` and
|
|
38
|
-
* `fromAmount`. If omitted, the modal opens for token selection.
|
|
39
|
-
*/
|
|
40
|
-
fromTokenAddress?: Address;
|
|
41
|
-
/** Origin chain ID. Required if `fromTokenAddress` is provided. */
|
|
42
|
-
fromChainId?: number;
|
|
43
|
-
/**
|
|
44
|
-
* Origin token amount, as a **human-readable decimal string** (e.g.
|
|
45
|
-
* `"0.5"` for 0.5 ETH, `"100"` for 100 USDC). Scaled to the origin
|
|
46
|
-
* token's decimals internally via `parseUnits`.
|
|
47
|
-
*/
|
|
48
|
-
fromAmount?: string;
|
|
49
|
-
/** Origin token amount already scaled to the token's smallest unit. */
|
|
50
|
-
fromAmountRaw?: string | bigint;
|
|
51
|
-
/** Override the origin token's decimals (skip the registry/RPC lookup). */
|
|
52
|
-
fromDecimals?: number;
|
|
53
|
-
};
|
|
54
|
-
export type UseTrailsSendTransactionParameters = Omit<UseQuoteProps, "from" | "to" | "walletClient" | "selectedFeeOption"> & {
|
|
55
|
-
/**
|
|
56
|
-
* Raw destination calls to execute after the funds land, matching
|
|
57
|
-
* `useQuote({ to: { calls } })`. Mutually exclusive with `actions` and
|
|
58
|
-
* `sendTransaction({ data })`.
|
|
59
|
-
*/
|
|
60
|
-
calls?: DestinationCallsInput;
|
|
61
|
-
/**
|
|
62
|
-
* Callback fired when the mutation is successful
|
|
63
|
-
*/
|
|
64
|
-
onSuccess?: (data: SwapReturn, variables: TrailsSendTransactionVariables) => void;
|
|
65
|
-
/**
|
|
66
|
-
* Callback fired when the mutation encounters an error
|
|
67
|
-
*/
|
|
68
|
-
onError?: (error: Error, variables: TrailsSendTransactionVariables) => void;
|
|
69
|
-
/**
|
|
70
|
-
* Callback fired when the mutation is either successfully fetched or encounters an error
|
|
71
|
-
*/
|
|
72
|
-
onSettled?: (data: SwapReturn | undefined, error: Error | null, variables: TrailsSendTransactionVariables) => void;
|
|
73
|
-
/**
|
|
74
|
-
* Custom text for the receipt action button (default: "Transact Again")
|
|
75
|
-
*/
|
|
76
|
-
receiptActionButtonText?: string;
|
|
77
|
-
/**
|
|
78
|
-
* Custom callback when receipt action button is clicked
|
|
79
|
-
*/
|
|
80
|
-
onReceiptAction?: () => void;
|
|
81
|
-
};
|
|
82
|
-
export type UseTrailsSendTransactionReturnType = {
|
|
83
|
-
sendTransaction: (variables: TrailsSendTransactionVariables, callbacks?: {
|
|
84
|
-
onSuccess?: (data: SwapReturn) => void;
|
|
85
|
-
onError?: (error: Error) => void;
|
|
86
|
-
onSettled?: (data: SwapReturn | undefined, error: Error | null) => void;
|
|
87
|
-
}) => void;
|
|
88
|
-
sendTransactionAsync: (variables: TrailsSendTransactionVariables, callbacks?: {
|
|
89
|
-
onSuccess?: (data: SwapReturn) => void;
|
|
90
|
-
onError?: (error: Error) => void;
|
|
91
|
-
onSettled?: (data: SwapReturn | undefined, error: Error | null) => void;
|
|
92
|
-
}) => Promise<SwapReturn>;
|
|
93
|
-
retry: () => void;
|
|
94
|
-
data: SwapReturn | undefined;
|
|
95
|
-
error: Error | null;
|
|
96
|
-
isPending: boolean;
|
|
97
|
-
isSuccess: boolean;
|
|
98
|
-
isError: boolean;
|
|
99
|
-
isIdle: boolean;
|
|
100
|
-
status: "idle" | "pending" | "error" | "success";
|
|
101
|
-
reset: () => void;
|
|
102
|
-
variables: TrailsSendTransactionVariables | undefined;
|
|
103
|
-
};
|
|
104
|
-
/**
|
|
105
|
-
* Hook for creating, signing, and sending transactions with the Trails SDK.
|
|
106
|
-
*
|
|
107
|
-
* Native sends follow standard wallet send-transaction shape (`to` + raw wei
|
|
108
|
-
* `value`). ERC-20 / destination-token flows use human-readable decimal
|
|
109
|
-
* strings (`tokenAmount`, `fromAmount`) and open the Trails modal when the
|
|
110
|
-
* origin token/chain/amount must be selected by the user.
|
|
111
|
-
*
|
|
112
|
-
* Unlike `useQuote`, this hook cannot run as a disconnected preview: execution
|
|
113
|
-
* requires a connected wallet client with an account. The inherited
|
|
114
|
-
* `walletAddress` option is only a quote-owner fallback for `useQuote`; it is
|
|
115
|
-
* not a substitute for the signing wallet in this hook.
|
|
116
|
-
*
|
|
117
|
-
* @example
|
|
118
|
-
* ```ts
|
|
119
|
-
* // Simple usage
|
|
120
|
-
* const { sendTransaction } = useTrailsSendTransaction()
|
|
121
|
-
*
|
|
122
|
-
* // Send native token
|
|
123
|
-
* sendTransaction({
|
|
124
|
-
* to: '0xd2135CfB216b74109775236E36d4b433F1DF507B',
|
|
125
|
-
* value: parseEther('0.01'),
|
|
126
|
-
* })
|
|
127
|
-
*
|
|
128
|
-
* // Deposit 3 USDC to an Aave pool (Trails-specific)
|
|
129
|
-
* // Modal will open for user to select origin token/chain/amount
|
|
130
|
-
* sendTransaction({
|
|
131
|
-
* to: '0xaavePoolAddress',
|
|
132
|
-
* tokenAddress: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913', // USDC on Base
|
|
133
|
-
* tokenAmount: '3', // 3 USDC — human-readable, scaled internally
|
|
134
|
-
* data: '0x...', // Aave deposit calldata
|
|
135
|
-
* })
|
|
136
|
-
* ```
|
|
137
|
-
*/
|
|
138
|
-
export declare function useTrailsSendTransaction(params?: UseTrailsSendTransactionParameters): UseTrailsSendTransactionReturnType;
|
|
139
|
-
//# sourceMappingURL=useTrailsSendTransaction.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useTrailsSendTransaction.d.ts","sourceRoot":"","sources":["../../src/hooks/useTrailsSendTransaction.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,418 +0,0 @@
|
|
|
1
|
-
import { getFullErrorMessage as M, getIsUserRejectionError as J } from "../error.js";
|
|
2
|
-
import { logger as m } from "../logger/index.js";
|
|
3
|
-
import { getChainInfo as Y } from "../chains.js";
|
|
4
|
-
import { getExplorerUrl as q } from "../explorer.js";
|
|
5
|
-
import { addressEqual as an } from "../utils/address.js";
|
|
6
|
-
import { useSupportedTokens as Hn } from "../query/token.hooks.js";
|
|
7
|
-
import { getTokenPrice as Un } from "../query/price.queries.js";
|
|
8
|
-
import { TradeType as D } from "../transactionIntent/types.js";
|
|
9
|
-
import { checkSufficientToken as cn } from "../query/balance.fetchers.js";
|
|
10
|
-
import { balanceQueries as Z } from "../query/balance.queries.js";
|
|
11
|
-
import { useIndexerGatewayClient as On } from "../indexerClient.js";
|
|
12
|
-
import { findSupportedToken as ln } from "../widget/utils/tokens.js";
|
|
13
|
-
import { usePublicClientGetter as Wn } from "../query/chains.hooks.js";
|
|
14
|
-
import { useCommitIntent as Mn, useExecuteIntent as qn } from "../mutations.js";
|
|
15
|
-
import { prepareSend as $n } from "../prepareSend.js";
|
|
16
|
-
import { useTrailsModal as Bn } from "../widget/providers/TrailsModalProvider.js";
|
|
17
|
-
import { useTrails as Nn } from "../widget/providers/TrailsProvider.js";
|
|
18
|
-
import { useTrailsClient as Qn } from "../trailsClient.js";
|
|
19
|
-
import { prepareTrailsSendTransactionDestination as Vn } from "./prepareTrailsSendTransactionDestination.js";
|
|
20
|
-
import { erc20Abi as vn, formatUnits as Fn, parseUnits as dn, zeroAddress as y } from "viem";
|
|
21
|
-
import { useCallback as $, useRef as un } from "react";
|
|
22
|
-
import { useMutation as Xn, useQueryClient as _n } from "@tanstack/react-query";
|
|
23
|
-
import { useOptionalWalletCapabilities as jn, useTrailsWalletClient as Gn, useWalletChainId as Kn } from "@0xtrails/wallet";
|
|
24
|
-
function zn(l, C) {
|
|
25
|
-
return l?.length ? C.length === 0 ? l : l.map((d, B) => {
|
|
26
|
-
const w = C.find((A) => d.id && A.id ? A.id === d.id : A.label === d.label) ?? C[B];
|
|
27
|
-
return w ? {
|
|
28
|
-
...d,
|
|
29
|
-
...w
|
|
30
|
-
} : d;
|
|
31
|
-
}) : C;
|
|
32
|
-
}
|
|
33
|
-
function At(l) {
|
|
34
|
-
const C = jn(), d = Gn(), B = C?.session.session.activeAccount?.namespace ?? C?.namespace, w = Kn(), A = Qn(), N = Wn(), { trailsApiKey: mn, sequenceIndexerUrl: fn, sequenceMetadataUrl: hn } = Nn(), S = _n(), { openModal: b, setPendingSelection: Tn, setHostTransactionState: nn, setHostTransactionQuote: Q, setHostTransactionStates: x, setHostTransactionTimestamp: V, hostTransactionState: R, setReceiptActionButtonText: kn, setOnReceiptAction: gn, retryTransactionRef: An, repeatTransactionRef: wn, setLastOriginSelection: Cn } = Bn(), v = On(), { supportedTokens: tn } = Hn(), In = Mn(), En = qn(), H = un(null), U = un(void 0), h = $((n) => {
|
|
35
|
-
nn((e) => ({
|
|
36
|
-
status: n.status ?? e.status,
|
|
37
|
-
details: n.details === null ? void 0 : n.details ? {
|
|
38
|
-
...e.details,
|
|
39
|
-
...n.details
|
|
40
|
-
} : e.details,
|
|
41
|
-
error: n.error === null ? void 0 : n.error !== void 0 ? n.error : e.error,
|
|
42
|
-
result: n.result === null ? void 0 : n.result ? {
|
|
43
|
-
...e.result,
|
|
44
|
-
...n.result
|
|
45
|
-
} : e.result,
|
|
46
|
-
retryEnabled: n.retryEnabled !== void 0 ? n.retryEnabled : e.retryEnabled
|
|
47
|
-
}));
|
|
48
|
-
}, [nn]), en = async (n, e, o) => {
|
|
49
|
-
if (m.console.log("[trails-sdk] [useTrailsSendTransaction] Executing transaction", {
|
|
50
|
-
variables: n,
|
|
51
|
-
originSelection: e
|
|
52
|
-
}), B !== "eip155") throw new Error("Trails send flows currently require an EVM wallet. Connect an EVM wallet to continue.");
|
|
53
|
-
if (!d?.account) throw new Error("Wallet client not available. Please connect your wallet.");
|
|
54
|
-
if (!n.to) throw new Error("Transaction 'to' address is required.");
|
|
55
|
-
let r, a, u, I = !1;
|
|
56
|
-
if (e)
|
|
57
|
-
r = e.fromTokenAddress, a = e.fromChainId, u = e.fromAmount;
|
|
58
|
-
else if (n.fromTokenAddress && n.fromChainId && (n.fromAmount !== void 0 || n.fromAmountRaw !== void 0))
|
|
59
|
-
r = n.fromTokenAddress, a = n.fromChainId, u = (n.fromAmountRaw ?? n.fromAmount)?.toString(), I = n.fromAmountRaw !== void 0;
|
|
60
|
-
else if (n.to && n.value !== void 0) {
|
|
61
|
-
const t = w;
|
|
62
|
-
if (!t) throw new Error("Chain ID not available. Please connect your wallet.");
|
|
63
|
-
a = t, r = y, u = n.value.toString(), I = !0;
|
|
64
|
-
} else throw new Error("Origin token parameters are required. Please provide 'value' (native token), or 'fromTokenAddress'/'fromChainId'/'fromAmount' or 'fromAmountRaw' (ERC20 token), or select via modal.");
|
|
65
|
-
const T = n.toChainId ?? w;
|
|
66
|
-
let c, i, s, g, _ = !1;
|
|
67
|
-
if (n.tokenAddress && (n.tokenAmount !== void 0 || n.tokenAmountRaw !== void 0)) {
|
|
68
|
-
if (!T) throw new Error("Destination chain ID not available. Provide 'toChainId' or connect your wallet.");
|
|
69
|
-
c = n.tokenAddress, i = T, s = (n.tokenAmountRaw ?? n.tokenAmount)?.toString() ?? "", _ = n.tokenAmountRaw !== void 0, g = n.to;
|
|
70
|
-
} else if (n.to && n.value !== void 0) {
|
|
71
|
-
const t = w;
|
|
72
|
-
if (!t) throw new Error("Chain ID not available. Please connect your wallet.");
|
|
73
|
-
c = y, i = t, s = n.value.toString(), _ = !0, g = n.to;
|
|
74
|
-
} else throw new Error("Either 'value' or 'tokenAddress'/'tokenAmount' or 'tokenAmountRaw' must be provided.");
|
|
75
|
-
const O = n.tokenAddress && (n.tokenAmount !== void 0 || n.tokenAmountRaw !== void 0) ? D.EXACT_OUTPUT : D.EXACT_INPUT;
|
|
76
|
-
if (O === D.EXACT_INPUT && !u) throw new Error("Origin amount is required for this transaction. Please provide 'value' or 'fromAmount'.");
|
|
77
|
-
let j = [];
|
|
78
|
-
try {
|
|
79
|
-
j = (await S.ensureQueryData(Z.withPrices(d.account.address, v, A))).balances;
|
|
80
|
-
} catch (t) {
|
|
81
|
-
m.console.warn("[trails-sdk] [useTrailsSendTransaction] Error fetching balances, proceeding with zero balance", t), j = [];
|
|
82
|
-
}
|
|
83
|
-
const Sn = j.find((t) => t.chainId === a && (an(t.contractAddress, r) || !t.contractAddress && r === y))?.balance ?? "0";
|
|
84
|
-
let on = 0;
|
|
85
|
-
try {
|
|
86
|
-
const t = Y(a)?.nativeCurrency?.symbol ?? "";
|
|
87
|
-
t && (on = (await Un(A, {
|
|
88
|
-
tokenSymbol: t,
|
|
89
|
-
tokenAddress: y,
|
|
90
|
-
chainId: a
|
|
91
|
-
}))?.priceUsd ?? 0);
|
|
92
|
-
} catch (t) {
|
|
93
|
-
m.console.warn("[trails-sdk] [useTrailsSendTransaction] Error getting native token price", t);
|
|
94
|
-
}
|
|
95
|
-
const G = ln(tn, r, a), K = ln(tn, c, i), rn = N(a), z = N(i), sn = async (t, k) => {
|
|
96
|
-
try {
|
|
97
|
-
const E = k === a ? rn : k === i ? z : N(k);
|
|
98
|
-
return E ? an(t, y) ? Y(k)?.nativeCurrency?.decimals ?? null : await E.readContract({
|
|
99
|
-
address: t,
|
|
100
|
-
abi: vn,
|
|
101
|
-
functionName: "decimals"
|
|
102
|
-
}) : null;
|
|
103
|
-
} catch (E) {
|
|
104
|
-
return m.console.error(`[trails-sdk] Error fetching decimals on-chain for token ${t} on chain ${k}:`, E), null;
|
|
105
|
-
}
|
|
106
|
-
};
|
|
107
|
-
let p = n.fromDecimals ?? G?.decimals;
|
|
108
|
-
if (p == null && r) {
|
|
109
|
-
const t = await sn(r, a);
|
|
110
|
-
t !== null && (p = t);
|
|
111
|
-
}
|
|
112
|
-
if (p == null)
|
|
113
|
-
throw m.console.error("[trails-sdk] [useTrailsSendTransaction] Source token decimals not found:", {
|
|
114
|
-
originToken: G,
|
|
115
|
-
fromTokenAddress: r,
|
|
116
|
-
fromChainId: a
|
|
117
|
-
}), new Error(`Source token decimals could not be resolved for ${r} on chain ${a}. Pass \`fromDecimals\` explicitly, register the token via TrailsProvider's token list, or ensure the chain RPC is reachable.`);
|
|
118
|
-
let P = n.tokenDecimals ?? K?.decimals;
|
|
119
|
-
if (P == null && c) {
|
|
120
|
-
const t = await sn(c, i);
|
|
121
|
-
t !== null && (P = t);
|
|
122
|
-
}
|
|
123
|
-
if (P == null)
|
|
124
|
-
throw m.console.error("[trails-sdk] [useTrailsSendTransaction] Destination token decimals not found:", {
|
|
125
|
-
destinationToken: K,
|
|
126
|
-
toTokenAddress: c,
|
|
127
|
-
toChainId: i
|
|
128
|
-
}), new Error(`Destination token decimals could not be resolved for ${c} on chain ${i}. Pass \`tokenDecimals\` explicitly, register the token via TrailsProvider's token list, or ensure the chain RPC is reachable.`);
|
|
129
|
-
if (!I && u) try {
|
|
130
|
-
u = dn(u, p).toString();
|
|
131
|
-
} catch (t) {
|
|
132
|
-
throw new Error(`Invalid fromAmount "${u}". Pass a human-readable decimal string (e.g. "0.5"). Underlying error: ${t instanceof Error ? t.message : String(t)}`, { cause: t });
|
|
133
|
-
}
|
|
134
|
-
if (!_) try {
|
|
135
|
-
s = dn(s, P).toString();
|
|
136
|
-
} catch (t) {
|
|
137
|
-
throw new Error(`Invalid tokenAmount "${s}". Pass a human-readable decimal string (e.g. "3"). Underlying error: ${t instanceof Error ? t.message : String(t)}`, { cause: t });
|
|
138
|
-
}
|
|
139
|
-
const pn = O === D.EXACT_OUTPUT ? s : u, Pn = K?.symbol ?? "", Dn = G?.symbol ?? "", xn = (t) => {
|
|
140
|
-
o?.trackInWidget && x(zn(U.current, t)), l?.onStatusUpdate?.(t);
|
|
141
|
-
}, W = await Vn({
|
|
142
|
-
actions: l?.actions,
|
|
143
|
-
calls: l?.calls,
|
|
144
|
-
data: n.data,
|
|
145
|
-
recipient: g,
|
|
146
|
-
destinationTokenAddress: c,
|
|
147
|
-
destinationChain: i,
|
|
148
|
-
userWalletAddress: d.account.address,
|
|
149
|
-
sweepTarget: d.account.address,
|
|
150
|
-
trailsClient: A,
|
|
151
|
-
publicClient: z ?? null,
|
|
152
|
-
intentProtocolVersion: l?.intentProtocolVersion
|
|
153
|
-
}), { send: Rn, quote: L } = await $n({
|
|
154
|
-
queryClient: S,
|
|
155
|
-
account: d.account,
|
|
156
|
-
originTokenAddress: r,
|
|
157
|
-
originChainId: a,
|
|
158
|
-
originTokenBalance: Sn,
|
|
159
|
-
destinationChainId: i,
|
|
160
|
-
recipient: W.recipient,
|
|
161
|
-
destinationTokenAddress: c,
|
|
162
|
-
swapAmount: pn,
|
|
163
|
-
tradeType: O,
|
|
164
|
-
originTokenSymbol: Dn,
|
|
165
|
-
destinationTokenSymbol: Pn,
|
|
166
|
-
client: d,
|
|
167
|
-
trailsClient: A,
|
|
168
|
-
destinationCalldata: W.destinationCalldata,
|
|
169
|
-
onTransactionStateChange: xn,
|
|
170
|
-
sourceTokenDecimals: p,
|
|
171
|
-
destinationTokenDecimals: P,
|
|
172
|
-
slippageTolerance: l?.slippageTolerance?.toString(),
|
|
173
|
-
originNativeTokenPriceUsd: on,
|
|
174
|
-
swapProvider: l?.swapProvider,
|
|
175
|
-
bridgeProvider: l?.bridgeProvider,
|
|
176
|
-
commitIntentFn: (t) => In.mutateAsync(t),
|
|
177
|
-
executeIntentFn: En.mutateAsync,
|
|
178
|
-
checkoutOnHandlers: l?.checkoutOnHandlers,
|
|
179
|
-
sequenceIndexerUrl: fn,
|
|
180
|
-
sequenceMetadataUrl: hn,
|
|
181
|
-
sequenceProjectAccessKey: mn,
|
|
182
|
-
originPublicClient: rn ?? void 0,
|
|
183
|
-
destinationPublicClient: z ?? void 0,
|
|
184
|
-
isSmartWallet: l?.isSmartWallet ?? void 0,
|
|
185
|
-
intentProtocolVersion: W.intentProtocolVersion,
|
|
186
|
-
mode: l?.mode ?? void 0,
|
|
187
|
-
isMultiCallEncoding: W.isMultiCallEncoding
|
|
188
|
-
});
|
|
189
|
-
o?.trackInWidget && (Q(L ?? null), U.current = L?.transactionStates, x(L?.transactionStates ?? []), R.details || h({ details: {
|
|
190
|
-
to: g,
|
|
191
|
-
tokenAddress: c,
|
|
192
|
-
tokenAmount: O === D.EXACT_OUTPUT ? n.tokenAmount : void 0,
|
|
193
|
-
toChainId: i,
|
|
194
|
-
data: n.data
|
|
195
|
-
} }), (!R.status || R.status === "idle") && V(Date.now()));
|
|
196
|
-
try {
|
|
197
|
-
o?.trackInWidget && h({ retryEnabled: !1 });
|
|
198
|
-
const { depositUserTxnReceipt: t, destinationIntentTransaction: k, totalCompletionSeconds: E } = await Rn({
|
|
199
|
-
selectedFeeOption: null,
|
|
200
|
-
onOriginSend: () => {
|
|
201
|
-
o?.trackInWidget && h({
|
|
202
|
-
status: "pending",
|
|
203
|
-
error: null
|
|
204
|
-
});
|
|
205
|
-
}
|
|
206
|
-
});
|
|
207
|
-
return o?.trackInWidget && h({
|
|
208
|
-
status: "success",
|
|
209
|
-
result: {
|
|
210
|
-
originTxHash: t?.transactionHash,
|
|
211
|
-
originExplorerUrl: t?.transactionHash ? q({
|
|
212
|
-
txHash: t.transactionHash,
|
|
213
|
-
chainId: a
|
|
214
|
-
}) : void 0,
|
|
215
|
-
destinationTxHash: k?.txnHash,
|
|
216
|
-
destinationExplorerUrl: k?.txnHash ? q({
|
|
217
|
-
txHash: k.txnHash,
|
|
218
|
-
chainId: i
|
|
219
|
-
}) : void 0
|
|
220
|
-
}
|
|
221
|
-
}), {
|
|
222
|
-
originTransaction: {
|
|
223
|
-
transactionHash: t?.transactionHash,
|
|
224
|
-
explorerUrl: q({
|
|
225
|
-
txHash: t?.transactionHash,
|
|
226
|
-
chainId: a
|
|
227
|
-
}),
|
|
228
|
-
receipt: t
|
|
229
|
-
},
|
|
230
|
-
destinationTransaction: {
|
|
231
|
-
transactionHash: k?.txnHash,
|
|
232
|
-
explorerUrl: q({
|
|
233
|
-
txHash: k?.txnHash,
|
|
234
|
-
chainId: i
|
|
235
|
-
}),
|
|
236
|
-
receipt: k
|
|
237
|
-
},
|
|
238
|
-
totalCompletionSeconds: E
|
|
239
|
-
};
|
|
240
|
-
} catch (t) {
|
|
241
|
-
throw o?.trackInWidget && (J(t) ? h({
|
|
242
|
-
status: "confirmation",
|
|
243
|
-
error: null,
|
|
244
|
-
retryEnabled: !0
|
|
245
|
-
}) : h({
|
|
246
|
-
status: "error",
|
|
247
|
-
error: M(t),
|
|
248
|
-
retryEnabled: !1
|
|
249
|
-
})), t;
|
|
250
|
-
}
|
|
251
|
-
}, f = Xn({
|
|
252
|
-
mutationFn: async (n) => {
|
|
253
|
-
m.console.log("[trails-sdk] [useTrailsSendTransaction] Starting transaction", n), H.current = n, kn(l?.receiptActionButtonText ?? "Transact Again"), gn(() => l?.onReceiptAction ?? null);
|
|
254
|
-
const e = n.value !== void 0, o = e || n.fromTokenAddress !== void 0 && n.fromChainId !== void 0, r = n.toChainId ?? w;
|
|
255
|
-
if (!r) throw new Error("Destination chain ID not available. Provide 'toChainId' or connect your wallet.");
|
|
256
|
-
if (e && !w) throw new Error("Chain ID not available. Please connect your wallet.");
|
|
257
|
-
let a = !0, u = !0;
|
|
258
|
-
if (d?.account) try {
|
|
259
|
-
if (o) {
|
|
260
|
-
let T, c, i;
|
|
261
|
-
if (n.value !== void 0) {
|
|
262
|
-
T = y, c = w;
|
|
263
|
-
const s = Y(c)?.nativeCurrency?.decimals;
|
|
264
|
-
if (s === void 0) throw new Error(`Native currency decimals could not be resolved for chain ${c}. The chain isn't in the registry; pass \`fromDecimals\` explicitly or use a registered chain.`);
|
|
265
|
-
i = Fn(n.value, s);
|
|
266
|
-
} else n.fromTokenAddress && n.fromChainId && (T = n.fromTokenAddress, c = n.fromChainId, i = n.fromAmountRaw !== void 0 ? BigInt(n.fromAmountRaw) : n.fromAmount);
|
|
267
|
-
if (T && c && i && i !== "0") {
|
|
268
|
-
const { balances: s } = await S.ensureQueryData(Z.withPrices(d.account.address, v, A));
|
|
269
|
-
a = cn(s, T, i, c), m.console.log("[trails-sdk] [useTrailsSendTransaction] Origin token balance check:", {
|
|
270
|
-
tokenAddress: T,
|
|
271
|
-
amount: i,
|
|
272
|
-
chainId: c,
|
|
273
|
-
hasSufficientBalance: a
|
|
274
|
-
});
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
|
-
a && n.tokenAddress && n.tokenAmount && (u = cn((await S.ensureQueryData(Z.withPrices(d.account.address, v, A))).balances, n.tokenAddress, n.tokenAmount, r), m.console.log("[trails-sdk] [useTrailsSendTransaction] Destination token balance check:", {
|
|
278
|
-
tokenAddress: n.tokenAddress,
|
|
279
|
-
tokenAmount: n.tokenAmount,
|
|
280
|
-
chainId: r,
|
|
281
|
-
hasSufficientBalance: u
|
|
282
|
-
}));
|
|
283
|
-
} catch (T) {
|
|
284
|
-
m.console.warn("[trails-sdk] [useTrailsSendTransaction] Error checking balances, defaulting to origin selection:", T), a = !1, u = !1;
|
|
285
|
-
}
|
|
286
|
-
const I = !o || !a || !u;
|
|
287
|
-
if (m.console.log("[trails-sdk] [useTrailsSendTransaction] Origin selection decision:", {
|
|
288
|
-
hasOriginParams: o,
|
|
289
|
-
hasSufficientOriginBalance: a,
|
|
290
|
-
hasSufficientDestinationTokenBalance: u,
|
|
291
|
-
needsOriginSelection: I
|
|
292
|
-
}), I) {
|
|
293
|
-
const T = !(n.tokenAddress && (n.tokenAmount !== void 0 || n.tokenAmountRaw !== void 0));
|
|
294
|
-
return h({
|
|
295
|
-
status: "awaiting-origin",
|
|
296
|
-
details: {
|
|
297
|
-
to: n.to,
|
|
298
|
-
tokenAddress: n.tokenAddress,
|
|
299
|
-
tokenAmount: n.tokenAmount,
|
|
300
|
-
toChainId: r,
|
|
301
|
-
data: n.data
|
|
302
|
-
},
|
|
303
|
-
error: null,
|
|
304
|
-
result: null
|
|
305
|
-
}), Q(null), U.current = void 0, x([]), V(Date.now()), new Promise((c, i) => {
|
|
306
|
-
Tn({
|
|
307
|
-
resolve: async (s) => {
|
|
308
|
-
try {
|
|
309
|
-
H.current = {
|
|
310
|
-
...n,
|
|
311
|
-
fromTokenAddress: s.fromTokenAddress,
|
|
312
|
-
fromChainId: s.fromChainId,
|
|
313
|
-
fromAmount: s.fromAmount
|
|
314
|
-
}, Cn({
|
|
315
|
-
tokenAddress: s.fromTokenAddress,
|
|
316
|
-
chainId: s.fromChainId,
|
|
317
|
-
amount: s.fromAmount
|
|
318
|
-
}), h({ status: "confirmation" }), c(await en(n, s, { trackInWidget: !0 }));
|
|
319
|
-
} catch (g) {
|
|
320
|
-
J(g) || h({
|
|
321
|
-
status: "error",
|
|
322
|
-
error: M(g)
|
|
323
|
-
}), i(g);
|
|
324
|
-
}
|
|
325
|
-
},
|
|
326
|
-
reject: (s) => {
|
|
327
|
-
const g = s instanceof Error ? s : new Error(String(s));
|
|
328
|
-
h({
|
|
329
|
-
status: "error",
|
|
330
|
-
error: M(g)
|
|
331
|
-
}), i(g);
|
|
332
|
-
},
|
|
333
|
-
requireAmountInput: T
|
|
334
|
-
}), setTimeout(() => {
|
|
335
|
-
m.console.log("[trails-sdk] [useTrailsSendTransaction] Calling openModal()"), b();
|
|
336
|
-
}, 0);
|
|
337
|
-
});
|
|
338
|
-
}
|
|
339
|
-
return h({
|
|
340
|
-
status: "confirmation",
|
|
341
|
-
details: {
|
|
342
|
-
to: n.to,
|
|
343
|
-
tokenAddress: n.tokenAddress,
|
|
344
|
-
tokenAmount: n.tokenAmount,
|
|
345
|
-
toChainId: r,
|
|
346
|
-
data: n.data
|
|
347
|
-
},
|
|
348
|
-
error: null,
|
|
349
|
-
result: null
|
|
350
|
-
}), Q(null), U.current = void 0, x([]), V(Date.now()), b(), en(n, void 0, { trackInWidget: !0 });
|
|
351
|
-
},
|
|
352
|
-
onSuccess: (n, e) => {
|
|
353
|
-
m.console.log("[trails-sdk] [useTrailsSendTransaction] Transaction successful", {
|
|
354
|
-
data: n,
|
|
355
|
-
variables: e
|
|
356
|
-
}), S.invalidateQueries({ queryKey: ["prepareSend"] }), l?.onSuccess?.(n, e);
|
|
357
|
-
},
|
|
358
|
-
onError: (n, e) => {
|
|
359
|
-
m.console.error("[trails-sdk] [useTrailsSendTransaction] Transaction error", {
|
|
360
|
-
error: n,
|
|
361
|
-
variables: e
|
|
362
|
-
});
|
|
363
|
-
const o = M(n), r = J(n);
|
|
364
|
-
R.status !== "idle" && !r && h({
|
|
365
|
-
status: "error",
|
|
366
|
-
error: o
|
|
367
|
-
}), l?.onError?.(new Error(o), e);
|
|
368
|
-
},
|
|
369
|
-
onSettled: (n, e, o) => {
|
|
370
|
-
m.console.log("[trails-sdk] [useTrailsSendTransaction] Transaction settled", {
|
|
371
|
-
data: n,
|
|
372
|
-
error: e,
|
|
373
|
-
variables: o
|
|
374
|
-
}), l?.onSettled?.(n, e, o);
|
|
375
|
-
}
|
|
376
|
-
}), F = $((n, e) => {
|
|
377
|
-
f.mutate(n, {
|
|
378
|
-
onSuccess: (o) => {
|
|
379
|
-
e?.onSuccess?.(o);
|
|
380
|
-
},
|
|
381
|
-
onError: (o) => {
|
|
382
|
-
e?.onError?.(o);
|
|
383
|
-
},
|
|
384
|
-
onSettled: (o, r) => {
|
|
385
|
-
e?.onSettled?.(o, r);
|
|
386
|
-
}
|
|
387
|
-
});
|
|
388
|
-
}, [f]), yn = $(async (n, e) => f.mutateAsync(n, {
|
|
389
|
-
onSuccess: (o) => {
|
|
390
|
-
e?.onSuccess?.(o);
|
|
391
|
-
},
|
|
392
|
-
onError: (o) => {
|
|
393
|
-
e?.onError?.(o);
|
|
394
|
-
},
|
|
395
|
-
onSettled: (o, r) => {
|
|
396
|
-
e?.onSettled?.(o, r);
|
|
397
|
-
}
|
|
398
|
-
}), [f]), X = $(() => {
|
|
399
|
-
H.current && F(H.current);
|
|
400
|
-
}, [F]);
|
|
401
|
-
return An.current = X, wn.current = X, {
|
|
402
|
-
sendTransaction: F,
|
|
403
|
-
sendTransactionAsync: yn,
|
|
404
|
-
retry: X,
|
|
405
|
-
data: f.data,
|
|
406
|
-
error: f.error,
|
|
407
|
-
isPending: f.isPending,
|
|
408
|
-
isSuccess: f.isSuccess,
|
|
409
|
-
isError: f.isError,
|
|
410
|
-
isIdle: f.isIdle,
|
|
411
|
-
status: f.status,
|
|
412
|
-
reset: f.reset,
|
|
413
|
-
variables: f.variables
|
|
414
|
-
};
|
|
415
|
-
}
|
|
416
|
-
export {
|
|
417
|
-
At as useTrailsSendTransaction
|
|
418
|
-
};
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
export type Mode = "pay" | "fund" | "earn" | "swap" | "withdraw";
|
|
3
|
-
export type Screen = "connect" | "tokens" | "select-origin-token" | "select-origin-amount" | "send-form" | "fund-form" | "fund-methods" | "mesh-exchanges" | "mesh-exchange-confirmation" | "mesh-session-options" | "payment-methods" | "select-funding-wallet" | "onramp-payment-methods" | "recipients" | "earn-pools" | "earn" | "swap" | "withdraw" | "wallet-confirmation" | "qr-code-wallet-select" | "direct-transfer-screen" | "onramp-meld" | "pending" | "receipt" | "onramp-mesh" | "onramp-bluvo" | "wallet-connect" | "wallet-list" | "wallet-connection-pending" | "account-history" | "account-settings" | "user-preferences" | "chain-list" | "disconnect" | "qrcode-options" | "meld-history" | "onramp-confirmation";
|
|
4
|
-
export interface NavigationEvent {
|
|
5
|
-
from: Screen;
|
|
6
|
-
to: Screen;
|
|
7
|
-
}
|
|
8
|
-
export type NavigationListener = (event: NavigationEvent) => void;
|
|
9
|
-
export interface StackEntry {
|
|
10
|
-
screen: Screen;
|
|
11
|
-
backTarget?: Screen;
|
|
12
|
-
key: string;
|
|
13
|
-
timestamp: number;
|
|
14
|
-
}
|
|
15
|
-
export interface ViewState {
|
|
16
|
-
screen: Screen;
|
|
17
|
-
mode: Mode;
|
|
18
|
-
configuredMode: Mode;
|
|
19
|
-
stack: StackEntry[];
|
|
20
|
-
direction: "forward" | "backward" | "none";
|
|
21
|
-
screenData: Record<string, unknown> | null;
|
|
22
|
-
}
|
|
23
|
-
export type ViewAction = {
|
|
24
|
-
type: "NAVIGATE";
|
|
25
|
-
screen: Screen;
|
|
26
|
-
backTarget?: Screen;
|
|
27
|
-
data?: Record<string, unknown>;
|
|
28
|
-
} | {
|
|
29
|
-
type: "GO_BACK";
|
|
30
|
-
} | {
|
|
31
|
-
type: "SET_MODE";
|
|
32
|
-
mode: Mode;
|
|
33
|
-
} | {
|
|
34
|
-
type: "OVERRIDE_MODE";
|
|
35
|
-
mode: Mode;
|
|
36
|
-
} | {
|
|
37
|
-
type: "RESET_MODE";
|
|
38
|
-
} | {
|
|
39
|
-
type: "GO_HOME";
|
|
40
|
-
} | {
|
|
41
|
-
type: "RESET";
|
|
42
|
-
initialScreen?: Screen;
|
|
43
|
-
} | {
|
|
44
|
-
type: "GO_BACK_TO";
|
|
45
|
-
screen: Screen;
|
|
46
|
-
} | {
|
|
47
|
-
type: "REPLACE";
|
|
48
|
-
screen: Screen;
|
|
49
|
-
data?: Record<string, unknown>;
|
|
50
|
-
};
|
|
51
|
-
export declare function getInitialScreen(mode: Mode): Screen;
|
|
52
|
-
export declare function createEntryKey(): string;
|
|
53
|
-
export declare function viewReducer(state: ViewState, action: ViewAction): ViewState;
|
|
54
|
-
export declare function createInitialState(configuredMode: Mode): ViewState;
|
|
55
|
-
export interface ViewManagerContextValue {
|
|
56
|
-
state: ViewState;
|
|
57
|
-
dispatch: React.Dispatch<ViewAction>;
|
|
58
|
-
navigate: (screen: Screen, options?: {
|
|
59
|
-
backTarget?: Screen;
|
|
60
|
-
data?: Record<string, unknown>;
|
|
61
|
-
}) => void;
|
|
62
|
-
goBack: () => void;
|
|
63
|
-
goBackTo: (screen: Screen) => void;
|
|
64
|
-
replace: (screen: Screen, data?: Record<string, unknown>) => void;
|
|
65
|
-
goHome: () => void;
|
|
66
|
-
reset: (initialScreen?: Screen) => void;
|
|
67
|
-
overrideMode: (mode: Mode) => void;
|
|
68
|
-
resetMode: () => void;
|
|
69
|
-
subscribe: SubscribeFn;
|
|
70
|
-
canGoBack: boolean;
|
|
71
|
-
backScreen: Screen | null;
|
|
72
|
-
direction: "forward" | "backward" | "none";
|
|
73
|
-
mode: Mode;
|
|
74
|
-
configuredMode: Mode;
|
|
75
|
-
screen: Screen;
|
|
76
|
-
}
|
|
77
|
-
type SubscribeFn = (listener: NavigationListener) => () => void;
|
|
78
|
-
interface ViewManagerProviderProps {
|
|
79
|
-
children: ReactNode;
|
|
80
|
-
configuredMode: Mode;
|
|
81
|
-
}
|
|
82
|
-
export declare function ViewManagerProvider({ children, configuredMode, }: ViewManagerProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
83
|
-
export declare function useViewManager(): ViewManagerContextValue;
|
|
84
|
-
export declare function useNavigationEffect(callback: NavigationListener): void;
|
|
85
|
-
export declare function useScreenGuard(condition: boolean, target: Screen, options?: {
|
|
86
|
-
backTarget?: Screen;
|
|
87
|
-
}): boolean;
|
|
88
|
-
export {};
|
|
89
|
-
//# sourceMappingURL=useViewManager.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useViewManager.d.ts","sourceRoot":"","sources":["../../src/hooks/useViewManager.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGtC,MAAM,MAAM,IAAI,GAAG,KAAK,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,UAAU,CAAA;AAEhE,MAAM,MAAM,MAAM,GACd,SAAS,GACT,QAAQ,GACR,qBAAqB,GACrB,sBAAsB,GACtB,WAAW,GACX,WAAW,GACX,cAAc,GACd,gBAAgB,GAChB,4BAA4B,GAC5B,sBAAsB,GACtB,iBAAiB,GACjB,uBAAuB,GACvB,wBAAwB,GACxB,YAAY,GACZ,YAAY,GACZ,MAAM,GACN,MAAM,GACN,UAAU,GACV,qBAAqB,GACrB,uBAAuB,GACvB,wBAAwB,GACxB,aAAa,GACb,SAAS,GACT,SAAS,GACT,aAAa,GACb,cAAc,GACd,gBAAgB,GAChB,aAAa,GACb,2BAA2B,GAC3B,iBAAiB,GACjB,kBAAkB,GAClB,kBAAkB,GAClB,YAAY,GACZ,YAAY,GACZ,gBAAgB,GAChB,cAAc,GACd,qBAAqB,CAAA;AAEzB,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAA;IACZ,EAAE,EAAE,MAAM,CAAA;CACX;AAED,MAAM,MAAM,kBAAkB,GAAG,CAAC,KAAK,EAAE,eAAe,KAAK,IAAI,CAAA;AAEjE,MAAM,WAAW,UAAU;IACzB,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,GAAG,EAAE,MAAM,CAAA;IACX,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,WAAW,SAAS;IACxB,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,IAAI,CAAA;IACV,cAAc,EAAE,IAAI,CAAA;IACpB,KAAK,EAAE,UAAU,EAAE,CAAA;IACnB,SAAS,EAAE,SAAS,GAAG,UAAU,GAAG,MAAM,CAAA;IAC1C,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CAC3C;AAED,MAAM,MAAM,UAAU,GAClB;IACE,IAAI,EAAE,UAAU,CAAA;IAChB,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAC/B,GACD;IAAE,IAAI,EAAE,SAAS,CAAA;CAAE,GACnB;IAAE,IAAI,EAAE,UAAU,CAAC;IAAC,IAAI,EAAE,IAAI,CAAA;CAAE,GAChC;IAAE,IAAI,EAAE,eAAe,CAAC;IAAC,IAAI,EAAE,IAAI,CAAA;CAAE,GACrC;IAAE,IAAI,EAAE,YAAY,CAAA;CAAE,GACtB;IAAE,IAAI,EAAE,SAAS,CAAA;CAAE,GACnB;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,aAAa,CAAC,EAAE,MAAM,CAAA;CAAE,GACzC;IAAE,IAAI,EAAE,YAAY,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,GACtC;IAAE,IAAI,EAAE,SAAS,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAAE,CAAA;AAIvE,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,CAanD;AAED,wBAAgB,cAAc,IAAI,MAAM,CAQvC;AAWD,wBAAgB,WAAW,CAAC,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,GAAG,SAAS,CAsK3E;AAED,wBAAgB,kBAAkB,CAAC,cAAc,EAAE,IAAI,GAAG,SAAS,CAUlE;AAED,MAAM,WAAW,uBAAuB;IACtC,KAAK,EAAE,SAAS,CAAA;IAChB,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAA;IACpC,QAAQ,EAAE,CACR,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE;QAAE,UAAU,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;KAAE,KAC9D,IAAI,CAAA;IACT,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC,OAAO,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAA;IACjE,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,KAAK,EAAE,CAAC,aAAa,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;IACvC,YAAY,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAA;IAClC,SAAS,EAAE,MAAM,IAAI,CAAA;IACrB,SAAS,EAAE,WAAW,CAAA;IACtB,SAAS,EAAE,OAAO,CAAA;IAClB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,SAAS,EAAE,SAAS,GAAG,UAAU,GAAG,MAAM,CAAA;IAC1C,IAAI,EAAE,IAAI,CAAA;IACV,cAAc,EAAE,IAAI,CAAA;IACpB,MAAM,EAAE,MAAM,CAAA;CACf;AAED,KAAK,WAAW,GAAG,CAAC,QAAQ,EAAE,kBAAkB,KAAK,MAAM,IAAI,CAAA;AAI/D,UAAU,wBAAwB;IAChC,QAAQ,EAAE,SAAS,CAAA;IACnB,cAAc,EAAE,IAAI,CAAA;CACrB;AAED,wBAAgB,mBAAmB,CAAC,EAClC,QAAQ,EACR,cAAc,GACf,EAAE,wBAAwB,2CA+H1B;AAED,wBAAgB,cAAc,IAAI,uBAAuB,CAMxD;AAED,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,kBAAkB,QAQ/D;AAED,wBAAgB,cAAc,CAC5B,SAAS,EAAE,OAAO,EAClB,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE;IAAE,UAAU,CAAC,EAAE,MAAM,CAAA;CAAE,GAChC,OAAO,CAcT"}
|