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.
- package/dist/cjs/extensions/modular/ModularCore/write/installPublishedExtension.js +19 -0
- package/dist/cjs/extensions/modular/ModularCore/write/installPublishedExtension.js.map +1 -1
- package/dist/cjs/extensions/modular/ModularCore/write/uninstallExtensionByProxy.js +17 -0
- package/dist/cjs/extensions/modular/ModularCore/write/uninstallExtensionByProxy.js.map +1 -1
- package/dist/cjs/extensions/modular/ModularCore/write/uninstallPublishedExtension.js +18 -0
- package/dist/cjs/extensions/modular/ModularCore/write/uninstallPublishedExtension.js.map +1 -1
- package/dist/cjs/pay/getBuyHistory.js +1 -1
- package/dist/cjs/react/core/hooks/contract/useReadContract.js.map +1 -1
- package/dist/cjs/react/core/hooks/transaction/useSendTransaction.js +9 -3
- package/dist/cjs/react/core/hooks/transaction/useSendTransaction.js.map +1 -1
- package/dist/cjs/react/web/hooks/transaction/useSendTransaction.js +2 -2
- package/dist/cjs/react/web/hooks/transaction/useSendTransaction.js.map +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/Details.js +5 -5
- package/dist/cjs/react/web/ui/ConnectWallet/Details.js.map +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/TransactionsScreen.js +48 -0
- package/dist/cjs/react/web/ui/ConnectWallet/TransactionsScreen.js.map +1 -0
- package/dist/cjs/react/web/ui/ConnectWallet/locale/en.js +2 -0
- package/dist/cjs/react/web/ui/ConnectWallet/locale/en.js.map +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/locale/es.js +3 -1
- package/dist/cjs/react/web/ui/ConnectWallet/locale/es.js.map +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/locale/ja.js +3 -1
- package/dist/cjs/react/web/ui/ConnectWallet/locale/ja.js.map +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/locale/tl.js +3 -1
- package/dist/cjs/react/web/ui/ConnectWallet/locale/tl.js.map +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/locale/vi.js +3 -1
- package/dist/cjs/react/web/ui/ConnectWallet/locale/vi.js.map +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatStatusScreen.js +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatStatusScreen.js.map +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatSteps.js +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatSteps.js.map +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatTxDetailsTable.js +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatTxDetailsTable.js.map +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/BuyTxHistory.js +83 -0
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/BuyTxHistory.js.map +1 -0
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/BuyTxHistoryButton.js.map +1 -0
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/FiatDetailsScreen.js.map +1 -0
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/SwapDetailsScreen.js.map +1 -0
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/TokenInfoRow.js.map +1 -0
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/TxDetailsScreen.js.map +1 -0
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/statusMeta.js.map +1 -0
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/useBuyTransactionsToShow.js.map +1 -0
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/swap/SwapStatusScreen.js +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/swap/SwapStatusScreen.js.map +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/screens/WalletTransactionHistory.js +78 -0
- package/dist/cjs/react/web/ui/ConnectWallet/screens/WalletTransactionHistory.js.map +1 -0
- package/dist/cjs/react/web/ui/PayEmbed.js +2 -2
- package/dist/cjs/react/web/ui/PayEmbed.js.map +1 -1
- package/dist/cjs/react/web/ui/components/Tabs.js +25 -0
- package/dist/cjs/react/web/ui/components/Tabs.js.map +1 -0
- package/dist/cjs/storage/unpin.js +1 -1
- package/dist/cjs/transaction/actions/wait-for-tx-receipt.js +2 -2
- package/dist/cjs/transaction/actions/wait-for-tx-receipt.js.map +1 -1
- package/dist/cjs/transaction/read-contract.js +1 -0
- package/dist/cjs/transaction/read-contract.js.map +1 -1
- package/dist/cjs/transaction/transaction-store.js +10 -0
- package/dist/cjs/transaction/transaction-store.js.map +1 -1
- package/dist/cjs/utils/extensions/airdrop/fetch-proofs-erc1155.js +1 -2
- package/dist/cjs/utils/extensions/airdrop/fetch-proofs-erc1155.js.map +1 -1
- package/dist/cjs/utils/extensions/airdrop/fetch-proofs-erc20.js +1 -2
- package/dist/cjs/utils/extensions/airdrop/fetch-proofs-erc20.js.map +1 -1
- package/dist/cjs/utils/extensions/airdrop/fetch-proofs-erc721.js +1 -2
- package/dist/cjs/utils/extensions/airdrop/fetch-proofs-erc721.js.map +1 -1
- package/dist/cjs/utils/extensions/drops/get-claim-params.js +19 -0
- package/dist/cjs/utils/extensions/drops/get-claim-params.js.map +1 -1
- package/dist/cjs/utils/jwt/decode-jwt.js +1 -0
- package/dist/cjs/utils/jwt/decode-jwt.js.map +1 -1
- package/dist/cjs/utils/jwt/encode-jwt.js +1 -0
- package/dist/cjs/utils/jwt/encode-jwt.js.map +1 -1
- package/dist/cjs/utils/jwt/refresh-jwt.js +1 -0
- package/dist/cjs/utils/jwt/refresh-jwt.js.map +1 -1
- package/dist/cjs/utils/signatures/resolve-signature.js +0 -2
- package/dist/cjs/utils/signatures/resolve-signature.js.map +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/cjs/version.js.map +1 -1
- package/dist/cjs/wallets/eip5792/wait-for-bundle.js +2 -2
- package/dist/cjs/wallets/eip5792/wait-for-bundle.js.map +1 -1
- package/dist/cjs/wallets/smart/index.js +0 -1
- package/dist/cjs/wallets/smart/index.js.map +1 -1
- package/dist/esm/extensions/modular/ModularCore/write/installPublishedExtension.js +19 -0
- package/dist/esm/extensions/modular/ModularCore/write/installPublishedExtension.js.map +1 -1
- package/dist/esm/extensions/modular/ModularCore/write/uninstallExtensionByProxy.js +17 -0
- package/dist/esm/extensions/modular/ModularCore/write/uninstallExtensionByProxy.js.map +1 -1
- package/dist/esm/extensions/modular/ModularCore/write/uninstallPublishedExtension.js +18 -0
- package/dist/esm/extensions/modular/ModularCore/write/uninstallPublishedExtension.js.map +1 -1
- package/dist/esm/pay/getBuyHistory.js +1 -1
- package/dist/esm/react/core/hooks/contract/useReadContract.js.map +1 -1
- package/dist/esm/react/core/hooks/transaction/useSendTransaction.js +9 -3
- package/dist/esm/react/core/hooks/transaction/useSendTransaction.js.map +1 -1
- package/dist/esm/react/web/hooks/transaction/useSendTransaction.js +2 -2
- package/dist/esm/react/web/hooks/transaction/useSendTransaction.js.map +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/Details.js +5 -5
- package/dist/esm/react/web/ui/ConnectWallet/Details.js.map +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/TransactionsScreen.js +45 -0
- package/dist/esm/react/web/ui/ConnectWallet/TransactionsScreen.js.map +1 -0
- package/dist/esm/react/web/ui/ConnectWallet/locale/en.js +2 -0
- package/dist/esm/react/web/ui/ConnectWallet/locale/en.js.map +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/locale/es.js +3 -1
- package/dist/esm/react/web/ui/ConnectWallet/locale/es.js.map +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/locale/ja.js +3 -1
- package/dist/esm/react/web/ui/ConnectWallet/locale/ja.js.map +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/locale/tl.js +3 -1
- package/dist/esm/react/web/ui/ConnectWallet/locale/tl.js.map +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/locale/vi.js +3 -1
- package/dist/esm/react/web/ui/ConnectWallet/locale/vi.js.map +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatStatusScreen.js +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatStatusScreen.js.map +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatSteps.js +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatSteps.js.map +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatTxDetailsTable.js +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatTxDetailsTable.js.map +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/BuyTxHistory.js +79 -0
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/BuyTxHistory.js.map +1 -0
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/BuyTxHistoryButton.js.map +1 -0
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/FiatDetailsScreen.js.map +1 -0
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/SwapDetailsScreen.js.map +1 -0
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/TokenInfoRow.js.map +1 -0
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/TxDetailsScreen.js.map +1 -0
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/statusMeta.js.map +1 -0
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/useBuyTransactionsToShow.js.map +1 -0
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/swap/SwapStatusScreen.js +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/swap/SwapStatusScreen.js.map +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/screens/WalletTransactionHistory.js +74 -0
- package/dist/esm/react/web/ui/ConnectWallet/screens/WalletTransactionHistory.js.map +1 -0
- package/dist/esm/react/web/ui/PayEmbed.js +2 -2
- package/dist/esm/react/web/ui/PayEmbed.js.map +1 -1
- package/dist/esm/react/web/ui/components/Tabs.js +22 -0
- package/dist/esm/react/web/ui/components/Tabs.js.map +1 -0
- package/dist/esm/storage/unpin.js +1 -1
- package/dist/esm/transaction/actions/wait-for-tx-receipt.js +2 -2
- package/dist/esm/transaction/actions/wait-for-tx-receipt.js.map +1 -1
- package/dist/esm/transaction/read-contract.js +1 -0
- package/dist/esm/transaction/read-contract.js.map +1 -1
- package/dist/esm/transaction/transaction-store.js +10 -0
- package/dist/esm/transaction/transaction-store.js.map +1 -1
- package/dist/esm/utils/extensions/airdrop/fetch-proofs-erc1155.js +1 -2
- package/dist/esm/utils/extensions/airdrop/fetch-proofs-erc1155.js.map +1 -1
- package/dist/esm/utils/extensions/airdrop/fetch-proofs-erc20.js +1 -2
- package/dist/esm/utils/extensions/airdrop/fetch-proofs-erc20.js.map +1 -1
- package/dist/esm/utils/extensions/airdrop/fetch-proofs-erc721.js +1 -2
- package/dist/esm/utils/extensions/airdrop/fetch-proofs-erc721.js.map +1 -1
- package/dist/esm/utils/extensions/drops/get-claim-params.js +19 -0
- package/dist/esm/utils/extensions/drops/get-claim-params.js.map +1 -1
- package/dist/esm/utils/jwt/decode-jwt.js +1 -0
- package/dist/esm/utils/jwt/decode-jwt.js.map +1 -1
- package/dist/esm/utils/jwt/encode-jwt.js +1 -0
- package/dist/esm/utils/jwt/encode-jwt.js.map +1 -1
- package/dist/esm/utils/jwt/refresh-jwt.js +1 -0
- package/dist/esm/utils/jwt/refresh-jwt.js.map +1 -1
- package/dist/esm/utils/signatures/resolve-signature.js +0 -2
- package/dist/esm/utils/signatures/resolve-signature.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/esm/version.js.map +1 -1
- package/dist/esm/wallets/eip5792/wait-for-bundle.js +2 -2
- package/dist/esm/wallets/eip5792/wait-for-bundle.js.map +1 -1
- package/dist/esm/wallets/smart/index.js +0 -1
- package/dist/esm/wallets/smart/index.js.map +1 -1
- package/dist/types/extensions/modular/ModularCore/write/installPublishedExtension.d.ts +20 -1
- package/dist/types/extensions/modular/ModularCore/write/installPublishedExtension.d.ts.map +1 -1
- package/dist/types/extensions/modular/ModularCore/write/uninstallExtensionByProxy.d.ts +17 -0
- package/dist/types/extensions/modular/ModularCore/write/uninstallExtensionByProxy.d.ts.map +1 -1
- package/dist/types/extensions/modular/ModularCore/write/uninstallPublishedExtension.d.ts +19 -1
- package/dist/types/extensions/modular/ModularCore/write/uninstallPublishedExtension.d.ts.map +1 -1
- package/dist/types/pay/getBuyHistory.d.ts +1 -1
- package/dist/types/react/core/hooks/contract/useReadContract.d.ts +2 -3
- package/dist/types/react/core/hooks/contract/useReadContract.d.ts.map +1 -1
- package/dist/types/react/core/hooks/transaction/useSendTransaction.d.ts.map +1 -1
- package/dist/types/react/web/ui/ConnectWallet/Details.d.ts.map +1 -1
- package/dist/types/react/web/ui/ConnectWallet/TransactionsScreen.d.ts +14 -0
- package/dist/types/react/web/ui/ConnectWallet/TransactionsScreen.d.ts.map +1 -0
- package/dist/types/react/web/ui/ConnectWallet/locale/en.d.ts.map +1 -1
- package/dist/types/react/web/ui/ConnectWallet/locale/es.d.ts.map +1 -1
- package/dist/types/react/web/ui/ConnectWallet/locale/ja.d.ts.map +1 -1
- package/dist/types/react/web/ui/ConnectWallet/locale/tl.d.ts.map +1 -1
- package/dist/types/react/web/ui/ConnectWallet/locale/types.d.ts +2 -0
- package/dist/types/react/web/ui/ConnectWallet/locale/types.d.ts.map +1 -1
- package/dist/types/react/web/ui/ConnectWallet/locale/vi.d.ts.map +1 -1
- package/dist/types/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatTxDetailsTable.d.ts +1 -1
- package/dist/types/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatTxDetailsTable.d.ts.map +1 -1
- package/dist/types/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/BuyTxHistory.d.ts +2 -4
- package/dist/types/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/BuyTxHistory.d.ts.map +1 -0
- package/dist/types/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/BuyTxHistoryButton.d.ts.map +1 -0
- package/dist/types/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/FiatDetailsScreen.d.ts.map +1 -0
- package/dist/types/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/SwapDetailsScreen.d.ts.map +1 -0
- package/dist/types/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/TokenInfoRow.d.ts.map +1 -0
- package/dist/types/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/TxDetailsScreen.d.ts.map +1 -0
- package/dist/types/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/statusMeta.d.ts.map +1 -0
- package/dist/types/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/useBuyTransactionsToShow.d.ts.map +1 -0
- package/dist/types/react/web/ui/ConnectWallet/screens/WalletTransactionHistory.d.ts +15 -0
- package/dist/types/react/web/ui/ConnectWallet/screens/WalletTransactionHistory.d.ts.map +1 -0
- package/dist/types/react/web/ui/ConnectWallet/screens/types.d.ts +1 -1
- package/dist/types/react/web/ui/ConnectWallet/screens/types.d.ts.map +1 -1
- package/dist/types/react/web/ui/components/Tabs.d.ts +7 -0
- package/dist/types/react/web/ui/components/Tabs.d.ts.map +1 -0
- package/dist/types/storage/unpin.d.ts +1 -1
- package/dist/types/transaction/actions/wait-for-tx-receipt.d.ts +2 -2
- package/dist/types/transaction/actions/wait-for-tx-receipt.d.ts.map +1 -1
- package/dist/types/transaction/read-contract.d.ts +1 -0
- package/dist/types/transaction/read-contract.d.ts.map +1 -1
- package/dist/types/transaction/transaction-store.d.ts +10 -0
- package/dist/types/transaction/transaction-store.d.ts.map +1 -1
- package/dist/types/utils/extensions/airdrop/fetch-proofs-erc1155.d.ts +34 -0
- package/dist/types/utils/extensions/airdrop/fetch-proofs-erc1155.d.ts.map +1 -1
- package/dist/types/utils/extensions/airdrop/fetch-proofs-erc20.d.ts +34 -0
- package/dist/types/utils/extensions/airdrop/fetch-proofs-erc20.d.ts.map +1 -1
- package/dist/types/utils/extensions/airdrop/fetch-proofs-erc721.d.ts +34 -0
- package/dist/types/utils/extensions/airdrop/fetch-proofs-erc721.d.ts.map +1 -1
- package/dist/types/utils/extensions/drops/get-claim-params.d.ts +19 -0
- package/dist/types/utils/extensions/drops/get-claim-params.d.ts.map +1 -1
- package/dist/types/utils/jwt/decode-jwt.d.ts +1 -0
- package/dist/types/utils/jwt/decode-jwt.d.ts.map +1 -1
- package/dist/types/utils/jwt/encode-jwt.d.ts +1 -0
- package/dist/types/utils/jwt/encode-jwt.d.ts.map +1 -1
- package/dist/types/utils/jwt/refresh-jwt.d.ts +1 -0
- package/dist/types/utils/jwt/refresh-jwt.d.ts.map +1 -1
- package/dist/types/utils/signatures/resolve-signature.d.ts.map +1 -1
- package/dist/types/version.d.ts +1 -1
- package/dist/types/version.d.ts.map +1 -1
- package/dist/types/wallets/eip5792/wait-for-bundle.d.ts +2 -2
- package/dist/types/wallets/eip5792/wait-for-bundle.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/extensions/modular/ModularCore/write/installPublishedExtension.ts +20 -1
- package/src/extensions/modular/ModularCore/write/uninstallExtensionByProxy.ts +17 -0
- package/src/extensions/modular/ModularCore/write/uninstallPublishedExtension.ts +19 -1
- package/src/pay/getBuyHistory.ts +1 -1
- package/src/react/core/hooks/contract/useReadContract.ts +3 -3
- package/src/react/core/hooks/transaction/useSendTransaction.ts +12 -3
- package/src/react/web/hooks/transaction/useSendTransaction.tsx +2 -2
- package/src/react/web/ui/ConnectWallet/Details.tsx +8 -18
- package/src/react/web/ui/ConnectWallet/TransactionsScreen.tsx +122 -0
- package/src/react/web/ui/ConnectWallet/locale/en.ts +2 -0
- package/src/react/web/ui/ConnectWallet/locale/es.ts +3 -1
- package/src/react/web/ui/ConnectWallet/locale/ja.ts +3 -1
- package/src/react/web/ui/ConnectWallet/locale/tl.ts +3 -1
- package/src/react/web/ui/ConnectWallet/locale/types.ts +2 -0
- package/src/react/web/ui/ConnectWallet/locale/vi.ts +3 -1
- package/src/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatStatusScreen.tsx +1 -1
- package/src/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatSteps.tsx +1 -1
- package/src/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatTxDetailsTable.tsx +2 -2
- package/src/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/BuyTxHistory.tsx +118 -121
- package/src/react/web/ui/ConnectWallet/screens/Buy/swap/SwapStatusScreen.tsx +1 -1
- package/src/react/web/ui/ConnectWallet/screens/WalletTransactionHistory.tsx +214 -0
- package/src/react/web/ui/ConnectWallet/screens/types.ts +1 -1
- package/src/react/web/ui/PayEmbed.tsx +2 -2
- package/src/react/web/ui/components/Tabs.tsx +56 -0
- package/src/storage/unpin.ts +1 -1
- package/src/transaction/actions/wait-for-tx-receipt.test.ts +5 -7
- package/src/transaction/actions/wait-for-tx-receipt.ts +2 -2
- package/src/transaction/read-contract.test.ts +1 -0
- package/src/transaction/read-contract.ts +2 -0
- package/src/transaction/transaction-store.ts +10 -0
- package/src/utils/extensions/airdrop/fetch-proofs-erc1155.ts +1 -2
- package/src/utils/extensions/airdrop/fetch-proofs-erc20.ts +1 -2
- package/src/utils/extensions/airdrop/fetch-proofs-erc721.ts +1 -2
- package/src/utils/extensions/drops/get-claim-params.ts +19 -0
- package/src/utils/jwt/decode-jwt.ts +1 -0
- package/src/utils/jwt/encode-jwt.ts +1 -0
- package/src/utils/jwt/refresh-jwt.ts +1 -0
- package/src/utils/signatures/resolve-signature.ts +0 -2
- package/src/version.ts +1 -1
- package/src/wallets/eip5792/wait-for-bundle.test.ts +5 -7
- package/src/wallets/eip5792/wait-for-bundle.ts +2 -2
- package/src/wallets/smart/index.ts +0 -3
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/tx-history/BuyTxHistory.js +0 -85
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/tx-history/BuyTxHistory.js.map +0 -1
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/tx-history/BuyTxHistoryButton.js.map +0 -1
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/tx-history/FiatDetailsScreen.js.map +0 -1
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/tx-history/SwapDetailsScreen.js.map +0 -1
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/tx-history/TokenInfoRow.js.map +0 -1
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/tx-history/TxDetailsScreen.js.map +0 -1
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/tx-history/statusMeta.js.map +0 -1
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/tx-history/useBuyTransactionsToShow.js.map +0 -1
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/tx-history/BuyTxHistory.js +0 -81
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/tx-history/BuyTxHistory.js.map +0 -1
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/tx-history/BuyTxHistoryButton.js.map +0 -1
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/tx-history/FiatDetailsScreen.js.map +0 -1
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/tx-history/SwapDetailsScreen.js.map +0 -1
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/tx-history/TokenInfoRow.js.map +0 -1
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/tx-history/TxDetailsScreen.js.map +0 -1
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/tx-history/statusMeta.js.map +0 -1
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/tx-history/useBuyTransactionsToShow.js.map +0 -1
- package/dist/types/react/web/ui/ConnectWallet/screens/Buy/tx-history/BuyTxHistory.d.ts.map +0 -1
- package/dist/types/react/web/ui/ConnectWallet/screens/Buy/tx-history/BuyTxHistoryButton.d.ts.map +0 -1
- package/dist/types/react/web/ui/ConnectWallet/screens/Buy/tx-history/FiatDetailsScreen.d.ts.map +0 -1
- package/dist/types/react/web/ui/ConnectWallet/screens/Buy/tx-history/SwapDetailsScreen.d.ts.map +0 -1
- package/dist/types/react/web/ui/ConnectWallet/screens/Buy/tx-history/TokenInfoRow.d.ts.map +0 -1
- package/dist/types/react/web/ui/ConnectWallet/screens/Buy/tx-history/TxDetailsScreen.d.ts.map +0 -1
- package/dist/types/react/web/ui/ConnectWallet/screens/Buy/tx-history/statusMeta.d.ts.map +0 -1
- package/dist/types/react/web/ui/ConnectWallet/screens/Buy/tx-history/useBuyTransactionsToShow.d.ts.map +0 -1
- package/src/extensions/erc1155/drops/write/updateMetadata.test.ts +0 -127
- package/src/extensions/erc721/drops/write/updateMetadata.test.ts +0 -127
- /package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/BuyTxHistoryButton.js +0 -0
- /package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/FiatDetailsScreen.js +0 -0
- /package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/SwapDetailsScreen.js +0 -0
- /package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/TokenInfoRow.js +0 -0
- /package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/TxDetailsScreen.js +0 -0
- /package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/statusMeta.js +0 -0
- /package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/useBuyTransactionsToShow.js +0 -0
- /package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/BuyTxHistoryButton.js +0 -0
- /package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/FiatDetailsScreen.js +0 -0
- /package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/SwapDetailsScreen.js +0 -0
- /package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/TokenInfoRow.js +0 -0
- /package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/TxDetailsScreen.js +0 -0
- /package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/statusMeta.js +0 -0
- /package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/useBuyTransactionsToShow.js +0 -0
- /package/dist/types/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/BuyTxHistoryButton.d.ts +0 -0
- /package/dist/types/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/FiatDetailsScreen.d.ts +0 -0
- /package/dist/types/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/SwapDetailsScreen.d.ts +0 -0
- /package/dist/types/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/TokenInfoRow.d.ts +0 -0
- /package/dist/types/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/TxDetailsScreen.d.ts +0 -0
- /package/dist/types/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/statusMeta.d.ts +0 -0
- /package/dist/types/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/useBuyTransactionsToShow.d.ts +0 -0
- /package/src/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/BuyTxHistoryButton.tsx +0 -0
- /package/src/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/FiatDetailsScreen.tsx +0 -0
- /package/src/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/SwapDetailsScreen.tsx +0 -0
- /package/src/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/TokenInfoRow.tsx +0 -0
- /package/src/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/TxDetailsScreen.tsx +0 -0
- /package/src/react/web/ui/ConnectWallet/screens/Buy/{tx-history → pay-transactions}/statusMeta.ts +0 -0
- /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;
|
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;
|
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"}
|
@@ -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
|
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"}
|
@@ -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
|
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"}
|
@@ -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
|
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;
|
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"}
|
package/dist/types/version.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
export declare const version = "5.
|
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,
|
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 =
|
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
|
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,
|
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
@@ -11,12 +11,31 @@ export type InstallPublishedExtensionOptions = {
|
|
11
11
|
account: Account;
|
12
12
|
contract: ThirdwebContract;
|
13
13
|
extensionName: string;
|
14
|
-
publisherAddress
|
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
|
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
|
) {
|
package/src/pay/getBuyHistory.ts
CHANGED
@@ -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:
|
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
|
-
| (
|
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 +
|
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 +
|
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 {
|
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
|
-
<
|
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("
|
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 === "
|
629
|
+
if (screen === "transactions") {
|
640
630
|
content = (
|
641
|
-
<
|
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("
|
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",
|
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",
|
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",
|
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: {
|