thirdweb 5.105.9 → 5.105.10

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 (463) hide show
  1. package/dist/cjs/chains/chain-definitions/t-rex-testnet.js +20 -0
  2. package/dist/cjs/chains/chain-definitions/t-rex-testnet.js.map +1 -0
  3. package/dist/cjs/exports/chains.js +3 -1
  4. package/dist/cjs/exports/chains.js.map +1 -1
  5. package/dist/cjs/insight/common.js +0 -5
  6. package/dist/cjs/insight/common.js.map +1 -1
  7. package/dist/cjs/pay/buyWithCrypto/getStatus.js.map +1 -1
  8. package/dist/cjs/pay/buyWithFiat/isSwapRequiredPostOnramp.js +0 -44
  9. package/dist/cjs/pay/buyWithFiat/isSwapRequiredPostOnramp.js.map +1 -1
  10. package/dist/cjs/pay/utils/commonTypes.js +1 -2
  11. package/dist/cjs/pay/utils/commonTypes.js.map +1 -1
  12. package/dist/cjs/react/core/hooks/useBridgeQuote.js +3 -1
  13. package/dist/cjs/react/core/hooks/useBridgeQuote.js.map +1 -1
  14. package/dist/cjs/react/core/hooks/usePaymentMethods.js +6 -1
  15. package/dist/cjs/react/core/hooks/usePaymentMethods.js.map +1 -1
  16. package/dist/cjs/react/core/utils/storage.js +1 -2
  17. package/dist/cjs/react/core/utils/storage.js.map +1 -1
  18. package/dist/cjs/react/web/ui/Bridge/BridgeOrchestrator.js +7 -2
  19. package/dist/cjs/react/web/ui/Bridge/BridgeOrchestrator.js.map +1 -1
  20. package/dist/cjs/react/web/ui/Bridge/payment-selection/PaymentSelection.js +3 -2
  21. package/dist/cjs/react/web/ui/Bridge/payment-selection/PaymentSelection.js.map +1 -1
  22. package/dist/cjs/react/web/ui/Bridge/payment-selection/TokenSelection.js +4 -3
  23. package/dist/cjs/react/web/ui/Bridge/payment-selection/TokenSelection.js.map +1 -1
  24. package/dist/cjs/react/web/ui/ConnectWallet/Details.js +11 -6
  25. package/dist/cjs/react/web/ui/ConnectWallet/Details.js.map +1 -1
  26. package/dist/cjs/react/web/ui/ConnectWallet/MenuButton.js +0 -1
  27. package/dist/cjs/react/web/ui/ConnectWallet/MenuButton.js.map +1 -1
  28. package/dist/cjs/react/web/ui/ConnectWallet/NetworkSelector.js +1 -7
  29. package/dist/cjs/react/web/ui/ConnectWallet/NetworkSelector.js.map +1 -1
  30. package/dist/cjs/react/web/ui/ConnectWallet/WalletSelector.js +0 -1
  31. package/dist/cjs/react/web/ui/ConnectWallet/WalletSelector.js.map +1 -1
  32. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/fiat/currencies.js +0 -1
  33. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/fiat/currencies.js.map +1 -1
  34. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/swap/useSwapSupportedChains.js +0 -112
  35. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/swap/useSwapSupportedChains.js.map +1 -1
  36. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/utils.js +0 -9
  37. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/utils.js.map +1 -1
  38. package/dist/cjs/react/web/ui/ConnectWallet/screens/ReceiveFunds.js +0 -1
  39. package/dist/cjs/react/web/ui/ConnectWallet/screens/ReceiveFunds.js.map +1 -1
  40. package/dist/cjs/react/web/ui/PayEmbed.js +1 -30
  41. package/dist/cjs/react/web/ui/PayEmbed.js.map +1 -1
  42. package/dist/cjs/react/web/ui/TransactionButton/DepositScreen.js +0 -1
  43. package/dist/cjs/react/web/ui/TransactionButton/DepositScreen.js.map +1 -1
  44. package/dist/cjs/react/web/ui/components/Modal.js +3 -3
  45. package/dist/cjs/react/web/ui/components/Modal.js.map +1 -1
  46. package/dist/cjs/react/web/ui/components/buttons.js +0 -2
  47. package/dist/cjs/react/web/ui/components/buttons.js.map +1 -1
  48. package/dist/cjs/react/web/ui/components/text.js +0 -1
  49. package/dist/cjs/react/web/ui/components/text.js.map +1 -1
  50. package/dist/cjs/react/web/wallets/shared/GetStartedScreen.js +0 -1
  51. package/dist/cjs/react/web/wallets/shared/GetStartedScreen.js.map +1 -1
  52. package/dist/cjs/react/web/wallets/shared/OTPLoginUI.js +0 -1
  53. package/dist/cjs/react/web/wallets/shared/OTPLoginUI.js.map +1 -1
  54. package/dist/cjs/version.js +1 -1
  55. package/dist/cjs/version.js.map +1 -1
  56. package/dist/esm/chains/chain-definitions/t-rex-testnet.js +17 -0
  57. package/dist/esm/chains/chain-definitions/t-rex-testnet.js.map +1 -0
  58. package/dist/esm/exports/chains.js +1 -0
  59. package/dist/esm/exports/chains.js.map +1 -1
  60. package/dist/esm/insight/common.js +0 -4
  61. package/dist/esm/insight/common.js.map +1 -1
  62. package/dist/esm/pay/buyWithCrypto/getStatus.js.map +1 -1
  63. package/dist/esm/pay/buyWithFiat/isSwapRequiredPostOnramp.js +0 -43
  64. package/dist/esm/pay/buyWithFiat/isSwapRequiredPostOnramp.js.map +1 -1
  65. package/dist/esm/pay/utils/commonTypes.js +2 -1
  66. package/dist/esm/pay/utils/commonTypes.js.map +1 -1
  67. package/dist/esm/react/core/hooks/useBridgeQuote.js +3 -1
  68. package/dist/esm/react/core/hooks/useBridgeQuote.js.map +1 -1
  69. package/dist/esm/react/core/hooks/usePaymentMethods.js +6 -1
  70. package/dist/esm/react/core/hooks/usePaymentMethods.js.map +1 -1
  71. package/dist/esm/react/core/utils/storage.js +0 -1
  72. package/dist/esm/react/core/utils/storage.js.map +1 -1
  73. package/dist/esm/react/web/ui/Bridge/BridgeOrchestrator.js +7 -2
  74. package/dist/esm/react/web/ui/Bridge/BridgeOrchestrator.js.map +1 -1
  75. package/dist/esm/react/web/ui/Bridge/payment-selection/PaymentSelection.js +3 -2
  76. package/dist/esm/react/web/ui/Bridge/payment-selection/PaymentSelection.js.map +1 -1
  77. package/dist/esm/react/web/ui/Bridge/payment-selection/TokenSelection.js +4 -3
  78. package/dist/esm/react/web/ui/Bridge/payment-selection/TokenSelection.js.map +1 -1
  79. package/dist/esm/react/web/ui/ConnectWallet/Details.js +12 -7
  80. package/dist/esm/react/web/ui/ConnectWallet/Details.js.map +1 -1
  81. package/dist/esm/react/web/ui/ConnectWallet/MenuButton.js +0 -1
  82. package/dist/esm/react/web/ui/ConnectWallet/MenuButton.js.map +1 -1
  83. package/dist/esm/react/web/ui/ConnectWallet/NetworkSelector.js +1 -7
  84. package/dist/esm/react/web/ui/ConnectWallet/NetworkSelector.js.map +1 -1
  85. package/dist/esm/react/web/ui/ConnectWallet/WalletSelector.js +0 -1
  86. package/dist/esm/react/web/ui/ConnectWallet/WalletSelector.js.map +1 -1
  87. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/fiat/currencies.js +1 -1
  88. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/fiat/currencies.js.map +1 -1
  89. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/swap/useSwapSupportedChains.js +1 -110
  90. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/swap/useSwapSupportedChains.js.map +1 -1
  91. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/utils.js +0 -8
  92. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/utils.js.map +1 -1
  93. package/dist/esm/react/web/ui/ConnectWallet/screens/ReceiveFunds.js +0 -1
  94. package/dist/esm/react/web/ui/ConnectWallet/screens/ReceiveFunds.js.map +1 -1
  95. package/dist/esm/react/web/ui/PayEmbed.js +3 -32
  96. package/dist/esm/react/web/ui/PayEmbed.js.map +1 -1
  97. package/dist/esm/react/web/ui/TransactionButton/DepositScreen.js +0 -1
  98. package/dist/esm/react/web/ui/TransactionButton/DepositScreen.js.map +1 -1
  99. package/dist/esm/react/web/ui/components/Modal.js +1 -1
  100. package/dist/esm/react/web/ui/components/Modal.js.map +1 -1
  101. package/dist/esm/react/web/ui/components/buttons.js +0 -2
  102. package/dist/esm/react/web/ui/components/buttons.js.map +1 -1
  103. package/dist/esm/react/web/ui/components/text.js +0 -1
  104. package/dist/esm/react/web/ui/components/text.js.map +1 -1
  105. package/dist/esm/react/web/wallets/shared/GetStartedScreen.js +0 -1
  106. package/dist/esm/react/web/wallets/shared/GetStartedScreen.js.map +1 -1
  107. package/dist/esm/react/web/wallets/shared/OTPLoginUI.js +0 -1
  108. package/dist/esm/react/web/wallets/shared/OTPLoginUI.js.map +1 -1
  109. package/dist/esm/version.js +1 -1
  110. package/dist/esm/version.js.map +1 -1
  111. package/dist/types/chains/chain-definitions/t-rex-testnet.d.ts +7 -0
  112. package/dist/types/chains/chain-definitions/t-rex-testnet.d.ts.map +1 -0
  113. package/dist/types/exports/chains.d.ts +1 -0
  114. package/dist/types/exports/chains.d.ts.map +1 -1
  115. package/dist/types/insight/common.d.ts +0 -1
  116. package/dist/types/insight/common.d.ts.map +1 -1
  117. package/dist/types/pay/buyWithCrypto/getStatus.d.ts +0 -3
  118. package/dist/types/pay/buyWithCrypto/getStatus.d.ts.map +1 -1
  119. package/dist/types/pay/buyWithFiat/isSwapRequiredPostOnramp.d.ts +0 -7
  120. package/dist/types/pay/buyWithFiat/isSwapRequiredPostOnramp.d.ts.map +1 -1
  121. package/dist/types/pay/utils/commonTypes.d.ts +2 -1
  122. package/dist/types/pay/utils/commonTypes.d.ts.map +1 -1
  123. package/dist/types/react/core/hooks/useBridgeQuote.d.ts +2 -1
  124. package/dist/types/react/core/hooks/useBridgeQuote.d.ts.map +1 -1
  125. package/dist/types/react/core/hooks/usePaymentMethods.d.ts.map +1 -1
  126. package/dist/types/react/core/utils/storage.d.ts +0 -1
  127. package/dist/types/react/core/utils/storage.d.ts.map +1 -1
  128. package/dist/types/react/web/ui/Bridge/BridgeOrchestrator.d.ts.map +1 -1
  129. package/dist/types/react/web/ui/Bridge/payment-selection/PaymentSelection.d.ts +5 -1
  130. package/dist/types/react/web/ui/Bridge/payment-selection/PaymentSelection.d.ts.map +1 -1
  131. package/dist/types/react/web/ui/Bridge/payment-selection/TokenSelection.d.ts +2 -1
  132. package/dist/types/react/web/ui/Bridge/payment-selection/TokenSelection.d.ts.map +1 -1
  133. package/dist/types/react/web/ui/ConnectWallet/Details.d.ts.map +1 -1
  134. package/dist/types/react/web/ui/ConnectWallet/MenuButton.d.ts.map +1 -1
  135. package/dist/types/react/web/ui/ConnectWallet/NetworkSelector.d.ts.map +1 -1
  136. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/fiat/currencies.d.ts +0 -1
  137. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/fiat/currencies.d.ts.map +1 -1
  138. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/main/types.d.ts +0 -29
  139. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/main/types.d.ts.map +1 -1
  140. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/swap/useSwapSupportedChains.d.ts +0 -26
  141. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/swap/useSwapSupportedChains.d.ts.map +1 -1
  142. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/utils.d.ts +0 -6
  143. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/utils.d.ts.map +1 -1
  144. package/dist/types/react/web/ui/PayEmbed.d.ts +1 -1
  145. package/dist/types/react/web/ui/PayEmbed.d.ts.map +1 -1
  146. package/dist/types/react/web/ui/components/Modal.d.ts +0 -4
  147. package/dist/types/react/web/ui/components/Modal.d.ts.map +1 -1
  148. package/dist/types/react/web/ui/components/buttons.d.ts +2 -1
  149. package/dist/types/react/web/ui/components/buttons.d.ts.map +1 -1
  150. package/dist/types/react/web/ui/components/text.d.ts.map +1 -1
  151. package/dist/types/version.d.ts +1 -1
  152. package/dist/types/version.d.ts.map +1 -1
  153. package/package.json +2 -2
  154. package/src/chains/chain-definitions/t-rex-testnet.ts +17 -0
  155. package/src/exports/chains.ts +1 -0
  156. package/src/insight/common.ts +0 -5
  157. package/src/pay/buyWithCrypto/getStatus.ts +0 -5
  158. package/src/pay/buyWithFiat/isSwapRequiredPostOnramp.ts +0 -56
  159. package/src/pay/utils/commonTypes.ts +1 -1
  160. package/src/react/core/hooks/useBridgeQuote.ts +4 -0
  161. package/src/react/core/hooks/usePaymentMethods.ts +8 -1
  162. package/src/react/core/utils/storage.ts +0 -1
  163. package/src/react/web/ui/Bridge/BridgeOrchestrator.tsx +9 -1
  164. package/src/react/web/ui/Bridge/payment-selection/PaymentSelection.tsx +8 -0
  165. package/src/react/web/ui/Bridge/payment-selection/TokenSelection.tsx +6 -0
  166. package/src/react/web/ui/ConnectWallet/Details.tsx +52 -43
  167. package/src/react/web/ui/ConnectWallet/MenuButton.tsx +0 -1
  168. package/src/react/web/ui/ConnectWallet/NetworkSelector.tsx +5 -9
  169. package/src/react/web/ui/ConnectWallet/WalletSelector.tsx +0 -1
  170. package/src/react/web/ui/ConnectWallet/screens/Buy/fiat/currencies.tsx +1 -1
  171. package/src/react/web/ui/ConnectWallet/screens/Buy/main/types.ts +0 -39
  172. package/src/react/web/ui/ConnectWallet/screens/Buy/swap/useSwapSupportedChains.ts +0 -160
  173. package/src/react/web/ui/ConnectWallet/screens/Buy/utils.ts +0 -9
  174. package/src/react/web/ui/ConnectWallet/screens/ReceiveFunds.tsx +0 -1
  175. package/src/react/web/ui/PayEmbed.tsx +3 -66
  176. package/src/react/web/ui/TransactionButton/DepositScreen.tsx +0 -1
  177. package/src/react/web/ui/components/Modal.tsx +1 -1
  178. package/src/react/web/ui/components/buttons.tsx +1 -3
  179. package/src/react/web/ui/components/text.tsx +0 -1
  180. package/src/react/web/wallets/shared/GetStartedScreen.tsx +0 -1
  181. package/src/react/web/wallets/shared/OTPLoginUI.tsx +0 -1
  182. package/src/version.ts +1 -1
  183. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/BuyScreen.js +0 -468
  184. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/BuyScreen.js.map +0 -1
  185. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/DirectPaymentModeScreen.js +0 -116
  186. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/DirectPaymentModeScreen.js.map +0 -1
  187. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/EstimatedTimeAndFees.js +0 -29
  188. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/EstimatedTimeAndFees.js.map +0 -1
  189. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/LazyBuyScreen.js +0 -11
  190. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/LazyBuyScreen.js.map +0 -1
  191. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/PayProviderSelection.js +0 -28
  192. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/PayProviderSelection.js.map +0 -1
  193. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/PayTokenIcon.js +0 -26
  194. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/PayTokenIcon.js.map +0 -1
  195. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/PayWIthCreditCard.js +0 -58
  196. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/PayWIthCreditCard.js.map +0 -1
  197. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/Stepper.js +0 -59
  198. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/Stepper.js.map +0 -1
  199. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/TransactionModeScreen.js +0 -118
  200. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/TransactionModeScreen.js.map +0 -1
  201. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/fiat/CurrencySelection.js +0 -32
  202. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/fiat/CurrencySelection.js.map +0 -1
  203. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatScreenContent.js +0 -108
  204. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatScreenContent.js.map +0 -1
  205. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatSteps.js +0 -45
  206. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatSteps.js.map +0 -1
  207. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/fiat/OnRampScreen.js +0 -532
  208. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/fiat/OnRampScreen.js.map +0 -1
  209. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/fiat/Providers.js +0 -21
  210. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/fiat/Providers.js.map +0 -1
  211. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/main/useEnabledPaymentMethods.js +0 -39
  212. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/main/useEnabledPaymentMethods.js.map +0 -1
  213. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/main/useUISelectionStates.js +0 -134
  214. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/main/useUISelectionStates.js.map +0 -1
  215. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/openOnRamppopup.js +0 -11
  216. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/openOnRamppopup.js.map +0 -1
  217. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/SwapDetailsScreen.js +0 -106
  218. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/SwapDetailsScreen.js.map +0 -1
  219. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/TokenInfoRow.js +0 -23
  220. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/TokenInfoRow.js.map +0 -1
  221. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/statusMeta.js +0 -50
  222. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/statusMeta.js.map +0 -1
  223. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/swap/BuyTokenInput.js +0 -68
  224. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/swap/BuyTokenInput.js.map +0 -1
  225. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/swap/ConfirmationScreen.js +0 -225
  226. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/swap/ConfirmationScreen.js.map +0 -1
  227. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/swap/ErrorText.js +0 -12
  228. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/swap/ErrorText.js.map +0 -1
  229. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/swap/Fees.js +0 -39
  230. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/swap/Fees.js.map +0 -1
  231. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/swap/PayWithCrypto.js +0 -55
  232. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/swap/PayWithCrypto.js.map +0 -1
  233. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/swap/SwapFlow.js +0 -49
  234. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/swap/SwapFlow.js.map +0 -1
  235. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/swap/SwapScreenContent.js +0 -176
  236. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/swap/SwapScreenContent.js.map +0 -1
  237. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/swap/SwapStatusScreen.js +0 -69
  238. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/swap/SwapStatusScreen.js.map +0 -1
  239. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/swap/SwapSummary.js +0 -34
  240. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/swap/SwapSummary.js.map +0 -1
  241. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/swap/TokenSelectorScreen.js +0 -194
  242. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/swap/TokenSelectorScreen.js.map +0 -1
  243. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/swap/TransferConfirmationScreen.js +0 -344
  244. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/swap/TransferConfirmationScreen.js.map +0 -1
  245. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/swap/TransferFlow.js +0 -15
  246. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/swap/TransferFlow.js.map +0 -1
  247. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/swap/fetchBalancesForWallet.js +0 -198
  248. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/swap/fetchBalancesForWallet.js.map +0 -1
  249. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/swap/pendingSwapTx.js +0 -15
  250. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/swap/pendingSwapTx.js.map +0 -1
  251. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/usePayerSetup.js +0 -54
  252. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/usePayerSetup.js.map +0 -1
  253. package/dist/cjs/react/web/ui/components/Drawer.js +0 -123
  254. package/dist/cjs/react/web/ui/components/Drawer.js.map +0 -1
  255. package/dist/cjs/react/web/ui/components/StepBar.js +0 -16
  256. package/dist/cjs/react/web/ui/components/StepBar.js.map +0 -1
  257. package/dist/cjs/react/web/ui/components/SwitchNetwork.js +0 -19
  258. package/dist/cjs/react/web/ui/components/SwitchNetwork.js.map +0 -1
  259. package/dist/cjs/react/web/ui/components/token/TokenRow.js +0 -43
  260. package/dist/cjs/react/web/ui/components/token/TokenRow.js.map +0 -1
  261. package/dist/cjs/react/web/utils/errors.js +0 -44
  262. package/dist/cjs/react/web/utils/errors.js.map +0 -1
  263. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/BuyScreen.js +0 -465
  264. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/BuyScreen.js.map +0 -1
  265. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/DirectPaymentModeScreen.js +0 -113
  266. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/DirectPaymentModeScreen.js.map +0 -1
  267. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/EstimatedTimeAndFees.js +0 -26
  268. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/EstimatedTimeAndFees.js.map +0 -1
  269. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/LazyBuyScreen.js +0 -8
  270. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/LazyBuyScreen.js.map +0 -1
  271. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/PayProviderSelection.js +0 -24
  272. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/PayProviderSelection.js.map +0 -1
  273. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/PayTokenIcon.js +0 -23
  274. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/PayTokenIcon.js.map +0 -1
  275. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/PayWIthCreditCard.js +0 -55
  276. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/PayWIthCreditCard.js.map +0 -1
  277. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/Stepper.js +0 -55
  278. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/Stepper.js.map +0 -1
  279. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/TransactionModeScreen.js +0 -115
  280. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/TransactionModeScreen.js.map +0 -1
  281. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/fiat/CurrencySelection.js +0 -29
  282. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/fiat/CurrencySelection.js.map +0 -1
  283. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatScreenContent.js +0 -105
  284. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatScreenContent.js.map +0 -1
  285. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatSteps.js +0 -42
  286. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatSteps.js.map +0 -1
  287. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/fiat/OnRampScreen.js +0 -529
  288. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/fiat/OnRampScreen.js.map +0 -1
  289. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/fiat/Providers.js +0 -18
  290. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/fiat/Providers.js.map +0 -1
  291. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/main/useEnabledPaymentMethods.js +0 -36
  292. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/main/useEnabledPaymentMethods.js.map +0 -1
  293. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/main/useUISelectionStates.js +0 -129
  294. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/main/useUISelectionStates.js.map +0 -1
  295. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/openOnRamppopup.js +0 -8
  296. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/openOnRamppopup.js.map +0 -1
  297. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/SwapDetailsScreen.js +0 -103
  298. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/SwapDetailsScreen.js.map +0 -1
  299. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/TokenInfoRow.js +0 -20
  300. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/TokenInfoRow.js.map +0 -1
  301. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/statusMeta.js +0 -47
  302. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/statusMeta.js.map +0 -1
  303. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/swap/BuyTokenInput.js +0 -65
  304. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/swap/BuyTokenInput.js.map +0 -1
  305. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/swap/ConfirmationScreen.js +0 -221
  306. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/swap/ConfirmationScreen.js.map +0 -1
  307. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/swap/ErrorText.js +0 -9
  308. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/swap/ErrorText.js.map +0 -1
  309. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/swap/Fees.js +0 -35
  310. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/swap/Fees.js.map +0 -1
  311. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/swap/PayWithCrypto.js +0 -52
  312. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/swap/PayWithCrypto.js.map +0 -1
  313. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/swap/SwapFlow.js +0 -46
  314. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/swap/SwapFlow.js.map +0 -1
  315. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/swap/SwapScreenContent.js +0 -173
  316. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/swap/SwapScreenContent.js.map +0 -1
  317. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/swap/SwapStatusScreen.js +0 -66
  318. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/swap/SwapStatusScreen.js.map +0 -1
  319. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/swap/SwapSummary.js +0 -31
  320. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/swap/SwapSummary.js.map +0 -1
  321. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/swap/TokenSelectorScreen.js +0 -191
  322. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/swap/TokenSelectorScreen.js.map +0 -1
  323. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/swap/TransferConfirmationScreen.js +0 -341
  324. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/swap/TransferConfirmationScreen.js.map +0 -1
  325. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/swap/TransferFlow.js +0 -12
  326. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/swap/TransferFlow.js.map +0 -1
  327. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/swap/fetchBalancesForWallet.js +0 -195
  328. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/swap/fetchBalancesForWallet.js.map +0 -1
  329. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/swap/pendingSwapTx.js +0 -11
  330. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/swap/pendingSwapTx.js.map +0 -1
  331. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/usePayerSetup.js +0 -51
  332. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/usePayerSetup.js.map +0 -1
  333. package/dist/esm/react/web/ui/components/Drawer.js +0 -119
  334. package/dist/esm/react/web/ui/components/Drawer.js.map +0 -1
  335. package/dist/esm/react/web/ui/components/StepBar.js +0 -13
  336. package/dist/esm/react/web/ui/components/StepBar.js.map +0 -1
  337. package/dist/esm/react/web/ui/components/SwitchNetwork.js +0 -16
  338. package/dist/esm/react/web/ui/components/SwitchNetwork.js.map +0 -1
  339. package/dist/esm/react/web/ui/components/token/TokenRow.js +0 -40
  340. package/dist/esm/react/web/ui/components/token/TokenRow.js.map +0 -1
  341. package/dist/esm/react/web/utils/errors.js +0 -41
  342. package/dist/esm/react/web/utils/errors.js.map +0 -1
  343. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/BuyScreen.d.ts +0 -26
  344. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/BuyScreen.d.ts.map +0 -1
  345. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/DirectPaymentModeScreen.d.ts +0 -18
  346. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/DirectPaymentModeScreen.d.ts.map +0 -1
  347. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/EstimatedTimeAndFees.d.ts +0 -6
  348. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/EstimatedTimeAndFees.d.ts.map +0 -1
  349. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/LazyBuyScreen.d.ts +0 -3
  350. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/LazyBuyScreen.d.ts.map +0 -1
  351. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/PayProviderSelection.d.ts +0 -12
  352. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/PayProviderSelection.d.ts.map +0 -1
  353. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/PayTokenIcon.d.ts +0 -14
  354. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/PayTokenIcon.d.ts.map +0 -1
  355. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/PayWIthCreditCard.d.ts +0 -16
  356. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/PayWIthCreditCard.d.ts.map +0 -1
  357. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/Stepper.d.ts +0 -10
  358. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/Stepper.d.ts.map +0 -1
  359. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/TransactionModeScreen.d.ts +0 -18
  360. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/TransactionModeScreen.d.ts.map +0 -1
  361. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/fiat/CurrencySelection.d.ts +0 -6
  362. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/fiat/CurrencySelection.d.ts.map +0 -1
  363. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatScreenContent.d.ts +0 -26
  364. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatScreenContent.d.ts.map +0 -1
  365. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatSteps.d.ts +0 -8
  366. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatSteps.d.ts.map +0 -1
  367. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/fiat/OnRampScreen.d.ts +0 -20
  368. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/fiat/OnRampScreen.d.ts.map +0 -1
  369. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/fiat/Providers.d.ts +0 -10
  370. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/fiat/Providers.d.ts.map +0 -1
  371. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/main/useEnabledPaymentMethods.d.ts +0 -15
  372. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/main/useEnabledPaymentMethods.d.ts.map +0 -1
  373. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/main/useUISelectionStates.d.ts +0 -55
  374. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/main/useUISelectionStates.d.ts.map +0 -1
  375. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/openOnRamppopup.d.ts +0 -2
  376. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/openOnRamppopup.d.ts.map +0 -1
  377. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/SwapDetailsScreen.d.ts +0 -14
  378. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/SwapDetailsScreen.d.ts.map +0 -1
  379. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/TokenInfoRow.d.ts +0 -10
  380. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/TokenInfoRow.d.ts.map +0 -1
  381. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/statusMeta.d.ts +0 -16
  382. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/statusMeta.d.ts.map +0 -1
  383. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/swap/BuyTokenInput.d.ts +0 -18
  384. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/swap/BuyTokenInput.d.ts.map +0 -1
  385. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/swap/ConfirmationScreen.d.ts +0 -32
  386. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/swap/ConfirmationScreen.d.ts.map +0 -1
  387. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/swap/ErrorText.d.ts +0 -5
  388. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/swap/ErrorText.d.ts.map +0 -1
  389. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/swap/Fees.d.ts +0 -15
  390. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/swap/Fees.d.ts.map +0 -1
  391. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/swap/PayWithCrypto.d.ts +0 -23
  392. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/swap/PayWithCrypto.d.ts.map +0 -1
  393. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/swap/SwapFlow.d.ts +0 -21
  394. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/swap/SwapFlow.d.ts.map +0 -1
  395. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/swap/SwapScreenContent.d.ts +0 -32
  396. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/swap/SwapScreenContent.d.ts.map +0 -1
  397. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/swap/SwapStatusScreen.d.ts +0 -18
  398. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/swap/SwapStatusScreen.d.ts.map +0 -1
  399. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/swap/SwapSummary.d.ts +0 -15
  400. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/swap/SwapSummary.d.ts.map +0 -1
  401. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/swap/TokenSelectorScreen.d.ts +0 -22
  402. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/swap/TokenSelectorScreen.d.ts.map +0 -1
  403. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/swap/TransferConfirmationScreen.d.ts +0 -25
  404. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/swap/TransferConfirmationScreen.d.ts.map +0 -1
  405. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/swap/TransferFlow.d.ts +0 -26
  406. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/swap/TransferFlow.d.ts.map +0 -1
  407. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/swap/fetchBalancesForWallet.d.ts +0 -25
  408. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/swap/fetchBalancesForWallet.d.ts.map +0 -1
  409. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/swap/pendingSwapTx.d.ts +0 -14
  410. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/swap/pendingSwapTx.d.ts.map +0 -1
  411. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/usePayerSetup.d.ts +0 -6
  412. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/usePayerSetup.d.ts.map +0 -1
  413. package/dist/types/react/web/ui/components/Drawer.d.ts +0 -25
  414. package/dist/types/react/web/ui/components/Drawer.d.ts.map +0 -1
  415. package/dist/types/react/web/ui/components/StepBar.d.ts +0 -5
  416. package/dist/types/react/web/ui/components/StepBar.d.ts.map +0 -1
  417. package/dist/types/react/web/ui/components/SwitchNetwork.d.ts +0 -6
  418. package/dist/types/react/web/ui/components/SwitchNetwork.d.ts.map +0 -1
  419. package/dist/types/react/web/ui/components/token/TokenRow.d.ts +0 -14
  420. package/dist/types/react/web/ui/components/token/TokenRow.d.ts.map +0 -1
  421. package/dist/types/react/web/utils/errors.d.ts +0 -8
  422. package/dist/types/react/web/utils/errors.d.ts.map +0 -1
  423. package/src/react/web/ui/ConnectWallet/screens/Buy/BuyScreen.tsx +0 -1075
  424. package/src/react/web/ui/ConnectWallet/screens/Buy/DirectPaymentModeScreen.tsx +0 -286
  425. package/src/react/web/ui/ConnectWallet/screens/Buy/EstimatedTimeAndFees.tsx +0 -85
  426. package/src/react/web/ui/ConnectWallet/screens/Buy/LazyBuyScreen.tsx +0 -13
  427. package/src/react/web/ui/ConnectWallet/screens/Buy/PayProviderSelection.tsx +0 -68
  428. package/src/react/web/ui/ConnectWallet/screens/Buy/PayTokenIcon.tsx +0 -48
  429. package/src/react/web/ui/ConnectWallet/screens/Buy/PayWIthCreditCard.tsx +0 -104
  430. package/src/react/web/ui/ConnectWallet/screens/Buy/Stepper.tsx +0 -91
  431. package/src/react/web/ui/ConnectWallet/screens/Buy/TransactionModeScreen.tsx +0 -395
  432. package/src/react/web/ui/ConnectWallet/screens/Buy/fiat/CurrencySelection.tsx +0 -61
  433. package/src/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatScreenContent.tsx +0 -263
  434. package/src/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatSteps.tsx +0 -85
  435. package/src/react/web/ui/ConnectWallet/screens/Buy/fiat/OnRampScreen.tsx +0 -775
  436. package/src/react/web/ui/ConnectWallet/screens/Buy/fiat/Providers.tsx +0 -54
  437. package/src/react/web/ui/ConnectWallet/screens/Buy/main/useEnabledPaymentMethods.ts +0 -65
  438. package/src/react/web/ui/ConnectWallet/screens/Buy/main/useUISelectionStates.ts +0 -193
  439. package/src/react/web/ui/ConnectWallet/screens/Buy/openOnRamppopup.tsx +0 -12
  440. package/src/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/SwapDetailsScreen.tsx +0 -294
  441. package/src/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/TokenInfoRow.tsx +0 -56
  442. package/src/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/statusMeta.test.ts +0 -80
  443. package/src/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/statusMeta.ts +0 -77
  444. package/src/react/web/ui/ConnectWallet/screens/Buy/swap/BuyTokenInput.tsx +0 -154
  445. package/src/react/web/ui/ConnectWallet/screens/Buy/swap/ConfirmationScreen.tsx +0 -377
  446. package/src/react/web/ui/ConnectWallet/screens/Buy/swap/ErrorText.tsx +0 -20
  447. package/src/react/web/ui/ConnectWallet/screens/Buy/swap/Fees.tsx +0 -109
  448. package/src/react/web/ui/ConnectWallet/screens/Buy/swap/PayWithCrypto.tsx +0 -114
  449. package/src/react/web/ui/ConnectWallet/screens/Buy/swap/SwapFlow.tsx +0 -117
  450. package/src/react/web/ui/ConnectWallet/screens/Buy/swap/SwapScreenContent.tsx +0 -359
  451. package/src/react/web/ui/ConnectWallet/screens/Buy/swap/SwapStatusScreen.tsx +0 -232
  452. package/src/react/web/ui/ConnectWallet/screens/Buy/swap/SwapSummary.tsx +0 -111
  453. package/src/react/web/ui/ConnectWallet/screens/Buy/swap/TokenSelectorScreen.tsx +0 -448
  454. package/src/react/web/ui/ConnectWallet/screens/Buy/swap/TransferConfirmationScreen.tsx +0 -558
  455. package/src/react/web/ui/ConnectWallet/screens/Buy/swap/TransferFlow.tsx +0 -56
  456. package/src/react/web/ui/ConnectWallet/screens/Buy/swap/fetchBalancesForWallet.tsx +0 -282
  457. package/src/react/web/ui/ConnectWallet/screens/Buy/swap/pendingSwapTx.ts +0 -23
  458. package/src/react/web/ui/ConnectWallet/screens/Buy/usePayerSetup.tsx +0 -61
  459. package/src/react/web/ui/components/Drawer.tsx +0 -171
  460. package/src/react/web/ui/components/StepBar.tsx +0 -25
  461. package/src/react/web/ui/components/SwitchNetwork.tsx +0 -35
  462. package/src/react/web/ui/components/token/TokenRow.tsx +0 -135
  463. package/src/react/web/utils/errors.ts +0 -52
