@dodoex/wallet-web3-react 0.2.0 → 0.2.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dodoex/wallet-web3-react",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "source": "src/index.tsx",
5
5
  "types": "dist/types/index.d.ts",
6
6
  "typings": "dist/types/index.d.ts",
@@ -10,7 +10,9 @@
10
10
  "start": "yarn workspace doc start",
11
11
  "build": "yarn extract && yarn compile && rollup -c",
12
12
  "extract": "lingui extract --clean",
13
- "compile": "lingui compile"
13
+ "compile": "lingui compile",
14
+ "release.npm-publish": "npm publish --access public",
15
+ "release.npm-publish-beta": "npm publish --tag beta"
14
16
  },
15
17
  "author": "",
16
18
  "publishConfig": {
@@ -73,4 +75,4 @@
73
75
  "qrcode.react": "^4.2.0",
74
76
  "react-infinite-scroller": "^1.2.6"
75
77
  }
76
- }
78
+ }
@@ -87,6 +87,8 @@ export function useWalletListByNetwork(
87
87
  React.useEffect(() => {
88
88
  const computed = async () => {
89
89
  if (walletWeb3 && chainId !== undefined) {
90
+ // Reset disabled state before getting wallet list
91
+ await walletWeb3.setDisabledState();
90
92
  const walletListOrigin = walletWeb3.getWalletList(chainId, {
91
93
  eip6963WalletList,
92
94
  });