thirdweb 5.35.1-nightly-faaa426bbbde281c2c5fb44aa6787f8a89f0f0f5-20240718000334 → 5.36.0

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 (318) hide show
  1. package/dist/cjs/extensions/modular/ModularCore/write/installPublishedExtension.js +19 -0
  2. package/dist/cjs/extensions/modular/ModularCore/write/installPublishedExtension.js.map +1 -1
  3. package/dist/cjs/extensions/modular/ModularCore/write/uninstallExtensionByProxy.js +17 -0
  4. package/dist/cjs/extensions/modular/ModularCore/write/uninstallExtensionByProxy.js.map +1 -1
  5. package/dist/cjs/extensions/modular/ModularCore/write/uninstallPublishedExtension.js +18 -0
  6. package/dist/cjs/extensions/modular/ModularCore/write/uninstallPublishedExtension.js.map +1 -1
  7. package/dist/cjs/pay/getBuyHistory.js +1 -1
  8. package/dist/cjs/react/core/hooks/contract/useReadContract.js.map +1 -1
  9. package/dist/cjs/react/core/hooks/transaction/useSendTransaction.js +9 -3
  10. package/dist/cjs/react/core/hooks/transaction/useSendTransaction.js.map +1 -1
  11. package/dist/cjs/react/web/hooks/transaction/useSendTransaction.js +2 -2
  12. package/dist/cjs/react/web/hooks/transaction/useSendTransaction.js.map +1 -1
  13. package/dist/cjs/react/web/ui/ConnectWallet/Details.js +5 -5
  14. package/dist/cjs/react/web/ui/ConnectWallet/Details.js.map +1 -1
  15. package/dist/cjs/react/web/ui/ConnectWallet/TransactionsScreen.js +48 -0
  16. package/dist/cjs/react/web/ui/ConnectWallet/TransactionsScreen.js.map +1 -0
  17. package/dist/cjs/react/web/ui/ConnectWallet/locale/en.js +2 -0
  18. package/dist/cjs/react/web/ui/ConnectWallet/locale/en.js.map +1 -1
  19. package/dist/cjs/react/web/ui/ConnectWallet/locale/es.js +3 -1
  20. package/dist/cjs/react/web/ui/ConnectWallet/locale/es.js.map +1 -1
  21. package/dist/cjs/react/web/ui/ConnectWallet/locale/ja.js +3 -1
  22. package/dist/cjs/react/web/ui/ConnectWallet/locale/ja.js.map +1 -1
  23. package/dist/cjs/react/web/ui/ConnectWallet/locale/tl.js +3 -1
  24. package/dist/cjs/react/web/ui/ConnectWallet/locale/tl.js.map +1 -1
  25. package/dist/cjs/react/web/ui/ConnectWallet/locale/vi.js +3 -1
  26. package/dist/cjs/react/web/ui/ConnectWallet/locale/vi.js.map +1 -1
  27. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatStatusScreen.js +1 -1
  28. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatStatusScreen.js.map +1 -1
  29. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatSteps.js +1 -1
  30. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatSteps.js.map +1 -1
  31. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatTxDetailsTable.js +1 -1
  32. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatTxDetailsTable.js.map +1 -1
  33. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/BuyTxHistory.js +83 -0
  34. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/BuyTxHistory.js.map +1 -0
  35. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/BuyTxHistoryButton.js.map +1 -0
  36. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/FiatDetailsScreen.js.map +1 -0
  37. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/SwapDetailsScreen.js.map +1 -0
  38. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/TokenInfoRow.js.map +1 -0
  39. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/TxDetailsScreen.js.map +1 -0
  40. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/statusMeta.js.map +1 -0
  41. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/useBuyTransactionsToShow.js.map +1 -0
  42. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/swap/SwapStatusScreen.js +1 -1
  43. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/swap/SwapStatusScreen.js.map +1 -1
  44. package/dist/cjs/react/web/ui/ConnectWallet/screens/WalletTransactionHistory.js +78 -0
  45. package/dist/cjs/react/web/ui/ConnectWallet/screens/WalletTransactionHistory.js.map +1 -0
  46. package/dist/cjs/react/web/ui/PayEmbed.js +2 -2
  47. package/dist/cjs/react/web/ui/PayEmbed.js.map +1 -1
  48. package/dist/cjs/react/web/ui/components/Tabs.js +25 -0
  49. package/dist/cjs/react/web/ui/components/Tabs.js.map +1 -0
  50. package/dist/cjs/storage/unpin.js +1 -1
  51. package/dist/cjs/transaction/actions/wait-for-tx-receipt.js +2 -2
  52. package/dist/cjs/transaction/actions/wait-for-tx-receipt.js.map +1 -1
  53. package/dist/cjs/transaction/read-contract.js +1 -0
  54. package/dist/cjs/transaction/read-contract.js.map +1 -1
  55. package/dist/cjs/transaction/transaction-store.js +10 -0
  56. package/dist/cjs/transaction/transaction-store.js.map +1 -1
  57. package/dist/cjs/utils/extensions/airdrop/fetch-proofs-erc1155.js +1 -2
  58. package/dist/cjs/utils/extensions/airdrop/fetch-proofs-erc1155.js.map +1 -1
  59. package/dist/cjs/utils/extensions/airdrop/fetch-proofs-erc20.js +1 -2
  60. package/dist/cjs/utils/extensions/airdrop/fetch-proofs-erc20.js.map +1 -1
  61. package/dist/cjs/utils/extensions/airdrop/fetch-proofs-erc721.js +1 -2
  62. package/dist/cjs/utils/extensions/airdrop/fetch-proofs-erc721.js.map +1 -1
  63. package/dist/cjs/utils/extensions/drops/get-claim-params.js +19 -0
  64. package/dist/cjs/utils/extensions/drops/get-claim-params.js.map +1 -1
  65. package/dist/cjs/utils/jwt/decode-jwt.js +1 -0
  66. package/dist/cjs/utils/jwt/decode-jwt.js.map +1 -1
  67. package/dist/cjs/utils/jwt/encode-jwt.js +1 -0
  68. package/dist/cjs/utils/jwt/encode-jwt.js.map +1 -1
  69. package/dist/cjs/utils/jwt/refresh-jwt.js +1 -0
  70. package/dist/cjs/utils/jwt/refresh-jwt.js.map +1 -1
  71. package/dist/cjs/utils/signatures/resolve-signature.js +0 -2
  72. package/dist/cjs/utils/signatures/resolve-signature.js.map +1 -1
  73. package/dist/cjs/version.js +1 -1
  74. package/dist/cjs/version.js.map +1 -1
  75. package/dist/cjs/wallets/eip5792/wait-for-bundle.js +2 -2
  76. package/dist/cjs/wallets/eip5792/wait-for-bundle.js.map +1 -1
  77. package/dist/cjs/wallets/smart/index.js +0 -1
  78. package/dist/cjs/wallets/smart/index.js.map +1 -1
  79. package/dist/esm/extensions/modular/ModularCore/write/installPublishedExtension.js +19 -0
  80. package/dist/esm/extensions/modular/ModularCore/write/installPublishedExtension.js.map +1 -1
  81. package/dist/esm/extensions/modular/ModularCore/write/uninstallExtensionByProxy.js +17 -0
  82. package/dist/esm/extensions/modular/ModularCore/write/uninstallExtensionByProxy.js.map +1 -1
  83. package/dist/esm/extensions/modular/ModularCore/write/uninstallPublishedExtension.js +18 -0
  84. package/dist/esm/extensions/modular/ModularCore/write/uninstallPublishedExtension.js.map +1 -1
  85. package/dist/esm/pay/getBuyHistory.js +1 -1
  86. package/dist/esm/react/core/hooks/contract/useReadContract.js.map +1 -1
  87. package/dist/esm/react/core/hooks/transaction/useSendTransaction.js +9 -3
  88. package/dist/esm/react/core/hooks/transaction/useSendTransaction.js.map +1 -1
  89. package/dist/esm/react/web/hooks/transaction/useSendTransaction.js +2 -2
  90. package/dist/esm/react/web/hooks/transaction/useSendTransaction.js.map +1 -1
  91. package/dist/esm/react/web/ui/ConnectWallet/Details.js +5 -5
  92. package/dist/esm/react/web/ui/ConnectWallet/Details.js.map +1 -1
  93. package/dist/esm/react/web/ui/ConnectWallet/TransactionsScreen.js +45 -0
  94. package/dist/esm/react/web/ui/ConnectWallet/TransactionsScreen.js.map +1 -0
  95. package/dist/esm/react/web/ui/ConnectWallet/locale/en.js +2 -0
  96. package/dist/esm/react/web/ui/ConnectWallet/locale/en.js.map +1 -1
  97. package/dist/esm/react/web/ui/ConnectWallet/locale/es.js +3 -1
  98. package/dist/esm/react/web/ui/ConnectWallet/locale/es.js.map +1 -1
  99. package/dist/esm/react/web/ui/ConnectWallet/locale/ja.js +3 -1
  100. package/dist/esm/react/web/ui/ConnectWallet/locale/ja.js.map +1 -1
  101. package/dist/esm/react/web/ui/ConnectWallet/locale/tl.js +3 -1
  102. package/dist/esm/react/web/ui/ConnectWallet/locale/tl.js.map +1 -1
  103. package/dist/esm/react/web/ui/ConnectWallet/locale/vi.js +3 -1
  104. package/dist/esm/react/web/ui/ConnectWallet/locale/vi.js.map +1 -1
  105. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatStatusScreen.js +1 -1
  106. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatStatusScreen.js.map +1 -1
  107. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatSteps.js +1 -1
  108. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatSteps.js.map +1 -1
  109. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatTxDetailsTable.js +1 -1
  110. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatTxDetailsTable.js.map +1 -1
  111. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/BuyTxHistory.js +79 -0
  112. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/BuyTxHistory.js.map +1 -0
  113. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/BuyTxHistoryButton.js.map +1 -0
  114. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/FiatDetailsScreen.js.map +1 -0
  115. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/SwapDetailsScreen.js.map +1 -0
  116. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/TokenInfoRow.js.map +1 -0
  117. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/TxDetailsScreen.js.map +1 -0
  118. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/statusMeta.js.map +1 -0
  119. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/useBuyTransactionsToShow.js.map +1 -0
  120. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/swap/SwapStatusScreen.js +1 -1
  121. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/swap/SwapStatusScreen.js.map +1 -1
  122. package/dist/esm/react/web/ui/ConnectWallet/screens/WalletTransactionHistory.js +74 -0
  123. package/dist/esm/react/web/ui/ConnectWallet/screens/WalletTransactionHistory.js.map +1 -0
  124. package/dist/esm/react/web/ui/PayEmbed.js +2 -2
  125. package/dist/esm/react/web/ui/PayEmbed.js.map +1 -1
  126. package/dist/esm/react/web/ui/components/Tabs.js +22 -0
  127. package/dist/esm/react/web/ui/components/Tabs.js.map +1 -0
  128. package/dist/esm/storage/unpin.js +1 -1
  129. package/dist/esm/transaction/actions/wait-for-tx-receipt.js +2 -2
  130. package/dist/esm/transaction/actions/wait-for-tx-receipt.js.map +1 -1
  131. package/dist/esm/transaction/read-contract.js +1 -0
  132. package/dist/esm/transaction/read-contract.js.map +1 -1
  133. package/dist/esm/transaction/transaction-store.js +10 -0
  134. package/dist/esm/transaction/transaction-store.js.map +1 -1
  135. package/dist/esm/utils/extensions/airdrop/fetch-proofs-erc1155.js +1 -2
  136. package/dist/esm/utils/extensions/airdrop/fetch-proofs-erc1155.js.map +1 -1
  137. package/dist/esm/utils/extensions/airdrop/fetch-proofs-erc20.js +1 -2
  138. package/dist/esm/utils/extensions/airdrop/fetch-proofs-erc20.js.map +1 -1
  139. package/dist/esm/utils/extensions/airdrop/fetch-proofs-erc721.js +1 -2
  140. package/dist/esm/utils/extensions/airdrop/fetch-proofs-erc721.js.map +1 -1
  141. package/dist/esm/utils/extensions/drops/get-claim-params.js +19 -0
  142. package/dist/esm/utils/extensions/drops/get-claim-params.js.map +1 -1
  143. package/dist/esm/utils/jwt/decode-jwt.js +1 -0
  144. package/dist/esm/utils/jwt/decode-jwt.js.map +1 -1
  145. package/dist/esm/utils/jwt/encode-jwt.js +1 -0
  146. package/dist/esm/utils/jwt/encode-jwt.js.map +1 -1
  147. package/dist/esm/utils/jwt/refresh-jwt.js +1 -0
  148. package/dist/esm/utils/jwt/refresh-jwt.js.map +1 -1
  149. package/dist/esm/utils/signatures/resolve-signature.js +0 -2
  150. package/dist/esm/utils/signatures/resolve-signature.js.map +1 -1
  151. package/dist/esm/version.js +1 -1
  152. package/dist/esm/version.js.map +1 -1
  153. package/dist/esm/wallets/eip5792/wait-for-bundle.js +2 -2
  154. package/dist/esm/wallets/eip5792/wait-for-bundle.js.map +1 -1
  155. package/dist/esm/wallets/smart/index.js +0 -1
  156. package/dist/esm/wallets/smart/index.js.map +1 -1
  157. package/dist/types/extensions/modular/ModularCore/write/installPublishedExtension.d.ts +20 -1
  158. package/dist/types/extensions/modular/ModularCore/write/installPublishedExtension.d.ts.map +1 -1
  159. package/dist/types/extensions/modular/ModularCore/write/uninstallExtensionByProxy.d.ts +17 -0
  160. package/dist/types/extensions/modular/ModularCore/write/uninstallExtensionByProxy.d.ts.map +1 -1
  161. package/dist/types/extensions/modular/ModularCore/write/uninstallPublishedExtension.d.ts +19 -1
  162. package/dist/types/extensions/modular/ModularCore/write/uninstallPublishedExtension.d.ts.map +1 -1
  163. package/dist/types/pay/getBuyHistory.d.ts +1 -1
  164. package/dist/types/react/core/hooks/contract/useReadContract.d.ts +2 -3
  165. package/dist/types/react/core/hooks/contract/useReadContract.d.ts.map +1 -1
  166. package/dist/types/react/core/hooks/transaction/useSendTransaction.d.ts.map +1 -1
  167. package/dist/types/react/web/ui/ConnectWallet/Details.d.ts.map +1 -1
  168. package/dist/types/react/web/ui/ConnectWallet/TransactionsScreen.d.ts +14 -0
  169. package/dist/types/react/web/ui/ConnectWallet/TransactionsScreen.d.ts.map +1 -0
  170. package/dist/types/react/web/ui/ConnectWallet/locale/en.d.ts.map +1 -1
  171. package/dist/types/react/web/ui/ConnectWallet/locale/es.d.ts.map +1 -1
  172. package/dist/types/react/web/ui/ConnectWallet/locale/ja.d.ts.map +1 -1
  173. package/dist/types/react/web/ui/ConnectWallet/locale/tl.d.ts.map +1 -1
  174. package/dist/types/react/web/ui/ConnectWallet/locale/types.d.ts +2 -0
  175. package/dist/types/react/web/ui/ConnectWallet/locale/types.d.ts.map +1 -1
  176. package/dist/types/react/web/ui/ConnectWallet/locale/vi.d.ts.map +1 -1
  177. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatTxDetailsTable.d.ts +1 -1
  178. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatTxDetailsTable.d.ts.map +1 -1
  179. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/BuyTxHistory.d.ts +2 -4
  180. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/BuyTxHistory.d.ts.map +1 -0
  181. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/BuyTxHistoryButton.d.ts.map +1 -0
  182. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/FiatDetailsScreen.d.ts.map +1 -0
  183. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/SwapDetailsScreen.d.ts.map +1 -0
  184. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/TokenInfoRow.d.ts.map +1 -0
  185. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/TxDetailsScreen.d.ts.map +1 -0
  186. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/statusMeta.d.ts.map +1 -0
  187. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/useBuyTransactionsToShow.d.ts.map +1 -0
  188. package/dist/types/react/web/ui/ConnectWallet/screens/WalletTransactionHistory.d.ts +15 -0
  189. package/dist/types/react/web/ui/ConnectWallet/screens/WalletTransactionHistory.d.ts.map +1 -0
  190. package/dist/types/react/web/ui/ConnectWallet/screens/types.d.ts +1 -1
  191. package/dist/types/react/web/ui/ConnectWallet/screens/types.d.ts.map +1 -1
  192. package/dist/types/react/web/ui/components/Tabs.d.ts +7 -0
  193. package/dist/types/react/web/ui/components/Tabs.d.ts.map +1 -0
  194. package/dist/types/storage/unpin.d.ts +1 -1
  195. package/dist/types/transaction/actions/wait-for-tx-receipt.d.ts +2 -2
  196. package/dist/types/transaction/actions/wait-for-tx-receipt.d.ts.map +1 -1
  197. package/dist/types/transaction/read-contract.d.ts +1 -0
  198. package/dist/types/transaction/read-contract.d.ts.map +1 -1
  199. package/dist/types/transaction/transaction-store.d.ts +10 -0
  200. package/dist/types/transaction/transaction-store.d.ts.map +1 -1
  201. package/dist/types/utils/extensions/airdrop/fetch-proofs-erc1155.d.ts +34 -0
  202. package/dist/types/utils/extensions/airdrop/fetch-proofs-erc1155.d.ts.map +1 -1
  203. package/dist/types/utils/extensions/airdrop/fetch-proofs-erc20.d.ts +34 -0
  204. package/dist/types/utils/extensions/airdrop/fetch-proofs-erc20.d.ts.map +1 -1
  205. package/dist/types/utils/extensions/airdrop/fetch-proofs-erc721.d.ts +34 -0
  206. package/dist/types/utils/extensions/airdrop/fetch-proofs-erc721.d.ts.map +1 -1
  207. package/dist/types/utils/extensions/drops/get-claim-params.d.ts +19 -0
  208. package/dist/types/utils/extensions/drops/get-claim-params.d.ts.map +1 -1
  209. package/dist/types/utils/jwt/decode-jwt.d.ts +1 -0
  210. package/dist/types/utils/jwt/decode-jwt.d.ts.map +1 -1
  211. package/dist/types/utils/jwt/encode-jwt.d.ts +1 -0
  212. package/dist/types/utils/jwt/encode-jwt.d.ts.map +1 -1
  213. package/dist/types/utils/jwt/refresh-jwt.d.ts +1 -0
  214. package/dist/types/utils/jwt/refresh-jwt.d.ts.map +1 -1
  215. package/dist/types/utils/signatures/resolve-signature.d.ts.map +1 -1
  216. package/dist/types/version.d.ts +1 -1
  217. package/dist/types/version.d.ts.map +1 -1
  218. package/dist/types/wallets/eip5792/wait-for-bundle.d.ts +2 -2
  219. package/dist/types/wallets/eip5792/wait-for-bundle.d.ts.map +1 -1
  220. package/package.json +1 -1
  221. package/src/extensions/modular/ModularCore/write/installPublishedExtension.ts +20 -1
  222. package/src/extensions/modular/ModularCore/write/uninstallExtensionByProxy.ts +17 -0
  223. package/src/extensions/modular/ModularCore/write/uninstallPublishedExtension.ts +19 -1
  224. package/src/pay/getBuyHistory.ts +1 -1
  225. package/src/react/core/hooks/contract/useReadContract.ts +3 -3
  226. package/src/react/core/hooks/transaction/useSendTransaction.ts +12 -3
  227. package/src/react/web/hooks/transaction/useSendTransaction.tsx +2 -2
  228. package/src/react/web/ui/ConnectWallet/Details.tsx +8 -18
  229. package/src/react/web/ui/ConnectWallet/TransactionsScreen.tsx +122 -0
  230. package/src/react/web/ui/ConnectWallet/locale/en.ts +2 -0
  231. package/src/react/web/ui/ConnectWallet/locale/es.ts +3 -1
  232. package/src/react/web/ui/ConnectWallet/locale/ja.ts +3 -1
  233. package/src/react/web/ui/ConnectWallet/locale/tl.ts +3 -1
  234. package/src/react/web/ui/ConnectWallet/locale/types.ts +2 -0
  235. package/src/react/web/ui/ConnectWallet/locale/vi.ts +3 -1
  236. package/src/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatStatusScreen.tsx +1 -1
  237. package/src/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatSteps.tsx +1 -1
  238. package/src/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatTxDetailsTable.tsx +2 -2
  239. package/src/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/BuyTxHistory.tsx +118 -121
  240. package/src/react/web/ui/ConnectWallet/screens/Buy/swap/SwapStatusScreen.tsx +1 -1
  241. package/src/react/web/ui/ConnectWallet/screens/WalletTransactionHistory.tsx +214 -0
  242. package/src/react/web/ui/ConnectWallet/screens/types.ts +1 -1
  243. package/src/react/web/ui/PayEmbed.tsx +2 -2
  244. package/src/react/web/ui/components/Tabs.tsx +56 -0
  245. package/src/storage/unpin.ts +1 -1
  246. package/src/transaction/actions/wait-for-tx-receipt.test.ts +5 -7
  247. package/src/transaction/actions/wait-for-tx-receipt.ts +2 -2
  248. package/src/transaction/read-contract.test.ts +1 -0
  249. package/src/transaction/read-contract.ts +2 -0
  250. package/src/transaction/transaction-store.ts +10 -0
  251. package/src/utils/extensions/airdrop/fetch-proofs-erc1155.ts +1 -2
  252. package/src/utils/extensions/airdrop/fetch-proofs-erc20.ts +1 -2
  253. package/src/utils/extensions/airdrop/fetch-proofs-erc721.ts +1 -2
  254. package/src/utils/extensions/drops/get-claim-params.ts +19 -0
  255. package/src/utils/jwt/decode-jwt.ts +1 -0
  256. package/src/utils/jwt/encode-jwt.ts +1 -0
  257. package/src/utils/jwt/refresh-jwt.ts +1 -0
  258. package/src/utils/signatures/resolve-signature.ts +0 -2
  259. package/src/version.ts +1 -1
  260. package/src/wallets/eip5792/wait-for-bundle.test.ts +5 -7
  261. package/src/wallets/eip5792/wait-for-bundle.ts +2 -2
  262. package/src/wallets/smart/index.ts +0 -3
  263. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/tx-history/BuyTxHistory.js +0 -85
  264. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/tx-history/BuyTxHistory.js.map +0 -1
  265. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/tx-history/BuyTxHistoryButton.js.map +0 -1
  266. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/tx-history/FiatDetailsScreen.js.map +0 -1
  267. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/tx-history/SwapDetailsScreen.js.map +0 -1
  268. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/tx-history/TokenInfoRow.js.map +0 -1
  269. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/tx-history/TxDetailsScreen.js.map +0 -1
  270. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/tx-history/statusMeta.js.map +0 -1
  271. package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/tx-history/useBuyTransactionsToShow.js.map +0 -1
  272. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/tx-history/BuyTxHistory.js +0 -81
  273. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/tx-history/BuyTxHistory.js.map +0 -1
  274. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/tx-history/BuyTxHistoryButton.js.map +0 -1
  275. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/tx-history/FiatDetailsScreen.js.map +0 -1
  276. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/tx-history/SwapDetailsScreen.js.map +0 -1
  277. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/tx-history/TokenInfoRow.js.map +0 -1
  278. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/tx-history/TxDetailsScreen.js.map +0 -1
  279. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/tx-history/statusMeta.js.map +0 -1
  280. package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/tx-history/useBuyTransactionsToShow.js.map +0 -1
  281. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/tx-history/BuyTxHistory.d.ts.map +0 -1
  282. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/tx-history/BuyTxHistoryButton.d.ts.map +0 -1
  283. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/tx-history/FiatDetailsScreen.d.ts.map +0 -1
  284. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/tx-history/SwapDetailsScreen.d.ts.map +0 -1
  285. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/tx-history/TokenInfoRow.d.ts.map +0 -1
  286. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/tx-history/TxDetailsScreen.d.ts.map +0 -1
  287. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/tx-history/statusMeta.d.ts.map +0 -1
  288. package/dist/types/react/web/ui/ConnectWallet/screens/Buy/tx-history/useBuyTransactionsToShow.d.ts.map +0 -1
  289. package/src/extensions/erc1155/drops/write/updateMetadata.test.ts +0 -127
  290. package/src/extensions/erc721/drops/write/updateMetadata.test.ts +0 -127
  291. /package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/BuyTxHistoryButton.js +0 -0
  292. /package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/FiatDetailsScreen.js +0 -0
  293. /package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/SwapDetailsScreen.js +0 -0
  294. /package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/TokenInfoRow.js +0 -0
  295. /package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/TxDetailsScreen.js +0 -0
  296. /package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/statusMeta.js +0 -0
  297. /package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/useBuyTransactionsToShow.js +0 -0
  298. /package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/BuyTxHistoryButton.js +0 -0
  299. /package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/FiatDetailsScreen.js +0 -0
  300. /package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/SwapDetailsScreen.js +0 -0
  301. /package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/TokenInfoRow.js +0 -0
  302. /package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/TxDetailsScreen.js +0 -0
  303. /package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/statusMeta.js +0 -0
  304. /package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/useBuyTransactionsToShow.js +0 -0
  305. /package/dist/types/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/BuyTxHistoryButton.d.ts +0 -0
  306. /package/dist/types/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/FiatDetailsScreen.d.ts +0 -0
  307. /package/dist/types/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/SwapDetailsScreen.d.ts +0 -0
  308. /package/dist/types/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/TokenInfoRow.d.ts +0 -0
  309. /package/dist/types/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/TxDetailsScreen.d.ts +0 -0
  310. /package/dist/types/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/statusMeta.d.ts +0 -0
  311. /package/dist/types/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/useBuyTransactionsToShow.d.ts +0 -0
  312. /package/src/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/BuyTxHistoryButton.tsx +0 -0
  313. /package/src/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/FiatDetailsScreen.tsx +0 -0
  314. /package/src/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/SwapDetailsScreen.tsx +0 -0
  315. /package/src/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/TokenInfoRow.tsx +0 -0
  316. /package/src/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/TxDetailsScreen.tsx +0 -0
  317. /package/src/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/statusMeta.ts +0 -0
  318. /package/src/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/useBuyTransactionsToShow.ts +0 -0