@@ -1,15 +0,0 @@
1
- import type { Chain } from "../../../../../../../chains/types.js";
2
- import type { PayUIOptions } from "../../../../../../core/hooks/connection/ConnectButtonProps.js";
3
- import { type ERC20OrNativeToken } from "../../nativeToken.js";
4
- import type { SupportedChainAndTokens } from "../swap/useSwapSupportedChains.js";
5
- export type PaymentMethods = {
6
- buyWithFiatEnabled: boolean;
7
- buyWithCryptoEnabled: boolean;
8
- };
9
- export declare function useEnabledPaymentMethods(options: {
10
- payOptions: PayUIOptions;
11
- supportedDestinations: SupportedChainAndTokens;
12
- toChain: Chain;
13
- toToken: ERC20OrNativeToken;
14
- }): PaymentMethods;
15
- //# sourceMappingURL=useEnabledPaymentMethods.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useEnabledPaymentMethods.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/react/web/ui/ConnectWallet/screens/Buy/main/useEnabledPaymentMethods.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAElE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+DAA+D,CAAC;AAClG,OAAO,EAAE,KAAK,kBAAkB,EAAiB,MAAM,sBAAsB,CAAC;AAC9E,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAKjF,MAAM,MAAM,cAAc,GAAG;IAC3B,kBAAkB,EAAE,OAAO,CAAC;IAC5B,oBAAoB,EAAE,OAAO,CAAC;CAC/B,CAAC;AAEF,wBAAgB,wBAAwB,CAAC,OAAO,EAAE;IAChD,UAAU,EAAE,YAAY,CAAC;IACzB,qBAAqB,EAAE,uBAAuB,CAAC;IAC/C,OAAO,EAAE,KAAK,CAAC;IACf,OAAO,EAAE,kBAAkB,CAAC;CAC7B,GAAG,cAAc,CA6CjB"}
@@ -1,55 +0,0 @@
1
- import type { Chain } from "../../../../../../../chains/types.js";
2
- import type { PayUIOptions } from "../../../../../../core/hooks/connection/ConnectButtonProps.js";
3
- import type { TokenInfo } from "../../../../../../core/utils/defaultTokens.js";
4
- import { type ERC20OrNativeToken } from "../../nativeToken.js";
5
- import { type CurrencyMeta } from "../fiat/currencies.js";
6
- import type { SupportedChainAndTokens } from "../swap/useSwapSupportedChains.js";
7
- type SupportedSourcesInputData = {
8
- chain: Chain;
9
- tokens: {
10
- address: string;
11
- buyWithCryptoEnabled: boolean;
12
- buyWithFiatEnabled: boolean;
13
- name: string;
14
- symbol: string;
15
- }[];
16
- };
17
- export declare function useToTokenSelectionStates(options: {
18
- payOptions: PayUIOptions;
19
- supportedDestinations: SupportedChainAndTokens;
20
- }): {
21
- deferredTokenAmount: string;
22
- setToChain: import("react").Dispatch<import("react").SetStateAction<Readonly<import("../../../../../../../chains/types.js").ChainOptions & {
23
- rpc: string;
24
- }>>>;
25
- setTokenAmount: import("react").Dispatch<import("react").SetStateAction<string>>;
26
- setToToken: import("react").Dispatch<import("react").SetStateAction<ERC20OrNativeToken>>;
27
- toChain: Readonly<import("../../../../../../../chains/types.js").ChainOptions & {
28
- rpc: string;
29
- }>;
30
- tokenAmount: string;
31
- toToken: ERC20OrNativeToken;
32
- };
33
- export declare function useFromTokenSelectionStates(options: {
34
- payOptions: PayUIOptions;
35
- supportedSources: SupportedSourcesInputData[];
36
- }): {
37
- fromChain: Readonly<import("../../../../../../../chains/types.js").ChainOptions & {
38
- rpc: string;
39
- }> | undefined;
40
- fromToken: import("../../nativeToken.js").NativeToken | (Partial<TokenInfo> & {
41
- address: string;
42
- }) | undefined;
43
- setFromChain: import("react").Dispatch<import("react").SetStateAction<Readonly<import("../../../../../../../chains/types.js").ChainOptions & {
44
- rpc: string;
45
- }> | undefined>>;
46
- setFromToken: import("react").Dispatch<import("react").SetStateAction<ERC20OrNativeToken | undefined>>;
47
- };
48
- export declare function useFiatCurrencySelectionStates(options: {
49
- payOptions: PayUIOptions;
50
- }): {
51
- selectedCurrency: CurrencyMeta;
52
- setSelectedCurrency: import("react").Dispatch<import("react").SetStateAction<CurrencyMeta>>;
53
- };
54
- export {};
55
- //# sourceMappingURL=useUISelectionStates.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useUISelectionStates.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/react/web/ui/ConnectWallet/screens/Buy/main/useUISelectionStates.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAClE,OAAO,KAAK,EAEV,YAAY,EACb,MAAM,+DAA+D,CAAC;AAEvE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,+CAA+C,CAAC;AAE/E,OAAO,EAAE,KAAK,kBAAkB,EAAgB,MAAM,sBAAsB,CAAC;AAC7E,OAAO,EACL,KAAK,YAAY,EAGlB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAEjF,KAAK,yBAAyB,GAAG;IAC/B,KAAK,EAAE,KAAK,CAAC;IACb,MAAM,EAAE;QACN,OAAO,EAAE,MAAM,CAAC;QAChB,oBAAoB,EAAE,OAAO,CAAC;QAC9B,kBAAkB,EAAE,OAAO,CAAC;QAC5B,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,MAAM,CAAC;KAChB,EAAE,CAAC;CACL,CAAC;AAGF,wBAAgB,yBAAyB,CAAC,OAAO,EAAE;IACjD,UAAU,EAAE,YAAY,CAAC;IACzB,qBAAqB,EAAE,uBAAuB,CAAC;CAChD;;;;;;;;;;;;EAoDA;AAED,wBAAgB,2BAA2B,CAAC,OAAO,EAAE;IACnD,UAAU,EAAE,YAAY,CAAC;IACzB,gBAAgB,EAAE,yBAAyB,EAAE,CAAC;CAC/C;;;;;;;;;;;EAkCA;AAED,wBAAgB,8BAA8B,CAAC,OAAO,EAAE;IACtD,UAAU,EAAE,YAAY,CAAC;CAC1B;;;EAqBA"}
@@ -1,2 +0,0 @@
1
- export declare function openOnrampPopup(link: string, theme: string): Window | null;
2
- //# sourceMappingURL=openOnRamppopup.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"openOnRamppopup.d.ts","sourceRoot":"","sources":["../../../../../../../../src/react/web/ui/ConnectWallet/screens/Buy/openOnRamppopup.tsx"],"names":[],"mappings":"AAAA,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,iBAW1D"}
@@ -1,14 +0,0 @@
1
- import type { ThirdwebClient } from "../../../../../../../client/client.js";
2
- import type { BuyWithCryptoQuote } from "../../../../../../../pay/buyWithCrypto/getQuote.js";
3
- import type { ValidBuyWithCryptoStatus } from "../../../../../../../pay/buyWithCrypto/getStatus.js";
4
- export declare function SwapTxDetailsTable(props: {
5
- type: "quote";
6
- quote: BuyWithCryptoQuote;
7
- client: ThirdwebClient;
8
- } | {
9
- client: ThirdwebClient;
10
- type: "status";
11
- status: ValidBuyWithCryptoStatus;
12
- hideStatusRow?: boolean;
13
- }): import("react/jsx-runtime").JSX.Element;
14
- //# sourceMappingURL=SwapDetailsScreen.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SwapDetailsScreen.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/SwapDetailsScreen.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AAC7F,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,qDAAqD,CAAC;AA+CpG,wBAAgB,kBAAkB,CAChC,KAAK,EACD;IACE,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,kBAAkB,CAAC;IAC1B,MAAM,EAAE,cAAc,CAAC;CACxB,GACD;IACE,MAAM,EAAE,cAAc,CAAC;IACvB,IAAI,EAAE,QAAQ,CAAC;IACf,MAAM,EAAE,wBAAwB,CAAC;IACjC,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,2CAsON"}
@@ -1,10 +0,0 @@
1
- import type { ThirdwebClient } from "../../../../../../../client/client.js";
2
- export declare function TokenInfoRow(props: {
3
- tokenSymbol: string;
4
- tokenAmount: string;
5
- tokenAddress: string;
6
- chainId: number;
7
- label: string;
8
- client: ThirdwebClient;
9
- }): import("react/jsx-runtime").JSX.Element;
10
- //# sourceMappingURL=TokenInfoRow.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TokenInfoRow.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/TokenInfoRow.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAO5E,wBAAgB,YAAY,CAAC,KAAK,EAAE;IAClC,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,cAAc,CAAC;CACxB,2CAuCA"}
@@ -1,16 +0,0 @@
1
- import type { BuyWithCryptoStatus } from "../../../../../../../pay/buyWithCrypto/getStatus.js";
2
- import type { Theme } from "../../../../../../core/design-system/index.js";
3
- export type StatusMeta = {
4
- status: string;
5
- color: keyof Theme["colors"];
6
- loading?: true;
7
- };
8
- export declare function getBuyWithCryptoStatusMeta(cryptoStatus: BuyWithCryptoStatus): StatusMeta;
9
- export type FiatStatusMeta = {
10
- status: string;
11
- color: keyof Theme["colors"];
12
- loading?: true;
13
- step: 1 | 2;
14
- progressStatus: "pending" | "completed" | "failed" | "actionRequired" | "unknown";
15
- };
16
- //# sourceMappingURL=statusMeta.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"statusMeta.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/statusMeta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qDAAqD,CAAC;AAC/F,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,+CAA+C,CAAC;AAE3E,MAAM,MAAM,UAAU,GAAG;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,KAAK,CAAC,QAAQ,CAAC,CAAC;IAC7B,OAAO,CAAC,EAAE,IAAI,CAAC;CAChB,CAAC;AAEF,wBAAgB,0BAA0B,CACxC,YAAY,EAAE,mBAAmB,GAChC,UAAU,CAoDZ;AAED,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,KAAK,CAAC,QAAQ,CAAC,CAAC;IAC7B,OAAO,CAAC,EAAE,IAAI,CAAC;IACf,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC;IACZ,cAAc,EACV,SAAS,GACT,WAAW,GACX,QAAQ,GACR,gBAAgB,GAChB,SAAS,CAAC;CACf,CAAC"}
@@ -1,18 +0,0 @@
1
- import type { Chain } from "../../../../../../../chains/types.js";
2
- import type { ThirdwebClient } from "../../../../../../../client/client.js";
3
- import type { ERC20OrNativeToken } from "../../nativeToken.js";
4
- /**
5
- * @internal
6
- */
7
- export declare function BuyTokenInput(props: {
8
- token: ERC20OrNativeToken;
9
- chain: Chain;
10
- value: string;
11
- onChange: (value: string) => void;
12
- onSelectToken: () => void;
13
- client: ThirdwebClient;
14
- hideTokenSelector?: boolean;
15
- freezeAmount?: boolean;
16
- freezeChainAndToken?: boolean;
17
- }): import("react/jsx-runtime").JSX.Element;
18
- //# sourceMappingURL=BuyTokenInput.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BuyTokenInput.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/react/web/ui/ConnectWallet/screens/Buy/swap/BuyTokenInput.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAClE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAO5E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAI/D;;GAEG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE;IACnC,KAAK,EAAE,kBAAkB,CAAC;IAC1B,KAAK,EAAE,KAAK,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,MAAM,EAAE,cAAc,CAAC;IACvB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B,2CA+HA"}
@@ -1,32 +0,0 @@
1
- import type { Chain } from "../../../../../../../chains/types.js";
2
- import type { ThirdwebClient } from "../../../../../../../client/client.js";
3
- import type { BuyWithCryptoQuote } from "../../../../../../../pay/buyWithCrypto/getQuote.js";
4
- import type { ERC20OrNativeToken } from "../../nativeToken.js";
5
- import type { PayerInfo } from "../types.js";
6
- /**
7
- * @internal
8
- */
9
- export declare function SwapConfirmationScreen(props: {
10
- title: string;
11
- onBack?: () => void;
12
- client: ThirdwebClient;
13
- quote: BuyWithCryptoQuote;
14
- setSwapTxHash: (txHash: string) => void;
15
- onTryAgain: () => void;
16
- toChain: Chain;
17
- toAmount: string;
18
- toTokenSymbol: string;
19
- fromChain: Chain;
20
- toToken: ERC20OrNativeToken;
21
- fromAmount: string;
22
- fromToken: ERC20OrNativeToken;
23
- fromTokenSymbol: string;
24
- isFiatFlow: boolean;
25
- payer: PayerInfo;
26
- preApprovedAmount?: bigint;
27
- }): import("react/jsx-runtime").JSX.Element;
28
- export declare const ConnectorLine: import("@emotion/styled").StyledComponent<{
29
- theme?: import("@emotion/react").Theme;
30
- as?: React.ElementType;
31
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
32
- //# sourceMappingURL=ConfirmationScreen.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ConfirmationScreen.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/react/web/ui/ConnectWallet/screens/Buy/swap/ConfirmationScreen.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAClE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAG5E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AAgB7F,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAK7C;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,MAAM,EAAE,cAAc,CAAC;IACvB,KAAK,EAAE,kBAAkB,CAAC;IAC1B,aAAa,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,OAAO,EAAE,KAAK,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,KAAK,CAAC;IACjB,OAAO,EAAE,kBAAkB,CAAC;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,kBAAkB,CAAC;IAC9B,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,OAAO,CAAC;IACpB,KAAK,EAAE,SAAS,CAAC;IACjB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B,2CA6TA;AAED,eAAO,MAAM,aAAa;;;yGAOxB,CAAC"}
@@ -1,5 +0,0 @@
1
- export declare function ErrorText(props: {
2
- title: string;
3
- message: string;
4
- }): import("react/jsx-runtime").JSX.Element;
5
- //# sourceMappingURL=ErrorText.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ErrorText.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/react/web/ui/ConnectWallet/screens/Buy/swap/ErrorText.tsx"],"names":[],"mappings":"AAKA,wBAAgB,SAAS,CAAC,KAAK,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,2CAclE"}
@@ -1,15 +0,0 @@
1
- import type { BuyWithCryptoQuote } from "../../../../../../../pay/buyWithCrypto/getQuote.js";
2
- import type { BuyWithFiatQuote } from "../../../../../../../pay/buyWithFiat/getQuote.js";
3
- /**
4
- * @internal
5
- */
6
- export declare function SwapFees(props: {
7
- quote: BuyWithCryptoQuote;
8
- }): import("react/jsx-runtime").JSX.Element;
9
- /**
10
- * @internal
11
- */
12
- export declare function FiatFees(props: {
13
- quote: BuyWithFiatQuote;
14
- }): import("react/jsx-runtime").JSX.Element;
15
- //# sourceMappingURL=Fees.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Fees.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/react/web/ui/ConnectWallet/screens/Buy/swap/Fees.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AAC7F,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kDAAkD,CAAC;AAMzF;;GAEG;AACH,wBAAgB,QAAQ,CAAC,KAAK,EAAE;IAAE,KAAK,EAAE,kBAAkB,CAAA;CAAE,2CA6B5D;AAED;;GAEG;AACH,wBAAgB,QAAQ,CAAC,KAAK,EAAE;IAAE,KAAK,EAAE,gBAAgB,CAAA;CAAE,2CAgE1D"}
@@ -1,23 +0,0 @@
1
- import type { Chain } from "../../../../../../../chains/types.js";
2
- import type { ThirdwebClient } from "../../../../../../../client/client.js";
3
- import type { Account } from "../../../../../../../wallets/interfaces/wallet.js";
4
- import type { TokenInfo } from "../../../../../../core/utils/defaultTokens.js";
5
- import { type NativeToken } from "../../nativeToken.js";
6
- /**
7
- * Shows an amount "value" and renders the selected token and chain
8
- * It also renders the buttons to select the token and chain
9
- * It also renders the balance of active wallet for the selected token in selected chain
10
- * @internal
11
- */
12
- export declare function PayWithCryptoQuoteInfo(props: {
13
- value: string;
14
- chain: Chain | undefined;
15
- token: TokenInfo | NativeToken | undefined;
16
- isLoading: boolean;
17
- client: ThirdwebClient;
18
- freezeChainAndTokenSelection?: boolean;
19
- payerAccount: Account;
20
- swapRequired: boolean;
21
- onSelectToken: () => void;
22
- }): import("react/jsx-runtime").JSX.Element;
23
- //# sourceMappingURL=PayWithCrypto.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PayWithCrypto.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/react/web/ui/ConnectWallet/screens/Buy/swap/PayWithCrypto.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAClE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mDAAmD,CAAC;AAQjF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,+CAA+C,CAAC;AAO/E,OAAO,EAAiB,KAAK,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAGvE;;;;;GAKG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,KAAK,GAAG,SAAS,CAAC;IACzB,KAAK,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,CAAC;IAC3C,SAAS,EAAE,OAAO,CAAC;IACnB,MAAM,EAAE,cAAc,CAAC;IACvB,4BAA4B,CAAC,EAAE,OAAO,CAAC;IACvC,YAAY,EAAE,OAAO,CAAC;IACtB,YAAY,EAAE,OAAO,CAAC;IACtB,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B,2CA6EA"}
@@ -1,21 +0,0 @@
1
- import type { ThirdwebClient } from "../../../../../../../client/client.js";
2
- import type { BuyWithCryptoQuote } from "../../../../../../../pay/buyWithCrypto/getQuote.js";
3
- import type { BuyWithCryptoStatus } from "../../../../../../../pay/buyWithCrypto/getStatus.js";
4
- import type { PayerInfo } from "../types.js";
5
- type SwapFlowProps = {
6
- title: string;
7
- onBack?: () => void;
8
- buyWithCryptoQuote: BuyWithCryptoQuote;
9
- payer: PayerInfo;
10
- client: ThirdwebClient;
11
- isFiatFlow: boolean;
12
- onDone: () => void;
13
- onTryAgain: () => void;
14
- transactionMode: boolean;
15
- isEmbed: boolean;
16
- onSuccess: ((status: BuyWithCryptoStatus) => void) | undefined;
17
- approvalAmount?: bigint;
18
- };
19
- export declare function SwapFlow(props: SwapFlowProps): import("react/jsx-runtime").JSX.Element;
20
- export {};
21
- //# sourceMappingURL=SwapFlow.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SwapFlow.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/react/web/ui/ConnectWallet/screens/Buy/swap/SwapFlow.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAE5E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AAC7F,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qDAAqD,CAAC;AAG/F,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAI7C,KAAK,aAAa,GAAG;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,KAAK,EAAE,SAAS,CAAC;IACjB,MAAM,EAAE,cAAc,CAAC;IACvB,UAAU,EAAE,OAAO,CAAC;IACpB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,eAAe,EAAE,OAAO,CAAC;IACzB,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,mBAAmB,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IAC/D,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF,wBAAgB,QAAQ,CAAC,KAAK,EAAE,aAAa,2CAyF5C"}
@@ -1,32 +0,0 @@
1
- import type { Chain } from "../../../../../../../chains/types.js";
2
- import type { ThirdwebClient } from "../../../../../../../client/client.js";
3
- import type { Account } from "../../../../../../../wallets/interfaces/wallet.js";
4
- import type { PayUIOptions } from "../../../../../../core/hooks/connection/ConnectButtonProps.js";
5
- import type { PayEmbedConnectOptions } from "../../../../PayEmbed.js";
6
- import type { ConnectLocale } from "../../../locale/types.js";
7
- import { type ERC20OrNativeToken } from "../../nativeToken.js";
8
- import type { SelectedScreen } from "../main/types.js";
9
- import type { PayerInfo } from "../types.js";
10
- export declare function SwapScreenContent(props: {
11
- setScreen: (screen: SelectedScreen) => void;
12
- tokenAmount: string;
13
- toToken: ERC20OrNativeToken;
14
- toChain: Chain;
15
- fromChain: Chain | undefined;
16
- fromToken: ERC20OrNativeToken | undefined;
17
- showFromTokenSelector: () => void;
18
- payer: PayerInfo;
19
- client: ThirdwebClient;
20
- payOptions: PayUIOptions;
21
- isEmbed: boolean;
22
- onDone: () => void;
23
- connectOptions: PayEmbedConnectOptions | undefined;
24
- connectLocale: ConnectLocale;
25
- setPayer: (payer: PayerInfo) => void;
26
- activeAccount: Account;
27
- setTokenAmount: (amount: string) => void;
28
- setHasEditedAmount: (hasEdited: boolean) => void;
29
- disableTokenSelection: boolean;
30
- paymentLinkId: undefined | string;
31
- }): import("react/jsx-runtime").JSX.Element;
32
- //# sourceMappingURL=SwapScreenContent.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SwapScreenContent.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/react/web/ui/ConnectWallet/screens/Buy/swap/SwapScreenContent.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAElE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAK5E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mDAAmD,CAAC;AACjF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+DAA+D,CAAC;AAelG,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AACtE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,KAAK,kBAAkB,EAAiB,MAAM,sBAAsB,CAAC;AAE9E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAI7C,wBAAgB,iBAAiB,CAAC,KAAK,EAAE;IACvC,SAAS,EAAE,CAAC,MAAM,EAAE,cAAc,KAAK,IAAI,CAAC;IAC5C,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,kBAAkB,CAAC;IAC5B,OAAO,EAAE,KAAK,CAAC;IACf,SAAS,EAAE,KAAK,GAAG,SAAS,CAAC;IAC7B,SAAS,EAAE,kBAAkB,GAAG,SAAS,CAAC;IAC1C,qBAAqB,EAAE,MAAM,IAAI,CAAC;IAClC,KAAK,EAAE,SAAS,CAAC;IACjB,MAAM,EAAE,cAAc,CAAC;IACvB,UAAU,EAAE,YAAY,CAAC;IACzB,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,cAAc,EAAE,sBAAsB,GAAG,SAAS,CAAC;IACnD,aAAa,EAAE,aAAa,CAAC;IAC7B,QAAQ,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,IAAI,CAAC;IACrC,aAAa,EAAE,OAAO,CAAC;IACvB,cAAc,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,kBAAkB,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;IACjD,qBAAqB,EAAE,OAAO,CAAC;IAC/B,aAAa,EAAE,SAAS,GAAG,MAAM,CAAC;CACnC,2CA8SA"}
@@ -1,18 +0,0 @@
1
- import type { Chain } from "../../../../../../../chains/types.js";
2
- import type { ThirdwebClient } from "../../../../../../../client/client.js";
3
- import type { BuyWithCryptoQuote } from "../../../../../../../pay/buyWithCrypto/getQuote.js";
4
- import type { BuyWithCryptoStatus } from "../../../../../../../pay/buyWithCrypto/getStatus.js";
5
- export declare function SwapStatusScreen(props: {
6
- title: string;
7
- onBack?: () => void;
8
- swapTxHash: string;
9
- fromChain: Chain;
10
- client: ThirdwebClient;
11
- onTryAgain: () => void;
12
- onDone: () => void;
13
- transactionMode: boolean;
14
- isEmbed: boolean;
15
- quote: BuyWithCryptoQuote | undefined;
16
- onSuccess: ((status: BuyWithCryptoStatus) => void) | undefined;
17
- }): import("react/jsx-runtime").JSX.Element;
18
- //# sourceMappingURL=SwapStatusScreen.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SwapStatusScreen.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/react/web/ui/ConnectWallet/screens/Buy/swap/SwapStatusScreen.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAClE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AAC7F,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qDAAqD,CAAC;AAc/F,wBAAgB,gBAAgB,CAAC,KAAK,EAAE;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,KAAK,CAAC;IACjB,MAAM,EAAE,cAAc,CAAC;IACvB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,eAAe,EAAE,OAAO,CAAC;IACzB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,kBAAkB,GAAG,SAAS,CAAC;IACtC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,mBAAmB,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;CAChE,2CAuMA"}
@@ -1,15 +0,0 @@
1
- import type { Chain } from "../../../../../../../chains/types.js";
2
- import type { ThirdwebClient } from "../../../../../../../client/client.js";
3
- import type { ERC20OrNativeToken } from "../../nativeToken.js";
4
- export declare function SwapSummary(props: {
5
- sender: string;
6
- receiver: string;
7
- client: ThirdwebClient;
8
- fromToken: ERC20OrNativeToken;
9
- fromChain: Chain;
10
- toToken: ERC20OrNativeToken;
11
- toChain: Chain;
12
- fromAmount: string;
13
- toAmount: string;
14
- }): import("react/jsx-runtime").JSX.Element;
15
- //# sourceMappingURL=SwapSummary.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SwapSummary.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/react/web/ui/ConnectWallet/screens/Buy/swap/SwapSummary.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAClE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAK5E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAI/D,wBAAgB,WAAW,CAAC,KAAK,EAAE;IACjC,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,cAAc,CAAC;IACvB,SAAS,EAAE,kBAAkB,CAAC;IAC9B,SAAS,EAAE,KAAK,CAAC;IACjB,OAAO,EAAE,kBAAkB,CAAC;IAC5B,OAAO,EAAE,KAAK,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;CAClB,2CA0FA"}
@@ -1,22 +0,0 @@
1
- import type { Chain } from "../../../../../../../chains/types.js";
2
- import type { ThirdwebClient } from "../../../../../../../client/client.js";
3
- import type { Wallet } from "../../../../../../../wallets/interfaces/wallet.js";
4
- import type { WalletId } from "../../../../../../../wallets/wallet-types.js";
5
- import type { PayUIOptions } from "../../../../../../core/hooks/connection/ConnectButtonProps.js";
6
- import type { SupportedTokens, TokenInfo } from "../../../../../../core/utils/defaultTokens.js";
7
- import { type ERC20OrNativeToken } from "../../nativeToken.js";
8
- export declare function TokenSelectorScreen(props: {
9
- client: ThirdwebClient;
10
- sourceTokens: SupportedTokens | undefined;
11
- sourceSupportedTokens: SupportedTokens | undefined;
12
- toChain: Chain;
13
- toToken: ERC20OrNativeToken;
14
- tokenAmount: string;
15
- mode: PayUIOptions["mode"];
16
- hiddenWallets?: WalletId[];
17
- onSelectToken: (wallet: Wallet, token: TokenInfo, chain: Chain) => void;
18
- onConnect: () => void;
19
- onPayWithFiat: () => void;
20
- fiatSupported: boolean;
21
- }): import("react/jsx-runtime").JSX.Element;
22
- //# sourceMappingURL=TokenSelectorScreen.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TokenSelectorScreen.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/react/web/ui/ConnectWallet/screens/Buy/swap/TokenSelectorScreen.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAClE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mDAAmD,CAAC;AAChF,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8CAA8C,CAAC;AAO7E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+DAA+D,CAAC;AASlG,OAAO,KAAK,EACV,eAAe,EACf,SAAS,EACV,MAAM,+CAA+C,CAAC;AAUvD,OAAO,EAAE,KAAK,kBAAkB,EAAiB,MAAM,sBAAsB,CAAC;AAQ9E,wBAAgB,mBAAmB,CAAC,KAAK,EAAE;IACzC,MAAM,EAAE,cAAc,CAAC;IACvB,YAAY,EAAE,eAAe,GAAG,SAAS,CAAC;IAC1C,qBAAqB,EAAE,eAAe,GAAG,SAAS,CAAC;IACnD,OAAO,EAAE,KAAK,CAAC;IACf,OAAO,EAAE,kBAAkB,CAAC;IAC5B,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IAC3B,aAAa,CAAC,EAAE,QAAQ,EAAE,CAAC;IAC3B,aAAa,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACxE,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,aAAa,EAAE,OAAO,CAAC;CACxB,2CAuKA"}
@@ -1,25 +0,0 @@
1
- import type { Chain } from "../../../../../../../chains/types.js";
2
- import type { ThirdwebClient } from "../../../../../../../client/client.js";
3
- import type { BuyWithCryptoStatus } from "../../../../../../../pay/buyWithCrypto/getStatus.js";
4
- import type { PayUIOptions } from "../../../../../../core/hooks/connection/ConnectButtonProps.js";
5
- import { type ERC20OrNativeToken } from "../../nativeToken.js";
6
- import type { PayerInfo } from "../types.js";
7
- type TransferConfirmationScreenProps = {
8
- title: string;
9
- onBack?: () => void;
10
- setTransactionHash: (txHash: string) => void;
11
- payer: PayerInfo;
12
- receiverAddress: string;
13
- client: ThirdwebClient;
14
- onDone: () => void;
15
- chain: Chain;
16
- token: ERC20OrNativeToken;
17
- tokenAmount: string;
18
- transactionMode?: boolean;
19
- payOptions?: PayUIOptions;
20
- onSuccess: ((status: BuyWithCryptoStatus) => void) | undefined;
21
- paymentLinkId: undefined | string;
22
- };
23
- export declare function TransferConfirmationScreen(props: TransferConfirmationScreenProps): import("react/jsx-runtime").JSX.Element;
24
- export {};
25
- //# sourceMappingURL=TransferConfirmationScreen.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TransferConfirmationScreen.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/react/web/ui/ConnectWallet/screens/Buy/swap/TransferConfirmationScreen.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAElE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAU5E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qDAAqD,CAAC;AAS/F,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+DAA+D,CAAC;AAQlG,OAAO,EAAE,KAAK,kBAAkB,EAAiB,MAAM,sBAAsB,CAAC;AAE9E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAK7C,KAAK,+BAA+B,GAAG;IACrC,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,kBAAkB,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,KAAK,EAAE,SAAS,CAAC;IACjB,eAAe,EAAE,MAAM,CAAC;IACxB,MAAM,EAAE,cAAc,CAAC;IACvB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,KAAK,EAAE,KAAK,CAAC;IACb,KAAK,EAAE,kBAAkB,CAAC;IAC1B,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,UAAU,CAAC,EAAE,YAAY,CAAC;IAC1B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,mBAAmB,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IAC/D,aAAa,EAAE,SAAS,GAAG,MAAM,CAAC;CACnC,CAAC;AAEF,wBAAgB,0BAA0B,CACxC,KAAK,EAAE,+BAA+B,2CAiavC"}
@@ -1,26 +0,0 @@
1
- import type { Chain } from "../../../../../../../chains/types.js";
2
- import type { ThirdwebClient } from "../../../../../../../client/client.js";
3
- import type { BuyWithCryptoStatus } from "../../../../../../../pay/buyWithCrypto/getStatus.js";
4
- import type { PayUIOptions } from "../../../../../../core/hooks/connection/ConnectButtonProps.js";
5
- import type { ERC20OrNativeToken } from "../../nativeToken.js";
6
- import type { PayerInfo } from "../types.js";
7
- type TransferFlowProps = {
8
- title: string;
9
- onBack?: () => void;
10
- payer: PayerInfo;
11
- receiverAddress: string;
12
- client: ThirdwebClient;
13
- onDone: () => void;
14
- onTryAgain: () => void;
15
- isEmbed: boolean;
16
- onSuccess: ((status: BuyWithCryptoStatus) => void) | undefined;
17
- chain: Chain;
18
- token: ERC20OrNativeToken;
19
- tokenAmount: string;
20
- transactionMode?: boolean;
21
- payOptions?: PayUIOptions;
22
- paymentLinkId: undefined | string;
23
- };
24
- export declare function TransferFlow(props: TransferFlowProps): import("react/jsx-runtime").JSX.Element;
25
- export {};
26
- //# sourceMappingURL=TransferFlow.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TransferFlow.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/react/web/ui/ConnectWallet/screens/Buy/swap/TransferFlow.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAClE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qDAAqD,CAAC;AAC/F,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+DAA+D,CAAC;AAClG,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAI7C,KAAK,iBAAiB,GAAG;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,EAAE,SAAS,CAAC;IACjB,eAAe,EAAE,MAAM,CAAC;IACxB,MAAM,EAAE,cAAc,CAAC;IACvB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,mBAAmB,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IAC/D,KAAK,EAAE,KAAK,CAAC;IACb,KAAK,EAAE,kBAAkB,CAAC;IAC1B,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,UAAU,CAAC,EAAE,YAAY,CAAC;IAC1B,aAAa,EAAE,SAAS,GAAG,MAAM,CAAC;CACnC,CAAC;AAEF,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,2CA2BpD"}
@@ -1,25 +0,0 @@
1
- import type { Chain } from "../../../../../../../chains/types.js";
2
- import type { ThirdwebClient } from "../../../../../../../client/client.js";
3
- import { type GetWalletBalanceResult } from "../../../../../../../wallets/utils/getWalletBalance.js";
4
- import type { WalletId } from "../../../../../../../wallets/wallet-types.js";
5
- import type { PayUIOptions } from "../../../../../../core/hooks/connection/ConnectButtonProps.js";
6
- import type { SupportedTokens, TokenInfo } from "../../../../../../core/utils/defaultTokens.js";
7
- import { type ERC20OrNativeToken } from "../../nativeToken.js";
8
- export type TokenBalance = {
9
- balance: GetWalletBalanceResult;
10
- chain: Chain;
11
- token: TokenInfo;
12
- };
13
- type WalletKey = {
14
- id: WalletId;
15
- address: string;
16
- };
17
- export declare function useWalletsAndBalances(props: {
18
- sourceSupportedTokens: SupportedTokens;
19
- toChain: Chain;
20
- toToken: ERC20OrNativeToken;
21
- mode: PayUIOptions["mode"];
22
- client: ThirdwebClient;
23
- }): import("@tanstack/react-query").UseQueryResult<Map<WalletKey, TokenBalance[]>, Error>;
24
- export {};
25
- //# sourceMappingURL=fetchBalancesForWallet.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fetchBalancesForWallet.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/react/web/ui/ConnectWallet/screens/Buy/swap/fetchBalancesForWallet.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAElE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAK5E,OAAO,EACL,KAAK,sBAAsB,EAE5B,MAAM,wDAAwD,CAAC;AAChE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8CAA8C,CAAC;AAC7E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+DAA+D,CAAC;AAIlG,OAAO,KAAK,EACV,eAAe,EACf,SAAS,EACV,MAAM,+CAA+C,CAAC;AACvD,OAAO,EAAE,KAAK,kBAAkB,EAAiB,MAAM,sBAAsB,CAAC;AAsB9E,MAAM,MAAM,YAAY,GAAG;IACzB,OAAO,EAAE,sBAAsB,CAAC;IAChC,KAAK,EAAE,KAAK,CAAC;IACb,KAAK,EAAE,SAAS,CAAC;CAClB,CAAC;AAEF,KAAK,SAAS,GAAG;IACf,EAAE,EAAE,QAAQ,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,wBAAgB,qBAAqB,CAAC,KAAK,EAAE;IAC3C,qBAAqB,EAAE,eAAe,CAAC;IACvC,OAAO,EAAE,KAAK,CAAC;IACf,OAAO,EAAE,kBAAkB,CAAC;IAC5B,IAAI,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IAC3B,MAAM,EAAE,cAAc,CAAC;CACxB,yFA6CA"}
@@ -1,14 +0,0 @@
1
- type PendingTxInfo = {
2
- type: "swap";
3
- txHash: string;
4
- chainId: number;
5
- } | {
6
- type: "fiat";
7
- intentId: string;
8
- };
9
- /**
10
- * @internal
11
- */
12
- export declare const addPendingTx: (txInfo: PendingTxInfo) => void;
13
- export {};
14
- //# sourceMappingURL=pendingSwapTx.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pendingSwapTx.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/react/web/ui/ConnectWallet/screens/Buy/swap/pendingSwapTx.ts"],"names":[],"mappings":"AAEA,KAAK,aAAa,GACd;IACE,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CACjB,GACD;IACE,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAIN;;GAEG;AACH,eAAO,MAAM,YAAY,GAAI,QAAQ,aAAa,SAIjD,CAAC"}
@@ -1,6 +0,0 @@
1
- import type { PayerInfo } from "./types.js";
2
- export declare function usePayerSetup(): {
3
- payer: PayerInfo | undefined;
4
- setPayer: import("react").Dispatch<import("react").SetStateAction<PayerInfo | undefined>>;
5
- };
6
- //# sourceMappingURL=usePayerSetup.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"usePayerSetup.d.ts","sourceRoot":"","sources":["../../../../../../../../src/react/web/ui/ConnectWallet/screens/Buy/usePayerSetup.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,wBAAgB,aAAa;;;EAsD5B"}
@@ -1,25 +0,0 @@
1
- type DrawerProps = {
2
- children: React.ReactNode;
3
- close: () => void;
4
- };
5
- /**
6
- *
7
- * @internal
8
- */
9
- export declare const Drawer: import("react").ForwardRefExoticComponent<DrawerProps & import("react").RefAttributes<HTMLDivElement>>;
10
- export declare const DrawerOverlay: import("@emotion/styled").StyledComponent<{
11
- theme?: import("@emotion/react").Theme;
12
- as?: React.ElementType;
13
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
14
- /**
15
- *
16
- * @internal
17
- */
18
- export declare function useDrawer(): {
19
- drawerOverlayRef: import("react").RefObject<HTMLDivElement | null>;
20
- drawerRef: import("react").RefObject<HTMLDivElement | null>;
21
- isOpen: boolean;
22
- setIsOpen: (value: boolean) => Promise<void>;
23
- };
24
- export {};
25
- //# sourceMappingURL=Drawer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Drawer.d.ts","sourceRoot":"","sources":["../../../../../../src/react/web/ui/components/Drawer.tsx"],"names":[],"mappings":"AAmBA,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB,CAAC;AACF;;;GAGG;AACH,eAAO,MAAM,MAAM,wGA4BlB,CAAC;AA6BF,eAAO,MAAM,aAAa;;;yGASxB,CAAC;AAEH;;;GAGG;AACH,wBAAgB,SAAS;;;;uBA4BP,OAAO;EA2CxB"}
@@ -1,5 +0,0 @@
1
- export declare function StepBar(props: {
2
- steps: number;
3
- currentStep: number;
4
- }): import("react/jsx-runtime").JSX.Element;
5
- //# sourceMappingURL=StepBar.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StepBar.d.ts","sourceRoot":"","sources":["../../../../../../src/react/web/ui/components/StepBar.tsx"],"names":[],"mappings":"AAGA,wBAAgB,OAAO,CAAC,KAAK,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,2CAqBpE"}
@@ -1,6 +0,0 @@
1
- import { type ButtonProps } from "./buttons.js";
2
- export declare function SwitchNetworkButton(props: ButtonProps & {
3
- fullWidth?: boolean;
4
- switchChain: () => Promise<void>;
5
- }): import("react/jsx-runtime").JSX.Element;
6
- //# sourceMappingURL=SwitchNetwork.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SwitchNetwork.d.ts","sourceRoot":"","sources":["../../../../../../src/react/web/ui/components/SwitchNetwork.tsx"],"names":[],"mappings":"AACA,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,cAAc,CAAC;AAGxD,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,WAAW,GAAG;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CAClC,2CA0BF"}
@@ -1,14 +0,0 @@
1
- import type { Chain } from "../../../../../chains/types.js";
2
- import type { ThirdwebClient } from "../../../../../client/client.js";
3
- import type { ERC20OrNativeToken } from "../../ConnectWallet/screens/nativeToken.js";
4
- export declare function TokenRow(props: {
5
- token: ERC20OrNativeToken | undefined;
6
- chain: Chain | undefined;
7
- client: ThirdwebClient;
8
- onSelectToken: () => void;
9
- freezeChainAndToken?: boolean;
10
- value?: string;
11
- isLoading?: boolean;
12
- style?: React.CSSProperties;
13
- }): import("react/jsx-runtime").JSX.Element;
14
- //# sourceMappingURL=TokenRow.d.ts.map