@ant-design/web3-wagmi 2.4.3 → 2.4.4

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,15 @@
1
1
  # @ant-design/web3-wagmi
2
2
 
3
+ ## 2.4.4
4
+
5
+ ### Patch Changes
6
+
7
+ - 1270c95: chore(ethers): adjusted the compatibility form of the old version of etherjs
8
+ - 02e74aa: fix: set sideEffects false for enable treeshaking
9
+ - Updated dependencies [02e74aa]
10
+ - @ant-design/web3-assets@1.7.1
11
+ - @ant-design/web3-common@1.9.1
12
+
3
13
  ## 2.4.3
4
14
 
5
15
  ### Patch Changes
@@ -1,3 +1,3 @@
1
1
  import type { Account } from '@ant-design/web3-common';
2
- import { type Config } from '@wagmi/core';
2
+ import type { Config } from 'wagmi';
3
3
  export declare function addNameToAccount(config: Config, account: Account, chainId?: number): Promise<Account>;
@@ -1,3 +1,3 @@
1
1
  import { type NFTMetadata } from '@ant-design/web3-common';
2
- import { type Config } from '@wagmi/core';
2
+ import type { Config } from 'wagmi';
3
3
  export declare function getNFTMetadata(config: Config, address: string, tokenId: bigint, chainId?: number): Promise<NFTMetadata>;
@@ -1,3 +1,3 @@
1
1
  import type { Account } from '@ant-design/web3-common';
2
- import { type Config } from '@wagmi/core';
2
+ import type { Config } from 'wagmi';
3
3
  export declare function addNameToAccount(config: Config, account: Account, chainId?: number): Promise<Account>;
@@ -1,3 +1,3 @@
1
1
  import { type NFTMetadata } from '@ant-design/web3-common';
2
- import { type Config } from '@wagmi/core';
2
+ import type { Config } from 'wagmi';
3
3
  export declare function getNFTMetadata(config: Config, address: string, tokenId: bigint, chainId?: number): Promise<NFTMetadata>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ant-design/web3-wagmi",
3
- "version": "2.4.3",
3
+ "version": "2.4.4",
4
4
  "type": "module",
5
5
  "main": "dist/esm/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -10,6 +10,7 @@
10
10
  "require": "./dist/lib/index.js",
11
11
  "types": "./dist/esm/index.d.ts"
12
12
  },
13
+ "sideEffects": false,
13
14
  "files": [
14
15
  "dist",
15
16
  "CHANGELOG.md",
@@ -37,22 +38,23 @@
37
38
  },
38
39
  "dependencies": {
39
40
  "debug": "^4.3.4",
40
- "@wagmi/core": "^2.6.5",
41
- "@ant-design/web3-assets": "1.7.0",
42
- "@ant-design/web3-common": "1.9.0"
41
+ "@wagmi/core": "^2.9.6",
42
+ "@ant-design/web3-assets": "1.7.1",
43
+ "@ant-design/web3-common": "1.9.1"
43
44
  },
44
45
  "devDependencies": {
45
46
  "@types/debug": "^4.1.12",
47
+ "@wagmi/core": "^2.9.3",
46
48
  "father": "^4.4.0",
47
49
  "typescript": "^5.4.4",
48
- "wagmi": "^2.5.7",
50
+ "wagmi": "^2.8.6",
49
51
  "@tanstack/react-query": "^5.28.4",
50
- "viem": ">=2.9.25"
52
+ "viem": "^2.10.3"
51
53
  },
52
54
  "peerDependencies": {
53
- "wagmi": "^2.5.7",
55
+ "wagmi": "^2.8.6",
54
56
  "@tanstack/react-query": "^5.28.4",
55
- "viem": ">=2.9.25"
57
+ "viem": ">=2.0.0"
56
58
  },
57
59
  "publishConfig": {
58
60
  "registry": "https://registry.npmjs.org",