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.
Files changed (1341) hide show
  1. package/README.md +488 -3
  2. package/dist/BluvoExchangeSelection.lazy-D6ynQVSb.js +1 -0
  3. package/dist/BluvoOnrampFlow.lazy-BcDqhGLi.js +143 -0
  4. package/dist/ConnectWalletCard-BkbHCcWi.js +26 -0
  5. package/dist/actionBuilder-CAS2u5wu.js +2 -0
  6. package/dist/actions/index.d.ts +7 -23
  7. package/dist/actions/index.js +1 -37
  8. package/dist/contractConstants-CvJrYK9v.js +1 -0
  9. package/dist/defineProperty-BbfpZ9Tg.js +1 -0
  10. package/dist/edge-DmNcuJar.d.ts +121 -0
  11. package/dist/edge-L_Lk1K6j.js +1 -0
  12. package/dist/hooks/index.d.ts +6 -38
  13. package/dist/hooks/index.js +1 -67
  14. package/dist/hydrate/index.d.ts +196 -8
  15. package/dist/hydrate/index.js +1 -19
  16. package/dist/hydrate-QyWqQfec.js +1 -0
  17. package/dist/iife/trails.min.js +7324 -0
  18. package/dist/index-CMdwQmYL.d.ts +1044 -0
  19. package/dist/index.d.ts +1023 -114
  20. package/dist/index.js +1 -317
  21. package/dist/multicall-BCUHt_9t.d.ts +148 -0
  22. package/dist/offlineRecovery-BfgccnFf.d.ts +1232 -0
  23. package/dist/plugins/edge.d.ts +4 -0
  24. package/dist/plugins/edge.js +1 -0
  25. package/dist/quoteError-CmTH5Qm2.d.ts +24 -0
  26. package/dist/src-Cy3oxYgV.js +94 -0
  27. package/dist/sushiswapV3-D3h41LNZ.d.ts +723 -0
  28. package/dist/tokenTypes-D812t5L9.d.ts +31 -0
  29. package/dist/types-BK0WkVnx.d.ts +2161 -0
  30. package/dist/useViewManager-BeUH_k1s.d.ts +1224 -0
  31. package/dist/{actions/utils.d.ts → utils-KPnWBA9x.d.ts} +77 -52
  32. package/dist/widget/connect-showcase.d.ts +8 -0
  33. package/dist/widget/connect-showcase.js +1 -0
  34. package/dist/widget/index.d.ts +5 -21
  35. package/dist/widget/index.js +1 -33
  36. package/package.json +42 -42
  37. package/dist/_virtual/_@oxc-project_runtime@0.126.0/helpers/defineProperty.js +0 -12
  38. package/dist/_virtual/_@oxc-project_runtime@0.126.0/helpers/toPrimitive.js +0 -14
  39. package/dist/_virtual/_@oxc-project_runtime@0.126.0/helpers/toPropertyKey.js +0 -9
  40. package/dist/_virtual/_@oxc-project_runtime@0.126.0/helpers/typeof.js +0 -11
  41. package/dist/abi.d.ts +0 -37
  42. package/dist/abi.d.ts.map +0 -1
  43. package/dist/abis/erc20.d.ts +0 -19
  44. package/dist/abis/erc20.d.ts.map +0 -1
  45. package/dist/abis/requireUtils.d.ts +0 -134
  46. package/dist/abis/requireUtils.d.ts.map +0 -1
  47. package/dist/abis/requireUtils.js +0 -168
  48. package/dist/abis/trailsHydrate.d.ts +0 -7
  49. package/dist/abis/trailsHydrate.d.ts.map +0 -1
  50. package/dist/abis/trailsRouter.d.ts +0 -30
  51. package/dist/abis/trailsRouter.d.ts.map +0 -1
  52. package/dist/abis/trailsRouter.js +0 -66
  53. package/dist/abis/trailsSweep.d.ts +0 -7
  54. package/dist/abis/trailsSweep.d.ts.map +0 -1
  55. package/dist/abortController.d.ts +0 -8
  56. package/dist/abortController.d.ts.map +0 -1
  57. package/dist/abortController.js +0 -23
  58. package/dist/actions/actionBuilder.d.ts +0 -424
  59. package/dist/actions/actionBuilder.d.ts.map +0 -1
  60. package/dist/actions/actionBuilder.js +0 -173
  61. package/dist/actions/constants.d.ts +0 -1809
  62. package/dist/actions/constants.d.ts.map +0 -1
  63. package/dist/actions/constants.js +0 -37
  64. package/dist/actions/custom-integrations/sushiswapV3/addresses.d.ts +0 -4
  65. package/dist/actions/custom-integrations/sushiswapV3/addresses.d.ts.map +0 -1
  66. package/dist/actions/custom-integrations/sushiswapV3/addresses.js +0 -33
  67. package/dist/actions/custom-integrations/sushiswapV3/calldata.d.ts +0 -4
  68. package/dist/actions/custom-integrations/sushiswapV3/calldata.d.ts.map +0 -1
  69. package/dist/actions/custom-integrations/sushiswapV3/calldata.js +0 -124
  70. package/dist/actions/custom-integrations/sushiswapV3/calls.d.ts +0 -28
  71. package/dist/actions/custom-integrations/sushiswapV3/calls.d.ts.map +0 -1
  72. package/dist/actions/custom-integrations/sushiswapV3/calls.js +0 -27
  73. package/dist/actions/custom-integrations/sushiswapV3/helpers.d.ts +0 -15
  74. package/dist/actions/custom-integrations/sushiswapV3/helpers.d.ts.map +0 -1
  75. package/dist/actions/custom-integrations/sushiswapV3/helpers.js +0 -27
  76. package/dist/actions/custom-integrations/sushiswapV3/sushiswapV3.d.ts +0 -9
  77. package/dist/actions/custom-integrations/sushiswapV3/sushiswapV3.d.ts.map +0 -1
  78. package/dist/actions/custom-integrations/sushiswapV3/sushiswapV3.js +0 -246
  79. package/dist/actions/custom-integrations/sushiswapV3/types.d.ts +0 -95
  80. package/dist/actions/custom-integrations/sushiswapV3/types.d.ts.map +0 -1
  81. package/dist/actions/custom-integrations/uniswapV3/addresses.d.ts +0 -4
  82. package/dist/actions/custom-integrations/uniswapV3/addresses.d.ts.map +0 -1
  83. package/dist/actions/custom-integrations/uniswapV3/addresses.js +0 -33
  84. package/dist/actions/custom-integrations/uniswapV3/calldata.d.ts +0 -4
  85. package/dist/actions/custom-integrations/uniswapV3/calldata.d.ts.map +0 -1
  86. package/dist/actions/custom-integrations/uniswapV3/calldata.js +0 -190
  87. package/dist/actions/custom-integrations/uniswapV3/calls.d.ts +0 -50
  88. package/dist/actions/custom-integrations/uniswapV3/calls.d.ts.map +0 -1
  89. package/dist/actions/custom-integrations/uniswapV3/calls.js +0 -27
  90. package/dist/actions/custom-integrations/uniswapV3/helpers.d.ts +0 -23
  91. package/dist/actions/custom-integrations/uniswapV3/helpers.d.ts.map +0 -1
  92. package/dist/actions/custom-integrations/uniswapV3/helpers.js +0 -27
  93. package/dist/actions/custom-integrations/uniswapV3/types.d.ts +0 -90
  94. package/dist/actions/custom-integrations/uniswapV3/types.d.ts.map +0 -1
  95. package/dist/actions/custom-integrations/uniswapV3/uniswapV3.d.ts +0 -9
  96. package/dist/actions/custom-integrations/uniswapV3/uniswapV3.d.ts.map +0 -1
  97. package/dist/actions/custom-integrations/uniswapV3/uniswapV3.js +0 -244
  98. package/dist/actions/destinationCalls.d.ts +0 -17
  99. package/dist/actions/destinationCalls.d.ts.map +0 -1
  100. package/dist/actions/destinationCalls.js +0 -43
  101. package/dist/actions/dynamic.d.ts +0 -97
  102. package/dist/actions/dynamic.d.ts.map +0 -1
  103. package/dist/actions/dynamic.js +0 -27
  104. package/dist/actions/hooks/useEarnBalances.d.ts +0 -53
  105. package/dist/actions/hooks/useEarnBalances.d.ts.map +0 -1
  106. package/dist/actions/hooks/useEarnBalances.js +0 -37
  107. package/dist/actions/hooks/useEarnMarkets.d.ts +0 -29
  108. package/dist/actions/hooks/useEarnMarkets.d.ts.map +0 -1
  109. package/dist/actions/hooks/useEarnMarkets.js +0 -30
  110. package/dist/actions/hooks/useEarnProviders.d.ts +0 -18
  111. package/dist/actions/hooks/useEarnProviders.d.ts.map +0 -1
  112. package/dist/actions/hooks/useEarnProviders.js +0 -25
  113. package/dist/actions/hooks/useResolveActions.d.ts +0 -19
  114. package/dist/actions/hooks/useResolveActions.d.ts.map +0 -1
  115. package/dist/actions/hooks/useResolveActions.js +0 -56
  116. package/dist/actions/index.d.ts.map +0 -1
  117. package/dist/actions/resolveActions.d.ts +0 -13
  118. package/dist/actions/resolveActions.d.ts.map +0 -1
  119. package/dist/actions/resolveActions.js +0 -267
  120. package/dist/actions/resolvers.d.ts +0 -29
  121. package/dist/actions/resolvers.d.ts.map +0 -1
  122. package/dist/actions/resolvers.js +0 -161
  123. package/dist/actions/types/earn.d.ts +0 -51
  124. package/dist/actions/types/earn.d.ts.map +0 -1
  125. package/dist/actions/types.d.ts +0 -319
  126. package/dist/actions/types.d.ts.map +0 -1
  127. package/dist/actions/types.js +0 -24
  128. package/dist/actions/utils.d.ts.map +0 -1
  129. package/dist/actions/utils.js +0 -203
  130. package/dist/adapters/evmAdapter.d.ts +0 -10
  131. package/dist/adapters/evmAdapter.d.ts.map +0 -1
  132. package/dist/adapters/evmAdapter.js +0 -28
  133. package/dist/analytics/hooks/useWidgetAnalytics.d.ts +0 -8
  134. package/dist/analytics/hooks/useWidgetAnalytics.d.ts.map +0 -1
  135. package/dist/analytics/hooks/useWidgetAnalytics.js +0 -41
  136. package/dist/analytics.d.ts +0 -715
  137. package/dist/analytics.d.ts.map +0 -1
  138. package/dist/analytics.js +0 -881
  139. package/dist/chainRegistry.d.ts +0 -6
  140. package/dist/chainRegistry.d.ts.map +0 -1
  141. package/dist/chainRegistry.js +0 -47
  142. package/dist/chainResolution.d.ts +0 -6
  143. package/dist/chainResolution.d.ts.map +0 -1
  144. package/dist/chainResolution.js +0 -53
  145. package/dist/chainRpcClient.d.ts +0 -8
  146. package/dist/chainRpcClient.d.ts.map +0 -1
  147. package/dist/chainRpcClient.js +0 -67
  148. package/dist/chainSwitch.d.ts +0 -7
  149. package/dist/chainSwitch.d.ts.map +0 -1
  150. package/dist/chainSwitch.js +0 -66
  151. package/dist/chains.d.ts +0 -59
  152. package/dist/chains.d.ts.map +0 -1
  153. package/dist/chains.js +0 -152
  154. package/dist/committedIntentStore.d.ts +0 -5
  155. package/dist/committedIntentStore.d.ts.map +0 -1
  156. package/dist/committedIntentStore.js +0 -52
  157. package/dist/config.d.ts +0 -2
  158. package/dist/config.d.ts.map +0 -1
  159. package/dist/configDefaults.d.ts +0 -7
  160. package/dist/configDefaults.d.ts.map +0 -1
  161. package/dist/configDefaults.js +0 -9
  162. package/dist/configStore.d.ts +0 -31
  163. package/dist/configStore.d.ts.map +0 -1
  164. package/dist/configStore.js +0 -53
  165. package/dist/constants.d.ts +0 -176
  166. package/dist/constants.d.ts.map +0 -1
  167. package/dist/constants.js +0 -184
  168. package/dist/contractConstants.d.ts +0 -8
  169. package/dist/contractConstants.d.ts.map +0 -1
  170. package/dist/contractConstants.js +0 -9
  171. package/dist/contractUtils.d.ts +0 -6
  172. package/dist/contractUtils.d.ts.map +0 -1
  173. package/dist/contractUtils.js +0 -19
  174. package/dist/cssUtils.d.ts +0 -2
  175. package/dist/cssUtils.d.ts.map +0 -1
  176. package/dist/cssUtils.js +0 -7
  177. package/dist/customChains.d.ts +0 -24
  178. package/dist/customChains.d.ts.map +0 -1
  179. package/dist/customChains.js +0 -20
  180. package/dist/customTokens.d.ts +0 -12
  181. package/dist/customTokens.d.ts.map +0 -1
  182. package/dist/customTokens.js +0 -64
  183. package/dist/decoders.d.ts +0 -69
  184. package/dist/decoders.d.ts.map +0 -1
  185. package/dist/decoders.js +0 -181
  186. package/dist/ens.d.ts +0 -20
  187. package/dist/ens.d.ts.map +0 -1
  188. package/dist/ens.js +0 -92
  189. package/dist/error.d.ts +0 -97
  190. package/dist/error.d.ts.map +0 -1
  191. package/dist/error.js +0 -298
  192. package/dist/estimate.d.ts +0 -78
  193. package/dist/estimate.d.ts.map +0 -1
  194. package/dist/estimate.js +0 -147
  195. package/dist/explorer.d.ts +0 -12
  196. package/dist/explorer.d.ts.map +0 -1
  197. package/dist/explorer.js +0 -15
  198. package/dist/fees.d.ts +0 -65
  199. package/dist/fees.d.ts.map +0 -1
  200. package/dist/fees.js +0 -165
  201. package/dist/gasless.d.ts +0 -123
  202. package/dist/gasless.d.ts.map +0 -1
  203. package/dist/gasless.js +0 -314
  204. package/dist/hooks/index.d.ts.map +0 -1
  205. package/dist/hooks/persistedToken.d.ts +0 -22
  206. package/dist/hooks/persistedToken.d.ts.map +0 -1
  207. package/dist/hooks/persistedToken.js +0 -65
  208. package/dist/hooks/prepareTrailsSendTransactionDestination.d.ts +0 -26
  209. package/dist/hooks/prepareTrailsSendTransactionDestination.d.ts.map +0 -1
  210. package/dist/hooks/prepareTrailsSendTransactionDestination.js +0 -33
  211. package/dist/hooks/useAmountUsd.d.ts +0 -12
  212. package/dist/hooks/useAmountUsd.d.ts.map +0 -1
  213. package/dist/hooks/useAmountUsd.js +0 -21
  214. package/dist/hooks/useBalanceVisible.d.ts +0 -15
  215. package/dist/hooks/useBalanceVisible.d.ts.map +0 -1
  216. package/dist/hooks/useBalanceVisible.js +0 -46
  217. package/dist/hooks/useBluvoTokenList.d.ts +0 -13
  218. package/dist/hooks/useBluvoTokenList.d.ts.map +0 -1
  219. package/dist/hooks/useBluvoTokenList.js +0 -57
  220. package/dist/hooks/useChainFilter.d.ts +0 -14
  221. package/dist/hooks/useChainFilter.d.ts.map +0 -1
  222. package/dist/hooks/useChainFilter.js +0 -24
  223. package/dist/hooks/useCheckout.d.ts +0 -80
  224. package/dist/hooks/useCheckout.d.ts.map +0 -1
  225. package/dist/hooks/useCheckout.js +0 -118
  226. package/dist/hooks/useClickTracking.d.ts +0 -12
  227. package/dist/hooks/useClickTracking.d.ts.map +0 -1
  228. package/dist/hooks/useClickTracking.js +0 -37
  229. package/dist/hooks/useCombinedHistory.d.ts +0 -50
  230. package/dist/hooks/useCombinedHistory.d.ts.map +0 -1
  231. package/dist/hooks/useCombinedHistory.js +0 -168
  232. package/dist/hooks/useCustomTokenSearch.d.ts +0 -28
  233. package/dist/hooks/useCustomTokenSearch.d.ts.map +0 -1
  234. package/dist/hooks/useCustomTokenSearch.js +0 -165
  235. package/dist/hooks/useDebounce.d.ts +0 -10
  236. package/dist/hooks/useDebounce.d.ts.map +0 -1
  237. package/dist/hooks/useDebounce.js +0 -15
  238. package/dist/hooks/useDebugScreens.d.ts +0 -17
  239. package/dist/hooks/useDebugScreens.d.ts.map +0 -1
  240. package/dist/hooks/useDebugScreens.js +0 -412
  241. package/dist/hooks/useDefaultDestinationToken.d.ts +0 -20
  242. package/dist/hooks/useDefaultDestinationToken.d.ts.map +0 -1
  243. package/dist/hooks/useDefaultDestinationToken.js +0 -60
  244. package/dist/hooks/useDefaultOriginToken.d.ts +0 -26
  245. package/dist/hooks/useDefaultOriginToken.d.ts.map +0 -1
  246. package/dist/hooks/useDefaultOriginToken.js +0 -120
  247. package/dist/hooks/useDepositMonitor.d.ts +0 -20
  248. package/dist/hooks/useDepositMonitor.d.ts.map +0 -1
  249. package/dist/hooks/useDepositMonitor.js +0 -54
  250. package/dist/hooks/useDestinationSelectedToken.d.ts +0 -38
  251. package/dist/hooks/useDestinationSelectedToken.d.ts.map +0 -1
  252. package/dist/hooks/useDestinationSelectedToken.js +0 -178
  253. package/dist/hooks/useDisplayCurrencyPreference.d.ts +0 -15
  254. package/dist/hooks/useDisplayCurrencyPreference.d.ts.map +0 -1
  255. package/dist/hooks/useDisplayCurrencyPreference.js +0 -57
  256. package/dist/hooks/useEarnPool.d.ts +0 -12
  257. package/dist/hooks/useEarnPool.d.ts.map +0 -1
  258. package/dist/hooks/useEarnPool.js +0 -21
  259. package/dist/hooks/useEffectiveFundBalance.d.ts +0 -28
  260. package/dist/hooks/useEffectiveFundBalance.d.ts.map +0 -1
  261. package/dist/hooks/useEffectiveFundBalance.js +0 -24
  262. package/dist/hooks/useExchangeFundingSelection.d.ts +0 -17
  263. package/dist/hooks/useExchangeFundingSelection.d.ts.map +0 -1
  264. package/dist/hooks/useExchangeFundingSelection.js +0 -25
  265. package/dist/hooks/useExecutingIntentsCount.d.ts +0 -15
  266. package/dist/hooks/useExecutingIntentsCount.d.ts.map +0 -1
  267. package/dist/hooks/useExternalFundingReceiptSync.d.ts +0 -11
  268. package/dist/hooks/useExternalFundingReceiptSync.d.ts.map +0 -1
  269. package/dist/hooks/useExternalFundingReceiptSync.js +0 -32
  270. package/dist/hooks/useFiatOnRampCurrencies.d.ts +0 -15
  271. package/dist/hooks/useFiatOnRampCurrencies.d.ts.map +0 -1
  272. package/dist/hooks/useFiatOnRampCurrencies.js +0 -14
  273. package/dist/hooks/useFiatSelectedCurrency.d.ts +0 -19
  274. package/dist/hooks/useFiatSelectedCurrency.d.ts.map +0 -1
  275. package/dist/hooks/useFiatSelectedCurrency.js +0 -55
  276. package/dist/hooks/useGetIntent.d.ts +0 -19
  277. package/dist/hooks/useGetIntent.d.ts.map +0 -1
  278. package/dist/hooks/useGetIntent.js +0 -26
  279. package/dist/hooks/useIntentReceiptBalances.d.ts +0 -16
  280. package/dist/hooks/useIntentReceiptBalances.d.ts.map +0 -1
  281. package/dist/hooks/useIntentReceiptBalances.js +0 -77
  282. package/dist/hooks/useIntentTransactionHistory.d.ts +0 -25
  283. package/dist/hooks/useIntentTransactionHistory.d.ts.map +0 -1
  284. package/dist/hooks/useIntentTransactionHistory.js +0 -357
  285. package/dist/hooks/useIsMobile.d.ts +0 -5
  286. package/dist/hooks/useIsMobile.d.ts.map +0 -1
  287. package/dist/hooks/useIsMobile.js +0 -21
  288. package/dist/hooks/useLocalePreference.d.ts +0 -21
  289. package/dist/hooks/useLocalePreference.d.ts.map +0 -1
  290. package/dist/hooks/useLocalePreference.js +0 -193
  291. package/dist/hooks/useMeldTransactionHistory.d.ts +0 -49
  292. package/dist/hooks/useMeldTransactionHistory.d.ts.map +0 -1
  293. package/dist/hooks/useMeldTransactionHistory.js +0 -71
  294. package/dist/hooks/useMeldTransactionStatus.d.ts +0 -61
  295. package/dist/hooks/useMeldTransactionStatus.d.ts.map +0 -1
  296. package/dist/hooks/useMeldTransactionStatus.js +0 -284
  297. package/dist/hooks/useOnRampCountryDefaults.d.ts +0 -18
  298. package/dist/hooks/useOnRampCountryDefaults.d.ts.map +0 -1
  299. package/dist/hooks/useOnRampCountryDefaults.js +0 -20
  300. package/dist/hooks/useOnRampPaymentMethods.d.ts +0 -15
  301. package/dist/hooks/useOnRampPaymentMethods.d.ts.map +0 -1
  302. package/dist/hooks/useOnRampPaymentMethods.js +0 -27
  303. package/dist/hooks/useOnRampProviderWidget.d.ts +0 -40
  304. package/dist/hooks/useOnRampProviderWidget.d.ts.map +0 -1
  305. package/dist/hooks/useOnRampProviderWidget.js +0 -70
  306. package/dist/hooks/useOnRampQuote.d.ts +0 -38
  307. package/dist/hooks/useOnRampQuote.d.ts.map +0 -1
  308. package/dist/hooks/useOnRampQuote.js +0 -159
  309. package/dist/hooks/useOnRampTransactionStatus.d.ts +0 -73
  310. package/dist/hooks/useOnRampTransactionStatus.d.ts.map +0 -1
  311. package/dist/hooks/useOriginSelectedToken.d.ts +0 -22
  312. package/dist/hooks/useOriginSelectedToken.d.ts.map +0 -1
  313. package/dist/hooks/useOriginSelectedToken.js +0 -127
  314. package/dist/hooks/usePayMessage.d.ts +0 -35
  315. package/dist/hooks/usePayMessage.d.ts.map +0 -1
  316. package/dist/hooks/usePayMessage.js +0 -333
  317. package/dist/hooks/usePriceImpactWarning.d.ts +0 -8
  318. package/dist/hooks/usePriceImpactWarning.d.ts.map +0 -1
  319. package/dist/hooks/usePriceImpactWarning.js +0 -9
  320. package/dist/hooks/useQuote.d.ts +0 -611
  321. package/dist/hooks/useQuote.d.ts.map +0 -1
  322. package/dist/hooks/useQuote.js +0 -590
  323. package/dist/hooks/useRecentChains.d.ts +0 -7
  324. package/dist/hooks/useRecentChains.d.ts.map +0 -1
  325. package/dist/hooks/useRecentChains.js +0 -52
  326. package/dist/hooks/useRecentTokens.d.ts +0 -7
  327. package/dist/hooks/useRecentTokens.d.ts.map +0 -1
  328. package/dist/hooks/useRecentTokens.js +0 -82
  329. package/dist/hooks/useRecipients.d.ts +0 -17
  330. package/dist/hooks/useRecipients.d.ts.map +0 -1
  331. package/dist/hooks/useRecipients.js +0 -75
  332. package/dist/hooks/useSelectedFeeOption.d.ts +0 -31
  333. package/dist/hooks/useSelectedFeeOption.d.ts.map +0 -1
  334. package/dist/hooks/useSelectedFeeOption.js +0 -113
  335. package/dist/hooks/useSelectedFundMethod.d.ts +0 -73
  336. package/dist/hooks/useSelectedFundMethod.d.ts.map +0 -1
  337. package/dist/hooks/useSelectedFundMethod.js +0 -51
  338. package/dist/hooks/useSelectedRecipient.d.ts +0 -12
  339. package/dist/hooks/useSelectedRecipient.d.ts.map +0 -1
  340. package/dist/hooks/useSelectedRecipient.js +0 -39
  341. package/dist/hooks/useSendForm.d.ts +0 -141
  342. package/dist/hooks/useSendForm.d.ts.map +0 -1
  343. package/dist/hooks/useSendForm.js +0 -595
  344. package/dist/hooks/useSwapAmount.d.ts +0 -13
  345. package/dist/hooks/useSwapAmount.d.ts.map +0 -1
  346. package/dist/hooks/useSwapAmount.js +0 -24
  347. package/dist/hooks/useSwapState.d.ts +0 -21
  348. package/dist/hooks/useSwapState.d.ts.map +0 -1
  349. package/dist/hooks/useSwapState.js +0 -44
  350. package/dist/hooks/useTargetAmount.d.ts +0 -6
  351. package/dist/hooks/useTargetAmount.d.ts.map +0 -1
  352. package/dist/hooks/useTargetAmount.js +0 -17
  353. package/dist/hooks/useTheme.d.ts +0 -14
  354. package/dist/hooks/useTheme.d.ts.map +0 -1
  355. package/dist/hooks/useTheme.js +0 -47
  356. package/dist/hooks/useTokenList.d.ts +0 -43
  357. package/dist/hooks/useTokenList.d.ts.map +0 -1
  358. package/dist/hooks/useTokenList.js +0 -456
  359. package/dist/hooks/useTrailsSendTransaction.d.ts +0 -139
  360. package/dist/hooks/useTrailsSendTransaction.d.ts.map +0 -1
  361. package/dist/hooks/useTrailsSendTransaction.js +0 -418
  362. package/dist/hooks/useViewManager.d.ts +0 -89
  363. package/dist/hooks/useViewManager.d.ts.map +0 -1
  364. package/dist/hooks/useViewManager.js +0 -274
  365. package/dist/hooks/useWalletConnectionContext.d.ts +0 -26
  366. package/dist/hooks/useWalletConnectionContext.d.ts.map +0 -1
  367. package/dist/hooks/useWalletConnectionContext.js +0 -53
  368. package/dist/hooks/useWidgetProps.d.ts +0 -13
  369. package/dist/hooks/useWidgetProps.d.ts.map +0 -1
  370. package/dist/hooks/useWidgetProps.js +0 -18
  371. package/dist/hydrate/builder.d.ts +0 -131
  372. package/dist/hydrate/builder.d.ts.map +0 -1
  373. package/dist/hydrate/builder.js +0 -210
  374. package/dist/hydrate/constants.d.ts +0 -13
  375. package/dist/hydrate/constants.d.ts.map +0 -1
  376. package/dist/hydrate/constants.js +0 -5
  377. package/dist/hydrate/encodeExecute.d.ts +0 -73
  378. package/dist/hydrate/encodeExecute.d.ts.map +0 -1
  379. package/dist/hydrate/encodeExecute.js +0 -60
  380. package/dist/hydrate/index.d.ts.map +0 -1
  381. package/dist/hydrate/multicall.d.ts +0 -69
  382. package/dist/hydrate/multicall.d.ts.map +0 -1
  383. package/dist/hydrate/multicall.js +0 -167
  384. package/dist/hydrate/payload.d.ts +0 -38
  385. package/dist/hydrate/payload.d.ts.map +0 -1
  386. package/dist/hydrate/payload.js +0 -26
  387. package/dist/hydrate/selectors.d.ts +0 -28
  388. package/dist/hydrate/selectors.d.ts.map +0 -1
  389. package/dist/hydrate/selectors.js +0 -326
  390. package/dist/hydrate/source.d.ts +0 -11
  391. package/dist/hydrate/source.d.ts.map +0 -1
  392. package/dist/hydrate/source.js +0 -19
  393. package/dist/hydrate/types.d.ts +0 -21
  394. package/dist/hydrate/types.d.ts.map +0 -1
  395. package/dist/hydrate/utils.d.ts +0 -8
  396. package/dist/hydrate/utils.d.ts.map +0 -1
  397. package/dist/hydrate/utils.js +0 -23
  398. package/dist/index.d.ts.map +0 -1
  399. package/dist/indexerClient.d.ts +0 -23
  400. package/dist/indexerClient.d.ts.map +0 -1
  401. package/dist/indexerClient.js +0 -40
  402. package/dist/intentConfigStore.d.ts +0 -8
  403. package/dist/intentConfigStore.d.ts.map +0 -1
  404. package/dist/intentConfigStore.js +0 -40
  405. package/dist/intentProtocolApi.d.ts +0 -11
  406. package/dist/intentProtocolApi.d.ts.map +0 -1
  407. package/dist/intentProtocolApi.js +0 -11
  408. package/dist/intentProtocolEncoding.d.ts +0 -30
  409. package/dist/intentProtocolEncoding.d.ts.map +0 -1
  410. package/dist/intentProtocolEncoding.js +0 -114
  411. package/dist/intentProtocolResolver.d.ts +0 -28
  412. package/dist/intentProtocolResolver.d.ts.map +0 -1
  413. package/dist/intentProtocolResolver.js +0 -34
  414. package/dist/intentReceiptMonitor.d.ts +0 -24
  415. package/dist/intentReceiptMonitor.d.ts.map +0 -1
  416. package/dist/intentReceiptMonitor.js +0 -30
  417. package/dist/intentReceiptPoller.d.ts +0 -69
  418. package/dist/intentReceiptPoller.d.ts.map +0 -1
  419. package/dist/intentReceiptPoller.js +0 -162
  420. package/dist/intentValidation.d.ts +0 -5
  421. package/dist/intentValidation.d.ts.map +0 -1
  422. package/dist/intentValidation.js +0 -19
  423. package/dist/intents.d.ts +0 -148
  424. package/dist/intents.d.ts.map +0 -1
  425. package/dist/intents.js +0 -391
  426. package/dist/keyMachineClient.d.ts +0 -9
  427. package/dist/keyMachineClient.d.ts.map +0 -1
  428. package/dist/keyMachineClient.js +0 -13
  429. package/dist/keymachine/index.d.ts +0 -34
  430. package/dist/keymachine/index.d.ts.map +0 -1
  431. package/dist/keymachine/index.js +0 -92
  432. package/dist/keymachine/key-machine.gen.d.ts +0 -461
  433. package/dist/keymachine/key-machine.gen.d.ts.map +0 -1
  434. package/dist/keymachine/key-machine.gen.js +0 -164
  435. package/dist/localeUtils.d.ts +0 -46
  436. package/dist/localeUtils.d.ts.map +0 -1
  437. package/dist/localeUtils.js +0 -60
  438. package/dist/logger/index.d.ts +0 -16
  439. package/dist/logger/index.d.ts.map +0 -1
  440. package/dist/logger/index.js +0 -57
  441. package/dist/logger/useSyncLoggerDebug.d.ts +0 -2
  442. package/dist/logger/useSyncLoggerDebug.d.ts.map +0 -1
  443. package/dist/logger/useSyncLoggerDebug.js +0 -9
  444. package/dist/logger.d.ts +0 -2
  445. package/dist/logger.d.ts.map +0 -1
  446. package/dist/meld/components/MeldCountriesList.d.ts +0 -9
  447. package/dist/meld/components/MeldCountriesList.d.ts.map +0 -1
  448. package/dist/meld/components/MeldCountriesList.js +0 -167
  449. package/dist/meld/components/MeldFundMethods.d.ts +0 -14
  450. package/dist/meld/components/MeldFundMethods.d.ts.map +0 -1
  451. package/dist/meld/components/MeldFundMethods.js +0 -163
  452. package/dist/meld/components/MeldProvidersList.d.ts +0 -11
  453. package/dist/meld/components/MeldProvidersList.d.ts.map +0 -1
  454. package/dist/meld/components/MeldProvidersList.js +0 -145
  455. package/dist/meld/components/MeldTokensList.d.ts +0 -12
  456. package/dist/meld/components/MeldTokensList.d.ts.map +0 -1
  457. package/dist/meld/components/MeldTokensList.js +0 -215
  458. package/dist/meld/components/SimpleHeader.d.ts +0 -8
  459. package/dist/meld/components/SimpleHeader.d.ts.map +0 -1
  460. package/dist/meld/components/SimpleHeader.js +0 -18
  461. package/dist/meld/utils/meld.d.ts +0 -41
  462. package/dist/meld/utils/meld.d.ts.map +0 -1
  463. package/dist/meld/utils/meld.js +0 -24
  464. package/dist/mutations.d.ts +0 -19
  465. package/dist/mutations.d.ts.map +0 -1
  466. package/dist/mutations.js +0 -91
  467. package/dist/offlineRecovery.d.ts +0 -24
  468. package/dist/offlineRecovery.d.ts.map +0 -1
  469. package/dist/offlineRecovery.js +0 -219
  470. package/dist/onramp/MeshConnectFlow.d.ts +0 -27
  471. package/dist/onramp/MeshConnectFlow.d.ts.map +0 -1
  472. package/dist/onramp/MeshConnectFlow.js +0 -41
  473. package/dist/onramp/MeshConnectIframe.d.ts +0 -22
  474. package/dist/onramp/MeshConnectIframe.d.ts.map +0 -1
  475. package/dist/onramp/MeshConnectIframe.js +0 -434
  476. package/dist/onramp/SendFromExchangeButton.d.ts +0 -16
  477. package/dist/onramp/SendFromExchangeButton.d.ts.map +0 -1
  478. package/dist/onramp/SendFromExchangeButton.js +0 -36
  479. package/dist/onramp/TrailsOnRampProvider.d.ts +0 -38
  480. package/dist/onramp/TrailsOnRampProvider.d.ts.map +0 -1
  481. package/dist/onramp/TrailsOnRampProvider.js +0 -25
  482. package/dist/onramp/bluvo/hooks/useBluvoFundingSelection.d.ts +0 -12
  483. package/dist/onramp/bluvo/hooks/useBluvoFundingSelection.d.ts.map +0 -1
  484. package/dist/onramp/bluvo/hooks/useBluvoFundingSelection.js +0 -18
  485. package/dist/onramp/index.d.ts +0 -13
  486. package/dist/onramp/index.d.ts.map +0 -1
  487. package/dist/onramp/mesh/components/MeshExchangeConfirmation.d.ts +0 -10
  488. package/dist/onramp/mesh/components/MeshExchangeConfirmation.d.ts.map +0 -1
  489. package/dist/onramp/mesh/components/MeshExchangeConfirmation.js +0 -62
  490. package/dist/onramp/mesh/components/MeshExchangeIcon.d.ts +0 -13
  491. package/dist/onramp/mesh/components/MeshExchangeIcon.d.ts.map +0 -1
  492. package/dist/onramp/mesh/components/MeshExchangeIcon.js +0 -54
  493. package/dist/onramp/mesh/components/MeshExchangeSelection.d.ts +0 -12
  494. package/dist/onramp/mesh/components/MeshExchangeSelection.d.ts.map +0 -1
  495. package/dist/onramp/mesh/components/MeshExchangeSelection.js +0 -135
  496. package/dist/onramp/mesh/components/MeshSessionOptions.d.ts +0 -15
  497. package/dist/onramp/mesh/components/MeshSessionOptions.d.ts.map +0 -1
  498. package/dist/onramp/mesh/components/MeshSessionOptions.js +0 -68
  499. package/dist/onramp/mesh/hooks/useMeshAccessTokens.d.ts +0 -9
  500. package/dist/onramp/mesh/hooks/useMeshAccessTokens.d.ts.map +0 -1
  501. package/dist/onramp/mesh/hooks/useMeshAccessTokens.js +0 -38
  502. package/dist/onramp/mesh/hooks/useMeshFundingSelection.d.ts +0 -11
  503. package/dist/onramp/mesh/hooks/useMeshFundingSelection.d.ts.map +0 -1
  504. package/dist/onramp/mesh/hooks/useMeshFundingSelection.js +0 -21
  505. package/dist/onramp/mesh/hooks/useMeshOnrampFlow.d.ts +0 -71
  506. package/dist/onramp/mesh/hooks/useMeshOnrampFlow.d.ts.map +0 -1
  507. package/dist/onramp/mesh/hooks/useMeshOnrampFlow.js +0 -168
  508. package/dist/onramp/mesh/hooks/useMeshOnrampSessionState.d.ts +0 -32
  509. package/dist/onramp/mesh/hooks/useMeshOnrampSessionState.d.ts.map +0 -1
  510. package/dist/onramp/mesh/hooks/useMeshOnrampSessionState.js +0 -28
  511. package/dist/onramp/mesh/hooks/useMeshSelectedTokenBalance.d.ts +0 -19
  512. package/dist/onramp/mesh/hooks/useMeshSelectedTokenBalance.d.ts.map +0 -1
  513. package/dist/onramp/mesh/hooks/useMeshSelectedTokenBalance.js +0 -57
  514. package/dist/onramp/mesh/hooks/useMeshSessionAccountBalance.d.ts +0 -15
  515. package/dist/onramp/mesh/hooks/useMeshSessionAccountBalance.d.ts.map +0 -1
  516. package/dist/onramp/mesh/hooks/useMeshSessionAccountBalance.js +0 -45
  517. package/dist/onramp/mesh/hooks/useMeshSessionStorage.d.ts +0 -7
  518. package/dist/onramp/mesh/hooks/useMeshSessionStorage.d.ts.map +0 -1
  519. package/dist/onramp/mesh/hooks/useMeshSessionStorage.js +0 -20
  520. package/dist/onramp/meshSessionStorage.d.ts +0 -13
  521. package/dist/onramp/meshSessionStorage.d.ts.map +0 -1
  522. package/dist/onramp/meshSessionStorage.js +0 -165
  523. package/dist/onramp/meshconnect.d.ts +0 -32
  524. package/dist/onramp/meshconnect.d.ts.map +0 -1
  525. package/dist/onramp/meshconnect.js +0 -124
  526. package/dist/onramp/trailsOnramp.d.ts +0 -32
  527. package/dist/onramp/trailsOnramp.d.ts.map +0 -1
  528. package/dist/onramp/trailsOnramp.js +0 -64
  529. package/dist/onramp-client/index.d.ts +0 -13
  530. package/dist/onramp-client/index.d.ts.map +0 -1
  531. package/dist/onramp-client/index.js +0 -19
  532. package/dist/onrampClient.d.ts +0 -10
  533. package/dist/onrampClient.d.ts.map +0 -1
  534. package/dist/onrampClient.js +0 -31
  535. package/dist/package.js +0 -123
  536. package/dist/placeholder.d.ts +0 -142
  537. package/dist/placeholder.d.ts.map +0 -1
  538. package/dist/placeholder.js +0 -95
  539. package/dist/poolUtils.d.ts +0 -16
  540. package/dist/poolUtils.d.ts.map +0 -1
  541. package/dist/poolUtils.js +0 -87
  542. package/dist/pools.d.ts +0 -33
  543. package/dist/pools.d.ts.map +0 -1
  544. package/dist/pools.js +0 -77
  545. package/dist/prepareSend.d.ts +0 -12
  546. package/dist/prepareSend.d.ts.map +0 -1
  547. package/dist/prepareSend.js +0 -207
  548. package/dist/query/QueryProvider.d.ts +0 -9
  549. package/dist/query/QueryProvider.d.ts.map +0 -1
  550. package/dist/query/QueryProvider.js +0 -13
  551. package/dist/query/balance.fetchers.d.ts +0 -116
  552. package/dist/query/balance.fetchers.d.ts.map +0 -1
  553. package/dist/query/balance.fetchers.js +0 -289
  554. package/dist/query/balance.hooks.d.ts +0 -80
  555. package/dist/query/balance.hooks.d.ts.map +0 -1
  556. package/dist/query/balance.hooks.js +0 -123
  557. package/dist/query/balance.queries.d.ts +0 -93
  558. package/dist/query/balance.queries.d.ts.map +0 -1
  559. package/dist/query/balance.queries.js +0 -142
  560. package/dist/query/chains.hooks.d.ts +0 -5
  561. package/dist/query/chains.hooks.d.ts.map +0 -1
  562. package/dist/query/chains.hooks.js +0 -40
  563. package/dist/query/chains.queries.d.ts +0 -16
  564. package/dist/query/chains.queries.d.ts.map +0 -1
  565. package/dist/query/chains.queries.js +0 -17
  566. package/dist/query/client.d.ts +0 -16
  567. package/dist/query/client.d.ts.map +0 -1
  568. package/dist/query/client.js +0 -15
  569. package/dist/query/fiat.fetchers.d.ts +0 -11
  570. package/dist/query/fiat.fetchers.d.ts.map +0 -1
  571. package/dist/query/fiat.fetchers.js +0 -10
  572. package/dist/query/fiat.hooks.d.ts +0 -18
  573. package/dist/query/fiat.hooks.d.ts.map +0 -1
  574. package/dist/query/fiat.hooks.js +0 -20
  575. package/dist/query/fiat.queries.d.ts +0 -24
  576. package/dist/query/fiat.queries.d.ts.map +0 -1
  577. package/dist/query/fiat.queries.js +0 -39
  578. package/dist/query/geo.fetchers.d.ts +0 -5
  579. package/dist/query/geo.fetchers.d.ts.map +0 -1
  580. package/dist/query/geo.fetchers.js +0 -61
  581. package/dist/query/geo.hooks.d.ts +0 -5
  582. package/dist/query/geo.hooks.d.ts.map +0 -1
  583. package/dist/query/geo.hooks.js +0 -17
  584. package/dist/query/geo.queries.d.ts +0 -22
  585. package/dist/query/geo.queries.d.ts.map +0 -1
  586. package/dist/query/geo.queries.js +0 -33
  587. package/dist/query/helpers.d.ts +0 -18
  588. package/dist/query/helpers.d.ts.map +0 -1
  589. package/dist/query/helpers.js +0 -31
  590. package/dist/query/intentProtocol.queries.d.ts +0 -32
  591. package/dist/query/intentProtocol.queries.d.ts.map +0 -1
  592. package/dist/query/intentProtocol.queries.js +0 -41
  593. package/dist/query/meld.fetchers.d.ts +0 -19
  594. package/dist/query/meld.fetchers.d.ts.map +0 -1
  595. package/dist/query/meld.fetchers.js +0 -41
  596. package/dist/query/meld.hooks.d.ts +0 -4
  597. package/dist/query/meld.hooks.d.ts.map +0 -1
  598. package/dist/query/meld.hooks.js +0 -15
  599. package/dist/query/meld.queries.d.ts +0 -61
  600. package/dist/query/meld.queries.d.ts.map +0 -1
  601. package/dist/query/meld.queries.js +0 -97
  602. package/dist/query/persister.d.ts +0 -9
  603. package/dist/query/persister.d.ts.map +0 -1
  604. package/dist/query/persister.js +0 -13
  605. package/dist/query/price.fetchers.d.ts +0 -15
  606. package/dist/query/price.fetchers.d.ts.map +0 -1
  607. package/dist/query/price.fetchers.js +0 -26
  608. package/dist/query/price.hooks.d.ts +0 -352
  609. package/dist/query/price.hooks.d.ts.map +0 -1
  610. package/dist/query/price.hooks.js +0 -35
  611. package/dist/query/price.queries.d.ts +0 -34
  612. package/dist/query/price.queries.d.ts.map +0 -1
  613. package/dist/query/price.queries.js +0 -139
  614. package/dist/query/serialization.d.ts +0 -3
  615. package/dist/query/serialization.d.ts.map +0 -1
  616. package/dist/query/serialization.js +0 -17
  617. package/dist/query/token.fetchers.d.ts +0 -13
  618. package/dist/query/token.fetchers.d.ts.map +0 -1
  619. package/dist/query/token.fetchers.js +0 -6
  620. package/dist/query/token.hooks.d.ts +0 -41
  621. package/dist/query/token.hooks.d.ts.map +0 -1
  622. package/dist/query/token.hooks.js +0 -68
  623. package/dist/query/token.queries.d.ts +0 -67
  624. package/dist/query/token.queries.d.ts.map +0 -1
  625. package/dist/query/token.queries.js +0 -144
  626. package/dist/queryParams.d.ts +0 -9
  627. package/dist/queryParams.d.ts.map +0 -1
  628. package/dist/queryParamsCore.d.ts +0 -2
  629. package/dist/queryParamsCore.d.ts.map +0 -1
  630. package/dist/queryParamsCore.js +0 -10
  631. package/dist/quoteError.d.ts +0 -22
  632. package/dist/quoteError.d.ts.map +0 -1
  633. package/dist/quoteError.js +0 -9
  634. package/dist/recover.d.ts +0 -304
  635. package/dist/recover.d.ts.map +0 -1
  636. package/dist/recover.js +0 -703
  637. package/dist/smartContractWallet.d.ts +0 -8
  638. package/dist/smartContractWallet.d.ts.map +0 -1
  639. package/dist/smartContractWallet.js +0 -11
  640. package/dist/theme.d.ts +0 -3
  641. package/dist/theme.d.ts.map +0 -1
  642. package/dist/toast.d.ts +0 -9
  643. package/dist/toast.d.ts.map +0 -1
  644. package/dist/toast.js +0 -31
  645. package/dist/tokenRegistry.d.ts +0 -50
  646. package/dist/tokenRegistry.d.ts.map +0 -1
  647. package/dist/tokenRegistry.js +0 -589
  648. package/dist/tokenTypes.d.ts +0 -29
  649. package/dist/tokenTypes.d.ts.map +0 -1
  650. package/dist/tokens.d.ts +0 -62
  651. package/dist/tokens.d.ts.map +0 -1
  652. package/dist/tokens.js +0 -370
  653. package/dist/trailsClient.d.ts +0 -11
  654. package/dist/trailsClient.d.ts.map +0 -1
  655. package/dist/trailsClient.js +0 -29
  656. package/dist/transactionIntent/constants.d.ts +0 -8
  657. package/dist/transactionIntent/constants.d.ts.map +0 -1
  658. package/dist/transactionIntent/constants.js +0 -11
  659. package/dist/transactionIntent/deposits/depositOrchestrator.d.ts +0 -55
  660. package/dist/transactionIntent/deposits/depositOrchestrator.d.ts.map +0 -1
  661. package/dist/transactionIntent/deposits/depositOrchestrator.js +0 -88
  662. package/dist/transactionIntent/deposits/gaslessDeposit.d.ts +0 -31
  663. package/dist/transactionIntent/deposits/gaslessDeposit.d.ts.map +0 -1
  664. package/dist/transactionIntent/deposits/gaslessDeposit.js +0 -218
  665. package/dist/transactionIntent/deposits/index.d.ts +0 -4
  666. package/dist/transactionIntent/deposits/index.d.ts.map +0 -1
  667. package/dist/transactionIntent/deposits/standardDeposit.d.ts +0 -50
  668. package/dist/transactionIntent/deposits/standardDeposit.d.ts.map +0 -1
  669. package/dist/transactionIntent/deposits/standardDeposit.js +0 -131
  670. package/dist/transactionIntent/execution/index.d.ts +0 -2
  671. package/dist/transactionIntent/execution/index.d.ts.map +0 -1
  672. package/dist/transactionIntent/execution/transactionState.d.ts +0 -5
  673. package/dist/transactionIntent/execution/transactionState.d.ts.map +0 -1
  674. package/dist/transactionIntent/execution/transactionState.js +0 -21
  675. package/dist/transactionIntent/handlers/index.d.ts +0 -2
  676. package/dist/transactionIntent/handlers/index.d.ts.map +0 -1
  677. package/dist/transactionIntent/handlers/intentHandler.d.ts +0 -71
  678. package/dist/transactionIntent/handlers/intentHandler.d.ts.map +0 -1
  679. package/dist/transactionIntent/handlers/intentHandler.js +0 -533
  680. package/dist/transactionIntent/helpers/index.d.ts +0 -2
  681. package/dist/transactionIntent/helpers/index.d.ts.map +0 -1
  682. package/dist/transactionIntent/helpers/transactionStateHelpers.d.ts +0 -68
  683. package/dist/transactionIntent/helpers/transactionStateHelpers.d.ts.map +0 -1
  684. package/dist/transactionIntent/helpers/transactionStateHelpers.js +0 -124
  685. package/dist/transactionIntent/index.d.ts +0 -10
  686. package/dist/transactionIntent/index.d.ts.map +0 -1
  687. package/dist/transactionIntent/quote/feeExtractors.d.ts +0 -13
  688. package/dist/transactionIntent/quote/feeExtractors.d.ts.map +0 -1
  689. package/dist/transactionIntent/quote/feeExtractors.js +0 -52
  690. package/dist/transactionIntent/quote/index.d.ts +0 -4
  691. package/dist/transactionIntent/quote/index.d.ts.map +0 -1
  692. package/dist/transactionIntent/quote/normalizeQuote.d.ts +0 -44
  693. package/dist/transactionIntent/quote/normalizeQuote.d.ts.map +0 -1
  694. package/dist/transactionIntent/quote/normalizeQuote.js +0 -214
  695. package/dist/transactionIntent/quote/quoteHelpers.d.ts +0 -6
  696. package/dist/transactionIntent/quote/quoteHelpers.d.ts.map +0 -1
  697. package/dist/transactionIntent/quote/quoteHelpers.js +0 -47
  698. package/dist/transactionIntent/types.d.ts +0 -181
  699. package/dist/transactionIntent/types.d.ts.map +0 -1
  700. package/dist/transactionIntent/types.js +0 -38
  701. package/dist/transactionIntent/utils/balanceChecker.d.ts +0 -20
  702. package/dist/transactionIntent/utils/balanceChecker.d.ts.map +0 -1
  703. package/dist/transactionIntent/utils/balanceChecker.js +0 -55
  704. package/dist/transactionIntent/utils/index.d.ts +0 -3
  705. package/dist/transactionIntent/utils/index.d.ts.map +0 -1
  706. package/dist/transactionIntent/utils/resilientDepositTracker.d.ts +0 -25
  707. package/dist/transactionIntent/utils/resilientDepositTracker.d.ts.map +0 -1
  708. package/dist/transactionIntent/utils/resilientDepositTracker.js +0 -62
  709. package/dist/transactionIntent/utils/testnetHelpers.d.ts +0 -2
  710. package/dist/transactionIntent/utils/testnetHelpers.d.ts.map +0 -1
  711. package/dist/transactionIntent/validators.d.ts +0 -4
  712. package/dist/transactionIntent/validators.d.ts.map +0 -1
  713. package/dist/transactionIntent/validators.js +0 -11
  714. package/dist/transactions.d.ts +0 -176
  715. package/dist/transactions.d.ts.map +0 -1
  716. package/dist/transactions.js +0 -115
  717. package/dist/umd/trails.min.js +0 -1251
  718. package/dist/utils/address.d.ts +0 -28
  719. package/dist/utils/address.d.ts.map +0 -1
  720. package/dist/utils/address.js +0 -30
  721. package/dist/utils/fiat.d.ts +0 -8
  722. package/dist/utils/fiat.d.ts.map +0 -1
  723. package/dist/utils/fiat.js +0 -30
  724. package/dist/utils/format.d.ts +0 -74
  725. package/dist/utils/format.d.ts.map +0 -1
  726. package/dist/utils/format.js +0 -274
  727. package/dist/utils/localStorageGc.d.ts +0 -22
  728. package/dist/utils/localStorageGc.d.ts.map +0 -1
  729. package/dist/utils/localStorageGc.js +0 -53
  730. package/dist/utils/passthrough.d.ts +0 -46
  731. package/dist/utils/passthrough.d.ts.map +0 -1
  732. package/dist/utils/passthrough.js +0 -20
  733. package/dist/utils/time.d.ts +0 -27
  734. package/dist/utils/time.d.ts.map +0 -1
  735. package/dist/utils/time.js +0 -68
  736. package/dist/utils/tokenResolution.d.ts +0 -19
  737. package/dist/utils/tokenResolution.d.ts.map +0 -1
  738. package/dist/utils/tokenResolution.js +0 -53
  739. package/dist/utils/validation.d.ts +0 -53
  740. package/dist/utils/validation.d.ts.map +0 -1
  741. package/dist/utils/validation.js +0 -80
  742. package/dist/utils.d.ts +0 -34
  743. package/dist/utils.d.ts.map +0 -1
  744. package/dist/utils.js +0 -58
  745. package/dist/version.d.ts +0 -3
  746. package/dist/version.d.ts.map +0 -1
  747. package/dist/version.js +0 -9
  748. package/dist/widget/assets/components/Aave.d.ts +0 -8
  749. package/dist/widget/assets/components/Aave.d.ts.map +0 -1
  750. package/dist/widget/assets/components/Aave.js +0 -29
  751. package/dist/widget/assets/components/ExchangeIconBlack.d.ts +0 -8
  752. package/dist/widget/assets/components/ExchangeIconBlack.d.ts.map +0 -1
  753. package/dist/widget/assets/components/FundMethodCardBrands.d.ts +0 -8
  754. package/dist/widget/assets/components/FundMethodCardBrands.d.ts.map +0 -1
  755. package/dist/widget/assets/components/FundMethodCardBrands.js +0 -49
  756. package/dist/widget/assets/components/FundMethodExchangeBrands.d.ts +0 -8
  757. package/dist/widget/assets/components/FundMethodExchangeBrands.d.ts.map +0 -1
  758. package/dist/widget/assets/components/FundMethodExchangeBrands.js +0 -37
  759. package/dist/widget/assets/components/MetaMaskIconFox.d.ts +0 -8
  760. package/dist/widget/assets/components/MetaMaskIconFox.d.ts.map +0 -1
  761. package/dist/widget/assets/components/MetaMaskIconFoxWithMargins.d.ts +0 -8
  762. package/dist/widget/assets/components/MetaMaskIconFoxWithMargins.d.ts.map +0 -1
  763. package/dist/widget/assets/components/MetaMaskLogoBlack.d.ts +0 -8
  764. package/dist/widget/assets/components/MetaMaskLogoBlack.d.ts.map +0 -1
  765. package/dist/widget/assets/components/MetaMaskLogoWhite.d.ts +0 -8
  766. package/dist/widget/assets/components/MetaMaskLogoWhite.d.ts.map +0 -1
  767. package/dist/widget/assets/components/Morpho.d.ts +0 -8
  768. package/dist/widget/assets/components/Morpho.d.ts.map +0 -1
  769. package/dist/widget/assets/components/Morpho.js +0 -51
  770. package/dist/widget/assets/components/TrailsBlack.d.ts +0 -8
  771. package/dist/widget/assets/components/TrailsBlack.d.ts.map +0 -1
  772. package/dist/widget/assets/components/TrailsBlack.js +0 -25
  773. package/dist/widget/assets/components/TrailsWhite.d.ts +0 -8
  774. package/dist/widget/assets/components/TrailsWhite.d.ts.map +0 -1
  775. package/dist/widget/assets/components/TrailsWhite.js +0 -25
  776. package/dist/widget/assets/components/WalletChangeBlack.d.ts +0 -8
  777. package/dist/widget/assets/components/WalletChangeBlack.d.ts.map +0 -1
  778. package/dist/widget/assets/components/WalletConnectLogo.d.ts +0 -8
  779. package/dist/widget/assets/components/WalletConnectLogo.d.ts.map +0 -1
  780. package/dist/widget/assets/components/WalletConnectLogoBlack.d.ts +0 -8
  781. package/dist/widget/assets/components/WalletConnectLogoBlack.d.ts.map +0 -1
  782. package/dist/widget/assets/components/WalletConnectLogoBlue.d.ts +0 -8
  783. package/dist/widget/assets/components/WalletConnectLogoBlue.d.ts.map +0 -1
  784. package/dist/widget/assets/components/WalletConnectLogoWhite.d.ts +0 -8
  785. package/dist/widget/assets/components/WalletConnectLogoWhite.d.ts.map +0 -1
  786. package/dist/widget/assets/components/index.d.ts +0 -17
  787. package/dist/widget/assets/components/index.d.ts.map +0 -1
  788. package/dist/widget/bluvo/bluvo-lib/BluvoCache.d.ts +0 -54
  789. package/dist/widget/bluvo/bluvo-lib/BluvoCache.d.ts.map +0 -1
  790. package/dist/widget/bluvo/bluvo-lib/BluvoCache.js +0 -68
  791. package/dist/widget/bluvo/bluvo-lib/BluvoFlowClient.d.ts +0 -386
  792. package/dist/widget/bluvo/bluvo-lib/BluvoFlowClient.d.ts.map +0 -1
  793. package/dist/widget/bluvo/bluvo-lib/BluvoFlowClient.js +0 -872
  794. package/dist/widget/bluvo/bluvo-lib/BluvoWebClient.d.ts +0 -192
  795. package/dist/widget/bluvo/bluvo-lib/BluvoWebClient.d.ts.map +0 -1
  796. package/dist/widget/bluvo/bluvo-lib/BluvoWebClient.js +0 -294
  797. package/dist/widget/bluvo/bluvo-lib/WebSocketClient.d.ts +0 -51
  798. package/dist/widget/bluvo/bluvo-lib/WebSocketClient.d.ts.map +0 -1
  799. package/dist/widget/bluvo/bluvo-lib/WebSocketClient.js +0 -72
  800. package/dist/widget/bluvo/bluvo-lib/WebsocketListener.d.ts +0 -19
  801. package/dist/widget/bluvo/bluvo-lib/WebsocketListener.d.ts.map +0 -1
  802. package/dist/widget/bluvo/bluvo-lib/WebsocketListener.js +0 -62
  803. package/dist/widget/bluvo/bluvo-lib/WorkflowTypes.d.ts +0 -44
  804. package/dist/widget/bluvo/bluvo-lib/WorkflowTypes.d.ts.map +0 -1
  805. package/dist/widget/bluvo/bluvo-lib/WorkflowTypes.js +0 -6
  806. package/dist/widget/bluvo/bluvo-lib/api.types.d.ts +0 -49
  807. package/dist/widget/bluvo/bluvo-lib/api.types.d.ts.map +0 -1
  808. package/dist/widget/bluvo/bluvo-lib/balanceTransform.d.ts +0 -84
  809. package/dist/widget/bluvo/bluvo-lib/balanceTransform.d.ts.map +0 -1
  810. package/dist/widget/bluvo/bluvo-lib/balanceTransform.js +0 -26
  811. package/dist/widget/bluvo/bluvo-lib/createMachine.d.ts +0 -3
  812. package/dist/widget/bluvo/bluvo-lib/createMachine.d.ts.map +0 -1
  813. package/dist/widget/bluvo/bluvo-lib/createMachine.js +0 -38
  814. package/dist/widget/bluvo/bluvo-lib/error-codes.d.ts +0 -156
  815. package/dist/widget/bluvo/bluvo-lib/error-codes.d.ts.map +0 -1
  816. package/dist/widget/bluvo/bluvo-lib/error-codes.js +0 -115
  817. package/dist/widget/bluvo/bluvo-lib/flow.types.d.ts +0 -356
  818. package/dist/widget/bluvo/bluvo-lib/flow.types.d.ts.map +0 -1
  819. package/dist/widget/bluvo/bluvo-lib/flowMachine.d.ts +0 -4
  820. package/dist/widget/bluvo/bluvo-lib/flowMachine.d.ts.map +0 -1
  821. package/dist/widget/bluvo/bluvo-lib/flowMachine.js +0 -45
  822. package/dist/widget/bluvo/bluvo-lib/flowMachine.types.d.ts +0 -20
  823. package/dist/widget/bluvo/bluvo-lib/flowMachine.types.d.ts.map +0 -1
  824. package/dist/widget/bluvo/bluvo-lib/flowStateHandlers.d.ts +0 -39
  825. package/dist/widget/bluvo/bluvo-lib/flowStateHandlers.d.ts.map +0 -1
  826. package/dist/widget/bluvo/bluvo-lib/flowStateHandlers.js +0 -395
  827. package/dist/widget/bluvo/bluvo-lib/index.d.ts +0 -5
  828. package/dist/widget/bluvo/bluvo-lib/index.d.ts.map +0 -1
  829. package/dist/widget/bluvo/bluvo-lib/machine.types.d.ts +0 -15
  830. package/dist/widget/bluvo/bluvo-lib/machine.types.d.ts.map +0 -1
  831. package/dist/widget/bluvo/bluvo-lib/stateHelpers.d.ts +0 -23
  832. package/dist/widget/bluvo/bluvo-lib/stateHelpers.d.ts.map +0 -1
  833. package/dist/widget/bluvo/bluvo-lib/stateHelpers.js +0 -24
  834. package/dist/widget/bluvo/bluvo-lib/useBluvoFlow.d.ts +0 -325
  835. package/dist/widget/bluvo/bluvo-lib/useBluvoFlow.d.ts.map +0 -1
  836. package/dist/widget/bluvo/bluvo-lib/useBluvoFlow.js +0 -152
  837. package/dist/widget/bluvo/bluvo-lib/useFlowMachine.d.ts +0 -11
  838. package/dist/widget/bluvo/bluvo-lib/useFlowMachine.d.ts.map +0 -1
  839. package/dist/widget/bluvo/bluvo-lib/useFlowMachine.js +0 -25
  840. package/dist/widget/bluvo/bluvo-lib/useWithdrawMachine.d.ts +0 -17
  841. package/dist/widget/bluvo/bluvo-lib/useWithdrawMachine.d.ts.map +0 -1
  842. package/dist/widget/bluvo/bluvo-lib/withdrawal.types.d.ts +0 -46
  843. package/dist/widget/bluvo/bluvo-lib/withdrawal.types.d.ts.map +0 -1
  844. package/dist/widget/bluvo/bluvo-lib/withdrawalErrorHandler.d.ts +0 -29
  845. package/dist/widget/bluvo/bluvo-lib/withdrawalErrorHandler.d.ts.map +0 -1
  846. package/dist/widget/bluvo/bluvo-lib/withdrawalErrorHandler.js +0 -95
  847. package/dist/widget/bluvo/bluvo-lib/withdrawalMachine.d.ts +0 -3
  848. package/dist/widget/bluvo/bluvo-lib/withdrawalMachine.d.ts.map +0 -1
  849. package/dist/widget/bluvo/bluvo-lib/withdrawalMachine.js +0 -137
  850. package/dist/widget/bluvo/index.d.ts +0 -2
  851. package/dist/widget/bluvo/index.d.ts.map +0 -1
  852. package/dist/widget/components/AccountActionsDropdown.d.ts +0 -4
  853. package/dist/widget/components/AccountActionsDropdown.d.ts.map +0 -1
  854. package/dist/widget/components/AccountActionsDropdown.js +0 -23
  855. package/dist/widget/components/AccountIntentTransactionHistory.d.ts +0 -9
  856. package/dist/widget/components/AccountIntentTransactionHistory.d.ts.map +0 -1
  857. package/dist/widget/components/AccountIntentTransactionHistory.js +0 -426
  858. package/dist/widget/components/AccountIntentTransactionHistoryButton.d.ts +0 -4
  859. package/dist/widget/components/AccountIntentTransactionHistoryButton.d.ts.map +0 -1
  860. package/dist/widget/components/AccountIntentTransactionHistoryButton.js +0 -23
  861. package/dist/widget/components/AccountSettings.d.ts +0 -7
  862. package/dist/widget/components/AccountSettings.d.ts.map +0 -1
  863. package/dist/widget/components/AccountSettings.js +0 -106
  864. package/dist/widget/components/AddressOrEnsName.d.ts +0 -13
  865. package/dist/widget/components/AddressOrEnsName.d.ts.map +0 -1
  866. package/dist/widget/components/AddressOrEnsName.js +0 -13
  867. package/dist/widget/components/AddressWalletIcon.d.ts +0 -8
  868. package/dist/widget/components/AddressWalletIcon.d.ts.map +0 -1
  869. package/dist/widget/components/AddressWalletIcon.js +0 -32
  870. package/dist/widget/components/AllChainsIcon.d.ts +0 -9
  871. package/dist/widget/components/AllChainsIcon.d.ts.map +0 -1
  872. package/dist/widget/components/AllChainsIcon.js +0 -98
  873. package/dist/widget/components/BluvoExchangeSelection.d.ts +0 -12
  874. package/dist/widget/components/BluvoExchangeSelection.d.ts.map +0 -1
  875. package/dist/widget/components/BluvoExchangeSelection.js +0 -131
  876. package/dist/widget/components/BluvoExchangeSelection.lazy.d.ts +0 -2
  877. package/dist/widget/components/BluvoExchangeSelection.lazy.d.ts.map +0 -1
  878. package/dist/widget/components/BluvoExchangeSelection.lazy.js +0 -4
  879. package/dist/widget/components/BluvoOnrampFlow.d.ts +0 -20
  880. package/dist/widget/components/BluvoOnrampFlow.d.ts.map +0 -1
  881. package/dist/widget/components/BluvoOnrampFlow.js +0 -1472
  882. package/dist/widget/components/BluvoOnrampFlow.lazy.d.ts +0 -2
  883. package/dist/widget/components/BluvoOnrampFlow.lazy.d.ts.map +0 -1
  884. package/dist/widget/components/BluvoOnrampFlow.lazy.js +0 -4
  885. package/dist/widget/components/ChainFilterDropdown.d.ts +0 -17
  886. package/dist/widget/components/ChainFilterDropdown.d.ts.map +0 -1
  887. package/dist/widget/components/ChainFilterDropdown.js +0 -124
  888. package/dist/widget/components/ChainImage.d.ts +0 -8
  889. package/dist/widget/components/ChainImage.d.ts.map +0 -1
  890. package/dist/widget/components/ChainImage.js +0 -24
  891. package/dist/widget/components/ChainList.d.ts +0 -9
  892. package/dist/widget/components/ChainList.d.ts.map +0 -1
  893. package/dist/widget/components/ChainList.js +0 -177
  894. package/dist/widget/components/ClassicSwap.d.ts +0 -10
  895. package/dist/widget/components/ClassicSwap.d.ts.map +0 -1
  896. package/dist/widget/components/ClassicSwap.js +0 -786
  897. package/dist/widget/components/ConfigDisplay.d.ts +0 -7
  898. package/dist/widget/components/ConfigDisplay.d.ts.map +0 -1
  899. package/dist/widget/components/ConfigDisplay.js +0 -122
  900. package/dist/widget/components/ConnectWallet.d.ts +0 -12
  901. package/dist/widget/components/ConnectWallet.d.ts.map +0 -1
  902. package/dist/widget/components/ConnectWallet.js +0 -215
  903. package/dist/widget/components/ConnectedWallets.d.ts +0 -19
  904. package/dist/widget/components/ConnectedWallets.d.ts.map +0 -1
  905. package/dist/widget/components/ConnectedWallets.js +0 -149
  906. package/dist/widget/components/CopyButton.d.ts +0 -18
  907. package/dist/widget/components/CopyButton.d.ts.map +0 -1
  908. package/dist/widget/components/CopyButton.js +0 -51
  909. package/dist/widget/components/CountryFilterDropdown.d.ts +0 -15
  910. package/dist/widget/components/CountryFilterDropdown.d.ts.map +0 -1
  911. package/dist/widget/components/CountryFilterDropdown.js +0 -93
  912. package/dist/widget/components/DebugMenu.d.ts +0 -7
  913. package/dist/widget/components/DebugMenu.d.ts.map +0 -1
  914. package/dist/widget/components/DebugMenu.js +0 -33
  915. package/dist/widget/components/DebugScreensList.d.ts +0 -7
  916. package/dist/widget/components/DebugScreensList.d.ts.map +0 -1
  917. package/dist/widget/components/DebugScreensList.js +0 -56
  918. package/dist/widget/components/DebugToast.d.ts +0 -3
  919. package/dist/widget/components/DebugToast.d.ts.map +0 -1
  920. package/dist/widget/components/DebugToast.js +0 -46
  921. package/dist/widget/components/DepositTracker.d.ts +0 -13
  922. package/dist/widget/components/DepositTracker.d.ts.map +0 -1
  923. package/dist/widget/components/DepositTracker.js +0 -194
  924. package/dist/widget/components/DirectTransfer.d.ts +0 -15
  925. package/dist/widget/components/DirectTransfer.d.ts.map +0 -1
  926. package/dist/widget/components/DirectTransfer.js +0 -218
  927. package/dist/widget/components/Disconnect.d.ts +0 -8
  928. package/dist/widget/components/Disconnect.d.ts.map +0 -1
  929. package/dist/widget/components/Disconnect.js +0 -37
  930. package/dist/widget/components/DynamicInputStyles.d.ts +0 -22
  931. package/dist/widget/components/DynamicInputStyles.d.ts.map +0 -1
  932. package/dist/widget/components/DynamicInputStyles.js +0 -27
  933. package/dist/widget/components/DynamicSizeInputField.d.ts +0 -17
  934. package/dist/widget/components/DynamicSizeInputField.d.ts.map +0 -1
  935. package/dist/widget/components/DynamicSizeInputField.js +0 -125
  936. package/dist/widget/components/ENSAvatar.d.ts +0 -12
  937. package/dist/widget/components/ENSAvatar.d.ts.map +0 -1
  938. package/dist/widget/components/ENSAvatar.js +0 -22
  939. package/dist/widget/components/Earn.d.ts +0 -33
  940. package/dist/widget/components/Earn.d.ts.map +0 -1
  941. package/dist/widget/components/Earn.js +0 -79
  942. package/dist/widget/components/EarnMarkets.d.ts +0 -9
  943. package/dist/widget/components/EarnMarkets.d.ts.map +0 -1
  944. package/dist/widget/components/EarnMarkets.js +0 -313
  945. package/dist/widget/components/EarnPools.d.ts +0 -8
  946. package/dist/widget/components/EarnPools.d.ts.map +0 -1
  947. package/dist/widget/components/EarnPools.js +0 -256
  948. package/dist/widget/components/EarnPoolsFilters.d.ts +0 -18
  949. package/dist/widget/components/EarnPoolsFilters.d.ts.map +0 -1
  950. package/dist/widget/components/EarnPoolsFilters.js +0 -106
  951. package/dist/widget/components/EarnWithdraw.d.ts +0 -21
  952. package/dist/widget/components/EarnWithdraw.d.ts.map +0 -1
  953. package/dist/widget/components/EarnWithdraw.js +0 -477
  954. package/dist/widget/components/ErrorAnimationIcon.d.ts +0 -2
  955. package/dist/widget/components/ErrorAnimationIcon.d.ts.map +0 -1
  956. package/dist/widget/components/ErrorAnimationIcon.js +0 -148
  957. package/dist/widget/components/ErrorDisplay.d.ts +0 -9
  958. package/dist/widget/components/ErrorDisplay.d.ts.map +0 -1
  959. package/dist/widget/components/ErrorDisplay.js +0 -104
  960. package/dist/widget/components/ExecutingIntentsBadge.d.ts +0 -12
  961. package/dist/widget/components/ExecutingIntentsBadge.d.ts.map +0 -1
  962. package/dist/widget/components/ExecutionStatusBadge.d.ts +0 -5
  963. package/dist/widget/components/ExecutionStatusBadge.d.ts.map +0 -1
  964. package/dist/widget/components/ExecutionStatusBadge.js +0 -45
  965. package/dist/widget/components/FeeOption.d.ts +0 -20
  966. package/dist/widget/components/FeeOption.d.ts.map +0 -1
  967. package/dist/widget/components/FeeOption.js +0 -71
  968. package/dist/widget/components/FeeOptions.d.ts +0 -20
  969. package/dist/widget/components/FeeOptions.d.ts.map +0 -1
  970. package/dist/widget/components/FeeOptions.js +0 -99
  971. package/dist/widget/components/FiatSelector.d.ts +0 -18
  972. package/dist/widget/components/FiatSelector.d.ts.map +0 -1
  973. package/dist/widget/components/FiatSelector.js +0 -171
  974. package/dist/widget/components/FiatSelectorButton.d.ts +0 -11
  975. package/dist/widget/components/FiatSelectorButton.d.ts.map +0 -1
  976. package/dist/widget/components/FiatSelectorButton.js +0 -41
  977. package/dist/widget/components/Footer.d.ts +0 -7
  978. package/dist/widget/components/Footer.d.ts.map +0 -1
  979. package/dist/widget/components/Footer.js +0 -71
  980. package/dist/widget/components/Fund.d.ts +0 -19
  981. package/dist/widget/components/Fund.d.ts.map +0 -1
  982. package/dist/widget/components/Fund.js +0 -16
  983. package/dist/widget/components/Fund.types.d.ts +0 -22
  984. package/dist/widget/components/Fund.types.d.ts.map +0 -1
  985. package/dist/widget/components/FundExactInput.d.ts +0 -5
  986. package/dist/widget/components/FundExactInput.d.ts.map +0 -1
  987. package/dist/widget/components/FundExactInput.js +0 -1116
  988. package/dist/widget/components/FundExactOutput.d.ts +0 -5
  989. package/dist/widget/components/FundExactOutput.d.ts.map +0 -1
  990. package/dist/widget/components/FundExactOutput.js +0 -498
  991. package/dist/widget/components/FundMethods.d.ts +0 -15
  992. package/dist/widget/components/FundMethods.d.ts.map +0 -1
  993. package/dist/widget/components/FundMethods.js +0 -219
  994. package/dist/widget/components/FundWalletSelection.d.ts +0 -3
  995. package/dist/widget/components/FundWalletSelection.d.ts.map +0 -1
  996. package/dist/widget/components/FundWalletSelection.js +0 -38
  997. package/dist/widget/components/FundingMethodSelectorButton.d.ts +0 -11
  998. package/dist/widget/components/FundingMethodSelectorButton.d.ts.map +0 -1
  999. package/dist/widget/components/FundingMethodSelectorButton.js +0 -57
  1000. package/dist/widget/components/GreenCheckAnimation.d.ts +0 -2
  1001. package/dist/widget/components/GreenCheckAnimation.d.ts.map +0 -1
  1002. package/dist/widget/components/GreenCheckAnimation.js +0 -135
  1003. package/dist/widget/components/HighPriceImpactBlock.d.ts +0 -7
  1004. package/dist/widget/components/HighPriceImpactBlock.d.ts.map +0 -1
  1005. package/dist/widget/components/HighPriceImpactBlock.js +0 -33
  1006. package/dist/widget/components/HookModalContent.d.ts +0 -8
  1007. package/dist/widget/components/HookModalContent.d.ts.map +0 -1
  1008. package/dist/widget/components/HookModalContent.js +0 -237
  1009. package/dist/widget/components/Identicon.d.ts +0 -9
  1010. package/dist/widget/components/Identicon.d.ts.map +0 -1
  1011. package/dist/widget/components/Identicon.js +0 -176
  1012. package/dist/widget/components/LoadingSpinner.d.ts +0 -5
  1013. package/dist/widget/components/LoadingSpinner.d.ts.map +0 -1
  1014. package/dist/widget/components/LoadingSpinner.js +0 -5
  1015. package/dist/widget/components/MeldForm.d.ts +0 -24
  1016. package/dist/widget/components/MeldForm.d.ts.map +0 -1
  1017. package/dist/widget/components/MeldForm.js +0 -447
  1018. package/dist/widget/components/MeldHistory.d.ts +0 -13
  1019. package/dist/widget/components/MeldHistory.d.ts.map +0 -1
  1020. package/dist/widget/components/MeldHistory.js +0 -307
  1021. package/dist/widget/components/MeldStepsFlow.d.ts +0 -6
  1022. package/dist/widget/components/MeldStepsFlow.d.ts.map +0 -1
  1023. package/dist/widget/components/MeldStepsFlow.js +0 -785
  1024. package/dist/widget/components/MeldTransactionStatus.d.ts +0 -20
  1025. package/dist/widget/components/MeldTransactionStatus.d.ts.map +0 -1
  1026. package/dist/widget/components/MeldTransactionStatus.js +0 -157
  1027. package/dist/widget/components/MeshExchangeAccountHeader.d.ts +0 -9
  1028. package/dist/widget/components/MeshExchangeAccountHeader.d.ts.map +0 -1
  1029. package/dist/widget/components/MeshExchangeAccountHeader.js +0 -30
  1030. package/dist/widget/components/Modal.d.ts +0 -9
  1031. package/dist/widget/components/Modal.d.ts.map +0 -1
  1032. package/dist/widget/components/Modal.js +0 -65
  1033. package/dist/widget/components/OFTProgressBar.d.ts +0 -16
  1034. package/dist/widget/components/OFTProgressBar.d.ts.map +0 -1
  1035. package/dist/widget/components/OFTProgressBar.js +0 -49
  1036. package/dist/widget/components/OnRampProviderSelector.d.ts +0 -13
  1037. package/dist/widget/components/OnRampProviderSelector.d.ts.map +0 -1
  1038. package/dist/widget/components/OnRampProviderSelector.js +0 -144
  1039. package/dist/widget/components/OnrampErrorScreen.d.ts +0 -15
  1040. package/dist/widget/components/OnrampErrorScreen.d.ts.map +0 -1
  1041. package/dist/widget/components/OnrampErrorScreen.js +0 -102
  1042. package/dist/widget/components/OnrampHistoryRow.d.ts +0 -13
  1043. package/dist/widget/components/OnrampHistoryRow.d.ts.map +0 -1
  1044. package/dist/widget/components/OnrampHistoryRow.js +0 -249
  1045. package/dist/widget/components/OnrampPaymentMethods.d.ts +0 -7
  1046. package/dist/widget/components/OnrampPaymentMethods.d.ts.map +0 -1
  1047. package/dist/widget/components/OnrampPaymentMethods.js +0 -54
  1048. package/dist/widget/components/OnrampProviderConfirmation.d.ts +0 -30
  1049. package/dist/widget/components/OnrampProviderConfirmation.d.ts.map +0 -1
  1050. package/dist/widget/components/OnrampProviderConfirmation.js +0 -705
  1051. package/dist/widget/components/OriginSelectionAmount.d.ts +0 -12
  1052. package/dist/widget/components/OriginSelectionAmount.d.ts.map +0 -1
  1053. package/dist/widget/components/OriginSelectionAmount.js +0 -104
  1054. package/dist/widget/components/OriginTransferInformation.d.ts +0 -10
  1055. package/dist/widget/components/OriginTransferInformation.d.ts.map +0 -1
  1056. package/dist/widget/components/OriginTransferInformation.js +0 -56
  1057. package/dist/widget/components/Pay.d.ts +0 -7
  1058. package/dist/widget/components/Pay.d.ts.map +0 -1
  1059. package/dist/widget/components/Pay.js +0 -649
  1060. package/dist/widget/components/PaymentMethods.d.ts +0 -10
  1061. package/dist/widget/components/PaymentMethods.d.ts.map +0 -1
  1062. package/dist/widget/components/PaymentMethods.js +0 -118
  1063. package/dist/widget/components/PercentageMaxButtons.d.ts +0 -14
  1064. package/dist/widget/components/PercentageMaxButtons.d.ts.map +0 -1
  1065. package/dist/widget/components/PercentageMaxButtons.js +0 -62
  1066. package/dist/widget/components/PoolDeposit.d.ts +0 -32
  1067. package/dist/widget/components/PoolDeposit.d.ts.map +0 -1
  1068. package/dist/widget/components/PoolDeposit.js +0 -426
  1069. package/dist/widget/components/PriceImpactWarning.d.ts +0 -11
  1070. package/dist/widget/components/PriceImpactWarning.d.ts.map +0 -1
  1071. package/dist/widget/components/PriceImpactWarning.js +0 -58
  1072. package/dist/widget/components/PulsatingButton.d.ts +0 -9
  1073. package/dist/widget/components/PulsatingButton.d.ts.map +0 -1
  1074. package/dist/widget/components/PulsatingButton.js +0 -48
  1075. package/dist/widget/components/QRCodeOptions.d.ts +0 -9
  1076. package/dist/widget/components/QRCodeOptions.d.ts.map +0 -1
  1077. package/dist/widget/components/QRCodeOptions.js +0 -57
  1078. package/dist/widget/components/QRCodeWalletSelect.d.ts +0 -13
  1079. package/dist/widget/components/QRCodeWalletSelect.d.ts.map +0 -1
  1080. package/dist/widget/components/QRCodeWalletSelect.js +0 -45
  1081. package/dist/widget/components/QrCode.d.ts +0 -10
  1082. package/dist/widget/components/QrCode.d.ts.map +0 -1
  1083. package/dist/widget/components/QrCode.js +0 -69
  1084. package/dist/widget/components/QuoteDetails.d.ts +0 -25
  1085. package/dist/widget/components/QuoteDetails.d.ts.map +0 -1
  1086. package/dist/widget/components/QuoteDetails.js +0 -728
  1087. package/dist/widget/components/QuoteInputErrorBlock.d.ts +0 -7
  1088. package/dist/widget/components/QuoteInputErrorBlock.d.ts.map +0 -1
  1089. package/dist/widget/components/QuoteInputErrorBlock.js +0 -22
  1090. package/dist/widget/components/Receipt.d.ts +0 -18
  1091. package/dist/widget/components/Receipt.d.ts.map +0 -1
  1092. package/dist/widget/components/Receipt.js +0 -443
  1093. package/dist/widget/components/ReceiptRecoverableFunds.d.ts +0 -25
  1094. package/dist/widget/components/ReceiptRecoverableFunds.d.ts.map +0 -1
  1095. package/dist/widget/components/ReceiptRecoverableFunds.js +0 -75
  1096. package/dist/widget/components/RecentChains.d.ts +0 -9
  1097. package/dist/widget/components/RecentChains.d.ts.map +0 -1
  1098. package/dist/widget/components/RecentChains.js +0 -28
  1099. package/dist/widget/components/RecentTokens.d.ts +0 -10
  1100. package/dist/widget/components/RecentTokens.d.ts.map +0 -1
  1101. package/dist/widget/components/RecentTokens.js +0 -37
  1102. package/dist/widget/components/RecipientSelectorButton.d.ts +0 -6
  1103. package/dist/widget/components/RecipientSelectorButton.d.ts.map +0 -1
  1104. package/dist/widget/components/RecipientSelectorButton.js +0 -36
  1105. package/dist/widget/components/Recipients.d.ts +0 -9
  1106. package/dist/widget/components/Recipients.d.ts.map +0 -1
  1107. package/dist/widget/components/Recipients.js +0 -208
  1108. package/dist/widget/components/RefundWarning.d.ts +0 -11
  1109. package/dist/widget/components/RefundWarning.d.ts.map +0 -1
  1110. package/dist/widget/components/RefundWarning.js +0 -33
  1111. package/dist/widget/components/RequiredPropsError.d.ts +0 -8
  1112. package/dist/widget/components/RequiredPropsError.d.ts.map +0 -1
  1113. package/dist/widget/components/RequiredPropsError.js +0 -14
  1114. package/dist/widget/components/ScreenHeader.d.ts +0 -13
  1115. package/dist/widget/components/ScreenHeader.d.ts.map +0 -1
  1116. package/dist/widget/components/ScreenHeader.js +0 -64
  1117. package/dist/widget/components/SearchInputField.d.ts +0 -14
  1118. package/dist/widget/components/SearchInputField.d.ts.map +0 -1
  1119. package/dist/widget/components/SearchInputField.js +0 -51
  1120. package/dist/widget/components/SessionTimeoutScreen.d.ts +0 -12
  1121. package/dist/widget/components/SessionTimeoutScreen.d.ts.map +0 -1
  1122. package/dist/widget/components/SessionTimeoutScreen.js +0 -64
  1123. package/dist/widget/components/ShadowPortal.d.ts +0 -6
  1124. package/dist/widget/components/ShadowPortal.d.ts.map +0 -1
  1125. package/dist/widget/components/ShadowPortal.js +0 -52
  1126. package/dist/widget/components/ShadowRootContext.d.ts +0 -8
  1127. package/dist/widget/components/ShadowRootContext.d.ts.map +0 -1
  1128. package/dist/widget/components/ShadowRootContext.js +0 -12
  1129. package/dist/widget/components/SimpleRecipientInputScreen.d.ts +0 -13
  1130. package/dist/widget/components/SimpleRecipientInputScreen.d.ts.map +0 -1
  1131. package/dist/widget/components/SimpleRecipientInputScreen.js +0 -48
  1132. package/dist/widget/components/SlippageToleranceSettings.d.ts +0 -9
  1133. package/dist/widget/components/SlippageToleranceSettings.d.ts.map +0 -1
  1134. package/dist/widget/components/SlippageToleranceSettings.js +0 -159
  1135. package/dist/widget/components/Swap.d.ts +0 -43
  1136. package/dist/widget/components/Swap.d.ts.map +0 -1
  1137. package/dist/widget/components/Swap.js +0 -6
  1138. package/dist/widget/components/SwapDisplay.d.ts +0 -9
  1139. package/dist/widget/components/SwapDisplay.d.ts.map +0 -1
  1140. package/dist/widget/components/SwapDisplay.js +0 -72
  1141. package/dist/widget/components/ThemeProvider.d.ts +0 -16
  1142. package/dist/widget/components/ThemeProvider.d.ts.map +0 -1
  1143. package/dist/widget/components/ThemeProvider.js +0 -52
  1144. package/dist/widget/components/ThemeSyncer.d.ts +0 -6
  1145. package/dist/widget/components/ThemeSyncer.d.ts.map +0 -1
  1146. package/dist/widget/components/ThemeSyncer.js +0 -25
  1147. package/dist/widget/components/Toast.d.ts +0 -24
  1148. package/dist/widget/components/Toast.d.ts.map +0 -1
  1149. package/dist/widget/components/Toast.js +0 -206
  1150. package/dist/widget/components/TokenDisplayNonSelectable.d.ts +0 -11
  1151. package/dist/widget/components/TokenDisplayNonSelectable.d.ts.map +0 -1
  1152. package/dist/widget/components/TokenDisplayNonSelectable.js +0 -30
  1153. package/dist/widget/components/TokenImage.d.ts +0 -11
  1154. package/dist/widget/components/TokenImage.d.ts.map +0 -1
  1155. package/dist/widget/components/TokenImage.js +0 -96
  1156. package/dist/widget/components/TokenList.d.ts +0 -20
  1157. package/dist/widget/components/TokenList.d.ts.map +0 -1
  1158. package/dist/widget/components/TokenList.js +0 -45
  1159. package/dist/widget/components/TokenSelector.d.ts +0 -32
  1160. package/dist/widget/components/TokenSelector.d.ts.map +0 -1
  1161. package/dist/widget/components/TokenSelector.js +0 -479
  1162. package/dist/widget/components/TokenSelectorButton.d.ts +0 -17
  1163. package/dist/widget/components/TokenSelectorButton.d.ts.map +0 -1
  1164. package/dist/widget/components/TokenSelectorButton.js +0 -64
  1165. package/dist/widget/components/TokenSkeleton.d.ts +0 -12
  1166. package/dist/widget/components/TokenSkeleton.d.ts.map +0 -1
  1167. package/dist/widget/components/TokenSkeleton.js +0 -36
  1168. package/dist/widget/components/Tooltip.d.ts +0 -14
  1169. package/dist/widget/components/Tooltip.d.ts.map +0 -1
  1170. package/dist/widget/components/Tooltip.js +0 -38
  1171. package/dist/widget/components/TrailsHookModal.d.ts +0 -10
  1172. package/dist/widget/components/TrailsHookModal.d.ts.map +0 -1
  1173. package/dist/widget/components/TrailsHookModal.js +0 -55
  1174. package/dist/widget/components/TransactionDetails.d.ts +0 -10
  1175. package/dist/widget/components/TransactionDetails.d.ts.map +0 -1
  1176. package/dist/widget/components/TransactionDetails.js +0 -492
  1177. package/dist/widget/components/TransactionHistoryItem.d.ts +0 -23
  1178. package/dist/widget/components/TransactionHistoryItem.d.ts.map +0 -1
  1179. package/dist/widget/components/TransactionHistoryItem.js +0 -547
  1180. package/dist/widget/components/TransferPendingVertical.d.ts +0 -16
  1181. package/dist/widget/components/TransferPendingVertical.d.ts.map +0 -1
  1182. package/dist/widget/components/TransferPendingVertical.js +0 -356
  1183. package/dist/widget/components/TruncatedTransactionHash.d.ts +0 -12
  1184. package/dist/widget/components/TruncatedTransactionHash.d.ts.map +0 -1
  1185. package/dist/widget/components/TruncatedTransactionHash.js +0 -36
  1186. package/dist/widget/components/UserPreferences.d.ts +0 -7
  1187. package/dist/widget/components/UserPreferences.d.ts.map +0 -1
  1188. package/dist/widget/components/UserPreferences.js +0 -282
  1189. package/dist/widget/components/WaasFeeOptions.d.ts +0 -12
  1190. package/dist/widget/components/WaasFeeOptions.d.ts.map +0 -1
  1191. package/dist/widget/components/WaasFeeOptions.js +0 -349
  1192. package/dist/widget/components/WalletAccountHeader.d.ts +0 -8
  1193. package/dist/widget/components/WalletAccountHeader.d.ts.map +0 -1
  1194. package/dist/widget/components/WalletAccountHeader.js +0 -45
  1195. package/dist/widget/components/WalletConfirmation.d.ts +0 -15
  1196. package/dist/widget/components/WalletConfirmation.d.ts.map +0 -1
  1197. package/dist/widget/components/WalletConfirmation.js +0 -145
  1198. package/dist/widget/components/WalletConnect.d.ts +0 -11
  1199. package/dist/widget/components/WalletConnect.d.ts.map +0 -1
  1200. package/dist/widget/components/WalletConnect.js +0 -164
  1201. package/dist/widget/components/WalletConnectionPending.d.ts +0 -12
  1202. package/dist/widget/components/WalletConnectionPending.d.ts.map +0 -1
  1203. package/dist/widget/components/WalletConnectionPending.js +0 -124
  1204. package/dist/widget/components/WalletList.d.ts +0 -16
  1205. package/dist/widget/components/WalletList.d.ts.map +0 -1
  1206. package/dist/widget/components/WalletList.js +0 -88
  1207. package/dist/widget/components/WidgetProviders.d.ts +0 -16
  1208. package/dist/widget/components/WidgetProviders.d.ts.map +0 -1
  1209. package/dist/widget/components/WidgetProviders.js +0 -43
  1210. package/dist/widget/components/Withdraw.d.ts +0 -12
  1211. package/dist/widget/components/Withdraw.d.ts.map +0 -1
  1212. package/dist/widget/components/Withdraw.js +0 -551
  1213. package/dist/widget/components/YellowWarningAnimation.d.ts +0 -2
  1214. package/dist/widget/components/YellowWarningAnimation.d.ts.map +0 -1
  1215. package/dist/widget/components/YellowWarningAnimation.js +0 -167
  1216. package/dist/widget/components/earnMarketUtils.d.ts +0 -11
  1217. package/dist/widget/components/earnMarketUtils.d.ts.map +0 -1
  1218. package/dist/widget/components/earnMarketUtils.js +0 -48
  1219. package/dist/widget/components/earnNetworks.d.ts +0 -6
  1220. package/dist/widget/components/earnNetworks.d.ts.map +0 -1
  1221. package/dist/widget/components/earnNetworks.js +0 -33
  1222. package/dist/widget/index.d.ts.map +0 -1
  1223. package/dist/widget/modes/EarnWidget.d.ts +0 -90
  1224. package/dist/widget/modes/EarnWidget.d.ts.map +0 -1
  1225. package/dist/widget/modes/EarnWidget.js +0 -41
  1226. package/dist/widget/modes/FundWidget.d.ts +0 -110
  1227. package/dist/widget/modes/FundWidget.d.ts.map +0 -1
  1228. package/dist/widget/modes/FundWidget.js +0 -48
  1229. package/dist/widget/modes/PayWidget.d.ts +0 -80
  1230. package/dist/widget/modes/PayWidget.d.ts.map +0 -1
  1231. package/dist/widget/modes/PayWidget.js +0 -40
  1232. package/dist/widget/modes/SwapWidget.d.ts +0 -76
  1233. package/dist/widget/modes/SwapWidget.d.ts.map +0 -1
  1234. package/dist/widget/modes/SwapWidget.js +0 -41
  1235. package/dist/widget/modes/WithdrawWidget.d.ts +0 -87
  1236. package/dist/widget/modes/WithdrawWidget.d.ts.map +0 -1
  1237. package/dist/widget/modes/WithdrawWidget.js +0 -38
  1238. package/dist/widget/props.d.ts +0 -255
  1239. package/dist/widget/props.d.ts.map +0 -1
  1240. package/dist/widget/props.js +0 -14
  1241. package/dist/widget/providers/TrailsModalProvider.d.ts +0 -78
  1242. package/dist/widget/providers/TrailsModalProvider.d.ts.map +0 -1
  1243. package/dist/widget/providers/TrailsModalProvider.js +0 -57
  1244. package/dist/widget/providers/TrailsProvider.d.ts +0 -100
  1245. package/dist/widget/providers/TrailsProvider.d.ts.map +0 -1
  1246. package/dist/widget/providers/TrailsProvider.js +0 -101
  1247. package/dist/widget/providers/UserActivityProvider.d.ts +0 -18
  1248. package/dist/widget/providers/UserActivityProvider.d.ts.map +0 -1
  1249. package/dist/widget/providers/UserActivityProvider.js +0 -38
  1250. package/dist/widget/providers/WalletContext.d.ts +0 -10
  1251. package/dist/widget/providers/WalletContext.d.ts.map +0 -1
  1252. package/dist/widget/providers/WalletContext.js +0 -23
  1253. package/dist/widget/providers/WidgetProviderTree.d.ts +0 -24
  1254. package/dist/widget/providers/WidgetProviderTree.d.ts.map +0 -1
  1255. package/dist/widget/providers/WidgetProviderTree.js +0 -35
  1256. package/dist/widget/providers/adapterConfig.d.ts +0 -13
  1257. package/dist/widget/providers/adapterConfig.d.ts.map +0 -1
  1258. package/dist/widget/providers/adapterConfig.js +0 -97
  1259. package/dist/widget/providers/sequenceSupport.d.ts +0 -42
  1260. package/dist/widget/providers/sequenceSupport.d.ts.map +0 -1
  1261. package/dist/widget/providers/walletRuntimeResolution.d.ts +0 -10
  1262. package/dist/widget/providers/walletRuntimeResolution.d.ts.map +0 -1
  1263. package/dist/widget/providers/walletRuntimeResolution.js +0 -14
  1264. package/dist/widget/shared/destinationDefaultToken.d.ts +0 -15
  1265. package/dist/widget/shared/destinationDefaultToken.d.ts.map +0 -1
  1266. package/dist/widget/shared/destinationDefaultToken.js +0 -18
  1267. package/dist/widget/shared/destinationSupport.d.ts +0 -40
  1268. package/dist/widget/shared/destinationSupport.d.ts.map +0 -1
  1269. package/dist/widget/shared/destinationSupport.js +0 -215
  1270. package/dist/widget/shared/mapSharedProps.d.ts +0 -9
  1271. package/dist/widget/shared/mapSharedProps.d.ts.map +0 -1
  1272. package/dist/widget/shared/mapSharedProps.js +0 -22
  1273. package/dist/widget/shared/methodMap.d.ts +0 -18
  1274. package/dist/widget/shared/methodMap.d.ts.map +0 -1
  1275. package/dist/widget/shared/methodMap.js +0 -25
  1276. package/dist/widget/shared/resolution.d.ts +0 -8
  1277. package/dist/widget/shared/resolution.d.ts.map +0 -1
  1278. package/dist/widget/shared/resolution.js +0 -63
  1279. package/dist/widget/shared/resolvePaymentSource.d.ts +0 -37
  1280. package/dist/widget/shared/resolvePaymentSource.d.ts.map +0 -1
  1281. package/dist/widget/shared/resolvePaymentSource.js +0 -19
  1282. package/dist/widget/shared/types.d.ts +0 -142
  1283. package/dist/widget/shared/types.d.ts.map +0 -1
  1284. package/dist/widget/styles.gen.d.ts +0 -2
  1285. package/dist/widget/styles.gen.d.ts.map +0 -1
  1286. package/dist/widget/styles.gen.js +0 -29
  1287. package/dist/widget/types/analytics.d.ts +0 -22
  1288. package/dist/widget/types/analytics.d.ts.map +0 -1
  1289. package/dist/widget/types/commonProps.d.ts +0 -48
  1290. package/dist/widget/types/commonProps.d.ts.map +0 -1
  1291. package/dist/widget/utils/countryUtils.d.ts +0 -37
  1292. package/dist/widget/utils/countryUtils.d.ts.map +0 -1
  1293. package/dist/widget/utils/countryUtils.js +0 -14
  1294. package/dist/widget/utils/forexRateStore.d.ts +0 -25
  1295. package/dist/widget/utils/forexRateStore.d.ts.map +0 -1
  1296. package/dist/widget/utils/forexRateStore.js +0 -59
  1297. package/dist/widget/utils/fundMethodSwitchState.d.ts +0 -14
  1298. package/dist/widget/utils/fundMethodSwitchState.d.ts.map +0 -1
  1299. package/dist/widget/utils/fundMethodSwitchState.js +0 -6
  1300. package/dist/widget/utils/historyFilters.d.ts +0 -13
  1301. package/dist/widget/utils/historyFilters.d.ts.map +0 -1
  1302. package/dist/widget/utils/historyFilters.js +0 -108
  1303. package/dist/widget/utils/localeStore.d.ts +0 -19
  1304. package/dist/widget/utils/localeStore.d.ts.map +0 -1
  1305. package/dist/widget/utils/localeStore.js +0 -39
  1306. package/dist/widget/utils/meldProviderUtils.d.ts +0 -6
  1307. package/dist/widget/utils/meldProviderUtils.d.ts.map +0 -1
  1308. package/dist/widget/utils/meldProviderUtils.js +0 -9
  1309. package/dist/widget/utils/meshSupportedTokens.d.ts +0 -4
  1310. package/dist/widget/utils/meshSupportedTokens.d.ts.map +0 -1
  1311. package/dist/widget/utils/meshSupportedTokens.js +0 -12
  1312. package/dist/widget/utils/onrampConfig.d.ts +0 -11
  1313. package/dist/widget/utils/onrampConfig.d.ts.map +0 -1
  1314. package/dist/widget/utils/onrampConfig.js +0 -6
  1315. package/dist/widget/utils/statusLabel.d.ts +0 -2
  1316. package/dist/widget/utils/statusLabel.d.ts.map +0 -1
  1317. package/dist/widget/utils/statusLabel.js +0 -6
  1318. package/dist/widget/utils/tokens.d.ts +0 -60
  1319. package/dist/widget/utils/tokens.d.ts.map +0 -1
  1320. package/dist/widget/utils/tokens.js +0 -16
  1321. package/dist/widget/utils/trailsOnrampConfig.d.ts +0 -23
  1322. package/dist/widget/utils/trailsOnrampConfig.d.ts.map +0 -1
  1323. package/dist/widget/utils/trailsOnrampConfig.js +0 -7
  1324. package/dist/widget/utils/transactionFailure.d.ts +0 -20
  1325. package/dist/widget/utils/transactionFailure.d.ts.map +0 -1
  1326. package/dist/widget/utils/transactionFailure.js +0 -12
  1327. package/dist/widget/utils/viewManagerGuards.d.ts +0 -5
  1328. package/dist/widget/utils/viewManagerGuards.d.ts.map +0 -1
  1329. package/dist/widget/utils/viewManagerGuards.js +0 -24
  1330. package/dist/widget/utils/walletConnectRedirect.d.ts +0 -19
  1331. package/dist/widget/utils/walletConnectRedirect.d.ts.map +0 -1
  1332. package/dist/widget/utils/walletConnectRedirect.js +0 -21
  1333. package/dist/widget/utils/windowUtils.d.ts +0 -13
  1334. package/dist/widget/utils/windowUtils.d.ts.map +0 -1
  1335. package/dist/widget/utils/windowUtils.js +0 -84
  1336. package/dist/widget/widget.d.ts +0 -16
  1337. package/dist/widget/widget.d.ts.map +0 -1
  1338. package/dist/widget/widget.js +0 -1541
  1339. package/dist/widgetFlowHooks.d.ts +0 -12
  1340. package/dist/widgetFlowHooks.d.ts.map +0 -1
  1341. package/dist/widgetFlowHooks.js +0 -18
