@ant-design/web3-eth-web3js 1.1.16 → 1.1.18
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @ant-design/web3-eth-web3js
|
|
2
2
|
|
|
3
|
+
## 1.1.18
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [0f83657]
|
|
8
|
+
- @ant-design/web3-common@1.19.0
|
|
9
|
+
- @ant-design/web3-assets@1.12.1
|
|
10
|
+
- @ant-design/web3-wagmi@2.10.3
|
|
11
|
+
|
|
12
|
+
## 1.1.17
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies [b6f1f1d]
|
|
17
|
+
- @ant-design/web3-assets@1.12.0
|
|
18
|
+
- @ant-design/web3-common@1.18.0
|
|
19
|
+
- @ant-design/web3-wagmi@2.10.2
|
|
20
|
+
|
|
3
21
|
## 1.1.16
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
|
@@ -20,6 +20,7 @@ export const EthWeb3jsConfigProvider = ({
|
|
|
20
20
|
[props.chains?.map(chain => chain.id).join()]);
|
|
21
21
|
const wallets = React.useMemo(() => {
|
|
22
22
|
const targetWallets = [...(props.wallets ?? [])];
|
|
23
|
+
// biome-ignore lint/complexity/useOptionalChain: <explanation>
|
|
23
24
|
if (walletConnect && walletConnect.projectId) targetWallets.push(WalletConnect());
|
|
24
25
|
return targetWallets;
|
|
25
26
|
}, [props.wallets, walletConnect]);
|
|
@@ -33,6 +34,8 @@ export const EthWeb3jsConfigProvider = ({
|
|
|
33
34
|
}));
|
|
34
35
|
}
|
|
35
36
|
});
|
|
37
|
+
|
|
38
|
+
// biome-ignore lint/complexity/useOptionalChain: <explanation>
|
|
36
39
|
if (walletConnect && walletConnect.projectId) {
|
|
37
40
|
connectors.push(wagmiConnectors.walletConnect({
|
|
38
41
|
...walletConnect,
|
|
@@ -29,6 +29,7 @@ const EthWeb3jsConfigProvider = ({
|
|
|
29
29
|
[props.chains?.map(chain => chain.id).join()]);
|
|
30
30
|
const wallets = _react.default.useMemo(() => {
|
|
31
31
|
const targetWallets = [...(props.wallets ?? [])];
|
|
32
|
+
// biome-ignore lint/complexity/useOptionalChain: <explanation>
|
|
32
33
|
if (walletConnect && walletConnect.projectId) targetWallets.push((0, _web3Wagmi.WalletConnect)());
|
|
33
34
|
return targetWallets;
|
|
34
35
|
}, [props.wallets, walletConnect]);
|
|
@@ -42,6 +43,8 @@ const EthWeb3jsConfigProvider = ({
|
|
|
42
43
|
}));
|
|
43
44
|
}
|
|
44
45
|
});
|
|
46
|
+
|
|
47
|
+
// biome-ignore lint/complexity/useOptionalChain: <explanation>
|
|
45
48
|
if (walletConnect && walletConnect.projectId) {
|
|
46
49
|
connectors.push(wagmiConnectors.walletConnect({
|
|
47
50
|
...walletConnect,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ant-design/web3-eth-web3js",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.18",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/esm/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -48,10 +48,10 @@
|
|
|
48
48
|
"@tanstack/react-query": "^5.51.11",
|
|
49
49
|
"debug": "^4.4.0",
|
|
50
50
|
"viem": "^2.21.3",
|
|
51
|
-
"wagmi": "^2.14.
|
|
52
|
-
"@ant-design/web3-
|
|
53
|
-
"@ant-design/web3-
|
|
54
|
-
"@ant-design/web3-wagmi": "2.10.
|
|
51
|
+
"wagmi": "^2.14.16",
|
|
52
|
+
"@ant-design/web3-common": "1.19.0",
|
|
53
|
+
"@ant-design/web3-assets": "1.12.1",
|
|
54
|
+
"@ant-design/web3-wagmi": "2.10.3"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@types/debug": "^4.1.12",
|