thirdweb 5.43.1 → 5.43.3-nightly-c2e86c682868b23f56dfff8b5633a39f94b4db7a-20240803000841
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/marketplace/direct-listings/utils.js +1 -0
- package/dist/cjs/extensions/marketplace/direct-listings/utils.js.map +1 -1
- package/dist/cjs/extensions/marketplace/english-auctions/utils.js +1 -0
- package/dist/cjs/extensions/marketplace/english-auctions/utils.js.map +1 -1
- package/dist/cjs/gas/fee-data.js +1 -1
- package/dist/cjs/gas/fee-data.js.map +1 -1
- package/dist/cjs/react/core/hooks/contract/useContractEvents.js +32 -2
- package/dist/cjs/react/core/hooks/contract/useContractEvents.js.map +1 -1
- package/dist/cjs/react/core/hooks/contract/useReadContract.js.map +1 -1
- package/dist/cjs/react/core/hooks/others/useWalletBalance.js +17 -2
- package/dist/cjs/react/core/hooks/others/useWalletBalance.js.map +1 -1
- package/dist/cjs/react/core/hooks/wallets/useActiveAccount.js +1 -0
- package/dist/cjs/react/core/hooks/wallets/useActiveAccount.js.map +1 -1
- package/dist/cjs/react/core/utils/wallet.js +19 -1
- package/dist/cjs/react/core/utils/wallet.js.map +1 -1
- package/dist/cjs/react/web/hooks/transaction/useSendTransaction.js +74 -4
- package/dist/cjs/react/web/hooks/transaction/useSendTransaction.js.map +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/ConnectButton.js +17 -2
- package/dist/cjs/react/web/ui/ConnectWallet/ConnectButton.js.map +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/Details.js +2 -2
- package/dist/cjs/react/web/ui/ConnectWallet/Details.js.map +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/Modal/ConnectEmbed.js +15 -0
- package/dist/cjs/react/web/ui/ConnectWallet/Modal/ConnectEmbed.js.map +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/locale/es.js +8 -8
- package/dist/cjs/react/web/ui/ConnectWallet/locale/es.js.map +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/locale/fr.js +114 -0
- package/dist/cjs/react/web/ui/ConnectWallet/locale/fr.js.map +1 -0
- package/dist/cjs/react/web/ui/ConnectWallet/locale/getConnectLocale.js +6 -0
- package/dist/cjs/react/web/ui/ConnectWallet/locale/getConnectLocale.js.map +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/locale/ja.js +12 -12
- package/dist/cjs/react/web/ui/ConnectWallet/locale/ja.js.map +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/locale/kr.js +114 -0
- package/dist/cjs/react/web/ui/ConnectWallet/locale/kr.js.map +1 -0
- package/dist/cjs/react/web/ui/ConnectWallet/locale/tl.js +12 -12
- package/dist/cjs/react/web/ui/ConnectWallet/locale/tl.js.map +1 -1
- package/dist/cjs/react/web/ui/PayEmbed.js +8 -9
- package/dist/cjs/react/web/ui/PayEmbed.js.map +1 -1
- package/dist/cjs/react/web/wallets/injected/locale/fr.js +27 -0
- package/dist/cjs/react/web/wallets/injected/locale/fr.js.map +1 -0
- package/dist/cjs/react/web/wallets/injected/locale/getInjectedWalletLocale.js +4 -0
- package/dist/cjs/react/web/wallets/injected/locale/getInjectedWalletLocale.js.map +1 -1
- package/dist/cjs/react/web/wallets/injected/locale/ja.js +8 -8
- package/dist/cjs/react/web/wallets/injected/locale/ja.js.map +1 -1
- package/dist/cjs/react/web/wallets/injected/locale/kr.js +27 -0
- package/dist/cjs/react/web/wallets/injected/locale/kr.js.map +1 -0
- package/dist/cjs/react/web/wallets/local/locale/fr.js +44 -0
- package/dist/cjs/react/web/wallets/local/locale/fr.js.map +1 -0
- package/dist/cjs/react/web/wallets/local/locale/getLocalWalletLocale.js +2 -0
- package/dist/cjs/react/web/wallets/local/locale/getLocalWalletLocale.js.map +1 -1
- package/dist/cjs/react/web/wallets/local/locale/ja.js +14 -18
- package/dist/cjs/react/web/wallets/local/locale/ja.js.map +1 -1
- package/dist/cjs/react/web/wallets/local/locale/kr.js +44 -0
- package/dist/cjs/react/web/wallets/local/locale/kr.js.map +1 -0
- package/dist/cjs/react/web/wallets/shared/ConnectWalletSocialOptions.js +3 -9
- package/dist/cjs/react/web/wallets/shared/ConnectWalletSocialOptions.js.map +1 -1
- package/dist/cjs/react/web/wallets/shared/locale/de.js +1 -0
- package/dist/cjs/react/web/wallets/shared/locale/de.js.map +1 -1
- package/dist/cjs/react/web/wallets/shared/locale/en.js +1 -0
- package/dist/cjs/react/web/wallets/shared/locale/en.js.map +1 -1
- package/dist/cjs/react/web/wallets/shared/locale/es.js +1 -0
- package/dist/cjs/react/web/wallets/shared/locale/es.js.map +1 -1
- package/dist/cjs/react/web/wallets/shared/locale/fr.js +56 -0
- package/dist/cjs/react/web/wallets/shared/locale/fr.js.map +1 -0
- package/dist/cjs/react/web/wallets/shared/locale/getConnectLocale.js +4 -0
- package/dist/cjs/react/web/wallets/shared/locale/getConnectLocale.js.map +1 -1
- package/dist/cjs/react/web/wallets/shared/locale/ja.js +21 -20
- package/dist/cjs/react/web/wallets/shared/locale/ja.js.map +1 -1
- package/dist/cjs/react/web/wallets/shared/locale/kr.js +56 -0
- package/dist/cjs/react/web/wallets/shared/locale/kr.js.map +1 -0
- package/dist/cjs/react/web/wallets/shared/locale/tl.js +1 -0
- package/dist/cjs/react/web/wallets/shared/locale/tl.js.map +1 -1
- package/dist/cjs/react/web/wallets/shared/locale/vi.js +1 -0
- package/dist/cjs/react/web/wallets/shared/locale/vi.js.map +1 -1
- package/dist/cjs/react/web/wallets/smartWallet/locale/fr.js +13 -0
- package/dist/cjs/react/web/wallets/smartWallet/locale/fr.js.map +1 -0
- package/dist/cjs/react/web/wallets/smartWallet/locale/getSmartWalletLocale.js +4 -0
- package/dist/cjs/react/web/wallets/smartWallet/locale/getSmartWalletLocale.js.map +1 -1
- package/dist/cjs/react/web/wallets/smartWallet/locale/ja.js +5 -5
- package/dist/cjs/react/web/wallets/smartWallet/locale/ja.js.map +1 -1
- package/dist/cjs/react/web/wallets/smartWallet/locale/kr.js +13 -0
- package/dist/cjs/react/web/wallets/smartWallet/locale/kr.js.map +1 -0
- package/dist/cjs/react/web/wallets/walletConnect/locale.js +8 -0
- package/dist/cjs/react/web/wallets/walletConnect/locale.js.map +1 -1
- package/dist/cjs/transaction/actions/send-transaction.js +76 -5
- package/dist/cjs/transaction/actions/send-transaction.js.map +1 -1
- package/dist/cjs/transaction/prepare-contract-call.js +18 -13
- package/dist/cjs/transaction/prepare-contract-call.js.map +1 -1
- package/dist/cjs/transaction/read-contract.js +39 -6
- package/dist/cjs/transaction/read-contract.js.map +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/cjs/version.js.map +1 -1
- package/dist/cjs/wallets/in-app/web/in-app.js +4 -1
- package/dist/cjs/wallets/in-app/web/in-app.js.map +1 -1
- package/dist/cjs/wallets/in-app/web/lib/auth/index.js +1 -0
- package/dist/cjs/wallets/in-app/web/lib/auth/index.js.map +1 -1
- package/dist/cjs/wallets/in-app/web/lib/auth/oauth.js +1 -1
- package/dist/cjs/wallets/in-app/web/lib/auth/oauth.js.map +1 -1
- package/dist/esm/extensions/marketplace/direct-listings/utils.js +1 -0
- package/dist/esm/extensions/marketplace/direct-listings/utils.js.map +1 -1
- package/dist/esm/extensions/marketplace/english-auctions/utils.js +1 -0
- package/dist/esm/extensions/marketplace/english-auctions/utils.js.map +1 -1
- package/dist/esm/gas/fee-data.js +1 -1
- package/dist/esm/gas/fee-data.js.map +1 -1
- package/dist/esm/react/core/hooks/contract/useContractEvents.js +32 -2
- package/dist/esm/react/core/hooks/contract/useContractEvents.js.map +1 -1
- package/dist/esm/react/core/hooks/contract/useReadContract.js.map +1 -1
- package/dist/esm/react/core/hooks/others/useWalletBalance.js +17 -2
- package/dist/esm/react/core/hooks/others/useWalletBalance.js.map +1 -1
- package/dist/esm/react/core/hooks/wallets/useActiveAccount.js +1 -0
- package/dist/esm/react/core/hooks/wallets/useActiveAccount.js.map +1 -1
- package/dist/esm/react/core/utils/wallet.js +19 -1
- package/dist/esm/react/core/utils/wallet.js.map +1 -1
- package/dist/esm/react/web/hooks/transaction/useSendTransaction.js +74 -4
- package/dist/esm/react/web/hooks/transaction/useSendTransaction.js.map +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/ConnectButton.js +17 -2
- package/dist/esm/react/web/ui/ConnectWallet/ConnectButton.js.map +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/Details.js +2 -2
- package/dist/esm/react/web/ui/ConnectWallet/Details.js.map +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/Modal/ConnectEmbed.js +15 -0
- package/dist/esm/react/web/ui/ConnectWallet/Modal/ConnectEmbed.js.map +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/locale/es.js +8 -8
- package/dist/esm/react/web/ui/ConnectWallet/locale/es.js.map +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/locale/fr.js +112 -0
- package/dist/esm/react/web/ui/ConnectWallet/locale/fr.js.map +1 -0
- package/dist/esm/react/web/ui/ConnectWallet/locale/getConnectLocale.js +6 -0
- package/dist/esm/react/web/ui/ConnectWallet/locale/getConnectLocale.js.map +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/locale/ja.js +12 -12
- package/dist/esm/react/web/ui/ConnectWallet/locale/ja.js.map +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/locale/kr.js +112 -0
- package/dist/esm/react/web/ui/ConnectWallet/locale/kr.js.map +1 -0
- package/dist/esm/react/web/ui/ConnectWallet/locale/tl.js +12 -12
- package/dist/esm/react/web/ui/ConnectWallet/locale/tl.js.map +1 -1
- package/dist/esm/react/web/ui/PayEmbed.js +8 -9
- package/dist/esm/react/web/ui/PayEmbed.js.map +1 -1
- package/dist/esm/react/web/wallets/injected/locale/fr.js +25 -0
- package/dist/esm/react/web/wallets/injected/locale/fr.js.map +1 -0
- package/dist/esm/react/web/wallets/injected/locale/getInjectedWalletLocale.js +4 -0
- package/dist/esm/react/web/wallets/injected/locale/getInjectedWalletLocale.js.map +1 -1
- package/dist/esm/react/web/wallets/injected/locale/ja.js +8 -8
- package/dist/esm/react/web/wallets/injected/locale/ja.js.map +1 -1
- package/dist/esm/react/web/wallets/injected/locale/kr.js +25 -0
- package/dist/esm/react/web/wallets/injected/locale/kr.js.map +1 -0
- package/dist/esm/react/web/wallets/local/locale/fr.js +42 -0
- package/dist/esm/react/web/wallets/local/locale/fr.js.map +1 -0
- package/dist/esm/react/web/wallets/local/locale/getLocalWalletLocale.js +2 -0
- package/dist/esm/react/web/wallets/local/locale/getLocalWalletLocale.js.map +1 -1
- package/dist/esm/react/web/wallets/local/locale/ja.js +14 -18
- package/dist/esm/react/web/wallets/local/locale/ja.js.map +1 -1
- package/dist/esm/react/web/wallets/local/locale/kr.js +42 -0
- package/dist/esm/react/web/wallets/local/locale/kr.js.map +1 -0
- package/dist/esm/react/web/wallets/shared/ConnectWalletSocialOptions.js +3 -9
- package/dist/esm/react/web/wallets/shared/ConnectWalletSocialOptions.js.map +1 -1
- package/dist/esm/react/web/wallets/shared/locale/de.js +1 -0
- package/dist/esm/react/web/wallets/shared/locale/de.js.map +1 -1
- package/dist/esm/react/web/wallets/shared/locale/en.js +1 -0
- package/dist/esm/react/web/wallets/shared/locale/en.js.map +1 -1
- package/dist/esm/react/web/wallets/shared/locale/es.js +1 -0
- package/dist/esm/react/web/wallets/shared/locale/es.js.map +1 -1
- package/dist/esm/react/web/wallets/shared/locale/fr.js +54 -0
- package/dist/esm/react/web/wallets/shared/locale/fr.js.map +1 -0
- package/dist/esm/react/web/wallets/shared/locale/getConnectLocale.js +4 -0
- package/dist/esm/react/web/wallets/shared/locale/getConnectLocale.js.map +1 -1
- package/dist/esm/react/web/wallets/shared/locale/ja.js +21 -20
- package/dist/esm/react/web/wallets/shared/locale/ja.js.map +1 -1
- package/dist/esm/react/web/wallets/shared/locale/kr.js +54 -0
- package/dist/esm/react/web/wallets/shared/locale/kr.js.map +1 -0
- package/dist/esm/react/web/wallets/shared/locale/tl.js +1 -0
- package/dist/esm/react/web/wallets/shared/locale/tl.js.map +1 -1
- package/dist/esm/react/web/wallets/shared/locale/vi.js +1 -0
- package/dist/esm/react/web/wallets/shared/locale/vi.js.map +1 -1
- package/dist/esm/react/web/wallets/smartWallet/locale/fr.js +11 -0
- package/dist/esm/react/web/wallets/smartWallet/locale/fr.js.map +1 -0
- package/dist/esm/react/web/wallets/smartWallet/locale/getSmartWalletLocale.js +4 -0
- package/dist/esm/react/web/wallets/smartWallet/locale/getSmartWalletLocale.js.map +1 -1
- package/dist/esm/react/web/wallets/smartWallet/locale/ja.js +5 -5
- package/dist/esm/react/web/wallets/smartWallet/locale/ja.js.map +1 -1
- package/dist/esm/react/web/wallets/smartWallet/locale/kr.js +11 -0
- package/dist/esm/react/web/wallets/smartWallet/locale/kr.js.map +1 -0
- package/dist/esm/react/web/wallets/walletConnect/locale.js +8 -0
- package/dist/esm/react/web/wallets/walletConnect/locale.js.map +1 -1
- package/dist/esm/transaction/actions/send-transaction.js +76 -5
- package/dist/esm/transaction/actions/send-transaction.js.map +1 -1
- package/dist/esm/transaction/prepare-contract-call.js +18 -13
- package/dist/esm/transaction/prepare-contract-call.js.map +1 -1
- package/dist/esm/transaction/read-contract.js +39 -6
- package/dist/esm/transaction/read-contract.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/esm/version.js.map +1 -1
- package/dist/esm/wallets/in-app/web/in-app.js +4 -1
- package/dist/esm/wallets/in-app/web/in-app.js.map +1 -1
- package/dist/esm/wallets/in-app/web/lib/auth/index.js +1 -0
- package/dist/esm/wallets/in-app/web/lib/auth/index.js.map +1 -1
- package/dist/esm/wallets/in-app/web/lib/auth/oauth.js +1 -1
- package/dist/esm/wallets/in-app/web/lib/auth/oauth.js.map +1 -1
- package/dist/types/extensions/marketplace/direct-listings/types.d.ts +1 -0
- package/dist/types/extensions/marketplace/direct-listings/types.d.ts.map +1 -1
- package/dist/types/extensions/marketplace/direct-listings/utils.d.ts.map +1 -1
- package/dist/types/extensions/marketplace/english-auctions/types.d.ts +1 -0
- package/dist/types/extensions/marketplace/english-auctions/types.d.ts.map +1 -1
- package/dist/types/extensions/marketplace/english-auctions/utils.d.ts.map +1 -1
- package/dist/types/react/core/hooks/contract/useContractEvents.d.ts +32 -2
- package/dist/types/react/core/hooks/contract/useContractEvents.d.ts.map +1 -1
- package/dist/types/react/core/hooks/contract/useReadContract.d.ts +28 -6
- package/dist/types/react/core/hooks/contract/useReadContract.d.ts.map +1 -1
- package/dist/types/react/core/hooks/others/useWalletBalance.d.ts +17 -2
- package/dist/types/react/core/hooks/others/useWalletBalance.d.ts.map +1 -1
- package/dist/types/react/core/hooks/wallets/useActiveAccount.d.ts +1 -0
- package/dist/types/react/core/hooks/wallets/useActiveAccount.d.ts.map +1 -1
- package/dist/types/react/core/utils/wallet.d.ts +19 -1
- package/dist/types/react/core/utils/wallet.d.ts.map +1 -1
- package/dist/types/react/web/hooks/transaction/useSendTransaction.d.ts +74 -4
- package/dist/types/react/web/hooks/transaction/useSendTransaction.d.ts.map +1 -1
- package/dist/types/react/web/ui/ConnectWallet/ConnectButton.d.ts +17 -2
- package/dist/types/react/web/ui/ConnectWallet/ConnectButton.d.ts.map +1 -1
- package/dist/types/react/web/ui/ConnectWallet/Modal/ConnectEmbed.d.ts +15 -0
- package/dist/types/react/web/ui/ConnectWallet/Modal/ConnectEmbed.d.ts.map +1 -1
- package/dist/types/react/web/ui/ConnectWallet/locale/fr.d.ts +4 -0
- package/dist/types/react/web/ui/ConnectWallet/locale/fr.d.ts.map +1 -0
- package/dist/types/react/web/ui/ConnectWallet/locale/getConnectLocale.d.ts.map +1 -1
- package/dist/types/react/web/ui/ConnectWallet/locale/kr.d.ts +4 -0
- package/dist/types/react/web/ui/ConnectWallet/locale/kr.d.ts.map +1 -0
- package/dist/types/react/web/ui/PayEmbed.d.ts +1 -0
- package/dist/types/react/web/ui/PayEmbed.d.ts.map +1 -1
- package/dist/types/react/web/ui/types.d.ts +1 -1
- package/dist/types/react/web/ui/types.d.ts.map +1 -1
- package/dist/types/react/web/wallets/injected/locale/fr.d.ts +7 -0
- package/dist/types/react/web/wallets/injected/locale/fr.d.ts.map +1 -0
- package/dist/types/react/web/wallets/injected/locale/getInjectedWalletLocale.d.ts.map +1 -1
- package/dist/types/react/web/wallets/injected/locale/ja.d.ts +2 -2
- package/dist/types/react/web/wallets/injected/locale/ja.d.ts.map +1 -1
- package/dist/types/react/web/wallets/injected/locale/kr.d.ts +7 -0
- package/dist/types/react/web/wallets/injected/locale/kr.d.ts.map +1 -0
- package/dist/types/react/web/wallets/local/locale/fr.d.ts +4 -0
- package/dist/types/react/web/wallets/local/locale/fr.d.ts.map +1 -0
- package/dist/types/react/web/wallets/local/locale/getLocalWalletLocale.d.ts.map +1 -1
- package/dist/types/react/web/wallets/local/locale/ja.d.ts +2 -2
- package/dist/types/react/web/wallets/local/locale/ja.d.ts.map +1 -1
- package/dist/types/react/web/wallets/local/locale/kr.d.ts +4 -0
- package/dist/types/react/web/wallets/local/locale/kr.d.ts.map +1 -0
- package/dist/types/react/web/wallets/shared/ConnectWalletSocialOptions.d.ts.map +1 -1
- package/dist/types/react/web/wallets/shared/locale/de.d.ts +1 -0
- package/dist/types/react/web/wallets/shared/locale/de.d.ts.map +1 -1
- package/dist/types/react/web/wallets/shared/locale/en.d.ts +1 -0
- package/dist/types/react/web/wallets/shared/locale/en.d.ts.map +1 -1
- package/dist/types/react/web/wallets/shared/locale/es.d.ts +1 -0
- package/dist/types/react/web/wallets/shared/locale/es.d.ts.map +1 -1
- package/dist/types/react/web/wallets/shared/locale/fr.d.ts +55 -0
- package/dist/types/react/web/wallets/shared/locale/fr.d.ts.map +1 -0
- package/dist/types/react/web/wallets/shared/locale/getConnectLocale.d.ts.map +1 -1
- package/dist/types/react/web/wallets/shared/locale/ja.d.ts +4 -3
- package/dist/types/react/web/wallets/shared/locale/ja.d.ts.map +1 -1
- package/dist/types/react/web/wallets/shared/locale/kr.d.ts +55 -0
- package/dist/types/react/web/wallets/shared/locale/kr.d.ts.map +1 -0
- package/dist/types/react/web/wallets/shared/locale/tl.d.ts +1 -0
- package/dist/types/react/web/wallets/shared/locale/tl.d.ts.map +1 -1
- package/dist/types/react/web/wallets/shared/locale/types.d.ts +1 -0
- package/dist/types/react/web/wallets/shared/locale/types.d.ts.map +1 -1
- package/dist/types/react/web/wallets/shared/locale/vi.d.ts +1 -0
- package/dist/types/react/web/wallets/shared/locale/vi.d.ts.map +1 -1
- package/dist/types/react/web/wallets/smartWallet/locale/fr.d.ts +4 -0
- package/dist/types/react/web/wallets/smartWallet/locale/fr.d.ts.map +1 -0
- package/dist/types/react/web/wallets/smartWallet/locale/getSmartWalletLocale.d.ts.map +1 -1
- package/dist/types/react/web/wallets/smartWallet/locale/ja.d.ts +2 -2
- package/dist/types/react/web/wallets/smartWallet/locale/ja.d.ts.map +1 -1
- package/dist/types/react/web/wallets/smartWallet/locale/kr.d.ts +4 -0
- package/dist/types/react/web/wallets/smartWallet/locale/kr.d.ts.map +1 -0
- package/dist/types/react/web/wallets/walletConnect/locale.d.ts.map +1 -1
- package/dist/types/transaction/actions/send-transaction.d.ts +76 -5
- package/dist/types/transaction/actions/send-transaction.d.ts.map +1 -1
- package/dist/types/transaction/prepare-contract-call.d.ts +18 -13
- package/dist/types/transaction/prepare-contract-call.d.ts.map +1 -1
- package/dist/types/transaction/read-contract.d.ts +39 -6
- package/dist/types/transaction/read-contract.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/in-app/web/in-app.d.ts +4 -1
- package/dist/types/wallets/in-app/web/in-app.d.ts.map +1 -1
- package/dist/types/wallets/in-app/web/lib/auth/index.d.ts +1 -0
- package/dist/types/wallets/in-app/web/lib/auth/index.d.ts.map +1 -1
- package/package.json +4 -3
- package/src/extensions/marketplace/direct-listings/types.ts +1 -0
- package/src/extensions/marketplace/direct-listings/utils.ts +1 -0
- package/src/extensions/marketplace/english-auctions/types.ts +1 -0
- package/src/extensions/marketplace/english-auctions/utils.ts +1 -0
- package/src/gas/fee-data.ts +1 -1
- package/src/react/core/hooks/contract/useContractEvents.ts +32 -2
- package/src/react/core/hooks/contract/useReadContract.ts +28 -6
- package/src/react/core/hooks/others/useWalletBalance.ts +17 -2
- package/src/react/core/hooks/wallets/useActiveAccount.ts +1 -0
- package/src/react/core/utils/wallet.ts +19 -1
- package/src/react/web/hooks/transaction/useSendTransaction.tsx +74 -4
- package/src/react/web/ui/ConnectWallet/ConnectButton.tsx +17 -2
- package/src/react/web/ui/ConnectWallet/Details.tsx +2 -2
- package/src/react/web/ui/ConnectWallet/Modal/ConnectEmbed.tsx +15 -0
- package/src/react/web/ui/ConnectWallet/locale/es.ts +8 -8
- package/src/react/web/ui/ConnectWallet/locale/fr.ts +118 -0
- package/src/react/web/ui/ConnectWallet/locale/getConnectLocale.ts +6 -0
- package/src/react/web/ui/ConnectWallet/locale/ja.ts +12 -12
- package/src/react/web/ui/ConnectWallet/locale/kr.ts +114 -0
- package/src/react/web/ui/ConnectWallet/locale/tl.ts +12 -12
- package/src/react/web/ui/PayEmbed-disconnected.test.tsx +5 -3
- package/src/react/web/ui/PayEmbed.test.tsx +17 -16
- package/src/react/web/ui/PayEmbed.tsx +9 -4
- package/src/react/web/ui/types.ts +3 -1
- package/src/react/web/wallets/injected/locale/fr.ts +27 -0
- package/src/react/web/wallets/injected/locale/getInjectedWalletLocale.ts +4 -0
- package/src/react/web/wallets/injected/locale/ja.ts +8 -10
- package/src/react/web/wallets/injected/locale/kr.ts +25 -0
- package/src/react/web/wallets/local/locale/fr.ts +51 -0
- package/src/react/web/wallets/local/locale/getLocalWalletLocale.ts +2 -0
- package/src/react/web/wallets/local/locale/ja.ts +14 -20
- package/src/react/web/wallets/local/locale/kr.ts +47 -0
- package/src/react/web/wallets/shared/ConnectWalletSocialOptions.tsx +3 -6
- package/src/react/web/wallets/shared/locale/de.ts +1 -0
- package/src/react/web/wallets/shared/locale/en.ts +1 -0
- package/src/react/web/wallets/shared/locale/es.ts +1 -0
- package/src/react/web/wallets/shared/locale/fr.ts +59 -0
- package/src/react/web/wallets/shared/locale/getConnectLocale.ts +4 -0
- package/src/react/web/wallets/shared/locale/ja.ts +22 -21
- package/src/react/web/wallets/shared/locale/kr.ts +55 -0
- package/src/react/web/wallets/shared/locale/tl.ts +1 -0
- package/src/react/web/wallets/shared/locale/types.ts +1 -0
- package/src/react/web/wallets/shared/locale/vi.ts +1 -0
- package/src/react/web/wallets/smartWallet/locale/fr.ts +13 -0
- package/src/react/web/wallets/smartWallet/locale/getSmartWalletLocale.ts +4 -0
- package/src/react/web/wallets/smartWallet/locale/ja.ts +5 -7
- package/src/react/web/wallets/smartWallet/locale/kr.ts +11 -0
- package/src/react/web/wallets/walletConnect/locale.ts +9 -0
- package/src/transaction/actions/send-transaction.ts +76 -5
- package/src/transaction/prepare-contract-call.ts +18 -13
- package/src/transaction/read-contract.ts +39 -6
- package/src/version.ts +1 -1
- package/src/wallets/in-app/web/in-app.ts +4 -1
- package/src/wallets/in-app/web/lib/auth/index.ts +1 -0
- package/src/wallets/in-app/web/lib/auth/oauth.ts +1 -1
- package/src/wallets/smart/smart-wallet-integration.test.ts +6 -0
@@ -0,0 +1,51 @@
|
|
1
|
+
import type { LocalWalletLocale } from "./types.js";
|
2
|
+
|
3
|
+
const localWalletLocaleEn: LocalWalletLocale = {
|
4
|
+
passwordLabel: "Mot de passe",
|
5
|
+
confirmPasswordLabel: "Confirmer le mot de passe",
|
6
|
+
enterYourPassword: "Entrez votre mot de passe",
|
7
|
+
warningScreen: {
|
8
|
+
title: "Avertissement",
|
9
|
+
warning:
|
10
|
+
"Votre portefeuille actuel sera supprimé si vous créez un nouveau portefeuille. Sauvegardez le portefeuille sur votre appareil avant de créer un nouveau portefeuille",
|
11
|
+
backupWallet: "Sauvegarder le portefeuille",
|
12
|
+
skip: "Passer",
|
13
|
+
},
|
14
|
+
reconnectScreen: {
|
15
|
+
title: "Connecter au portefeuille enregistré",
|
16
|
+
savedWallet: "Portefeuille enregistré",
|
17
|
+
continue: "Continuer",
|
18
|
+
createNewWallet: "Créer un nouveau portefeuille",
|
19
|
+
},
|
20
|
+
createScreen: {
|
21
|
+
instruction:
|
22
|
+
"Choisissez un mot de passe pour votre portefeuille. Vous pourrez accéder et exporter ce portefeuille avec le même mot de passe",
|
23
|
+
importWallet: "Importer le portefeuille",
|
24
|
+
createNewWallet: "Créer un nouveau portefeuille",
|
25
|
+
connecting: "Connexion",
|
26
|
+
},
|
27
|
+
exportScreen: {
|
28
|
+
downloadMessage:
|
29
|
+
"Cela téléchargera un fichier texte contenant la clé privée du portefeuille sur votre appareil",
|
30
|
+
decryptMessage:
|
31
|
+
"Entrez le mot de passe de ce portefeuille pour déchiffrer la clé privée",
|
32
|
+
walletAddress: "Adresse du portefeuille",
|
33
|
+
download: "Télécharger",
|
34
|
+
title: "Sauvegarder le portefeuille",
|
35
|
+
},
|
36
|
+
importScreen: {
|
37
|
+
title: "Importer le portefeuille",
|
38
|
+
description1:
|
39
|
+
"L'application peut autoriser toute transaction au nom du portefeuille sans aucune approbation",
|
40
|
+
description2:
|
41
|
+
"Nous recommandons de ne se connecter qu'à des applications de confiance",
|
42
|
+
passwordDescription:
|
43
|
+
"Choisissez un mot de passe pour chiffrer la clé privée. La clé privée chiffrée sera stockée dans le navigateur",
|
44
|
+
import: "Importer",
|
45
|
+
uploadJSON: "Veuillez télécharger un fichier JSON",
|
46
|
+
uploadedSuccessfully: "Téléchargé avec succès",
|
47
|
+
invalidPrivateKey: "Clé privée invalide",
|
48
|
+
},
|
49
|
+
};
|
50
|
+
|
51
|
+
export default localWalletLocaleEn;
|
@@ -16,6 +16,8 @@ export async function getLocalWalletLocale(
|
|
16
16
|
return (await import("./tl.js")).default;
|
17
17
|
case "vi_VN":
|
18
18
|
return (await import("./vi.js")).default;
|
19
|
+
case "fr_FR":
|
20
|
+
return (await import("./fr.js")).default;
|
19
21
|
default:
|
20
22
|
return (await import("./en.js")).default;
|
21
23
|
}
|
@@ -1,54 +1,48 @@
|
|
1
1
|
import type { LocalWalletLocale } from "./types.js";
|
2
|
-
|
3
|
-
const localWalletLocaleJa: LocalWalletLocale = {
|
2
|
+
const localWalletLocaleEn: LocalWalletLocale = {
|
4
3
|
passwordLabel: "パスワード",
|
5
4
|
confirmPasswordLabel: "パスワードを確認",
|
6
5
|
enterYourPassword: "パスワードを入力してください",
|
7
6
|
warningScreen: {
|
8
7
|
title: "警告",
|
9
8
|
warning:
|
10
|
-
"
|
11
|
-
backupWallet: "
|
12
|
-
|
13
|
-
skip: "Skip",
|
9
|
+
"新しいウォレットを作成すると、現在のウォレットが削除されます。新しいウォレットを作成する前に、ウォレットをデバイスにバックアップしてください",
|
10
|
+
backupWallet: "ウォレットをバックアップ",
|
11
|
+
skip: "スキップ",
|
14
12
|
},
|
15
13
|
reconnectScreen: {
|
16
|
-
title: "
|
14
|
+
title: "保存されたウォレットに接続",
|
17
15
|
savedWallet: "保存されたウォレット",
|
18
|
-
continue: "
|
16
|
+
continue: "続行",
|
19
17
|
createNewWallet: "新しいウォレットを作成",
|
20
18
|
},
|
21
19
|
createScreen: {
|
22
20
|
instruction:
|
23
|
-
"
|
21
|
+
"ウォレットのパスワードを選択してください。同じパスワードでこのウォレットにアクセスしてエクスポートできます",
|
24
22
|
importWallet: "ウォレットをインポート",
|
25
23
|
createNewWallet: "新しいウォレットを作成",
|
26
24
|
connecting: "接続中",
|
27
25
|
},
|
28
26
|
exportScreen: {
|
29
|
-
// TODO: translate
|
30
27
|
downloadMessage:
|
31
|
-
"
|
28
|
+
"これにより、ウォレットの秘密鍵を含むテキストファイルがデバイスにダウンロードされます",
|
32
29
|
decryptMessage:
|
33
|
-
"
|
30
|
+
"秘密鍵を復号するために、このウォレットのパスワードを入力してください",
|
34
31
|
walletAddress: "ウォレットアドレス",
|
35
32
|
download: "ダウンロード",
|
36
|
-
title: "
|
33
|
+
title: "ウォレットをバックアップ",
|
37
34
|
},
|
38
35
|
importScreen: {
|
39
36
|
title: "ウォレットをインポート",
|
40
37
|
description1:
|
41
|
-
"
|
38
|
+
"アプリケーションは、ウォレットの代理として任意のトランザクションを承認できます",
|
42
39
|
description2: "信頼できるアプリケーションにのみ接続することをお勧めします",
|
43
|
-
// TODO: translate
|
44
40
|
passwordDescription:
|
45
|
-
"
|
41
|
+
"秘密鍵を暗号化するためのパスワードを選択してください。暗号化された秘密鍵はブラウザに保存されます",
|
46
42
|
import: "インポート",
|
47
43
|
uploadJSON: "JSONファイルをアップロードしてください",
|
48
44
|
uploadedSuccessfully: "正常にアップロードされました",
|
49
|
-
|
50
|
-
invalidPrivateKey: "Invalid Private Key",
|
45
|
+
invalidPrivateKey: "無効な秘密鍵",
|
51
46
|
},
|
52
47
|
};
|
53
|
-
|
54
|
-
export default localWalletLocaleJa;
|
48
|
+
export default localWalletLocaleEn;
|
@@ -0,0 +1,47 @@
|
|
1
|
+
import type { LocalWalletLocale } from "./types.js";
|
2
|
+
const localWalletLocaleEn: LocalWalletLocale = {
|
3
|
+
passwordLabel: "비밀번호",
|
4
|
+
confirmPasswordLabel: "비밀번호 확인",
|
5
|
+
enterYourPassword: "비밀번호를 입력하세요",
|
6
|
+
warningScreen: {
|
7
|
+
title: "경고",
|
8
|
+
warning:
|
9
|
+
"새 지갑을 생성하면 현재 지갑이 삭제됩니다. 새 지갑을 생성하기 전에 지갑을 기기에 백업하세요",
|
10
|
+
backupWallet: "지갑 백업",
|
11
|
+
skip: "건너뛰기",
|
12
|
+
},
|
13
|
+
reconnectScreen: {
|
14
|
+
title: "저장된 지갑에 연결",
|
15
|
+
savedWallet: "저장된 지갑",
|
16
|
+
continue: "계속하기",
|
17
|
+
createNewWallet: "새 지갑 생성",
|
18
|
+
},
|
19
|
+
createScreen: {
|
20
|
+
instruction:
|
21
|
+
"지갑의 비밀번호를 선택하세요. 동일한 비밀번호로 이 지갑에 접근하고 내보낼 수 있습니다",
|
22
|
+
importWallet: "지갑 가져오기",
|
23
|
+
createNewWallet: "새 지갑 생성",
|
24
|
+
connecting: "연결 중",
|
25
|
+
},
|
26
|
+
exportScreen: {
|
27
|
+
downloadMessage:
|
28
|
+
"이 작업은 지갑 개인 키가 포함된 텍스트 파일을 기기에 다운로드합니다.",
|
29
|
+
decryptMessage: "개인 키를 복호화하려면 이 지갑의 비밀번호를 입력하세요.",
|
30
|
+
walletAddress: "지갑 주소",
|
31
|
+
download: "다운로드",
|
32
|
+
title: "지갑 백업",
|
33
|
+
},
|
34
|
+
importScreen: {
|
35
|
+
title: "지갑 가져오기",
|
36
|
+
description1:
|
37
|
+
"애플리케이션은 지갑 소유자의 승인 없이 모든 거래를 승인할 수 있습니다.",
|
38
|
+
description2: "신뢰할 수 있는 애플리케이션에만 연결할 것을 권장합니다",
|
39
|
+
passwordDescription:
|
40
|
+
"개인 키를 암호화할 비밀번호를 선택하세요. 암호화된 개인 키는 브라우저에 저장됩니다",
|
41
|
+
import: "가져오기",
|
42
|
+
uploadJSON: "JSON 파일을 업로드하세요",
|
43
|
+
uploadedSuccessfully: "업로드 성공",
|
44
|
+
invalidPrivateKey: "잘못된 개인 키",
|
45
|
+
},
|
46
|
+
};
|
47
|
+
export default localWalletLocaleEn;
|
@@ -325,8 +325,7 @@ export const ConnectWalletSocialOptions = (
|
|
325
325
|
onClick={() => {
|
326
326
|
setManualInputMode("email");
|
327
327
|
}}
|
328
|
-
|
329
|
-
title={"Email address"}
|
328
|
+
title={locale.emailPlaceholder}
|
330
329
|
/>
|
331
330
|
)}
|
332
331
|
</>
|
@@ -365,8 +364,7 @@ export const ConnectWalletSocialOptions = (
|
|
365
364
|
onClick={() => {
|
366
365
|
setManualInputMode("phone");
|
367
366
|
}}
|
368
|
-
|
369
|
-
title={"Phone number"}
|
367
|
+
title={locale.phonePlaceholder}
|
370
368
|
/>
|
371
369
|
)}
|
372
370
|
</>
|
@@ -380,8 +378,7 @@ export const ConnectWalletSocialOptions = (
|
|
380
378
|
onClick={() => {
|
381
379
|
handlePassKeyLogin();
|
382
380
|
}}
|
383
|
-
|
384
|
-
title="Passkey"
|
381
|
+
title={locale.passkey}
|
385
382
|
/>
|
386
383
|
</>
|
387
384
|
)}
|
@@ -0,0 +1,59 @@
|
|
1
|
+
import type { InAppWalletLocale } from "./types.js";
|
2
|
+
|
3
|
+
export default {
|
4
|
+
signInWithGoogle: "Google",
|
5
|
+
signInWithFacebook: "Facebook",
|
6
|
+
signInWithApple: "Apple",
|
7
|
+
signInWithDiscord: "Discord",
|
8
|
+
emailPlaceholder: "E-mail",
|
9
|
+
submitEmail: "Continuer",
|
10
|
+
signIn: "Se connecter",
|
11
|
+
or: "Ou",
|
12
|
+
emailRequired: "L'adresse e-mail est requise",
|
13
|
+
invalidEmail: "Adresse e-mail invalide",
|
14
|
+
maxAccountsExceeded:
|
15
|
+
"Nombre maximum de comptes dépassé. Veuillez en informer le développeur de l'application.",
|
16
|
+
socialLoginScreen: {
|
17
|
+
title: "Se connecter",
|
18
|
+
instruction: "Connectez-vous à votre compte dans la fenêtre pop-up",
|
19
|
+
failed: "Échec de la connexion",
|
20
|
+
retry: "Réessayer",
|
21
|
+
},
|
22
|
+
emailLoginScreen: {
|
23
|
+
title: "Se connecter",
|
24
|
+
enterCodeSendTo: "Entrez le code de vérification envoyé à",
|
25
|
+
newDeviceDetected: "Nouvel appareil détecté",
|
26
|
+
enterRecoveryCode:
|
27
|
+
"Entrez le code de récupération qui vous a été envoyé par e-mail lors de votre inscription",
|
28
|
+
invalidCode: "Code de vérification invalide",
|
29
|
+
invalidCodeOrRecoveryCode:
|
30
|
+
"Code de vérification ou code de récupération invalide",
|
31
|
+
verify: "Vérifier",
|
32
|
+
failedToSendCode: "Échec de l'envoi du code de vérification",
|
33
|
+
sendingCode: "Envoi du code de vérification",
|
34
|
+
resendCode: "Renvoyer le code de vérification",
|
35
|
+
},
|
36
|
+
createPassword: {
|
37
|
+
title: "Créer un mot de passe",
|
38
|
+
instruction:
|
39
|
+
"Définissez un mot de passe pour votre compte. Vous aurez besoin de ce mot de passe lorsque vous vous connecterez depuis un nouvel appareil.",
|
40
|
+
saveInstruction: "Assurez-vous de le sauvegarder",
|
41
|
+
inputPlaceholder: "Entrez votre mot de passe",
|
42
|
+
confirmation: "J'ai sauvegardé mon mot de passe",
|
43
|
+
submitButton: "Définir le mot de passe",
|
44
|
+
failedToSetPassword: "Échec de la définition du mot de passe",
|
45
|
+
},
|
46
|
+
enterPassword: {
|
47
|
+
title: "Entrer le mot de passe",
|
48
|
+
instruction: "Entrez le mot de passe de votre compte",
|
49
|
+
inputPlaceholder: "Entrez votre mot de passe",
|
50
|
+
submitButton: "Vérifier",
|
51
|
+
wrongPassword: "Mot de passe incorrect",
|
52
|
+
},
|
53
|
+
signInWithEmail: "Se connecter avec e-mail",
|
54
|
+
invalidPhone: "Numéro de téléphone invalide",
|
55
|
+
phonePlaceholder: "Téléphone",
|
56
|
+
signInWithPhone: "Se connecter avec le numéro de téléphone",
|
57
|
+
phoneRequired: "Le numéro de téléphone est requis",
|
58
|
+
passkey: "Passkey",
|
59
|
+
} satisfies InAppWalletLocale;
|
@@ -18,6 +18,10 @@ export async function getInAppWalletLocale(
|
|
18
18
|
return (await import("./vi.js")).default;
|
19
19
|
case "de_DE":
|
20
20
|
return (await import("./de.js")).default;
|
21
|
+
case "ko_KR":
|
22
|
+
return (await import("./kr.js")).default;
|
23
|
+
case "fr_FR":
|
24
|
+
return (await import("./fr.js")).default;
|
21
25
|
default:
|
22
26
|
return (await import("./en.js")).default;
|
23
27
|
}
|
@@ -1,20 +1,20 @@
|
|
1
1
|
import type { InAppWalletLocale } from "./types.js";
|
2
|
-
|
3
2
|
export default {
|
4
|
-
signInWithGoogle: "Google
|
5
|
-
signInWithFacebook: "Facebook
|
6
|
-
signInWithApple: "Apple
|
7
|
-
signInWithDiscord: "Discord
|
8
|
-
emailPlaceholder: "
|
9
|
-
submitEmail: "
|
10
|
-
emailRequired: "メールアドレスが必要です",
|
11
|
-
invalidEmail: "無効なメールアドレス",
|
3
|
+
signInWithGoogle: "Google",
|
4
|
+
signInWithFacebook: "Facebook",
|
5
|
+
signInWithApple: "Apple",
|
6
|
+
signInWithDiscord: "Discord",
|
7
|
+
emailPlaceholder: "メールアドレス",
|
8
|
+
submitEmail: "続行",
|
12
9
|
signIn: "サインイン",
|
13
|
-
maxAccountsExceeded: "アカウントの最大数を超えました",
|
14
10
|
or: "または",
|
11
|
+
emailRequired: "メールアドレスは必須です",
|
12
|
+
invalidEmail: "無効なメールアドレス",
|
13
|
+
maxAccountsExceeded:
|
14
|
+
"アカウントの最大数を超えました。アプリ開発者に通知してください。",
|
15
15
|
socialLoginScreen: {
|
16
16
|
title: "サインイン",
|
17
|
-
instruction: "
|
17
|
+
instruction: "ポップアップでアカウントにサインインしてください",
|
18
18
|
failed: "サインインに失敗しました",
|
19
19
|
retry: "再試行",
|
20
20
|
},
|
@@ -23,7 +23,7 @@ export default {
|
|
23
23
|
enterCodeSendTo: "送信された確認コードを入力してください",
|
24
24
|
newDeviceDetected: "新しいデバイスが検出されました",
|
25
25
|
enterRecoveryCode:
|
26
|
-
"
|
26
|
+
"初回サインアップ時に送信されたリカバリーコードを入力してください",
|
27
27
|
invalidCode: "無効な確認コード",
|
28
28
|
invalidCodeOrRecoveryCode: "無効な確認コードまたはリカバリーコード",
|
29
29
|
verify: "確認",
|
@@ -34,23 +34,24 @@ export default {
|
|
34
34
|
createPassword: {
|
35
35
|
title: "パスワードを作成",
|
36
36
|
instruction:
|
37
|
-
"
|
38
|
-
saveInstruction: "
|
37
|
+
"アカウントのパスワードを設定してください。新しいデバイスから接続する際にこのパスワードが必要です。",
|
38
|
+
saveInstruction: "必ず保存してください",
|
39
39
|
inputPlaceholder: "パスワードを入力してください",
|
40
|
-
confirmation: "
|
40
|
+
confirmation: "パスワードを保存しました",
|
41
41
|
submitButton: "パスワードを設定",
|
42
|
-
failedToSetPassword: "
|
42
|
+
failedToSetPassword: "パスワードの設定に失敗しました",
|
43
43
|
},
|
44
44
|
enterPassword: {
|
45
45
|
title: "パスワードを入力",
|
46
46
|
instruction: "アカウントのパスワードを入力してください",
|
47
47
|
inputPlaceholder: "パスワードを入力してください",
|
48
48
|
submitButton: "確認",
|
49
|
-
wrongPassword: "
|
49
|
+
wrongPassword: "パスワードが間違っています",
|
50
50
|
},
|
51
|
+
signInWithEmail: "メールでサインイン",
|
51
52
|
invalidPhone: "無効な電話番号",
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
53
|
+
phonePlaceholder: "電話番号",
|
54
|
+
signInWithPhone: "電話番号でサインイン",
|
55
|
+
phoneRequired: "電話番号は必須です",
|
56
|
+
passkey: "パスキー",
|
56
57
|
} satisfies InAppWalletLocale;
|
@@ -0,0 +1,55 @@
|
|
1
|
+
import type { InAppWalletLocale } from "./types.js";
|
2
|
+
export default {
|
3
|
+
signInWithGoogle: "Google",
|
4
|
+
signInWithFacebook: "Facebook",
|
5
|
+
signInWithApple: "Apple",
|
6
|
+
signInWithDiscord: "Discord",
|
7
|
+
emailPlaceholder: "이메일 주소",
|
8
|
+
submitEmail: "계속하기",
|
9
|
+
signIn: "로그인",
|
10
|
+
or: "Or",
|
11
|
+
emailRequired: "이메일 주소가 필요합니다",
|
12
|
+
invalidEmail: "잘못된 이메일 주소",
|
13
|
+
maxAccountsExceeded: "계정 최대 수를 초과했습니다. 앱 개발자에게 알려주세요.",
|
14
|
+
socialLoginScreen: {
|
15
|
+
title: "로그인",
|
16
|
+
instruction: "팝업 창에서 계정에 로그인하세요",
|
17
|
+
failed: "로그인에 실패했습니다",
|
18
|
+
retry: "다시 시도",
|
19
|
+
},
|
20
|
+
emailLoginScreen: {
|
21
|
+
title: "로그인",
|
22
|
+
enterCodeSendTo: "전송된 인증 코드를 입력하세요",
|
23
|
+
newDeviceDetected: "새 기기가 감지되었습니다",
|
24
|
+
enterRecoveryCode: "처음 가입할 때 이메일로 전송된 복구 코드를 입력하세요",
|
25
|
+
invalidCode: "잘못된 인증 코드",
|
26
|
+
invalidCodeOrRecoveryCode: "잘못된 인증 코드 또는 복구 코드",
|
27
|
+
verify: "확인",
|
28
|
+
failedToSendCode: "인증 코드 전송에 실패했습니다",
|
29
|
+
sendingCode: "인증 코드 전송 중",
|
30
|
+
resendCode: "인증 코드 다시 보내기",
|
31
|
+
},
|
32
|
+
createPassword: {
|
33
|
+
title: "비밀번호 생성",
|
34
|
+
instruction:
|
35
|
+
"계정의 비밀번호를 설정하세요. 새 기기에서 연결할 때 이 비밀번호가 필요합니다.",
|
36
|
+
saveInstruction: "반드시 저장하세요",
|
37
|
+
inputPlaceholder: "비밀번호를 입력하세요",
|
38
|
+
confirmation: "비밀번호를 저장했습니다",
|
39
|
+
submitButton: "비밀번호 설정",
|
40
|
+
failedToSetPassword: "비밀번호 설정 실패",
|
41
|
+
},
|
42
|
+
enterPassword: {
|
43
|
+
title: "비밀번호를 입력하세요",
|
44
|
+
instruction: "계정의 비밀번호를 입력하세요",
|
45
|
+
inputPlaceholder: "비밀번호를 입력하세요",
|
46
|
+
submitButton: "확인",
|
47
|
+
wrongPassword: "잘못된 비밀번호",
|
48
|
+
},
|
49
|
+
signInWithEmail: "이메일로 로그인",
|
50
|
+
invalidPhone: "잘못된 전화번호",
|
51
|
+
phonePlaceholder: "전화번호",
|
52
|
+
signInWithPhone: "전화번호로 로그인",
|
53
|
+
phoneRequired: "전화번호가 필요합니다",
|
54
|
+
passkey: "비밀번호",
|
55
|
+
} satisfies InAppWalletLocale;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import type { SmartWalletLocale } from "./types.js";
|
2
|
+
|
3
|
+
const smartWalletLocalEn: SmartWalletLocale = {
|
4
|
+
connecting: "Connexion au compte intelligent",
|
5
|
+
failedToConnect: "Échec de la connexion au compte intelligent",
|
6
|
+
wrongNetworkScreen: {
|
7
|
+
title: "Mauvais réseau",
|
8
|
+
subtitle: "Votre portefeuille n'est pas connecté au réseau requis",
|
9
|
+
failedToSwitch: "Échec du changement de réseau",
|
10
|
+
},
|
11
|
+
};
|
12
|
+
|
13
|
+
export default smartWalletLocalEn;
|
@@ -18,6 +18,10 @@ export async function getSmartWalletLocale(
|
|
18
18
|
return (await import("./vi.js")).default;
|
19
19
|
case "de_DE":
|
20
20
|
return (await import("./de.js")).default;
|
21
|
+
case "ko_KR":
|
22
|
+
return (await import("./kr.js")).default;
|
23
|
+
case "fr_FR":
|
24
|
+
return (await import("./fr.js")).default;
|
21
25
|
default:
|
22
26
|
return (await import("./en.js")).default;
|
23
27
|
}
|
@@ -1,13 +1,11 @@
|
|
1
1
|
import type { SmartWalletLocale } from "./types.js";
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
failedToConnect: "スマートウォレットに接続できませんでした",
|
2
|
+
const smartWalletLocale: SmartWalletLocale = {
|
3
|
+
connecting: "スマートアカウントに接続中",
|
4
|
+
failedToConnect: "スマートアカウントへの接続に失敗しました",
|
6
5
|
wrongNetworkScreen: {
|
7
|
-
title: "
|
6
|
+
title: "ネットワークが違います",
|
8
7
|
subtitle: "ウォレットが必要なネットワークに接続されていません",
|
9
8
|
failedToSwitch: "ネットワークの切り替えに失敗しました",
|
10
9
|
},
|
11
10
|
};
|
12
|
-
|
13
|
-
export default smartWalletLocaleJa;
|
11
|
+
export default smartWalletLocale;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import type { SmartWalletLocale } from "./types.js";
|
2
|
+
const smartWalletLocale: SmartWalletLocale = {
|
3
|
+
connecting: "스마트 계정에 연결 중",
|
4
|
+
failedToConnect: "스마트 계정에 연결하지 못했습니다",
|
5
|
+
wrongNetworkScreen: {
|
6
|
+
title: "잘못된 네트워크",
|
7
|
+
subtitle: "지갑이 필요한 네트워크에 연결되어 있지 않습니다",
|
8
|
+
failedToSwitch: "네트워크 전환 실패",
|
9
|
+
},
|
10
|
+
};
|
11
|
+
export default smartWalletLocale;
|
@@ -33,4 +33,13 @@ export const walletConnectLocales: Record<LocaleId, WalletConnectLocale> = {
|
|
33
33
|
scanInstruction: "Scanne dies mit deiner Wallet-App, um zu verbinden",
|
34
34
|
openWCModal: "Offizielles WalletConnect-Modal öffnen",
|
35
35
|
},
|
36
|
+
ko_KR: {
|
37
|
+
scanInstruction: "지갑 앱으로 이 QR 코드를 스캔하여 연결하세요",
|
38
|
+
openWCModal: "공식 WalletConnect 모달 열기",
|
39
|
+
},
|
40
|
+
fr_FR: {
|
41
|
+
scanInstruction:
|
42
|
+
"Scannez ce code avec votre application de portefeuille pour vous connecter",
|
43
|
+
openWCModal: "Ouvrir le modal WalletConnect officiel",
|
44
|
+
},
|
36
45
|
};
|
@@ -14,18 +14,89 @@ export type SendTransactionOptions = {
|
|
14
14
|
};
|
15
15
|
|
16
16
|
/**
|
17
|
-
* Sends a transaction using the provided
|
17
|
+
* Sends a transaction using the provided account.
|
18
|
+
*
|
19
|
+
* You can send a transaction with a [prepared contract call](https://portal.thirdweb.com/references/typescript/v5/prepareContractCall), a [prepared transaction](https://portal.thirdweb.com/references/typescript/v5/prepareTransaction), or using a write [Extension](https://portal.thirdweb.com/typescript/v5/extensions/use).
|
18
20
|
* @param options - The options for sending the transaction.
|
19
|
-
* @returns A promise that resolves to the transaction
|
20
|
-
* @throws An error if the
|
21
|
+
* @returns A promise that resolves to the transaction result.
|
22
|
+
* @throws An error if the transaction reverts.
|
21
23
|
* @transaction
|
22
24
|
* @example
|
25
|
+
*
|
26
|
+
* ### Using a prepared contract call
|
27
|
+
*
|
28
|
+
* ```ts
|
29
|
+
* import { sendTransaction, getContract, prepareContractCall } from "thirdweb";
|
30
|
+
* import { sepolia } from "thirdweb/chains";
|
31
|
+
*
|
32
|
+
* const contract = getContract({
|
33
|
+
* address: "0x...",
|
34
|
+
* chain: sepolia,
|
35
|
+
* client,
|
36
|
+
* });
|
37
|
+
*
|
38
|
+
* const transaction = prepareContractCall({
|
39
|
+
* contract,
|
40
|
+
* method: "function transfer(address to, uint256 value)",
|
41
|
+
* params: [to, value],
|
42
|
+
* });
|
43
|
+
*
|
44
|
+
* const { transactionHash } = await sendTransaction({
|
45
|
+
* account,
|
46
|
+
* transaction,
|
47
|
+
* });
|
48
|
+
* ```
|
49
|
+
*
|
50
|
+
* ### Using a write extension
|
51
|
+
*
|
23
52
|
* ```ts
|
24
|
-
* import { sendTransaction } from "thirdweb";
|
53
|
+
* import { sendTransaction, getContract } from "thirdweb";
|
54
|
+
* import { sepolia } from "thirdweb/chains";
|
55
|
+
* import { mintTo } from "thirdweb/extensions/erc721";
|
56
|
+
*
|
57
|
+
* const contract = getContract({
|
58
|
+
* address: "0x...",
|
59
|
+
* chain: sepolia,
|
60
|
+
* client,
|
61
|
+
* });
|
62
|
+
*
|
63
|
+
* const transaction = mintTo({
|
64
|
+
* contract,
|
65
|
+
* to: "0x...",
|
66
|
+
* nft: {
|
67
|
+
* name: "NFT Name",
|
68
|
+
* description: "NFT Description",
|
69
|
+
* image: "https://example.com/image.png",
|
70
|
+
* },
|
71
|
+
* });
|
72
|
+
*
|
73
|
+
* const { transactionHash } = await sendTransaction({
|
74
|
+
* account,
|
75
|
+
* transaction,
|
76
|
+
* });
|
77
|
+
* ```
|
78
|
+
*
|
79
|
+
* ### Using a prepared transaction
|
80
|
+
*
|
81
|
+
* ```ts
|
82
|
+
* import { sendTransaction, getContract, prepareTransaction } from "thirdweb";
|
83
|
+
* import { sepolia } from "thirdweb/chains";
|
84
|
+
*
|
85
|
+
* const contract = getContract({
|
86
|
+
* address: "0x...",
|
87
|
+
* chain: sepolia,
|
88
|
+
* client,
|
89
|
+
* });
|
90
|
+
*
|
91
|
+
* const transaction = prepareTransaction({
|
92
|
+
* contract,
|
93
|
+
* to: "0x...",
|
94
|
+
* value: toWei("0.1"),
|
95
|
+
* });
|
25
96
|
*
|
26
97
|
* const { transactionHash } = await sendTransaction({
|
27
98
|
* account,
|
28
|
-
* transaction
|
99
|
+
* transaction,
|
29
100
|
* });
|
30
101
|
* ```
|
31
102
|
*/
|