@@ -1,728 +0,0 @@
1
- import { logger as ge } from "../../logger/index.js";
2
- import { getExplorerUrl as fe, getExplorerUrlForAddress as y } from "../../explorer.js";
3
- import { isNativeToken as E, truncateAddress as k } from "../../utils/address.js";
4
- import { formatUsdAmountDisplay as W, formatUsdAmountLocaleDisplay as b } from "../../utils/format.js";
5
- import { isDisplayableTransactionHash as K } from "../../transactions.js";
6
- import B from "./ChainImage.js";
7
- import w from "./TokenImage.js";
8
- import Q from "./Tooltip.js";
9
- import { isSameChainSameToken as xe } from "../../utils/passthrough.js";
10
- import { usePriceImpactWarning as ye } from "../../hooks/usePriceImpactWarning.js";
11
- import ke from "./PriceImpactWarning.js";
12
- import { hasFailedOrAbortedTransaction as be } from "../utils/transactionFailure.js";
13
- import { useTrails as ve } from "../providers/TrailsProvider.js";
14
- import { useCallback as L, useEffect as Y, useMemo as J, useRef as X, useState as A } from "react";
15
- import { Fragment as v, jsx as a, jsxs as t } from "react/jsx-runtime";
16
- import { ChevronDown as S, Clock as Ne, ExternalLink as f, Info as q, TriangleAlert as Z } from "lucide-react";
17
- var je = ({ quote: e, onRampQuote: r, fiatToUsdExchangeRate: T, showContent: ee = !0, children: z, onExpand: R, swapMode: ae, compact: te = !1, isRefetching: ne = !1, initialExpanded: x = !1, showInsufficientFunds: re = !0, isPassthrough: p = !1, liveTransactionStates: F, hasMetaTxError: V }) => {
18
- const [u, ie] = A(!1), [U, H] = A(!0), [g, D] = A(x), [j, se] = A(x), le = X(null), { trailsAppUrl: de } = ve(), C = X(null), I = ye(), P = xe(e), m = r?.totalFee ? r?.totalFee / (T ?? 1) : 0;
19
- r && ge.console.log("[trails-sdk] OnRamp Quote", { onRampQuote: r }), Y(() => {
20
- R?.(g);
21
- }, [g, R]), Y(() => {
22
- x !== j && (se(x), D(x));
23
- }, [x, j]);
24
- const G = L(() => {
25
- if (!r || !e?.originTokenRate) return null;
26
- const n = r.exchangeRate;
27
- if (!n || e.originTokenRate === "0") return null;
28
- const s = e.originTokenRate.match(/=\s*([\d.]+)/), i = s ? parseFloat(s[1]) : null;
29
- return i ? {
30
- fiatToDestinationToken: i / n,
31
- fiatSymbol: r.sourceCurrencyCode,
32
- destSymbol: e.destinationToken?.symbol || "TOKEN",
33
- fiatToUsdcRate: n
34
- } : null;
35
- }, [r, e]), { totalFeeUsd: $, totalFeeUsdDisplay: oe, totalFeeUsdLocaleDisplay: O } = J(() => {
36
- if (r) {
37
- const n = m + parseFloat(e?.fees.totalFeeAmountUsd || "0");
38
- return {
39
- totalFeeUsd: n,
40
- totalFeeUsdDisplay: W(n),
41
- totalFeeUsdLocaleDisplay: b(n)
42
- };
43
- }
44
- if (e?.fees?.totalFeeAmountUsd) {
45
- const n = parseFloat(e.fees.totalFeeAmountUsd);
46
- return {
47
- totalFeeUsd: n,
48
- totalFeeUsdDisplay: e.fees.totalFeeAmountUsdDisplay ?? W(n),
49
- totalFeeUsdLocaleDisplay: e.fees.totalFeeAmountUsdLocaleDisplay ?? b(n)
50
- };
51
- }
52
- return {
53
- totalFeeUsd: 0,
54
- totalFeeUsdDisplay: "$0.00",
55
- totalFeeUsdLocaleDisplay: b(0)
56
- };
57
- }, [
58
- r,
59
- e?.fees,
60
- m
61
- ]), ce = L(() => e?.slippageTolerance ? parseFloat(e.slippageTolerance) * 100 : null, [e?.slippageTolerance]), _ = J(() => {
62
- const n = (e?.intentProtocol || "v1").replace("_", ".").toUpperCase();
63
- return n.startsWith("V") ? n : `V${n}`;
64
- }, [e?.intentProtocol]), he = L((n, s) => {
65
- const i = e?.routeProviders?.length ?? e?.trailsFeeBreakdown?.providerFees?.length ?? 0;
66
- return i > 1 ? s === 0 ? "Swap" : "Bridge" : i === 1 ? e?.originChain?.id === e?.destinationChain?.id ? "Swap" : "Bridge" : n.isBridge ? "Bridge" : "Swap";
67
- }, [
68
- e?.destinationChain?.id,
69
- e?.originChain?.id,
70
- e?.routeProviders?.length,
71
- e?.trailsFeeBreakdown?.providerFees?.length
72
- ]);
73
- return ee ? /* @__PURE__ */ t("div", {
74
- className: `relative transition-opacity duration-300 ${ne ? "opacity-50" : ""}`,
75
- children: [
76
- /* @__PURE__ */ a(ke, {
77
- quote: e,
78
- thresholdBps: I.thresholdBps,
79
- warningMessage: I.warningMessage,
80
- fallbackBridgeUrl: I.fallbackBridgeUrl
81
- }),
82
- re && e?.noSufficientBalance && /* @__PURE__ */ t("div", {
83
- className: "flex justify-between items-center mb-2 p-2 bg-amber-50 dark:bg-amber-900/20 rounded-lg",
84
- children: [/* @__PURE__ */ t("span", {
85
- className: "text-xs text-amber-600 dark:text-amber-400 flex items-center gap-1",
86
- children: ["Balance Status:", /* @__PURE__ */ a(Q, {
87
- message: "Your wallet does not have sufficient balance to complete this transaction",
88
- children: /* @__PURE__ */ a(q, { className: "size-3 text-amber-500 dark:text-amber-400 cursor-pointer" })
89
- })]
90
- }), /* @__PURE__ */ t("span", {
91
- className: "font-medium text-xs text-amber-600 dark:text-amber-400 flex items-center gap-1",
92
- children: [/* @__PURE__ */ a(Z, { className: "size-3" }), "Insufficient Balance"]
93
- })]
94
- }),
95
- /* @__PURE__ */ a("div", {
96
- className: "flex justify-center",
97
- children: ae ? /* @__PURE__ */ t("button", {
98
- type: "button",
99
- onClick: () => D(!g),
100
- className: "w-full flex items-center justify-between px-2 py-2 trails-border-radius-button transition-colors cursor-pointer text-sm",
101
- "aria-label": "Show more details",
102
- children: [/* @__PURE__ */ a("div", {
103
- className: "font-semibold text-gray-900 dark:text-white flex items-center gap-2 whitespace-nowrap max-w-48 truncate",
104
- children: (() => {
105
- const n = G();
106
- if (n) {
107
- const { fiatToDestinationToken: s, fiatSymbol: i, destSymbol: l } = n;
108
- return /* @__PURE__ */ t("span", { children: [
109
- "1 ",
110
- i,
111
- " = ",
112
- s.toFixed(6),
113
- " ",
114
- l
115
- ] });
116
- }
117
- if (r?.exchangeRate) {
118
- const s = r.sourceCurrencyCode, i = r.destinationCurrencyCode.split("_")[0];
119
- return /* @__PURE__ */ t("span", { children: [
120
- "1 ",
121
- s,
122
- " =",
123
- " ",
124
- (1 / r.exchangeRate).toFixed(6),
125
- " ",
126
- i
127
- ] });
128
- }
129
- return e?.originTokenRate && e.originTokenRate !== "0" ? /* @__PURE__ */ a("span", { children: e.originTokenRate }) : null;
130
- })()
131
- }), /* @__PURE__ */ t("div", {
132
- className: "flex items-center gap-2 text-gray-600 dark:text-gray-400",
133
- children: [
134
- e?.completionEstimateDisplay && /* @__PURE__ */ t("div", {
135
- className: "flex items-center gap-1",
136
- children: [/* @__PURE__ */ a(Ne, { className: "size-3" }), /* @__PURE__ */ t("span", {
137
- className: "font-medium",
138
- children: ["~", r ? "3 min" : e.completionEstimateDisplay]
139
- })]
140
- }),
141
- $ > 0 && /* @__PURE__ */ t("div", {
142
- className: "flex items-center gap-1",
143
- children: [/* @__PURE__ */ a("svg", {
144
- "aria-hidden": "true",
145
- focusable: "false",
146
- "data-prefix": "fas",
147
- "data-icon": "gas-pump",
148
- className: "svg-inline--fa fa-gas-pump",
149
- role: "img",
150
- xmlns: "http://www.w3.org/2000/svg",
151
- viewBox: "0 0 512 512",
152
- width: "12",
153
- children: /* @__PURE__ */ a("path", {
154
- fill: "currentColor",
155
- d: "M32 64C32 28.7 60.7 0 96 0H256c35.3 0 64 28.7 64 64V256h8c48.6 0 88 39.4 88 88v32c0 13.3 10.7 24 24 24s24-10.7 24-24V222c-27.6-7.1-48-32.2-48-62V96L384 64c-8.8-8.8-8.8-23.2 0-32s23.2-8.8 32 0l77.3 77.3c12 12 18.7 28.3 18.7 45.3V168v24 32V376c0 39.8-32.2 72-72 72s-72-32.2-72-72V344c0-22.1-17.9-40-40-40h-8V448c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32V64zM96 80v96c0 8.8 7.2 16 16 16H240c8.8 0 16-7.2 16-16V80c0-8.8-7.2-16-16-16H112c-8.8 0-16 7.2-16 16z"
156
- })
157
- }), /* @__PURE__ */ a("span", {
158
- className: "font-medium",
159
- title: oe,
160
- children: O
161
- })]
162
- }),
163
- /* @__PURE__ */ a(S, { className: `size-3 transition-transform duration-300 ease-out text-gray-600 dark:text-gray-400 ${g ? "rotate-180" : ""}` })
164
- ]
165
- })]
166
- }) : /* @__PURE__ */ t("button", {
167
- type: "button",
168
- onClick: () => D(!g),
169
- className: `w-full max-w-md flex items-center ${te ? "justify-center" : "justify-between"} gap-2 py-1 px-1 trails-border-radius-button transition-colors cursor-pointer text-xs text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-300`,
170
- "aria-label": "Show transaction details",
171
- children: [/* @__PURE__ */ a("span", { children: "Transaction details" }), /* @__PURE__ */ a(S, { className: `size-3 transition-transform duration-300 ease-out ${g ? "rotate-180" : ""}` })]
172
- })
173
- }),
174
- /* @__PURE__ */ a("div", {
175
- ref: le,
176
- className: `overflow-auto transition-all duration-300 ease-out ${g ? "max-h-[250px] opacity-100" : "max-h-0 opacity-0"}`,
177
- children: /* @__PURE__ */ a("div", {
178
- className: "text-sm p-2 space-y-2",
179
- children: /* @__PURE__ */ t("div", {
180
- className: "space-y-2",
181
- children: [
182
- e?.trailsFeeBreakdown && (e?.trailsFeeBreakdown.originRelayFee || e?.trailsFeeBreakdown.destinationRelayFee) && $ > 0 && /* @__PURE__ */ t(v, { children: [
183
- /* @__PURE__ */ t(d, {
184
- variant: "bold",
185
- children: [/* @__PURE__ */ a(o, {
186
- tooltip: "The total fees for this transaction, including gas costs and all provider fees",
187
- children: "Fees total"
188
- }), /* @__PURE__ */ a(c, { children: /* @__PURE__ */ t("span", {
189
- className: "notranslate",
190
- translate: "no",
191
- title: `${$}`,
192
- children: [
193
- "≈",
194
- " ",
195
- O || e?.fees?.totalFeeAmountUsdLocaleDisplay
196
- ]
197
- }) })]
198
- }),
199
- /* @__PURE__ */ a("div", { className: "h-0" }),
200
- (e.trailsFeeBreakdown.originRelayFee || e.trailsFeeBreakdown.destinationRelayFee) && /* @__PURE__ */ t(N, { children: [
201
- /* @__PURE__ */ t(d, { children: [/* @__PURE__ */ a(o, {
202
- tooltip: "Total gas costs for executing transactions on both origin and destination chains",
203
- children: "All gas costs"
204
- }), /* @__PURE__ */ a(c, { children: /* @__PURE__ */ a("span", {
205
- title: `$${e.totalGasUsd ?? 0}`,
206
- children: e.totalGasUsdLocaleDisplay || e.totalGasUsdDisplay || "$0.00"
207
- }) })] }),
208
- e.trailsFeeBreakdown.originRelayFee && /* @__PURE__ */ t(d, {
209
- variant: "light",
210
- children: [/* @__PURE__ */ t(o, {
211
- tooltip: "Gas fee for executing the transaction on the origin chain",
212
- children: ["Origin Gas", /* @__PURE__ */ a(B, {
213
- chainId: e.originChain.id,
214
- size: 16
215
- })]
216
- }), /* @__PURE__ */ a(c, { children: /* @__PURE__ */ a("span", {
217
- title: `$${e.originGasUsd ?? 0}`,
218
- children: e.originGasUsdLocaleDisplay || e.trailsFeeBreakdown.originRelayFee.usdValueLocale || e.trailsFeeBreakdown.originRelayFee.usdValue
219
- }) })]
220
- }),
221
- e.trailsFeeBreakdown.destinationRelayFee && /* @__PURE__ */ t(d, {
222
- variant: "light",
223
- children: [/* @__PURE__ */ t(o, {
224
- tooltip: "Gas fee for executing the transaction on the destination chain",
225
- children: ["Destination Gas", /* @__PURE__ */ a(B, {
226
- chainId: e.destinationChain.id,
227
- size: 16
228
- })]
229
- }), /* @__PURE__ */ a(c, { children: /* @__PURE__ */ a("span", {
230
- title: `$${e.destinationGasUsd ?? 0}`,
231
- children: e.destinationGasUsdLocaleDisplay || e.trailsFeeBreakdown.destinationRelayFee.usdValueLocale || e.trailsFeeBreakdown.destinationRelayFee.usdValue
232
- }) })]
233
- })
234
- ] }),
235
- /* @__PURE__ */ a("div", { className: "h-1" })
236
- ] }),
237
- (() => {
238
- const n = e?.trailsFeeBreakdown && (e.providerFeeUsd ?? 0) > 0, s = e?.trailsFeeBreakdown && (e.trailsFeeUsd ?? 0) > 0, i = r && (r.totalFee ?? 0) > 0;
239
- return !n && !s && !i ? null : /* @__PURE__ */ t(N, { children: [
240
- ((e?.totalProviderFeesUsd ?? 0) > 0 || i) && /* @__PURE__ */ t(d, { children: [/* @__PURE__ */ a(o, {
241
- tooltip: "Total provider fees for bridge, routing, and onramp services",
242
- children: "All provider fees"
243
- }), /* @__PURE__ */ a(c, { children: /* @__PURE__ */ a("span", {
244
- title: `$${e ? (e?.totalProviderFeesUsd ?? 0) + (m ?? 0) : m ?? 0}`,
245
- children: e ? b((e?.totalProviderFeesUsd ?? 0) + (m ?? 0)) : b(m)
246
- }) })] }),
247
- n && e?.trailsFeeBreakdown?.providerFees && e.trailsFeeBreakdown.providerFees.length > 0 && e.trailsFeeBreakdown.providerFees.map((l, h) => /* @__PURE__ */ t(d, {
248
- variant: "light",
249
- children: [/* @__PURE__ */ t(o, {
250
- tooltip: `Fee charged by ${l.name || l.id}`,
251
- children: [he(l, h), l.name && /* @__PURE__ */ t("span", { children: [
252
- " ",
253
- "(",
254
- /* @__PURE__ */ t("a", {
255
- href: l.url,
256
- target: "_blank",
257
- rel: "noopener noreferrer",
258
- className: "hover:underline inline-flex items-center gap-0.5 text-blue-500",
259
- children: [l.name, /* @__PURE__ */ a(f, { className: "size-3" })]
260
- }),
261
- ")"
262
- ] })]
263
- }), /* @__PURE__ */ a(c, { children: /* @__PURE__ */ a("span", {
264
- title: `$${l.feeUsd}`,
265
- children: l.usdValueLocale || l.usdValue
266
- }) })]
267
- }, "--")),
268
- i && /* @__PURE__ */ t(d, {
269
- variant: "light",
270
- children: [/* @__PURE__ */ t(o, {
271
- tooltip: "Fee charged by the onramp service provider, including network and transaction fees",
272
- children: ["Onramp", r.serviceProvider && /* @__PURE__ */ t("span", { children: [
273
- "(",
274
- r.serviceProvider,
275
- ")"
276
- ] })]
277
- }), /* @__PURE__ */ a(c, { children: /* @__PURE__ */ a("span", {
278
- title: `$${m ?? 0}`,
279
- children: b(m)
280
- }) })]
281
- }),
282
- s && e?.trailsFeeBreakdown?.trailsFee && (() => {
283
- const l = e.trailsFeeBreakdown.trailsFee;
284
- return /* @__PURE__ */ t(d, {
285
- variant: "light",
286
- children: [/* @__PURE__ */ a(o, {
287
- tooltip: "Platform fee for using the Trails service",
288
- children: "Trails"
289
- }), /* @__PURE__ */ a(c, { children: /* @__PURE__ */ a("span", {
290
- title: l.usdValue,
291
- children: l.usdValueLocale || l.usdValue
292
- }) })]
293
- });
294
- })()
295
- ] });
296
- })(),
297
- /* @__PURE__ */ a("div", { className: "h-px bg-gray-200 dark:bg-gray-800 my-4" }),
298
- (() => {
299
- const n = e?.slippageTolerance != null && Number(e.slippageTolerance) !== 0, s = e?.priceImpact != null && Number(e.priceImpact) !== 0, i = e?.intentId != null && e.intentId !== "";
300
- return n || s || i ? /* @__PURE__ */ t(N, { children: [
301
- /* @__PURE__ */ a(d, {
302
- variant: "bold",
303
- children: /* @__PURE__ */ a(o, { children: "Transaction details" })
304
- }),
305
- i && /* @__PURE__ */ t(d, { children: [/* @__PURE__ */ a(o, { children: "Intent ID" }), /* @__PURE__ */ a(c, { children: /* @__PURE__ */ t("a", {
306
- href: `${de}/intent/${e.intentId}`,
307
- target: "_blank",
308
- rel: "noopener noreferrer",
309
- className: "font-mono text-xs hover:underline flex items-center gap-1 text-blue-500",
310
- children: [k(e?.intentId ?? "", 9, 3), /* @__PURE__ */ a(f, { className: "size-3" })]
311
- }) })] }),
312
- n && /* @__PURE__ */ t(d, { children: [/* @__PURE__ */ a(o, {
313
- tooltip: "The maximum percentage by which the exchange rate can change before the transaction fails. Higher slippage means more tolerance for price changes but potentially worse rates.",
314
- children: "Max slippage"
315
- }), /* @__PURE__ */ t(c, { children: [ce(), "%"] })] }),
316
- s && /* @__PURE__ */ t("div", {
317
- className: "space-y-1",
318
- children: [/* @__PURE__ */ t(d, { children: [/* @__PURE__ */ a(o, {
319
- tooltip: "The percentage change in the token price caused by your trade. Higher impact means your trade affects the market price more, potentially resulting in worse rates.",
320
- children: "Price impact"
321
- }), /* @__PURE__ */ t(c, {
322
- className: `flex items-center gap-1 ${Math.abs(Number(e.priceImpact)) > 5 ? "text-red-600 dark:text-red-400" : Math.abs(Number(e.priceImpact)) > 0.5 ? "text-orange-600 dark:text-orange-400" : "text-gray-600 dark:text-gray-400"}`,
323
- children: [
324
- Math.abs(Number(e.priceImpact)) > 0.5 && /* @__PURE__ */ a("span", {
325
- title: "High price impact",
326
- children: /* @__PURE__ */ a(Z, { className: "size-3" })
327
- }),
328
- Number(e.priceImpact).toFixed(2),
329
- "%"
330
- ]
331
- })] }), e.priceImpactUsdDisplay && /* @__PURE__ */ a("div", {
332
- className: "text-right",
333
- children: /* @__PURE__ */ t("span", {
334
- className: "text-xs text-gray-500 dark:text-gray-400 notranslate",
335
- translate: "no",
336
- title: e.priceImpactUsdDisplay,
337
- children: [
338
- "≈",
339
- " ",
340
- e.priceImpactUsdLocaleDisplay || e.priceImpactUsdDisplay
341
- ]
342
- })
343
- })]
344
- })
345
- ] }) : null;
346
- })(),
347
- /* @__PURE__ */ t("div", {
348
- className: "space-y-3 pt-2",
349
- children: [
350
- !P && (() => {
351
- const n = G();
352
- if (n) {
353
- const { fiatToDestinationToken: s, fiatSymbol: i, destSymbol: l } = n;
354
- return /* @__PURE__ */ t(d, { children: [/* @__PURE__ */ a(o, {
355
- tooltip: `Combined exchange rate from ${i} to ${l} (via USDC on Base)`,
356
- children: "Exchange Rate"
357
- }), /* @__PURE__ */ a(c, { children: /* @__PURE__ */ t("button", {
358
- type: "button",
359
- onClick: () => H(!U),
360
- className: "hover:underline cursor-pointer",
361
- children: [
362
- "1 ",
363
- i,
364
- " = $",
365
- s.toFixed(6),
366
- " $",
367
- l,
368
- "`"
369
- ]
370
- }) })] });
371
- }
372
- if (r?.exchangeRate) {
373
- const s = r.sourceCurrencyCode, i = r.destinationCurrencyCode.split("_")[0], l = r.exchangeRate;
374
- return /* @__PURE__ */ t(d, { children: [/* @__PURE__ */ a(o, {
375
- tooltip: `Exchange rate from ${s} to ${i}`,
376
- children: "Exchange Rate"
377
- }), /* @__PURE__ */ t(c, { children: [
378
- "1 ",
379
- s,
380
- " = $",
381
- (1 / l).toFixed(6),
382
- " $",
383
- i
384
- ] })] });
385
- }
386
- return e?.originTokenRate && e?.destinationTokenRate && e.originTokenRate !== "0" && e.destinationTokenRate !== "0" ? /* @__PURE__ */ t(d, { children: [/* @__PURE__ */ a(o, {
387
- tooltip: "The current exchange rate between the origin and destination tokens",
388
- children: "Exchange Rate"
389
- }), /* @__PURE__ */ a(c, { children: /* @__PURE__ */ a("button", {
390
- type: "button",
391
- onClick: () => H(!U),
392
- className: "hover:underline cursor-pointer",
393
- children: U ? e.originTokenRate : e.destinationTokenRate
394
- }) })] }) : null;
395
- })(),
396
- (e?.originAmount && e?.originToken.symbol && e?.originChain.id || e?.destinationToken.symbol && e?.destinationAmount && e?.destinationAmountUsdDisplay && e?.destinationChain.id) && /* @__PURE__ */ t(N, { children: [!P && e?.originAmount && e?.originToken.symbol && e?.originChain.id && /* @__PURE__ */ t(d, {
397
- className: "items-start",
398
- children: [/* @__PURE__ */ a(o, {
399
- tooltip: p ? "The amount of tokens you will transfer" : "The amount of tokens you will send from the origin chain",
400
- children: p ? "Transfer Amount" : "Origin Transfer Amount"
401
- }), /* @__PURE__ */ a("div", {
402
- className: "text-right",
403
- children: E(e.originToken.contractAddress) ? /* @__PURE__ */ t(v, { children: [/* @__PURE__ */ t("div", {
404
- className: "font-medium text-xs text-gray-600 dark:text-gray-400 flex items-center gap-1 justify-end",
405
- children: [/* @__PURE__ */ a(w, {
406
- imageUrl: e.originToken.imageUrl,
407
- symbol: e.originToken.symbol,
408
- chainId: e.originChain.id,
409
- contractAddress: e.originToken.contractAddress,
410
- size: 16
411
- }), /* @__PURE__ */ t("span", {
412
- className: "notranslate",
413
- translate: "no",
414
- children: [
415
- e.originAmountFormattedLocale || e.originAmountDisplay,
416
- " ",
417
- e.originToken.symbol
418
- ]
419
- })]
420
- }), e.originAmountUsdDisplay && /* @__PURE__ */ t("div", {
421
- className: "text-xs text-gray-500 dark:text-gray-400 mt-0.5 notranslate",
422
- translate: "no",
423
- title: e.originAmountUsdDisplay,
424
- children: [
425
- "≈",
426
- " ",
427
- e.originAmountUsdLocaleDisplay || e.originAmountUsdDisplay
428
- ]
429
- })] }) : /* @__PURE__ */ t(v, { children: [/* @__PURE__ */ a("a", {
430
- href: y({
431
- address: e.originToken.contractAddress,
432
- chainId: e.originChain.id
433
- }),
434
- target: "_blank",
435
- rel: "noopener noreferrer",
436
- className: "hover:underline cursor-pointer",
437
- children: /* @__PURE__ */ t("div", {
438
- className: "font-medium text-xs text-gray-600 dark:text-gray-400 flex items-center gap-1 justify-end",
439
- children: [
440
- /* @__PURE__ */ a(w, {
441
- imageUrl: e.originToken.imageUrl,
442
- symbol: e.originToken.symbol,
443
- chainId: e.originChain.id,
444
- contractAddress: e.originToken.contractAddress,
445
- size: 16
446
- }),
447
- e.originAmountFormattedLocale || e.originAmountDisplay,
448
- " ",
449
- e.originToken.symbol
450
- ]
451
- })
452
- }), e.originAmountUsdDisplay && /* @__PURE__ */ t("div", {
453
- className: "text-xs text-gray-500 dark:text-gray-400 mt-0.5 notranslate",
454
- translate: "no",
455
- title: e.originAmountUsdDisplay,
456
- children: [
457
- "≈",
458
- " ",
459
- e.originAmountUsdLocaleDisplay || e.originAmountUsdDisplay
460
- ]
461
- })] })
462
- })]
463
- }), e?.destinationToken.symbol && e?.destinationAmount && e?.destinationAmountUsdDisplay && e?.destinationChain.id && /* @__PURE__ */ t(d, {
464
- className: "items-start",
465
- children: [/* @__PURE__ */ a(o, {
466
- tooltip: p ? "The amount of tokens the recipient will receive" : "The amount of tokens you will receive on the destination chain after the swap and/or bridge",
467
- children: p ? "Target Amount" : "Destination Target Amount"
468
- }), /* @__PURE__ */ a("div", {
469
- className: "text-right",
470
- children: E(e.destinationToken.contractAddress) ? /* @__PURE__ */ t(v, { children: [/* @__PURE__ */ t("div", {
471
- className: "font-medium text-xs text-gray-600 dark:text-gray-400 flex items-center gap-1 justify-end",
472
- children: [/* @__PURE__ */ a(w, {
473
- imageUrl: e.destinationToken.imageUrl,
474
- symbol: e.destinationToken.symbol,
475
- chainId: e.destinationChain.id,
476
- contractAddress: e.destinationToken.contractAddress,
477
- size: 16
478
- }), /* @__PURE__ */ t("span", {
479
- className: "notranslate",
480
- translate: "no",
481
- children: [
482
- e.destinationAmountFormattedLocale || e.destinationAmountDisplay,
483
- " ",
484
- e.destinationToken.symbol
485
- ]
486
- })]
487
- }), e.destinationAmountUsdDisplay && /* @__PURE__ */ t("div", {
488
- className: "text-xs text-gray-500 dark:text-gray-400 mt-0.5 notranslate",
489
- translate: "no",
490
- title: e.destinationAmountUsdDisplay,
491
- children: [
492
- "≈",
493
- " ",
494
- e.destinationAmountUsdLocaleDisplay || e.destinationAmountUsdDisplay
495
- ]
496
- })] }) : /* @__PURE__ */ t(v, { children: [/* @__PURE__ */ a("a", {
497
- href: y({
498
- address: e.destinationToken.contractAddress,
499
- chainId: e.destinationChain.id
500
- }),
501
- target: "_blank",
502
- rel: "noopener noreferrer",
503
- className: "hover:underline cursor-pointer",
504
- children: /* @__PURE__ */ t("div", {
505
- className: "font-medium text-xs text-gray-600 dark:text-gray-400 flex items-center gap-1 justify-end",
506
- children: [
507
- /* @__PURE__ */ a(w, {
508
- imageUrl: e.destinationToken.imageUrl,
509
- symbol: e.destinationToken.symbol,
510
- chainId: e.destinationChain.id,
511
- contractAddress: e.destinationToken.contractAddress,
512
- size: 16
513
- }),
514
- e.destinationAmountFormattedLocale || e.destinationAmountDisplay,
515
- " ",
516
- e.destinationToken.symbol
517
- ]
518
- })
519
- }), e.destinationAmountUsdDisplay && /* @__PURE__ */ t("div", {
520
- className: "text-xs text-gray-500 dark:text-gray-400 mt-0.5 notranslate",
521
- translate: "no",
522
- title: e.destinationAmountUsdDisplay,
523
- children: [
524
- "≈",
525
- " ",
526
- e.destinationAmountUsdLocaleDisplay || e.destinationAmountUsdDisplay
527
- ]
528
- })] })
529
- })]
530
- })] }),
531
- (e?.originDepositAddress || e?.destinationDepositAddress || e?.destinationAddress) && /* @__PURE__ */ a(N, { children: p ? e?.destinationAddress && /* @__PURE__ */ t(d, { children: [/* @__PURE__ */ a(o, {
532
- tooltip: "The address that will receive the tokens",
533
- children: "Target Address"
534
- }), /* @__PURE__ */ a(c, { children: /* @__PURE__ */ t("a", {
535
- href: y({
536
- address: e.destinationAddress,
537
- chainId: e.destinationChain.id
538
- }),
539
- target: "_blank",
540
- rel: "noopener noreferrer",
541
- className: "font-mono text-xs hover:underline flex items-center gap-1 text-blue-500",
542
- children: [k(e.destinationAddress), /* @__PURE__ */ a(f, { className: "size-3" })]
543
- }) })] }) : /* @__PURE__ */ t(v, { children: [
544
- e?.originDepositAddress && /* @__PURE__ */ t(d, { children: [/* @__PURE__ */ a(o, {
545
- tooltip: "This is the intent address to deposit to that will then execute the swap and/or bridge",
546
- children: "Origin Deposit Address"
547
- }), /* @__PURE__ */ a(c, { children: /* @__PURE__ */ t("a", {
548
- href: y({
549
- address: e.originDepositAddress,
550
- chainId: e.originChain.id
551
- }),
552
- target: "_blank",
553
- rel: "noopener noreferrer",
554
- className: "font-mono text-xs hover:underline flex items-center gap-1 text-blue-500",
555
- children: [k(e.originDepositAddress), /* @__PURE__ */ a(f, { className: "size-3" })]
556
- }) })] }),
557
- e?.destinationDepositAddress && e?.destinationDepositAddress !== e?.originDepositAddress && /* @__PURE__ */ t(d, { children: [/* @__PURE__ */ a(o, {
558
- tooltip: "This is the address that will receive the tokens after any swap and/or bridge from the origin chain",
559
- children: "Destination Deposit Address"
560
- }), /* @__PURE__ */ a(c, { children: /* @__PURE__ */ t("a", {
561
- href: y({
562
- address: e.destinationDepositAddress,
563
- chainId: e.destinationChain.id
564
- }),
565
- target: "_blank",
566
- rel: "noopener noreferrer",
567
- className: "font-mono text-xs hover:underline flex items-center gap-1 text-blue-500",
568
- children: [k(e.destinationDepositAddress), /* @__PURE__ */ a(f, { className: "size-3" })]
569
- }) })] }),
570
- e?.destinationAddress && /* @__PURE__ */ t(d, { children: [/* @__PURE__ */ a(o, {
571
- tooltip: "This is the final execution address or recipient address",
572
- children: "Destination Target Address"
573
- }), /* @__PURE__ */ a(c, { children: /* @__PURE__ */ t("a", {
574
- href: y({
575
- address: e.destinationAddress,
576
- chainId: e.destinationChain.id
577
- }),
578
- target: "_blank",
579
- rel: "noopener noreferrer",
580
- className: "font-mono text-xs hover:underline flex items-center gap-1 text-blue-500",
581
- children: [k(e.destinationAddress), /* @__PURE__ */ a(f, { className: "size-3" })]
582
- }) })] })
583
- ] }) }),
584
- e?.destinationCalldata && /* @__PURE__ */ t("div", {
585
- className: "space-y-2",
586
- children: [/* @__PURE__ */ a("div", {
587
- className: "space-y-0.5",
588
- children: /* @__PURE__ */ t("button", {
589
- type: "button",
590
- onClick: () => {
591
- ie(!u), u || setTimeout(() => {
592
- C.current && C.current.scrollIntoView({
593
- behavior: "smooth",
594
- block: "nearest"
595
- });
596
- }, 150);
597
- },
598
- className: "flex items-center gap-1 text-xs hover:underline cursor-pointer transition-colors duration-200 text-gray-600 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-300",
599
- "aria-label": u ? "Hide custom calldata" : "Show custom calldata",
600
- children: [/* @__PURE__ */ a("span", {
601
- className: "text-[10px]",
602
- children: "Includes custom destination calldata"
603
- }), /* @__PURE__ */ a(S, { className: `size-3 transition-transform duration-300 ease-out ${u ? "rotate-180" : ""}` })]
604
- })
605
- }), /* @__PURE__ */ a("div", {
606
- ref: C,
607
- className: `overflow-hidden transition-all duration-300 ease-out ${u ? "max-h-32 opacity-100" : "max-h-0 opacity-0"}`,
608
- children: /* @__PURE__ */ a("div", {
609
- className: "mt-2",
610
- children: /* @__PURE__ */ a("textarea", {
611
- value: e.destinationCalldata,
612
- readOnly: !0,
613
- className: "w-full p-2 text-xs font-mono rounded border border-solid resize-none transition-all duration-200 bg-gray-100 dark:bg-gray-700 border-gray-300 dark:border-gray-600 text-gray-800 dark:text-gray-200",
614
- rows: 4,
615
- placeholder: "No custom calldata"
616
- })
617
- })
618
- })]
619
- }),
620
- (() => {
621
- const n = F && F.length > 0, s = n ? F : p && e?.passthroughTransactionStates?.length ? e.passthroughTransactionStates : e?.transactionStates;
622
- return !s || s.length === 0 ? null : /* @__PURE__ */ t("div", {
623
- className: "mt-4",
624
- children: [/* @__PURE__ */ a("div", { className: "h-px bg-gray-200 dark:bg-gray-800 mb-3" }), /* @__PURE__ */ t(N, { children: [/* @__PURE__ */ a(d, {
625
- variant: "bold",
626
- children: /* @__PURE__ */ a(o, { children: /* @__PURE__ */ t("span", {
627
- className: "flex items-center gap-2",
628
- children: [n ? "Transactions" : "Transaction Steps", p && /* @__PURE__ */ a("span", {
629
- className: "text-[10px] px-1.5 py-0.5 rounded-full bg-green-100 dark:bg-green-900/30 text-green-700 dark:text-green-400 font-medium",
630
- children: "Direct"
631
- })]
632
- }) })
633
- }), s.map((i, l) => {
634
- const h = i, me = n && K(h.transactionHash), M = h.explorerUrl || (K(h.transactionHash) && h.chainId ? fe({
635
- txHash: h.transactionHash,
636
- chainId: h.chainId
637
- }) : null), pe = V && n ? V(h) : !1;
638
- return /* @__PURE__ */ t("div", {
639
- className: `p-2 rounded ${n ? "bg-gray-100 dark:bg-gray-700/50" : ""}`,
640
- children: [/* @__PURE__ */ t("div", {
641
- className: "flex justify-between items-center",
642
- children: [/* @__PURE__ */ t("span", {
643
- className: "flex items-center gap-2 text-xs text-gray-600 dark:text-gray-400",
644
- children: [!n && /* @__PURE__ */ a("span", {
645
- className: "w-4 h-4 rounded-full bg-gray-200 dark:bg-gray-700 flex items-center justify-center text-[10px] font-medium",
646
- children: l + 1
647
- }), i.label]
648
- }), /* @__PURE__ */ t("span", {
649
- className: "flex items-center gap-2",
650
- children: [/* @__PURE__ */ a(B, {
651
- chainId: i.chainId,
652
- size: 14
653
- }), n && h.state && /* @__PURE__ */ a("span", {
654
- className: `px-2 py-0.5 rounded-full text-xs ${be(h) ? "bg-red-100 text-red-700 dark:bg-red-900/50 dark:text-red-400" : h.state === "confirmed" ? "bg-green-100 text-green-700 dark:bg-green-900/50 dark:text-green-400" : "bg-yellow-100 text-yellow-700 dark:bg-yellow-900/50 dark:text-yellow-400"}`,
655
- children: h.state.charAt(0).toUpperCase() + h.state.slice(1)
656
- })]
657
- })]
658
- }), n && me && M && /* @__PURE__ */ t("div", {
659
- className: "mt-1 flex justify-between items-center",
660
- children: [/* @__PURE__ */ a("span", {
661
- className: "text-xs text-gray-600 dark:text-gray-400",
662
- children: "Hash"
663
- }), /* @__PURE__ */ t("a", {
664
- href: M,
665
- target: "_blank",
666
- rel: "noopener noreferrer",
667
- className: "text-xs flex items-center gap-1 hover:underline text-blue-600 hover:text-blue-700 dark:text-blue-400 dark:hover:text-blue-300",
668
- children: [
669
- pe && /* @__PURE__ */ t("svg", {
670
- className: "w-4 h-4 text-orange-500",
671
- fill: "none",
672
- viewBox: "0 0 24 24",
673
- stroke: "currentColor",
674
- children: [/* @__PURE__ */ a("title", { children: "An internal meta transaction failure occurred" }), /* @__PURE__ */ a("path", {
675
- strokeLinecap: "round",
676
- strokeLinejoin: "round",
677
- strokeWidth: 2,
678
- d: "M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-2.5L13.732 4c-.77-.833-1.964-.833-2.732 0L3.732 16.5c-.77.833.192 2.5 1.732 2.5z"
679
- })]
680
- }),
681
- /* @__PURE__ */ a("span", { children: k(h.transactionHash) }),
682
- /* @__PURE__ */ a(f, { className: "w-3 h-3" })
683
- ]
684
- })]
685
- })]
686
- }, i.label || l);
687
- })] })]
688
- });
689
- })(),
690
- _.length > 0 && /* @__PURE__ */ t("div", {
691
- className: "pt-1 text-[10px] opacity-50 text-gray-600 dark:text-gray-400",
692
- children: ["Protocol version: ", _]
693
- }),
694
- z && /* @__PURE__ */ a("div", {
695
- className: "mb-0",
696
- children: z
697
- })
698
- ]
699
- })
700
- ]
701
- })
702
- })
703
- })
704
- ]
705
- }) : null;
706
- }, N = ({ children: e, className: r = "" }) => /* @__PURE__ */ a("div", {
707
- className: `space-y-2 ${r}`,
708
- children: e
709
- }), Te = {
710
- default: "text-xs text-gray-600 dark:text-gray-400",
711
- light: "text-xs text-gray-400 dark:text-gray-600",
712
- bold: "text-sm font-semibold text-gray-900 dark:text-white"
713
- }, d = ({ children: e, className: r = "", variant: T = "default" }) => /* @__PURE__ */ a("div", {
714
- className: `flex justify-between items-center ${Te[T]} ${r}`,
715
- children: e
716
- }), o = ({ children: e, tooltip: r, className: T = "" }) => /* @__PURE__ */ t("div", {
717
- className: `flex items-center gap-1 ${T}`,
718
- children: [e, r && /* @__PURE__ */ a(Q, {
719
- message: r,
720
- children: /* @__PURE__ */ a(q, { className: "size-3 text-gray-500 dark:text-gray-400 cursor-pointer" })
721
- })]
722
- }), c = ({ children: e, className: r }) => /* @__PURE__ */ a("div", {
723
- className: r,
724
- children: e
725
- });
726
- export {
727
- je as default
728
- };