@@ -1,5 +1,39 @@
1
1
  import type { ThirdwebContract } from "../../../contract/contract.js";
2
2
  import type { ClaimProofERC20 } from "./types.js";
3
+ /**
4
+ * Retrieves the claim merkle proof for the provided address.
5
+ * @param {Object} options
6
+ * @param {@link ThirdwebContract} contract - The ERC20 airdrop contract
7
+ * @param {string} recipient - The address of the drop recipient
8
+ * @param {string} merkleRoot - The merkle root, found on the active claim condition
9
+ *
10
+ * @returns {Promise<ClaimProofERC20 | null>} A promise that resolves to the proof or null if the recipient is not in the allowlist
11
+ *
12
+ * @example
13
+ * ```ts
14
+ * import { fetchProofsERCC20 } from "thirdweb/extensions/airdrop";
15
+ * import { getContract, defineChain } from "thirdweb";
16
+ *
17
+ * const TOKEN = getContracct({
18
+ * client,
19
+ * chain: defineChain(1),
20
+ * address: "0x..."
21
+ * });
22
+ *
23
+ * const merkleRoot = await tokenMerkleRoot({
24
+ * contract: TOKEN,
25
+ * tokenAddress: TOKEN.address
26
+ * });
27
+ *
28
+ * const proof = await fetchProofsERC20({
29
+ * contract: TOKEN,
30
+ * recipient: "0x...",
31
+ * merkleRoot
32
+ * });
33
+ * ```
34
+ *
35
+ * @extension AIRDROP
36
+ */
3
37
  export declare function fetchProofsERC20(options: {
4
38
  contract: ThirdwebContract;
5
39
  recipient: string;
@@ -1 +1 @@
1
- {"version":3,"file":"fetch-proofs-erc20.d.ts","sourceRoot":"","sources":["../../../../../src/utils/extensions/airdrop/fetch-proofs-erc20.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAOtE,OAAO,KAAK,EACV,eAAe,EAGhB,MAAM,YAAY,CAAC;AAoCpB,wBAAsB,gBAAgB,CAAC,OAAO,EAAE;IAC9C,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;CACvB,GAAG,OAAO,CAAC,eAAe,GAAG,IAAI,CAAC,CA2ElC"}
1
+ {"version":3,"file":"fetch-proofs-erc20.d.ts","sourceRoot":"","sources":["../../../../../src/utils/extensions/airdrop/fetch-proofs-erc20.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAOtE,OAAO,KAAK,EACV,eAAe,EAGhB,MAAM,YAAY,CAAC;AAEpB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,wBAAsB,gBAAgB,CAAC,OAAO,EAAE;IAC9C,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;CACvB,GAAG,OAAO,CAAC,eAAe,GAAG,IAAI,CAAC,CA0ElC"}
@@ -1,5 +1,39 @@
1
1
  import type { ThirdwebContract } from "../../../contract/contract.js";
2
2
  import type { ClaimProofERC721 } from "./types.js";
3
+ /**
4
+ * Retrieves the claim merkle proof for the provided address.
5
+ * @param {Object} options
6
+ * @param {@link ThirdwebContract} contract - The ERC721 airdrop contract
7
+ * @param {string} recipient - The address of the drop recipient
8
+ * @param {string} merkleRoot - The merkle root, found on the active claim condition
9
+ *
10
+ * @returns {Promise<ClaimProofERC721 | null>} A promise that resolves to the proof or null if the recipient is not in the allowlist
11
+ *
12
+ * @example
13
+ * ```ts
14
+ * import { fetchProofsERC721 } from "thirdweb/extensions/airdrop";
15
+ * import { getContract, defineChain } from "thirdweb";
16
+ *
17
+ * const NFT = getContracct({
18
+ * client,
19
+ * chain: defineChain(1),
20
+ * address: "0x..."
21
+ * });
22
+ *
23
+ * const merkleRoot = await tokenMerkleRoot({
24
+ * contract: NFT,
25
+ * tokenAddress: NFT.address
26
+ * });
27
+ *
28
+ * const proof = await fetchProofsERC721({
29
+ * contract: NFT,
30
+ * recipient: "0x...",
31
+ * merkleRoot
32
+ * });
33
+ * ```
34
+ *
35
+ * @extension AIRDROP
36
+ */
3
37
  export declare function fetchProofsERC721(options: {
4
38
  contract: ThirdwebContract;
5
39
  recipient: string;
@@ -1 +1 @@
1
- {"version":3,"file":"fetch-proofs-erc721.d.ts","sourceRoot":"","sources":["../../../../../src/utils/extensions/airdrop/fetch-proofs-erc721.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAMtE,OAAO,KAAK,EACV,gBAAgB,EAGjB,MAAM,YAAY,CAAC;AAoCpB,wBAAsB,iBAAiB,CAAC,OAAO,EAAE;IAC/C,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;CACpB,GAAG,OAAO,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAoEnC"}
1
+ {"version":3,"file":"fetch-proofs-erc721.d.ts","sourceRoot":"","sources":["../../../../../src/utils/extensions/airdrop/fetch-proofs-erc721.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAMtE,OAAO,KAAK,EACV,gBAAgB,EAGjB,MAAM,YAAY,CAAC;AAEpB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,wBAAsB,iBAAiB,CAAC,OAAO,EAAE;IAC/C,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;CACpB,GAAG,OAAO,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAmEnC"}
@@ -15,6 +15,25 @@ export type GetClaimParamsOptions = {
15
15
  type: "erc1155";
16
16
  tokenId: bigint;
17
17
  });
18
+ /**
19
+ * Get the claim parameters for a given drop
20
+ * @param options - The options for getting the claim parameters
21
+ * @returns The claim parameters
22
+ * @extension ERC1155
23
+ * @example
24
+ * ```ts
25
+ * import { getClaimParams } from "thirdweb/extensions/erc1155";
26
+ *
27
+ * const claimParams = await getClaimParams({
28
+ * contract,
29
+ * to: "0x...",
30
+ * quantity: 1n,
31
+ * type: "erc1155",
32
+ * tokenId: 0n,
33
+ * });
34
+ * ```
35
+ * @extension COMMON
36
+ */
18
37
  export declare function getClaimParams(options: GetClaimParamsOptions): Promise<{
19
38
  receiver: string;
20
39
  tokenId: bigint | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"get-claim-params.d.ts","sourceRoot":"","sources":["../../../../../src/utils/extensions/drops/get-claim-params.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAEhD,MAAM,MAAM,qBAAqB,GAAG;IAClC,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,GAAG,CACA;IACE,IAAI,EAAE,QAAQ,CAAC;CAChB,GACD;IACE,IAAI,EAAE,OAAO,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;CACvB,GACD;IACE,IAAI,EAAE,SAAS,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;CACjB,CACJ,CAAC;AAEF,wBAAsB,cAAc,CAAC,OAAO,EAAE,qBAAqB;;;;;;;UAyFjD,GAAG;;;;GAOpB"}
1
+ {"version":3,"file":"get-claim-params.d.ts","sourceRoot":"","sources":["../../../../../src/utils/extensions/drops/get-claim-params.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAEhD,MAAM,MAAM,qBAAqB,GAAG;IAClC,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,GAAG,CACA;IACE,IAAI,EAAE,QAAQ,CAAC;CAChB,GACD;IACE,IAAI,EAAE,OAAO,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;CACvB,GACD;IACE,IAAI,EAAE,SAAS,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;CACjB,CACJ,CAAC;AAEF;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAsB,cAAc,CAAC,OAAO,EAAE,qBAAqB;;;;;;;UAyFjD,GAAG;;;;GAOpB"}
@@ -10,6 +10,7 @@ import type { JWTPayload } from "./types.js";
10
10
  *
11
11
  * const { payload, signature } = decodeJWT(jwt);
12
12
  * ```
13
+ * @auth
13
14
  */
14
15
  export declare function decodeJWT(jwt: string): {
15
16
  payload: JWTPayload;
@@ -1 +1 @@
1
- {"version":3,"file":"decode-jwt.d.ts","sourceRoot":"","sources":["../../../../src/utils/jwt/decode-jwt.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C;;;;;;;;;;;GAWG;AACH,wBAAgB,SAAS,CAAC,GAAG,EAAE,MAAM;;;EAiBpC"}
1
+ {"version":3,"file":"decode-jwt.d.ts","sourceRoot":"","sources":["../../../../src/utils/jwt/decode-jwt.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C;;;;;;;;;;;;GAYG;AACH,wBAAgB,SAAS,CAAC,GAAG,EAAE,MAAM;;;EAiBpC"}
@@ -38,6 +38,7 @@ type EncodeJWTParams = {
38
38
  * wallet,
39
39
  * });
40
40
  * ```
41
+ * @auth
41
42
  */
42
43
  export declare function encodeJWT(options: EncodeJWTParams): Promise<string>;
43
44
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"encode-jwt.d.ts","sourceRoot":"","sources":["../../../../src/utils/jwt/encode-jwt.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAC;AAOlE,MAAM,MAAM,eAAe,CAAC,IAAI,GAAG,OAAO,IAAI;IAC5C,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,IAAI,CAAC;IACV,GAAG,EAAE,IAAI,CAAC;IACV,GAAG,EAAE,IAAI,CAAC;IACV,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,IAAI,CAAC;CACZ,CAAC;AAEF,KAAK,eAAe,GAAG;IAAE,OAAO,EAAE,eAAe,CAAC;IAAC,OAAO,EAAE,OAAO,CAAA;CAAE,CAAC;AAEtE;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAsB,SAAS,CAAC,OAAO,EAAE,eAAe,mBAiBvD"}
1
+ {"version":3,"file":"encode-jwt.d.ts","sourceRoot":"","sources":["../../../../src/utils/jwt/encode-jwt.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAC;AAOlE,MAAM,MAAM,eAAe,CAAC,IAAI,GAAG,OAAO,IAAI;IAC5C,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,IAAI,CAAC;IACV,GAAG,EAAE,IAAI,CAAC;IACV,GAAG,EAAE,IAAI,CAAC;IACV,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,IAAI,CAAC;CACZ,CAAC;AAEF,KAAK,eAAe,GAAG;IAAE,OAAO,EAAE,eAAe,CAAC;IAAC,OAAO,EAAE,OAAO,CAAA;CAAE,CAAC;AAEtE;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAsB,SAAS,CAAC,OAAO,EAAE,eAAe,mBAiBvD"}
@@ -18,6 +18,7 @@ export type RefreshJWTParams = {
18
18
  * expirationTime: 1000 * 60 * 60,
19
19
  * });
20
20
  * ```
21
+ * @auth
21
22
  */
22
23
  export declare function refreshJWT(options: RefreshJWTParams): Promise<string>;
23
24
  //# sourceMappingURL=refresh-jwt.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"refresh-jwt.d.ts","sourceRoot":"","sources":["../../../../src/utils/jwt/refresh-jwt.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAC;AAMlE,MAAM,MAAM,gBAAgB,GAAG;IAC7B,OAAO,EAAE,OAAO,CAAC;IACjB,GAAG,EAAE,MAAM,CAAC;IACZ,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,wBAAsB,UAAU,CAAC,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,MAAM,CAAC,CAe3E"}
1
+ {"version":3,"file":"refresh-jwt.d.ts","sourceRoot":"","sources":["../../../../src/utils/jwt/refresh-jwt.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAC;AAMlE,MAAM,MAAM,gBAAgB,GAAG;IAC7B,OAAO,EAAE,OAAO,CAAC;IACjB,GAAG,EAAE,MAAM,CAAC;IACZ,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,wBAAsB,UAAU,CAAC,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,MAAM,CAAC,CAe3E"}
@@ -1 +1 @@
1
- {"version":3,"file":"resolve-signature.d.ts","sourceRoot":"","sources":["../../../../src/utils/signatures/resolve-signature.ts"],"names":[],"mappings":"AAGA,KAAK,cAAc,GAAG,YAAY,MAAM,EAAE,CAAC;AAC3C,KAAK,WAAW,GAAG,SAAS,MAAM,EAAE,CAAC;AA0DrC;;;;;;;;;;;GAWG;AACH,wBAAsB,gBAAgB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC;IAC9D,QAAQ,EAAE,cAAc,GAAG,IAAI,CAAC;IAChC,KAAK,EAAE,WAAW,GAAG,IAAI,CAAC;CAC3B,CAAC,CAaD;AAED;;;;;;;;;;;GAWG;AACH,wBAAsB,iBAAiB,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC;IAClE,SAAS,EAAE,cAAc,EAAE,CAAC;IAC5B,MAAM,EAAE,WAAW,EAAE,CAAC;CACvB,CAAC,CAiBD;AAED;;GAEG;AACH,wBAAgB,UAAU,SAGzB"}
1
+ {"version":3,"file":"resolve-signature.d.ts","sourceRoot":"","sources":["../../../../src/utils/signatures/resolve-signature.ts"],"names":[],"mappings":"AAGA,KAAK,cAAc,GAAG,YAAY,MAAM,EAAE,CAAC;AAC3C,KAAK,WAAW,GAAG,SAAS,MAAM,EAAE,CAAC;AAwDrC;;;;;;;;;;;GAWG;AACH,wBAAsB,gBAAgB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC;IAC9D,QAAQ,EAAE,cAAc,GAAG,IAAI,CAAC;IAChC,KAAK,EAAE,WAAW,GAAG,IAAI,CAAC;CAC3B,CAAC,CAaD;AAED;;;;;;;;;;;GAWG;AACH,wBAAsB,iBAAiB,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC;IAClE,SAAS,EAAE,cAAc,EAAE,CAAC;IAC5B,MAAM,EAAE,WAAW,EAAE,CAAC;CACvB,CAAC,CAiBD;AAED;;GAEG;AACH,wBAAgB,UAAU,SAGzB"}
@@ -1,2 +1,2 @@
1
- export declare const version = "5.35.1-nightly-faaa426bbbde281c2c5fb44aa6787f8a89f0f0f5-20240718000334";
1
+ export declare const version = "5.36.0";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,2EAA2E,CAAC"}
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,WAAW,CAAC"}
@@ -3,7 +3,7 @@ import type { ThirdwebClient } from "../../client/client.js";
3
3
  import type { Prettify } from "../../utils/type-utils.js";
4
4
  import type { Wallet } from "../interfaces/wallet.js";
5
5
  import type { GetCallsStatusResponse, WalletSendCallsId } from "./types.js";
6
- export declare const DEFAULT_MAX_BLOCKS_WAIT_TIME = 30;
6
+ export declare const DEFAULT_MAX_BLOCKS_WAIT_TIME = 100;
7
7
  export type WaitForBundleOptions = Prettify<{
8
8
  bundleId: WalletSendCallsId;
9
9
  wallet: Wallet;
@@ -17,7 +17,7 @@ export type WaitForBundleOptions = Prettify<{
17
17
  * @note This function is dependent on the wallet's support for EIP-5792 and could fail.
18
18
  *
19
19
  * @param options - The options for waiting for the bundle.
20
- * By default, the max wait time is 30 blocks.
20
+ * By default, the max wait time is 100 blocks.
21
21
  * @returns A promise that resolves with the final {@link getCallsStatus} result.
22
22
  * @throws an error if the wallet does not support EIP-5792.
23
23
  * @beta
@@ -1 +1 @@
1
- {"version":3,"file":"wait-for-bundle.d.ts","sourceRoot":"","sources":["../../../../src/wallets/eip5792/wait-for-bundle.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAE7D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAEtD,OAAO,KAAK,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAE5E,eAAO,MAAM,4BAA4B,KAAK,CAAC;AAI/C,MAAM,MAAM,oBAAoB,GAAG,QAAQ,CAAC;IAC1C,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,cAAc,CAAC;IACvB,KAAK,EAAE,KAAK,CAAC;IACb,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B,CAAC,CAAC;AAEH;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,aAAa,CAC3B,OAAO,EAAE,oBAAoB,GAC5B,OAAO,CAAC,sBAAsB,CAAC,CAqDjC"}
1
+ {"version":3,"file":"wait-for-bundle.d.ts","sourceRoot":"","sources":["../../../../src/wallets/eip5792/wait-for-bundle.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAE7D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAEtD,OAAO,KAAK,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAE5E,eAAO,MAAM,4BAA4B,MAAM,CAAC;AAIhD,MAAM,MAAM,oBAAoB,GAAG,QAAQ,CAAC;IAC1C,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,cAAc,CAAC;IACvB,KAAK,EAAE,KAAK,CAAC;IACb,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B,CAAC,CAAC;AAEH;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,aAAa,CAC3B,OAAO,EAAE,oBAAoB,GAC5B,OAAO,CAAC,sBAAsB,CAAC,CAqDjC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "thirdweb",
3
- "version": "5.35.1-nightly-faaa426bbbde281c2c5fb44aa6787f8a89f0f0f5-20240718000334",
3
+ "version": "5.36.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/thirdweb-dev/js.git#main"
@@ -11,12 +11,31 @@ export type InstallPublishedExtensionOptions = {
11
11
  account: Account;
12
12
  contract: ThirdwebContract;
13
13
  extensionName: string;
14
- publisherAddress: string;
14
+ publisherAddress?: string;
15
15
  version?: string;
16
16
  constructorParams?: unknown[];
17
17
  extensionData?: `0x${string}`;
18
18
  };
19
19
 
20
+ /**
21
+ * Install a published extension on a modular contract
22
+ * @param options - The options for installing a published extension
23
+ * @returns A prepared transaction to send
24
+ * @extension MODULAR
25
+ * @example
26
+ * ```ts
27
+ * import { installPublishedExtension } from "thirdweb/extensions/modular";
28
+ * const transaction = installPublishedExtension({
29
+ * client,
30
+ * chain,
31
+ * account,
32
+ * contract,
33
+ * extensionName: "MyExtension",
34
+ * publisherAddress: "0x...",
35
+ * });
36
+ * await sendTransaction({ transaction, account });
37
+ * ```
38
+ */
20
39
  export function installPublishedExtension(
21
40
  options: InstallPublishedExtensionOptions,
22
41
  ) {
@@ -15,6 +15,23 @@ export type UninstallExtensionByProxyOptions = {
15
15
  extensionData?: `0x${string}`;
16
16
  };
17
17
 
18
+ /**
19
+ * Uninstall an extension by proxy
20
+ * @param options - The options for uninstalling an extension by proxy
21
+ * @returns A prepared transaction to send
22
+ * @extension MODULAR
23
+ * @example
24
+ * ```ts
25
+ * import { uninstallExtensionByProxy } from "thirdweb/extensions/modular";
26
+ * const transaction = uninstallExtensionByProxy({
27
+ * client,
28
+ * chain,
29
+ * contract,
30
+ * extensionProxyAddress: "0x...",
31
+ * });
32
+ * await sendTransaction({ transaction, account });
33
+ * ```
34
+ */
18
35
  export function uninstallExtensionByProxy(
19
36
  options: UninstallExtensionByProxyOptions,
20
37
  ) {
@@ -9,12 +9,30 @@ export type UninstallPublishedExtensionOptions = {
9
9
  chain: Chain;
10
10
  contract: ThirdwebContract;
11
11
  extensionName: string;
12
- publisherAddress: string;
12
+ publisherAddress?: string;
13
13
  version?: string;
14
14
  constructorParams?: unknown[];
15
15
  extensionData?: `0x${string}`;
16
16
  };
17
17
 
18
+ /**
19
+ * Uninstall a published extension
20
+ * @param options - The options for uninstalling a published extension
21
+ * @returns A prepared transaction to send
22
+ * @extension MODULAR
23
+ * @example
24
+ * ```ts
25
+ * import { uninstallPublishedExtension } from "thirdweb/extensions/modular";
26
+ * const transaction = uninstallPublishedExtension({
27
+ * client,
28
+ * chain,
29
+ * contract,
30
+ * extensionName: "MyExtension",
31
+ * publisherAddress: "0x...",
32
+ * });
33
+ * await sendTransaction({ transaction, account });
34
+ * ```
35
+ */
18
36
  export function uninstallPublishedExtension(
19
37
  options: UninstallPublishedExtensionOptions,
20
38
  ) {
@@ -72,7 +72,7 @@ export type BuyHistoryData = {
72
72
  * walletAddress: "0x...",
73
73
  * })
74
74
  * ```
75
- * @buycrypto
75
+ * @buyCrypto
76
76
  */
77
77
  export async function getBuyHistory(
78
78
  params: BuyHistoryParams,
@@ -6,8 +6,8 @@ import {
6
6
  } from "@tanstack/react-query";
7
7
  import type { Abi, AbiFunction, ExtractAbiFunctionNames } from "abitype";
8
8
  import type { ThirdwebContract } from "../../../../contract/contract.js";
9
- import type { PrepareContractCallOptions } from "../../../../transaction/prepare-contract-call.js";
10
9
  import {
10
+ type ReadContractOptions,
11
11
  type ReadContractResult,
12
12
  readContract,
13
13
  } from "../../../../transaction/read-contract.js";
@@ -44,7 +44,7 @@ export function useReadContract<
44
44
  ? AbiFunction | string
45
45
  : ExtractAbiFunctionNames<abi>,
46
46
  >(
47
- options: PrepareContractCallOptions<abi, method> & {
47
+ options: ReadContractOptions<abi, method> & {
48
48
  queryOptions?: PickedQueryOptions;
49
49
  },
50
50
  ): UseQueryResult<
@@ -88,7 +88,7 @@ export function useReadContract<
88
88
  >(
89
89
  extensionOrOptions:
90
90
  | ((options: BaseTransactionOptions<params, abi>) => Promise<result>)
91
- | (PrepareContractCallOptions<abi, method> & {
91
+ | (ReadContractOptions<abi, method> & {
92
92
  queryOptions?: PickedQueryOptions;
93
93
  }),
94
94
  options?: BaseTransactionOptions<params, abi> & {
@@ -1,5 +1,6 @@
1
1
  import { type UseMutationResult, useMutation } from "@tanstack/react-query";
2
2
  import type { Chain } from "../../../../chains/types.js";
3
+ import { getGasPrice } from "../../../../gas/get-gas-price.js";
3
4
  import { estimateGasCost } from "../../../../transaction/actions/estimate-gas-cost.js";
4
5
  import type { GaslessOptions } from "../../../../transaction/actions/gasless/types.js";
5
6
  import { sendTransaction } from "../../../../transaction/actions/send-transaction.js";
@@ -213,11 +214,19 @@ export async function getTotalTxCostForBuy(
213
214
  // try again without passing from
214
215
  return await getTotalTxCostForBuy(tx);
215
216
  }
216
- // fallback if both fail, use the tx value + 1% buffer
217
+ // fallback if both fail, use the tx value + 2M * gas price
217
218
  const value = await resolvePromisedValue(tx.value);
219
+
220
+ const gasPrice = await getGasPrice({
221
+ client: tx.client,
222
+ chain: tx.chain,
223
+ });
224
+
225
+ const buffer = 2_000_000n * gasPrice;
226
+
218
227
  if (!value) {
219
- return 0n;
228
+ return 0n + buffer;
220
229
  }
221
- return value + value / 100n;
230
+ return value + buffer;
222
231
  }
223
232
  }
@@ -16,7 +16,7 @@ import type { SupportedTokens } from "../../../core/utils/defaultTokens.js";
16
16
  import { AccentFailIcon } from "../../ui/ConnectWallet/icons/AccentFailIcon.js";
17
17
  import { useConnectLocale } from "../../ui/ConnectWallet/locale/getConnectLocale.js";
18
18
  import { LazyBuyScreen } from "../../ui/ConnectWallet/screens/Buy/LazyBuyScreen.js";
19
- import { BuyTxHistory } from "../../ui/ConnectWallet/screens/Buy/tx-history/BuyTxHistory.js";
19
+ import { PayTxHistoryScreen } from "../../ui/ConnectWallet/screens/Buy/pay-transactions/BuyTxHistory.js";
20
20
  import { Modal } from "../../ui/components/Modal.js";
21
21
  import { Spacer } from "../../ui/components/Spacer.js";
22
22
  import { Spinner } from "../../ui/components/Spinner.js";
@@ -164,7 +164,7 @@ function ModalContent(props: ModalProps) {
164
164
 
165
165
  if (screen === "tx-history") {
166
166
  return (
167
- <BuyTxHistory
167
+ <PayTxHistoryScreen
168
168
  client={props.client}
169
169
  onBack={() => {
170
170
  setScreen("buy");
@@ -73,6 +73,7 @@ import {
73
73
  NetworkSelectorContent,
74
74
  type NetworkSelectorProps,
75
75
  } from "./NetworkSelector.js";
76
+ import { TransactionsScreen } from "./TransactionsScreen.js";
76
77
  import { onModalUnmount } from "./constants.js";
77
78
  import { CoinsIcon } from "./icons/CoinsIcon.js";
78
79
  import { FundsIcon } from "./icons/FundsIcon.js";
@@ -82,7 +83,6 @@ import { SmartWalletBadgeIcon } from "./icons/SmartAccountBadgeIcon.js";
82
83
  import { getConnectLocale } from "./locale/getConnectLocale.js";
83
84
  import type { ConnectLocale } from "./locale/types.js";
84
85
  import { LazyBuyScreen } from "./screens/Buy/LazyBuyScreen.js";
85
- import { BuyTxHistory } from "./screens/Buy/tx-history/BuyTxHistory.js";
86
86
  import { WalletManagerScreen } from "./screens/Details/WalletManagerScreen.js";
87
87
  import { ManageWalletScreen } from "./screens/ManageWalletScreen.js";
88
88
  import { PrivateKey } from "./screens/PrivateKey.js";
@@ -513,7 +513,7 @@ function DetailsModal(props: {
513
513
  {/* Transactions */}
514
514
  <MenuButton
515
515
  onClick={() => {
516
- setScreen("pending-tx");
516
+ setScreen("transactions");
517
517
  }}
518
518
  style={{
519
519
  fontSize: fontSize.sm,
@@ -623,27 +623,17 @@ function DetailsModal(props: {
623
623
  <Spacer y="sm" />
624
624
  </Container>
625
625
  )}
626
- {/* {activeWallet?.id === "local" && (
627
- <>
628
- <Line />
629
- <Container py="md">
630
- <Text size="xs" center multiline color="danger" balance>
631
- {locale.guestWalletWarning}
632
- </Text>
633
- </Container>
634
- </>
635
- )} */}
636
626
  </div>
637
627
  );
638
628
 
639
- if (screen === "pending-tx") {
629
+ if (screen === "transactions") {
640
630
  content = (
641
- <BuyTxHistory
642
- isBuyForTx={false}
643
- isEmbed={false}
631
+ <TransactionsScreen
644
632
  onBack={() => setScreen("main")}
633
+ closeModal={closeModal}
634
+ locale={locale}
635
+ setScreen={setScreen}
645
636
  client={client}
646
- onDone={closeModal}
647
637
  />
648
638
  );
649
639
  }
@@ -815,7 +805,7 @@ function DetailsModal(props: {
815
805
  client={client}
816
806
  onBack={() => setScreen("main")}
817
807
  supportedTokens={props.supportedTokens}
818
- onViewPendingTx={() => setScreen("pending-tx")}
808
+ onViewPendingTx={() => setScreen("transactions")}
819
809
  connectLocale={locale}
820
810
  payOptions={props.detailsModal?.payOptions || {}}
821
811
  theme={typeof props.theme === "string" ? props.theme : props.theme.type}
@@ -0,0 +1,122 @@
1
+ "use client";
2
+
3
+ import { ExternalLinkIcon } from "@radix-ui/react-icons";
4
+ import { useState } from "react";
5
+ import type { ThirdwebClient } from "../../../../client/client.js";
6
+ import { iconSize } from "../../../core/design-system/index.js";
7
+ import { useChainExplorers } from "../../../core/hooks/others/useChainQuery.js";
8
+ import { useActiveAccount } from "../../hooks/wallets/useActiveAccount.js";
9
+ import { useActiveWallet } from "../../hooks/wallets/useActiveWallet.js";
10
+ import { useActiveWalletChain } from "../../hooks/wallets/useActiveWalletChain.js";
11
+ import { LoadingScreen } from "../../wallets/shared/LoadingScreen.js";
12
+ import Tabs from "../components/Tabs.js";
13
+ import { Container, Line, ModalHeader } from "../components/basic.js";
14
+ import { ButtonLink } from "../components/buttons.js";
15
+ import type { ConnectLocale } from "./locale/types.js";
16
+ import { PayTxHistoryList } from "./screens/Buy/pay-transactions/BuyTxHistory.js";
17
+ import { TxDetailsScreen } from "./screens/Buy/pay-transactions/TxDetailsScreen.js";
18
+ import type { TxStatusInfo } from "./screens/Buy/pay-transactions/useBuyTransactionsToShow.js";
19
+ import type { PayerInfo } from "./screens/Buy/types.js";
20
+ import { WalletTransactionHistory } from "./screens/WalletTransactionHistory.js";
21
+ import type { WalletDetailsModalScreen } from "./screens/types.js";
22
+
23
+ //
24
+
25
+ /**
26
+ * @internal
27
+ */
28
+ export function TransactionsScreen(props: {
29
+ onBack: () => void;
30
+ setScreen: (screen: WalletDetailsModalScreen) => void;
31
+ closeModal: () => void;
32
+ locale: ConnectLocale;
33
+ client: ThirdwebClient;
34
+ }) {
35
+ const [activeTab, setActiveTab] = useState("Purchases");
36
+ // For now, you can only select pay transactions (purcahses)
37
+ const [selectedTx, setSelectedTx] = useState<TxStatusInfo | null>(null);
38
+
39
+ const activeChain = useActiveWalletChain();
40
+ const activeWallet = useActiveWallet();
41
+ const activeAccount = useActiveAccount();
42
+ const chainExplorers = useChainExplorers(activeChain);
43
+
44
+ const payer: PayerInfo | undefined =
45
+ activeChain && activeAccount && activeWallet
46
+ ? { chain: activeChain, account: activeAccount, wallet: activeWallet }
47
+ : undefined;
48
+
49
+ if (!payer) {
50
+ return <LoadingScreen />;
51
+ }
52
+
53
+ if (selectedTx) {
54
+ return (
55
+ <TxDetailsScreen
56
+ client={props.client}
57
+ statusInfo={selectedTx}
58
+ onBack={() => setSelectedTx(null)}
59
+ onDone={() => setSelectedTx(null)}
60
+ payer={payer}
61
+ isBuyForTx={false}
62
+ isEmbed={false}
63
+ />
64
+ );
65
+ }
66
+
67
+ return (
68
+ <Container animate="fadein">
69
+ <Container p="lg">
70
+ <ModalHeader title={props.locale.transactions} onBack={props.onBack} />
71
+ </Container>
72
+ <Line />
73
+ <Container
74
+ px="sm"
75
+ scrollY
76
+ style={{
77
+ minHeight: "330px",
78
+ }}
79
+ >
80
+ <Container style={{ position: "relative", height: "250px" }}>
81
+ <Tabs
82
+ options={["Purchases", "Transactions"]}
83
+ selected={activeTab}
84
+ onSelect={setActiveTab}
85
+ >
86
+ {activeTab === "Purchases" && (
87
+ <PayTxHistoryList
88
+ client={props.client}
89
+ onSelectTx={setSelectedTx}
90
+ />
91
+ )}
92
+ {activeTab === "Transactions" && (
93
+ <WalletTransactionHistory
94
+ locale={props.locale}
95
+ client={props.client}
96
+ address={payer.account.address}
97
+ />
98
+ )}
99
+ </Tabs>
100
+ </Container>
101
+ </Container>
102
+ <Line />
103
+ <Container p="lg">
104
+ <ButtonLink
105
+ fullWidth
106
+ variant="outline"
107
+ href={`${chainExplorers.explorers[0]?.url}/address/${activeAccount?.address}`}
108
+ target="_blank"
109
+ as="a"
110
+ gap="xs"
111
+ style={{
112
+ textDecoration: "none",
113
+ color: "inherit",
114
+ }}
115
+ >
116
+ View on Explorer{" "}
117
+ <ExternalLinkIcon width={iconSize.sm} height={iconSize.sm} />
118
+ </ButtonLink>
119
+ </Container>
120
+ </Container>
121
+ );
122
+ }
@@ -22,6 +22,8 @@ const connectLocaleEn: ConnectLocale = {
22
22
  switchAccount: "Switch Account",
23
23
  requestTestnetFunds: "Request Testnet Funds",
24
24
  transactions: "Transactions",
25
+ payTransactions: "Fiat Transactions",
26
+ walletTransactions: "Wallet Transactions",
25
27
  viewAllTransactions: "View All Transactions",
26
28
  backupWallet: "Backup Wallet",
27
29
  guestWalletWarning:
@@ -18,7 +18,9 @@ const connectWalletLocalEs: ConnectLocale = {
18
18
  send: "Enviar",
19
19
  receive: "Recibir",
20
20
  buy: "Buy", // TODO
21
- transactions: "Transactions", // TODO
21
+ transactions: "Transactions",
22
+ payTransactions: "Fiat Transactions",
23
+ walletTransactions: "Wallet Transactions",
22
24
  viewAllTransactions: "View All Transactions", // TODO
23
25
  currentNetwork: "Red actual",
24
26
  switchAccount: "Cambiar cuenta",
@@ -21,7 +21,9 @@ const connectWalletLocalJa: ConnectLocale = {
21
21
  switchAccount: "アカウントを切り替える",
22
22
  requestTestnetFunds: "テストネットの資金をリクエストする",
23
23
  buy: "Buy", // TODO
24
- transactions: "Transactions", // TODO
24
+ transactions: "Transactions",
25
+ payTransactions: "Fiat Transactions",
26
+ walletTransactions: "Wallet Transactions",
25
27
  viewAllTransactions: "View All Transactions", // TODO
26
28
  backupWallet: "ウォレットのバックアップ",
27
29
  guestWalletWarning:
@@ -16,7 +16,9 @@ const connectWalletLocalTl: ConnectLocale = {
16
16
  getStarted: "Simulan",
17
17
  guest: "Guest",
18
18
  buy: "Buy", // TODO
19
- transactions: "Transactions", // TODO
19
+ transactions: "Transactions",
20
+ payTransactions: "Fiat Transactions",
21
+ walletTransactions: "Wallet Transactions",
20
22
  viewAllTransactions: "View All Transactions", // TODO
21
23
  send: "Ipadala",
22
24
  receive: "Matanggap",
@@ -88,6 +88,8 @@ export type ConnectLocale = {
88
88
  switchTo: string;
89
89
  switchingNetwork: string;
90
90
  transactions: string;
91
+ payTransactions: string;
92
+ walletTransactions: string;
91
93
  viewAllTransactions: string;
92
94
  welcomeScreen: { defaultSubtitle: string; defaultTitle: string };
93
95
  manageWallet: {