@dodoex/wallet-web3-react 0.0.1-beta.5 → 0.0.1-beta.7

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.
@@ -7,7 +7,7 @@ export default function useFetchTokensBalance({ account, tokenList, blockNumber,
7
7
  skip?: boolean;
8
8
  }): {
9
9
  tokenInfoMap: TokenInfoMap;
10
- data: (bigint | undefined)[];
10
+ data: unknown[];
11
11
  isPending: boolean;
12
12
  isLoading: boolean;
13
13
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dodoex/wallet-web3-react",
3
- "version": "0.0.1-beta.5",
3
+ "version": "0.0.1-beta.7",
4
4
  "source": "src/index.tsx",
5
5
  "types": "dist/index.d.ts",
6
6
  "typings": "dist/index.d.ts",
@@ -34,6 +34,9 @@
34
34
  },
35
35
  "peerDependencies": {
36
36
  "@dodoex/wallet-web3": "0.0.61-beta.0",
37
+ "@dodoex/contract-request": ">=1.x",
38
+ "@dodoex/dodo-contract-request": ">=1.x",
39
+ "@dodoex/icons": ">=2.0.2",
37
40
  "react": ">=17.0.2",
38
41
  "react-dom": ">=17.0.2"
39
42
  },
@@ -55,10 +58,7 @@
55
58
  },
56
59
  "dependencies": {
57
60
  "@dodoex/api": "^3.0.2",
58
- "@dodoex/components": "^3.0.0",
59
- "@dodoex/contract-request": "1.x",
60
- "@dodoex/dodo-contract-request": "1.x",
61
- "@dodoex/icons": "^2.0.2",
61
+ "@dodoex/components": "^3.0.3",
62
62
  "@lingui/macro": "^4.11.4",
63
63
  "@lingui/react": "^4.11.4",
64
64
  "@tanstack/react-query": "^5.18.1",
@@ -60,6 +60,7 @@ function WalletGroupItem({
60
60
  sx={{
61
61
  display: 'flex',
62
62
  justifyContent: 'space-between',
63
+ alignItems: 'center',
63
64
  p: theme.spacing(10, 12),
64
65
  width: '100%',
65
66
  color: 'text.primary',
@@ -25,7 +25,7 @@ export default function WalletDialog({
25
25
  onClose={onClose}
26
26
  width={420}
27
27
  bodySx={{
28
- height: account ? '80vh' : undefined,
28
+ height: account && !!SendTokenPage ? '80vh' : undefined,
29
29
  }}
30
30
  >
31
31
  {!!SendTokenPage && account ? (
package/src/locales/en.po CHANGED
@@ -68,7 +68,7 @@ msgstr "Claim Rewards"
68
68
  msgid "Connect Alchemy"
69
69
  msgstr "Connect Alchemy"
70
70
 
71
- #: src/WalletConnect/ConnectPage.tsx:234
71
+ #: src/WalletConnect/ConnectPage.tsx:235
72
72
  msgid "Connect Wallet"
73
73
  msgstr "Connect Wallet"
74
74
 
@@ -156,7 +156,7 @@ msgstr "Log in with your email"
156
156
  msgid "Log in with your email or a passkey"
157
157
  msgstr "Log in with your email or a passkey"
158
158
 
159
- #: src/WalletConnect/ConnectPage.tsx:342
159
+ #: src/WalletConnect/ConnectPage.tsx:343
160
160
  msgid "More Wallets"
161
161
  msgstr "More Wallets"
162
162
 
package/src/locales/zh.po CHANGED
@@ -68,7 +68,7 @@ msgstr ""
68
68
  msgid "Connect Alchemy"
69
69
  msgstr ""
70
70
 
71
- #: src/WalletConnect/ConnectPage.tsx:234
71
+ #: src/WalletConnect/ConnectPage.tsx:235
72
72
  msgid "Connect Wallet"
73
73
  msgstr ""
74
74
 
@@ -156,7 +156,7 @@ msgstr ""
156
156
  msgid "Log in with your email or a passkey"
157
157
  msgstr ""
158
158
 
159
- #: src/WalletConnect/ConnectPage.tsx:342
159
+ #: src/WalletConnect/ConnectPage.tsx:343
160
160
  msgid "More Wallets"
161
161
  msgstr ""
162
162