@ant-design/web3-wagmi 2.10.0 → 2.10.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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @ant-design/web3-wagmi
|
|
2
2
|
|
|
3
|
+
## 2.10.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [b6f1f1d]
|
|
8
|
+
- @ant-design/web3-assets@1.12.0
|
|
9
|
+
- @ant-design/web3-common@1.18.0
|
|
10
|
+
|
|
11
|
+
## 2.10.1
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies [f896044]
|
|
16
|
+
- @ant-design/web3-common@1.17.0
|
|
17
|
+
- @ant-design/web3-assets@1.11.8
|
|
18
|
+
|
|
3
19
|
## 2.10.0
|
|
4
20
|
|
|
5
21
|
### Minor Changes
|
|
@@ -138,6 +138,8 @@ export const AntDesignWeb3ConfigProvider = props => {
|
|
|
138
138
|
name: chainName
|
|
139
139
|
};
|
|
140
140
|
}
|
|
141
|
+
|
|
142
|
+
/* v8 ignore next */
|
|
141
143
|
return newChain || prevChain;
|
|
142
144
|
});
|
|
143
145
|
}, [chainAssets, wagimConfig.chains, chainId, chainName]);
|
|
@@ -170,7 +172,6 @@ export const AntDesignWeb3ConfigProvider = props => {
|
|
|
170
172
|
signature = await signMessageAsync?.({
|
|
171
173
|
message: msg
|
|
172
174
|
});
|
|
173
|
-
console.log('get signature', signature);
|
|
174
175
|
await verifyMessage(msg, signature);
|
|
175
176
|
setStatus(ConnectStatus.Signed);
|
|
176
177
|
}
|
|
@@ -31,6 +31,7 @@ export function WagmiWeb3ConfigProvider({
|
|
|
31
31
|
const generateConfig = () => {
|
|
32
32
|
// Auto generate config
|
|
33
33
|
const connectors = [];
|
|
34
|
+
// biome-ignore lint/complexity/useOptionalChain: <explanation>
|
|
34
35
|
if (walletConnect && walletConnect.projectId) {
|
|
35
36
|
connectors.push(wagmiWalletConnect({
|
|
36
37
|
...walletConnect,
|
|
@@ -145,6 +145,8 @@ const AntDesignWeb3ConfigProvider = props => {
|
|
|
145
145
|
name: chainName
|
|
146
146
|
};
|
|
147
147
|
}
|
|
148
|
+
|
|
149
|
+
/* v8 ignore next */
|
|
148
150
|
return newChain || prevChain;
|
|
149
151
|
});
|
|
150
152
|
}, [chainAssets, wagimConfig.chains, chainId, chainName]);
|
|
@@ -177,7 +179,6 @@ const AntDesignWeb3ConfigProvider = props => {
|
|
|
177
179
|
signature = await signMessageAsync?.({
|
|
178
180
|
message: msg
|
|
179
181
|
});
|
|
180
|
-
console.log('get signature', signature);
|
|
181
182
|
await verifyMessage(msg, signature);
|
|
182
183
|
setStatus(_web3Common.ConnectStatus.Signed);
|
|
183
184
|
}
|
|
@@ -39,6 +39,7 @@ function WagmiWeb3ConfigProvider({
|
|
|
39
39
|
const generateConfig = () => {
|
|
40
40
|
// Auto generate config
|
|
41
41
|
const connectors = [];
|
|
42
|
+
// biome-ignore lint/complexity/useOptionalChain: <explanation>
|
|
42
43
|
if (walletConnect && walletConnect.projectId) {
|
|
43
44
|
connectors.push((0, _connectors.walletConnect)({
|
|
44
45
|
...walletConnect,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ant-design/web3-wagmi",
|
|
3
|
-
"version": "2.10.
|
|
3
|
+
"version": "2.10.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/esm/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
"url": "https://github.com/ant-design/ant-design-web3"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"debug": "^4.
|
|
43
|
-
"@ant-design/web3-assets": "1.
|
|
44
|
-
"@ant-design/web3-common": "1.
|
|
42
|
+
"debug": "^4.4.0",
|
|
43
|
+
"@ant-design/web3-assets": "1.12.0",
|
|
44
|
+
"@ant-design/web3-common": "1.18.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@tanstack/react-query": "^5.51.11",
|