@dodoex/wallet-web3-react 0.4.0 → 0.4.2
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/babel.config.js +9 -9
- package/dist/cjs/index.cjs +4 -13
- package/dist/cjs/locales/en.js +1 -1
- package/dist/cjs/locales/zh.js +1 -1
- package/dist/index.js +4 -13
- package/dist/locales/en.js +1 -1
- package/dist/locales/zh.js +1 -1
- package/dist/types/ClientProvider.d.ts +1 -1
- package/dist/types/LangProvider.d.ts +1 -1
- package/dist/types/WalletConnect/AccountPage.d.ts +1 -1
- package/dist/types/WalletConnect/ActivityList.d.ts +5 -4
- package/dist/types/WalletConnect/ConnectAlchemy/index.d.ts +2 -1
- package/dist/types/WalletConnect/ConnectDialog.d.ts +2 -1
- package/dist/types/WalletConnect/ConnectLedger/ErrorDialog.d.ts +1 -1
- package/dist/types/WalletConnect/ConnectLedger/LoadingDialog.d.ts +1 -1
- package/dist/types/WalletConnect/ConnectLedger/LockedDialog.d.ts +1 -1
- package/dist/types/WalletConnect/ConnectLedger/ProtocolDialog.d.ts +1 -1
- package/dist/types/WalletConnect/ConnectLedger/SelectAddressDialog.d.ts +1 -1
- package/dist/types/WalletConnect/ConnectLedger/SelectPathDialog.d.ts +1 -1
- package/dist/types/WalletConnect/ConnectLedger/index.d.ts +1 -1
- package/dist/types/WalletConnect/ConnectPage.d.ts +1 -1
- package/dist/types/WalletConnect/HasBalanceTokenList.d.ts +1 -1
- package/dist/types/WalletConnect/ReceiveTokenPage.d.ts +2 -1
- package/dist/types/WalletConnect/SendTokenPage.d.ts +2 -1
- package/dist/types/WalletConnect/WalletDialog.d.ts +2 -1
- package/dist/types/WalletConnectProvider.d.ts +2 -2
- package/dist/types/components/AddressWithLinkAndCopy.d.ts +2 -2
- package/dist/types/components/Dialog.d.ts +3 -3
- package/dist/types/components/WalletTag.d.ts +1 -1
- package/lingui.config.ts +13 -13
- package/package.json +90 -90
- package/rollup.config.mjs +106 -103
- package/src/ClientProvider.tsx +17 -17
- package/src/LangProvider.tsx +36 -36
- package/src/WalletConnect/AccountPage.tsx +498 -498
- package/src/WalletConnect/ActivityList.tsx +606 -606
- package/src/WalletConnect/ConnectAlchemy/index.tsx +248 -248
- package/src/WalletConnect/ConnectAlchemy/useConnectAlchemy.ts +105 -105
- package/src/WalletConnect/ConnectDialog.tsx +35 -35
- package/src/WalletConnect/ConnectLedger/ErrorDialog.tsx +61 -61
- package/src/WalletConnect/ConnectLedger/LockedDialog.tsx +54 -54
- package/src/WalletConnect/ConnectLedger/helper.ts +14 -14
- package/src/WalletConnect/ConnectPage.tsx +508 -508
- package/src/WalletConnect/HasBalanceTokenList.tsx +202 -202
- package/src/WalletConnect/ReceiveTokenPage.tsx +145 -145
- package/src/WalletConnect/SendTokenPage.tsx +251 -251
- package/src/WalletConnect/WalletDialog.tsx +80 -80
- package/src/WalletConnectProvider.tsx +57 -57
- package/src/components/AddressWithLinkAndCopy.tsx +202 -202
- package/src/components/Dialog.tsx +158 -158
- package/src/components/TokenLogo.tsx +167 -167
- package/src/components/WalletTag.tsx +117 -117
- package/src/constants/localstorage.ts +24 -24
- package/src/hooks/useConnectWallet.ts +150 -150
- package/src/hooks/useFetchFiatPrice.ts +53 -53
- package/src/hooks/useFetchTokensBalance.ts +53 -53
- package/src/hooks/useHasBalanceTokenList.ts +95 -95
- package/src/hooks/useTransactionList.ts +89 -89
- package/src/index.tsx +7 -7
- package/src/locales/en.js +1 -1
- package/src/locales/en.po +8 -8
- package/src/locales/zh.js +1 -1
- package/src/locales/zh.po +4 -4
- package/src/react19-types.d.ts +12 -0
- package/src/utils/formatter.ts +102 -102
- package/src/utils/time.ts +21 -21
- package/src/utils/utils.ts +8 -8
- package/tsconfig.json +22 -22
package/dist/cjs/locales/en.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*eslint-disable*/module.exports={messages:JSON.parse("{\"
|
|
1
|
+
/*eslint-disable*/module.exports={messages:JSON.parse("{\"14s9LL\":[\"Create Liquidity Mining\"],\"3UCJ3e\":[\"Check your email and click the link to complete login\"],\"3XBvkd\":[\"Remove Liquidity\"],\"3y6FjD\":[\"Log in with your email or a passkey\"],\"6KnyG0\":[\"Enter email\"],\"6Ui8nZ\":[\"Log in with your email\"],\"6V3Ea3\":[\"Copied\"],\"7Bj3x9\":[\"Failed\"],\"8OiU8L\":[\"Pool Creation\"],\"9ow2PX\":[\"Installed Wallet\"],\"9zb2WA\":[\"Connecting\"],\"AeXO77\":[\"Account\"],\"B2Tpo0\":[\"Invalid email\"],\"BzEFor\":[\"or\"],\"CtByM7\":[\"Connect Wallet\"],\"Du6bPw\":[\"Address\"],\"E/yE9x\":[\"Before proceeding make sure\"],\"EYDfo2\":[\"Loading more\"],\"FzJ11V\":[\"This is empty\"],\"JE8mMQ\":[\"No tokens\"],\"JYKRJS\":[\"Stake\"],\"JlFcis\":[\"Send\"],\"KAbcm2\":[\"Succeeded\"],\"LobdAW\":[\"Unknown Error\"],\"Mlg3Ds\":[\"Choose existing passkey\"],\"OBdohg\":[\"Add Liquidity\"],\"OfhWJH\":[\"Reset\"],\"OzjK0A\":[\"Create new passkey\"],\"QHcLEN\":[\"Connected\"],\"RETKSh\":[\"Connect Alchemy\"],\"S0kLOH\":[\"ID\"],\"Sz0SkD\":[\"1、Ledger Live APP is closed\",[\"BR\"],\"2、The device plugged in via USB,NOT Bluetooth\",[\"BR\"],\"3、The device is unlocked and in the \",[\"ledgerAppName\"],\" app\",[\"BR\"],\"4、”Blind Signing” is enabled in \",[\"ledgerAppName\"],\" app\"],\"TP9/K5\":[\"Token\"],\"U8oDGg\":[\"On-chain transaction records\"],\"UbRKMZ\":[\"Pending\"],\"XJOV1Y\":[\"Activity\"],\"Z3FXyt\":[\"Loading...\"],\"Z7ZXbT\":[\"Approve\"],\"fsBGk0\":[\"Balance\"],\"gCNLBV\":[\"Copy wallet address\"],\"gPbbTL\":[\"The Ledger Device is locked\\\\nPlease unlock from the device\"],\"hQRttt\":[\"Submit\"],\"lDgVWA\":[\"Receive\"],\"pkRuyd\":[\"Receiver address\"],\"rwC96V\":[\"Invalid wallet address\"],\"sr0UJD\":[\"Go Back\"],\"vH2C/2\":[\"Swap\"],\"vN+hAq\":[\"Available Ledger Account\"],\"xGVfLh\":[\"Continue\"],\"xHr8Pp\":[\"Last connection\"],\"yN5k0R\":[\"More Wallets\"],\"z5vMiF\":[\"End mining\\n\"],\"zPGNJm\":[\"Transfer\"],\"zXCpR0\":[\"Claim Rewards\"],\"zga9sT\":[\"OK\"]}")};
|
package/dist/cjs/locales/zh.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*eslint-disable*/module.exports={messages:JSON.parse("{\"
|
|
1
|
+
/*eslint-disable*/module.exports={messages:JSON.parse("{\"14s9LL\":[\"Create Liquidity Mining\"],\"3UCJ3e\":[\"Check your email and click the link to complete login\"],\"3XBvkd\":[\"Remove Liquidity\"],\"3y6FjD\":[\"Log in with your email or a passkey\"],\"6KnyG0\":[\"Enter email\"],\"6Ui8nZ\":[\"Log in with your email\"],\"6V3Ea3\":[\"Copied\"],\"7Bj3x9\":[\"Failed\"],\"8OiU8L\":[\"Pool Creation\"],\"9ow2PX\":[\"Installed Wallet\"],\"9zb2WA\":[\"Connecting\"],\"AeXO77\":[\"Account\"],\"B2Tpo0\":[\"Invalid email\"],\"BzEFor\":[\"or\"],\"CtByM7\":[\"Connect Wallet\"],\"Du6bPw\":[\"Address\"],\"E/yE9x\":[\"Before proceeding make sure\"],\"EYDfo2\":[\"Loading more\"],\"FzJ11V\":[\"This is empty\"],\"JE8mMQ\":[\"No tokens\"],\"JYKRJS\":[\"Stake\"],\"JlFcis\":[\"Send\"],\"KAbcm2\":[\"Succeeded\"],\"LobdAW\":[\"Unknown Error\"],\"Mlg3Ds\":[\"Choose existing passkey\"],\"OBdohg\":[\"Add Liquidity\"],\"OfhWJH\":[\"Reset\"],\"OzjK0A\":[\"Create new passkey\"],\"QHcLEN\":[\"Connected\"],\"RETKSh\":[\"Connect Alchemy\"],\"S0kLOH\":[\"ID\"],\"Sz0SkD\":[\"1、Ledger Live APP is closed\",[\"BR\"],\"2、The device plugged in via USB,NOT Bluetooth\",[\"BR\"],\"3、The device is unlocked and in the \",[\"ledgerAppName\"],\" app\",[\"BR\"],\"4、”Blind Signing” is enabled in \",[\"ledgerAppName\"],\" app\"],\"TP9/K5\":[\"Token\"],\"U8oDGg\":[\"On-chain transaction records\"],\"UbRKMZ\":[\"Pending\"],\"XJOV1Y\":[\"Activity\"],\"Z3FXyt\":[\"Loading...\"],\"Z7ZXbT\":[\"Approve\"],\"fsBGk0\":[\"Balance\"],\"gCNLBV\":[\"Copy wallet address\"],\"gPbbTL\":[\"The Ledger Device is locked\\\\nPlease unlock from the device\"],\"hQRttt\":[\"Submit\"],\"lDgVWA\":[\"Receive\"],\"pkRuyd\":[\"Receiver address\"],\"rwC96V\":[\"Invalid wallet address\"],\"sr0UJD\":[\"Go Back\"],\"vH2C/2\":[\"Swap\"],\"vN+hAq\":[\"Available Ledger Account\"],\"xGVfLh\":[\"Continue\"],\"xHr8Pp\":[\"Last connection\"],\"yN5k0R\":[\"More Wallets\"],\"z5vMiF\":[\"End mining\\n\"],\"zPGNJm\":[\"Transfer\"],\"zXCpR0\":[\"Claim Rewards\"],\"zga9sT\":[\"OK\"]}")};
|