viem 1.19.9 → 1.19.10
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 +419 -407
- package/README.md +46 -46
- package/_cjs/accounts/utils/signTransaction.js.map +1 -1
- package/_cjs/actions/public/createContractEventFilter.js.map +1 -1
- package/_cjs/actions/public/estimateMaxPriorityFeePerGas.js +1 -1
- package/_cjs/actions/public/estimateMaxPriorityFeePerGas.js.map +1 -1
- package/_cjs/chains/celo/serializers.js +3 -7
- package/_cjs/chains/celo/serializers.js.map +1 -1
- package/_cjs/chains/definitions/confluxESpace.js +2 -0
- package/_cjs/chains/definitions/confluxESpace.js.map +1 -1
- package/_cjs/chains/definitions/confluxESpaceTestnet.js +34 -0
- package/_cjs/chains/definitions/confluxESpaceTestnet.js.map +1 -0
- package/_cjs/chains/definitions/sapphire.js +33 -0
- package/_cjs/chains/definitions/sapphire.js.map +1 -0
- package/_cjs/chains/definitions/sapphireTestnet.js +28 -0
- package/_cjs/chains/definitions/sapphireTestnet.js.map +1 -0
- package/_cjs/chains/index.js +10 -4
- package/_cjs/chains/index.js.map +1 -1
- package/_cjs/errors/base.js.map +1 -1
- package/_cjs/errors/version.js +1 -1
- package/_cjs/errors/version.js.map +1 -1
- package/_cjs/utils/abi/encodeEventTopics.js.map +1 -1
- package/_cjs/utils/ccip.js +3 -1
- package/_cjs/utils/ccip.js.map +1 -1
- package/_cjs/utils/encoding/toBytes.js +2 -2
- package/_cjs/utils/encoding/toBytes.js.map +1 -1
- package/_cjs/utils/ens/avatar/utils.js +1 -1
- package/_cjs/utils/ens/avatar/utils.js.map +1 -1
- package/_cjs/utils/errors/getContractError.js.map +1 -1
- package/_cjs/utils/errors/getNodeError.js +11 -11
- package/_cjs/utils/errors/getNodeError.js.map +1 -1
- package/_cjs/utils/transaction/getTransactionType.js.map +1 -1
- package/_cjs/utils/transaction/serializeTransaction.js.map +1 -1
- package/_esm/accounts/utils/signTransaction.js.map +1 -1
- package/_esm/actions/ens/getEnsAddress.js +2 -2
- package/_esm/actions/ens/getEnsAvatar.js +2 -2
- package/_esm/actions/ens/getEnsName.js +2 -2
- package/_esm/actions/ens/getEnsResolver.js +2 -2
- package/_esm/actions/ens/getEnsText.js +2 -2
- package/_esm/actions/public/createContractEventFilter.js.map +1 -1
- package/_esm/actions/public/estimateMaxPriorityFeePerGas.js +1 -1
- package/_esm/actions/public/estimateMaxPriorityFeePerGas.js.map +1 -1
- package/_esm/actions/public/getBlock.js +1 -1
- package/_esm/actions/public/getBlockNumber.js +1 -1
- package/_esm/actions/public/getLogs.js +1 -1
- package/_esm/actions/public/getTransaction.js +1 -1
- package/_esm/actions/public/getTransactionConfirmations.js +1 -1
- package/_esm/actions/public/getTransactionReceipt.js +1 -1
- package/_esm/actions/public/readContract.js +1 -1
- package/_esm/actions/public/simulateContract.js +1 -1
- package/_esm/actions/public/waitForTransactionReceipt.js +1 -1
- package/_esm/actions/public/watchBlockNumber.js +1 -1
- package/_esm/actions/public/watchBlocks.js +1 -1
- package/_esm/actions/wallet/deployContract.js +1 -1
- package/_esm/actions/wallet/sendTransaction.js +1 -1
- package/_esm/actions/wallet/writeContract.js +1 -1
- package/_esm/chains/celo/serializers.js +3 -7
- package/_esm/chains/celo/serializers.js.map +1 -1
- package/_esm/chains/definitions/confluxESpace.js +2 -0
- package/_esm/chains/definitions/confluxESpace.js.map +1 -1
- package/_esm/chains/definitions/confluxESpaceTestnet.js +31 -0
- package/_esm/chains/definitions/confluxESpaceTestnet.js.map +1 -0
- package/_esm/chains/definitions/sapphire.js +30 -0
- package/_esm/chains/definitions/sapphire.js.map +1 -0
- package/_esm/chains/definitions/sapphireTestnet.js +25 -0
- package/_esm/chains/definitions/sapphireTestnet.js.map +1 -0
- package/_esm/chains/index.js +3 -0
- package/_esm/chains/index.js.map +1 -1
- package/_esm/errors/base.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_esm/errors/version.js.map +1 -1
- package/_esm/utils/abi/encodeEventTopics.js.map +1 -1
- package/_esm/utils/ccip.js +3 -1
- package/_esm/utils/ccip.js.map +1 -1
- package/_esm/utils/encoding/toBytes.js +2 -2
- package/_esm/utils/encoding/toBytes.js.map +1 -1
- package/_esm/utils/ens/avatar/utils.js +1 -1
- package/_esm/utils/ens/avatar/utils.js.map +1 -1
- package/_esm/utils/ens/namehash.js +1 -1
- package/_esm/utils/ens/normalize.js +2 -2
- package/_esm/utils/errors/getContractError.js.map +1 -1
- package/_esm/utils/errors/getNodeError.js +11 -11
- package/_esm/utils/errors/getNodeError.js.map +1 -1
- package/_esm/utils/transaction/getTransactionType.js.map +1 -1
- package/_esm/utils/transaction/serializeTransaction.js.map +1 -1
- package/_types/accounts/utils/signTransaction.d.ts.map +1 -1
- package/_types/actions/ens/getEnsAddress.d.ts +2 -2
- package/_types/actions/ens/getEnsAvatar.d.ts +2 -2
- package/_types/actions/ens/getEnsName.d.ts +2 -2
- package/_types/actions/ens/getEnsResolver.d.ts +2 -2
- package/_types/actions/ens/getEnsText.d.ts +2 -2
- package/_types/actions/public/createContractEventFilter.d.ts.map +1 -1
- package/_types/actions/public/estimateMaxPriorityFeePerGas.d.ts.map +1 -1
- package/_types/actions/public/getBlock.d.ts +1 -1
- package/_types/actions/public/getBlockNumber.d.ts +1 -1
- package/_types/actions/public/getLogs.d.ts +1 -1
- package/_types/actions/public/getTransaction.d.ts +1 -1
- package/_types/actions/public/getTransactionConfirmations.d.ts +1 -1
- package/_types/actions/public/getTransactionReceipt.d.ts +1 -1
- package/_types/actions/public/readContract.d.ts +1 -1
- package/_types/actions/public/simulateContract.d.ts +1 -1
- package/_types/actions/public/waitForTransactionReceipt.d.ts +1 -1
- package/_types/actions/public/watchBlockNumber.d.ts +1 -1
- package/_types/actions/public/watchBlocks.d.ts +1 -1
- package/_types/actions/wallet/deployContract.d.ts +1 -1
- package/_types/actions/wallet/sendTransaction.d.ts +1 -1
- package/_types/actions/wallet/writeContract.d.ts +1 -1
- package/_types/chains/celo/serializers.d.ts.map +1 -1
- package/_types/chains/definitions/confluxESpace.d.ts +2 -0
- package/_types/chains/definitions/confluxESpace.d.ts.map +1 -1
- package/_types/chains/definitions/confluxESpaceTestnet.d.ts +34 -0
- package/_types/chains/definitions/confluxESpaceTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/sapphire.d.ts +33 -0
- package/_types/chains/definitions/sapphire.d.ts.map +1 -0
- package/_types/chains/definitions/sapphireTestnet.d.ts +28 -0
- package/_types/chains/definitions/sapphireTestnet.d.ts.map +1 -0
- package/_types/chains/index.d.ts +3 -0
- package/_types/chains/index.d.ts.map +1 -1
- package/_types/clients/decorators/public.d.ts +21 -21
- package/_types/clients/decorators/wallet.d.ts +3 -3
- package/_types/errors/version.d.ts +1 -1
- package/_types/errors/version.d.ts.map +1 -1
- package/_types/types/contract.d.ts.map +1 -1
- package/_types/types/filter.d.ts.map +1 -1
- package/_types/types/log.d.ts.map +1 -1
- package/_types/types/multicall.d.ts.map +1 -1
- package/_types/types/transaction.d.ts.map +1 -1
- package/_types/types/typedData.d.ts.map +1 -1
- package/_types/types/utils.d.ts.map +1 -1
- package/_types/utils/abi/decodeFunctionResult.d.ts.map +1 -1
- package/_types/utils/abi/encodeErrorResult.d.ts.map +1 -1
- package/_types/utils/abi/encodeEventTopics.d.ts.map +1 -1
- package/_types/utils/abi/encodeFunctionData.d.ts.map +1 -1
- package/_types/utils/abi/encodeFunctionResult.d.ts.map +1 -1
- package/_types/utils/ccip.d.ts.map +1 -1
- package/_types/utils/encoding/fromBytes.d.ts.map +1 -1
- package/_types/utils/encoding/fromHex.d.ts.map +1 -1
- package/_types/utils/ens/avatar/utils.d.ts.map +1 -1
- package/_types/utils/ens/namehash.d.ts +1 -1
- package/_types/utils/ens/normalize.d.ts +2 -2
- package/_types/utils/errors/getNodeError.d.ts.map +1 -1
- package/_types/utils/transaction/getSerializedTransactionType.d.ts.map +1 -1
- package/_types/utils/transaction/getTransactionType.d.ts.map +1 -1
- package/_types/utils/transaction/serializeTransaction.d.ts.map +1 -1
- package/accounts/utils/signTransaction.ts +4 -2
- package/actions/ens/getEnsAddress.ts +3 -3
- package/actions/ens/getEnsAvatar.ts +2 -2
- package/actions/ens/getEnsName.ts +2 -2
- package/actions/ens/getEnsResolver.ts +2 -2
- package/actions/ens/getEnsText.ts +2 -2
- package/actions/public/call.ts +1 -1
- package/actions/public/createContractEventFilter.ts +11 -9
- package/actions/public/estimateMaxPriorityFeePerGas.ts +3 -1
- package/actions/public/getBlock.ts +1 -1
- package/actions/public/getBlockNumber.ts +1 -1
- package/actions/public/getLogs.ts +1 -1
- package/actions/public/getTransaction.ts +1 -1
- package/actions/public/getTransactionConfirmations.ts +1 -1
- package/actions/public/getTransactionReceipt.ts +1 -1
- package/actions/public/readContract.ts +1 -1
- package/actions/public/simulateContract.ts +1 -1
- package/actions/public/verifyHash.ts +1 -1
- package/actions/public/verifyMessage.ts +1 -1
- package/actions/public/verifyTypedData.ts +1 -1
- package/actions/public/waitForTransactionReceipt.ts +1 -1
- package/actions/public/watchBlockNumber.ts +1 -1
- package/actions/public/watchBlocks.ts +1 -1
- package/actions/wallet/deployContract.ts +1 -1
- package/actions/wallet/sendRawTransaction.ts +1 -1
- package/actions/wallet/sendTransaction.ts +1 -1
- package/actions/wallet/writeContract.ts +1 -1
- package/chains/celo/serializers.ts +3 -7
- package/chains/definitions/confluxESpace.ts +2 -0
- package/chains/definitions/confluxESpaceTestnet.ts +31 -0
- package/chains/definitions/sapphire.ts +30 -0
- package/chains/definitions/sapphireTestnet.ts +25 -0
- package/chains/index.ts +3 -0
- package/clients/decorators/public.ts +21 -21
- package/clients/decorators/wallet.ts +3 -3
- package/errors/base.ts +2 -2
- package/errors/version.ts +1 -1
- package/package.json +3 -3
- package/types/contract.ts +63 -64
- package/types/filter.ts +12 -12
- package/types/log.ts +4 -4
- package/types/multicall.ts +65 -57
- package/types/transaction.ts +4 -4
- package/types/typedData.ts +12 -12
- package/types/utils.ts +6 -7
- package/utils/abi/decodeFunctionResult.ts +2 -2
- package/utils/abi/encodeErrorResult.ts +2 -2
- package/utils/abi/encodeEventTopics.ts +6 -6
- package/utils/abi/encodeFunctionData.ts +2 -2
- package/utils/abi/encodeFunctionResult.ts +5 -5
- package/utils/ccip.ts +4 -2
- package/utils/encoding/fromBytes.ts +8 -8
- package/utils/encoding/fromHex.ts +8 -8
- package/utils/encoding/toBytes.ts +2 -2
- package/utils/ens/avatar/utils.ts +3 -1
- package/utils/ens/namehash.ts +1 -1
- package/utils/ens/normalize.ts +2 -2
- package/utils/errors/getContractError.ts +2 -2
- package/utils/errors/getNodeError.ts +12 -11
- package/utils/rpc.ts +1 -1
- package/utils/transaction/getSerializedTransactionType.ts +2 -2
- package/utils/transaction/getTransactionType.ts +2 -1
- package/utils/transaction/serializeTransaction.ts +6 -3
package/CHANGELOG.md
CHANGED
@@ -1,292 +1,304 @@
|
|
1
1
|
# viem
|
2
2
|
|
3
|
+
## 1.19.10
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- [#1547](https://github.com/wevm/viem/pull/1547) [`571d9e5e`](https://github.com/wevm/viem/commit/571d9e5ef032f6d87b7a616e5dfb5f54833647d5) Thanks [@darwintree](https://github.com/darwintree)! - Added WebSocket endpoints for Conflux eSpace chain.
|
8
|
+
|
9
|
+
- [#1546](https://github.com/wevm/viem/pull/1546) [`f5d1dbea`](https://github.com/wevm/viem/commit/f5d1dbea361b937b29a768b45f4b745b58cae480) Thanks [@TateB](https://github.com/TateB)! - Fixed an issue where if a CCIP-Read request returned with an undefined body, body.error would still attempt to be read causing an `Cannot read properties of undefined` error, instead of the status text.
|
10
|
+
|
11
|
+
- [#1547](https://github.com/wevm/viem/pull/1547) [`571d9e5e`](https://github.com/wevm/viem/commit/571d9e5ef032f6d87b7a616e5dfb5f54833647d5) Thanks [@darwintree](https://github.com/darwintree)! - Added Conflux eSpace Testnet chain
|
12
|
+
|
13
|
+
- [#1541](https://github.com/wevm/viem/pull/1541) [`b3f7c11d`](https://github.com/wevm/viem/commit/b3f7c11d698a7f8a8e048c7c57cd9be09f6e96e7) Thanks [@aefhm](https://github.com/aefhm)! - Added Oasis Sapphire Mainnet and Testnet chains
|
14
|
+
|
3
15
|
## 1.19.9
|
4
16
|
|
5
17
|
### Patch Changes
|
6
18
|
|
7
|
-
- [#1533](https://github.com/
|
19
|
+
- [#1533](https://github.com/wevm/viem/pull/1533) [`5897b5b7`](https://github.com/wevm/viem/commit/5897b5b7d040735fa38e6282cec12f166de38618) Thanks [@laitsky](https://github.com/laitsky)! - Added PGN Mainnet & Testnet chain
|
8
20
|
|
9
|
-
- [#1532](https://github.com/
|
21
|
+
- [#1532](https://github.com/wevm/viem/pull/1532) [`bd5c6cbf`](https://github.com/wevm/viem/commit/bd5c6cbf8c08ade558109f9d48c503c2a8d9273d) Thanks [@abs3ntdev](https://github.com/abs3ntdev)! - Added multicall3 contract to filecoin
|
10
22
|
|
11
23
|
## 1.19.8
|
12
24
|
|
13
25
|
### Patch Changes
|
14
26
|
|
15
|
-
- [#1529](https://github.com/
|
27
|
+
- [#1529](https://github.com/wevm/viem/pull/1529) [`726c3fd0`](https://github.com/wevm/viem/commit/726c3fd074dc5da1f96c52dcd9fdcc0af8c5a96a) Thanks [@abs3ntdev](https://github.com/abs3ntdev)! - Added Rootstock Mainnet chain.
|
16
28
|
|
17
29
|
## 1.19.7
|
18
30
|
|
19
31
|
### Patch Changes
|
20
32
|
|
21
|
-
- [#1520](https://github.com/
|
33
|
+
- [#1520](https://github.com/wevm/viem/pull/1520) [`4374b7c3`](https://github.com/wevm/viem/commit/4374b7c3e2a9c8d456e04a3b130d89227005c668) Thanks [@lucemans](https://github.com/lucemans)! - Patched `ccipFetch` method to use POST by default when URL includes `{sender}`.
|
22
34
|
|
23
|
-
- [#1519](https://github.com/
|
35
|
+
- [#1519](https://github.com/wevm/viem/pull/1519) [`f51a3823`](https://github.com/wevm/viem/commit/f51a38230098755a7ece9e0b42aaabe5673b004e) Thanks [@marcosdellavecchia](https://github.com/marcosdellavecchia)! - Added Shimmer and Shimmer Testnet chains.
|
24
36
|
|
25
37
|
## 1.19.6
|
26
38
|
|
27
39
|
### Patch Changes
|
28
40
|
|
29
|
-
- [#1523](https://github.com/
|
41
|
+
- [#1523](https://github.com/wevm/viem/pull/1523) [`ad355a8d`](https://github.com/wevm/viem/commit/ad355a8d270e9e012d097ac80b9ad63f35682aaa) Thanks [@blukat29](https://github.com/blukat29)! - Added Klaytn Baobab chain.
|
30
42
|
|
31
43
|
## 1.19.5
|
32
44
|
|
33
45
|
### Patch Changes
|
34
46
|
|
35
|
-
- [#1499](https://github.com/
|
47
|
+
- [#1499](https://github.com/wevm/viem/pull/1499) [`115d579d`](https://github.com/wevm/viem/commit/115d579df58b3b7d2d25e1a53c053550ed59bc9a) Thanks [@shazarre](https://github.com/shazarre)! - Fixes an issue where CIP-64 are sent as EIP-1559 transactions
|
36
48
|
|
37
49
|
## 1.19.4
|
38
50
|
|
39
51
|
### Patch Changes
|
40
52
|
|
41
|
-
- [#1512](https://github.com/
|
53
|
+
- [#1512](https://github.com/wevm/viem/pull/1512) [`2d581ac5`](https://github.com/wevm/viem/commit/2d581ac55d9753cd82baa6f8d3b6e5a7cc5b6721) Thanks [@mihoward21](https://github.com/mihoward21)! - Added the multicall address for Aurora
|
42
54
|
|
43
|
-
- [#1518](https://github.com/
|
55
|
+
- [#1518](https://github.com/wevm/viem/pull/1518) [`f69c58ab`](https://github.com/wevm/viem/commit/f69c58ab87af6215bf488b19af2be25eeb679b57) Thanks [@melnour](https://github.com/melnour)! - Added Shibarium chain
|
44
56
|
|
45
|
-
- [#1493](https://github.com/
|
57
|
+
- [#1493](https://github.com/wevm/viem/pull/1493) [`d554db2e`](https://github.com/wevm/viem/commit/d554db2ebf1da6dbbc67f775818d9d1bdaf1d9ce) Thanks [@linchengzzz](https://github.com/linchengzzz)! - Updated BSC Testnet RPC URL.
|
46
58
|
|
47
|
-
- [#1468](https://github.com/
|
59
|
+
- [#1468](https://github.com/wevm/viem/pull/1468) [`7d89f5bc`](https://github.com/wevm/viem/commit/7d89f5bc60092a3db69703839231d32281fdb65b) Thanks [@thevolcanomanishere](https://github.com/thevolcanomanishere)! - Added JSDoc to some utility functions.
|
48
60
|
|
49
61
|
## 1.19.3
|
50
62
|
|
51
63
|
### Patch Changes
|
52
64
|
|
53
|
-
- [#1504](https://github.com/
|
65
|
+
- [#1504](https://github.com/wevm/viem/pull/1504) [`bfdaee74`](https://github.com/wevm/viem/commit/bfdaee744f79b84319fedcddd8934804ff4d782b) Thanks [@jxom](https://github.com/jxom)! - Fixed an issue where some consumer minifiers (ie. Terser, SWC) would drop `Function.prototype.name` causing client action overrides to be ignored.
|
54
66
|
|
55
67
|
## 1.19.2
|
56
68
|
|
57
69
|
### Patch Changes
|
58
70
|
|
59
|
-
- [#1491](https://github.com/
|
71
|
+
- [#1491](https://github.com/wevm/viem/pull/1491) [`ec24d233`](https://github.com/wevm/viem/commit/ec24d2339e8c7b75b0f29dfe1763d2fceefef74e) Thanks [@KholdStare](https://github.com/KholdStare)! - Updated `@adraffy/ens-normalize` dependency.
|
60
72
|
|
61
73
|
## 1.19.1
|
62
74
|
|
63
75
|
### Patch Changes
|
64
76
|
|
65
|
-
- [#1488](https://github.com/
|
77
|
+
- [#1488](https://github.com/wevm/viem/pull/1488) [`f82bc658`](https://github.com/wevm/viem/commit/f82bc658f68baa51fe50ffafa32ea4d6e0af14b9) Thanks [@glitch-txs](https://github.com/glitch-txs)! - Added Chiliz and Spicy chains
|
66
78
|
|
67
79
|
## 1.19.0
|
68
80
|
|
69
81
|
### Minor Changes
|
70
82
|
|
71
|
-
- [#1485](https://github.com/
|
83
|
+
- [#1485](https://github.com/wevm/viem/pull/1485) [`490de5da`](https://github.com/wevm/viem/commit/490de5da023938252d526604763d19f8defe2e62) Thanks [@jxom](https://github.com/jxom)! - Added `yParity` to `Transaction` type.
|
72
84
|
|
73
|
-
- [#1486](https://github.com/
|
85
|
+
- [#1486](https://github.com/wevm/viem/pull/1486) [`5e40a875`](https://github.com/wevm/viem/commit/5e40a87502541ffcf1dae5364eef48a2c0085f82) Thanks [@jxom](https://github.com/jxom)! - Added `dumpState` & `loadState` Test Actions.
|
74
86
|
|
75
|
-
- [`5bf3a3b2`](https://github.com/
|
87
|
+
- [`5bf3a3b2`](https://github.com/wevm/viem/commit/5bf3a3b2da2c2c223b913eae9aea50a0ba834efc) Thanks [@jxom](https://github.com/jxom)! - Added `presignMessagePrefix` and `zeroHash` constants.
|
76
88
|
|
77
|
-
- [#1483](https://github.com/
|
89
|
+
- [#1483](https://github.com/wevm/viem/pull/1483) [`5a4e907b`](https://github.com/wevm/viem/commit/5a4e907bd47c78827f28ae5cfb8e1f73067c5fc1) Thanks [@jxom](https://github.com/jxom)! - Support `v` values of 0 or 1 in `serializeTransaction`.
|
78
90
|
|
79
91
|
### Patch Changes
|
80
92
|
|
81
|
-
- [#1470](https://github.com/
|
93
|
+
- [#1470](https://github.com/wevm/viem/pull/1470) [`a0512a5b`](https://github.com/wevm/viem/commit/a0512a5b107afaef201791647e43e8a9d881c621) Thanks [@marv1n-10xdev](https://github.com/marv1n-10xdev)! - Added LUSKO chain
|
82
94
|
|
83
95
|
## 1.18.9
|
84
96
|
|
85
97
|
### Patch Changes
|
86
98
|
|
87
|
-
- [#1464](https://github.com/
|
99
|
+
- [#1464](https://github.com/wevm/viem/pull/1464) [`32098af0`](https://github.com/wevm/viem/commit/32098af0378c47a4032155f8947f88f9990cd25d) Thanks [@jxom](https://github.com/jxom)! - Fixed issue where `getFunctionSignature`/`getFunctionSelector` would not parse nested tuples in string-based signatures.
|
88
100
|
|
89
101
|
## 1.18.8
|
90
102
|
|
91
103
|
### Patch Changes
|
92
104
|
|
93
|
-
- [`46213902`](https://github.com/
|
105
|
+
- [`46213902`](https://github.com/wevm/viem/commit/462139026e4e36dd98e4c1da5ff7669f7ffb98ee) Thanks [@jxom](https://github.com/jxom)! - Fixed issue where `chain.nativeCurrency` could be undefined.
|
94
106
|
|
95
107
|
## 1.18.7
|
96
108
|
|
97
109
|
### Patch Changes
|
98
110
|
|
99
|
-
- [`95991301`](https://github.com/
|
111
|
+
- [`95991301`](https://github.com/wevm/viem/commit/95991301c9eb4a3f2a1bcff8ab36d95ff964e13c) Thanks [@jxom](https://github.com/jxom)! - Fixed an issue where `watchContractEvent` fallback was not scoping events to the provided `eventName`.
|
100
112
|
|
101
|
-
- [#1453](https://github.com/
|
113
|
+
- [#1453](https://github.com/wevm/viem/pull/1453) [`e40006aa`](https://github.com/wevm/viem/commit/e40006aad1941d9c77dfd68b07f1acb99f7c8883) Thanks [@0xRaghu](https://github.com/0xRaghu)! - Added Kava Testnet chain.
|
102
114
|
|
103
115
|
## 1.18.6
|
104
116
|
|
105
117
|
### Patch Changes
|
106
118
|
|
107
|
-
- [#1448](https://github.com/
|
119
|
+
- [#1448](https://github.com/wevm/viem/pull/1448) [`c2fab4a7`](https://github.com/wevm/viem/commit/c2fab4a78878d46c6aad403f1ad54677632542eb) Thanks [@jxom](https://github.com/jxom)! - Fixed zkSync formatters.
|
108
120
|
|
109
|
-
- [#1434](https://github.com/
|
121
|
+
- [#1434](https://github.com/wevm/viem/pull/1434) [`c0da695a`](https://github.com/wevm/viem/commit/c0da695a76225c7f24ca263f9109e34d8cd93dba) Thanks [@nicolasbrugneaux](https://github.com/nicolasbrugneaux)! - Fixed an issue where Celo CIP64 transactions were being recognized as EIP1559 transactions.
|
110
122
|
|
111
123
|
## 1.18.5
|
112
124
|
|
113
125
|
### Patch Changes
|
114
126
|
|
115
|
-
- [#1438](https://github.com/
|
127
|
+
- [#1438](https://github.com/wevm/viem/pull/1438) [`8e52fcb8`](https://github.com/wevm/viem/commit/8e52fcb8565a9fadce4da31e924894881804f9d2) Thanks [@jxom](https://github.com/jxom)! - Fixed legacy EIP-155 transaction serializing.
|
116
128
|
|
117
129
|
## 1.18.4
|
118
130
|
|
119
131
|
### Patch Changes
|
120
132
|
|
121
|
-
- [#1423](https://github.com/
|
133
|
+
- [#1423](https://github.com/wevm/viem/pull/1423) [`c164bfc6`](https://github.com/wevm/viem/commit/c164bfc6b8beb4243fbe9d222bd03de2814637b2) Thanks [@CJskii](https://github.com/CJskii)! - Updated Klaytn RPC URL.
|
122
134
|
|
123
|
-
- [#1423](https://github.com/
|
135
|
+
- [#1423](https://github.com/wevm/viem/pull/1423) [`c164bfc6`](https://github.com/wevm/viem/commit/c164bfc6b8beb4243fbe9d222bd03de2814637b2) Thanks [@CJskii](https://github.com/CJskii)! - Added Astar chain
|
124
136
|
|
125
|
-
- [#1435](https://github.com/
|
137
|
+
- [#1435](https://github.com/wevm/viem/pull/1435) [`08e6a68f`](https://github.com/wevm/viem/commit/08e6a68f25736c6517b4f5d567a8ff9b3b59bc11) Thanks [@tmm](https://github.com/tmm)! - Fixed protected action types
|
126
138
|
|
127
|
-
- [#1432](https://github.com/
|
139
|
+
- [#1432](https://github.com/wevm/viem/pull/1432) [`33631fb2`](https://github.com/wevm/viem/commit/33631fb2ac281d5804a596c6390b10403cbcfa72) Thanks [@pcdotfan](https://github.com/pcdotfan)! - Removed Scroll Sepolia WebSocket URLs.
|
128
140
|
|
129
|
-
- [#1423](https://github.com/
|
141
|
+
- [#1423](https://github.com/wevm/viem/pull/1423) [`c164bfc6`](https://github.com/wevm/viem/commit/c164bfc6b8beb4243fbe9d222bd03de2814637b2) Thanks [@CJskii](https://github.com/CJskii)! - Added Tenet chain
|
130
142
|
|
131
|
-
- [#1423](https://github.com/
|
143
|
+
- [#1423](https://github.com/wevm/viem/pull/1423) [`c164bfc6`](https://github.com/wevm/viem/commit/c164bfc6b8beb4243fbe9d222bd03de2814637b2) Thanks [@CJskii](https://github.com/CJskii)! - Add Kava chain
|
132
144
|
|
133
|
-
- [#1423](https://github.com/
|
145
|
+
- [#1423](https://github.com/wevm/viem/pull/1423) [`c164bfc6`](https://github.com/wevm/viem/commit/c164bfc6b8beb4243fbe9d222bd03de2814637b2) Thanks [@CJskii](https://github.com/CJskii)! - Added Core Dao chain
|
134
146
|
|
135
147
|
## 1.18.3
|
136
148
|
|
137
149
|
### Patch Changes
|
138
150
|
|
139
|
-
- [#1424](https://github.com/
|
151
|
+
- [#1424](https://github.com/wevm/viem/pull/1424) [`a0052303`](https://github.com/wevm/viem/commit/a0052303f4b6892fac55c2035fe5675890e4d5bf) Thanks [@filoozom](https://github.com/filoozom)! - Added WebSocket RPCs for Gnosis Chain and Chiado
|
140
152
|
|
141
|
-
- [#1431](https://github.com/
|
153
|
+
- [#1431](https://github.com/wevm/viem/pull/1431) [`2244017d`](https://github.com/wevm/viem/commit/2244017d7603f2253b4faaf6c543c8c7a04f7595) Thanks [@filoozom](https://github.com/filoozom)! - Added the multicall address for Chiado
|
142
154
|
|
143
|
-
- [#1426](https://github.com/
|
155
|
+
- [#1426](https://github.com/wevm/viem/pull/1426) [`c81141a5`](https://github.com/wevm/viem/commit/c81141a5402d9114856c6a706782085905dbfb13) Thanks [@mnedelchev-vn](https://github.com/mnedelchev-vn)! - Added Neon Mainnet chain.
|
144
156
|
|
145
157
|
## 1.18.2
|
146
158
|
|
147
159
|
### Patch Changes
|
148
160
|
|
149
|
-
- [#1417](https://github.com/
|
161
|
+
- [#1417](https://github.com/wevm/viem/pull/1417) [`ba17c65e`](https://github.com/wevm/viem/commit/ba17c65ee5d7ab4804472784acb545805507cdfe) Thanks [@holic](https://github.com/holic)! - Fixed `concat` parameter type.
|
150
162
|
|
151
|
-
- [#1415](https://github.com/
|
163
|
+
- [#1415](https://github.com/wevm/viem/pull/1415) [`5db156aa`](https://github.com/wevm/viem/commit/5db156aa8b95bc421c82e93b092b2a8bf9b62666) Thanks [@0xKheops](https://github.com/0xKheops)! - Added sorting mechanism to batch scheduler.
|
152
164
|
|
153
165
|
## 1.18.1
|
154
166
|
|
155
167
|
### Patch Changes
|
156
168
|
|
157
|
-
- [#1409](https://github.com/
|
169
|
+
- [#1409](https://github.com/wevm/viem/pull/1409) [`229e2d56`](https://github.com/wevm/viem/commit/229e2d565d9d07b9208753f46668378dccf3d399) Thanks [@qbzzt](https://github.com/qbzzt)! - Fixed Holesky public RPC URL.
|
158
170
|
|
159
171
|
## 1.18.0
|
160
172
|
|
161
173
|
### Minor Changes
|
162
174
|
|
163
|
-
- [#1402](https://github.com/
|
175
|
+
- [#1402](https://github.com/wevm/viem/pull/1402) [`09778291`](https://github.com/wevm/viem/commit/0977829160effbe7dac5a69f43d263605544fa19) Thanks [@jxom](https://github.com/jxom)! - Added `extractChain` utility.
|
164
176
|
|
165
|
-
- [#1388](https://github.com/
|
177
|
+
- [#1388](https://github.com/wevm/viem/pull/1388) [`d872061d`](https://github.com/wevm/viem/commit/d872061d1c6a791142027e59e39cfa44d9780631) Thanks [@speeddragon](https://github.com/speeddragon)! - Added ZkSync serializers
|
166
178
|
|
167
|
-
- [#1379](https://github.com/
|
179
|
+
- [#1379](https://github.com/wevm/viem/pull/1379) [`fb395900`](https://github.com/wevm/viem/commit/fb3959009ad79a258316389e29d917869d23ff5e) Thanks [@yerdua](https://github.com/yerdua)! - Added support for Celo CIP-64 transactions
|
168
180
|
|
169
|
-
- [#1361](https://github.com/
|
181
|
+
- [#1361](https://github.com/wevm/viem/pull/1361) [`70593019`](https://github.com/wevm/viem/commit/70593019d364a230a7cec87c2832e2135d8fedb8) Thanks [@speeddragon](https://github.com/speeddragon)! - Added ZkSync formatters.
|
170
182
|
|
171
183
|
## 1.17.2
|
172
184
|
|
173
185
|
### Patch Changes
|
174
186
|
|
175
|
-
- [#1399](https://github.com/
|
187
|
+
- [#1399](https://github.com/wevm/viem/pull/1399) [`210e2b94`](https://github.com/wevm/viem/commit/210e2b943d6d04ab130151dfdb5a94e590e42fd4) Thanks [@codespool](https://github.com/codespool)! - Added multicall3 contract to astarZkatana
|
176
188
|
|
177
|
-
- [#1395](https://github.com/
|
189
|
+
- [#1395](https://github.com/wevm/viem/pull/1395) [`1e206f46`](https://github.com/wevm/viem/commit/1e206f460ad21e2525bfc28ef89fd524b1dfaf2e) Thanks [@linchengzzz](https://github.com/linchengzzz)! - Added Manta Pacific Mainnet & Testnet
|
178
190
|
|
179
191
|
## 1.17.1
|
180
192
|
|
181
193
|
### Patch Changes
|
182
194
|
|
183
|
-
- [#1391](https://github.com/
|
195
|
+
- [#1391](https://github.com/wevm/viem/pull/1391) [`437c0e5a`](https://github.com/wevm/viem/commit/437c0e5a023bc551c35e5a65da6f2a6a2e409bd7) Thanks [@IsabellaSmallcombe](https://github.com/IsabellaSmallcombe)! - Add Zora Sepolia Testnet
|
184
196
|
|
185
|
-
- [#1386](https://github.com/
|
197
|
+
- [#1386](https://github.com/wevm/viem/pull/1386) [`fad9dc12`](https://github.com/wevm/viem/commit/fad9dc12eef2c7042db75a9ffa8f6e98e9e8f884) Thanks [@POKENA7](https://github.com/POKENA7)! - Added Astar zkEVM testnet zKatana chain.
|
186
198
|
|
187
199
|
## 1.17.0
|
188
200
|
|
189
201
|
### Minor Changes
|
190
202
|
|
191
|
-
- [#1382](https://github.com/
|
203
|
+
- [#1382](https://github.com/wevm/viem/pull/1382) [`5ac4a631`](https://github.com/wevm/viem/commit/5ac4a6316edb4076287fcb3c571066c39a917995) Thanks [@jxom](https://github.com/jxom)! - Added ability for Actions (i.e. `readContract`) to infer their internal/dependant Actions (i.e. `call`) from the optionally extended Client.
|
192
204
|
|
193
205
|
For instance, if an extended Client has overridden the `call` Action, then the `readContract` Action will use that instead of Viem's internal `call` Action.
|
194
206
|
|
195
207
|
### Patch Changes
|
196
208
|
|
197
|
-
- [#1377](https://github.com/
|
209
|
+
- [#1377](https://github.com/wevm/viem/pull/1377) [`592f03eb`](https://github.com/wevm/viem/commit/592f03eb3c4d9a3e23716682e0acf8cfa4e65106) Thanks [@okalenyk](https://github.com/okalenyk)! - Added `multicall3` contract to `modeTestnet` chain.
|
198
210
|
|
199
211
|
## 1.16.6
|
200
212
|
|
201
213
|
### Patch Changes
|
202
214
|
|
203
|
-
- [#1356](https://github.com/
|
215
|
+
- [#1356](https://github.com/wevm/viem/pull/1356) [`0da9f886`](https://github.com/wevm/viem/commit/0da9f886124cea8f8e2f557de68bd94b96e53ac8) Thanks [@AmaxJ](https://github.com/AmaxJ)! - Removed trailing slash from arbiscan goerli blockexplorer url
|
204
216
|
|
205
|
-
- [`36ec87da`](https://github.com/
|
217
|
+
- [`36ec87da`](https://github.com/wevm/viem/commit/36ec87da7f614f5c6ca9e632eb27f8d8d1bbfcdf) Thanks [@jxom](https://github.com/jxom)! - Modified `getAddresses` to be compatible with Local Accounts.
|
206
218
|
|
207
219
|
## 1.16.5
|
208
220
|
|
209
221
|
### Patch Changes
|
210
222
|
|
211
|
-
- [#1347](https://github.com/
|
223
|
+
- [#1347](https://github.com/wevm/viem/pull/1347) [`541bd152`](https://github.com/wevm/viem/commit/541bd1528d3fb43edfd713e3dd89f30803a37f97) Thanks [@lukasrosario](https://github.com/lukasrosario)! - Added Base Sepolia
|
212
224
|
|
213
|
-
- [#1339](https://github.com/
|
225
|
+
- [#1339](https://github.com/wevm/viem/pull/1339) [`b7ddaf61`](https://github.com/wevm/viem/commit/b7ddaf61d6a392a8fa6f4550afa505f75c31eca4) Thanks [@jxom](https://github.com/jxom)! - Fixed topics mismatch in `decodeEventLogs` strict mode.
|
214
226
|
|
215
|
-
- [`b6aace90`](https://github.com/
|
227
|
+
- [`b6aace90`](https://github.com/wevm/viem/commit/b6aace909c8f27c49a393813e2569b98a72083ca) Thanks [@jxom](https://github.com/jxom)! - Fixed `chainId` assignment in `signTransaction` action.
|
216
228
|
|
217
229
|
## 1.16.4
|
218
230
|
|
219
231
|
### Patch Changes
|
220
232
|
|
221
|
-
- [#1334](https://github.com/
|
233
|
+
- [#1334](https://github.com/wevm/viem/pull/1334) [`4862acc5`](https://github.com/wevm/viem/commit/4862acc51ee86ceddfa55b21bb55667cf10e86a8) Thanks [@izayl](https://github.com/izayl)! - Added Scroll chain
|
222
234
|
|
223
235
|
## 1.16.3
|
224
236
|
|
225
237
|
### Patch Changes
|
226
238
|
|
227
|
-
- [`1e13ae83`](https://github.com/
|
239
|
+
- [`1e13ae83`](https://github.com/wevm/viem/commit/1e13ae83194da4ca6d829dfd63dd84b11719f497) Thanks [@jxom](https://github.com/jxom)! - Updated holesky RPC URLs.
|
228
240
|
|
229
|
-
- [#1330](https://github.com/
|
241
|
+
- [#1330](https://github.com/wevm/viem/pull/1330) [`05a3784a`](https://github.com/wevm/viem/commit/05a3784a1587cc811fb15cb5b177bf90e123a5a1) Thanks [@holic](https://github.com/holic)! - Fixed `TransactionReceipt['logs']` type.
|
230
242
|
|
231
243
|
## 1.16.2
|
232
244
|
|
233
245
|
### Patch Changes
|
234
246
|
|
235
|
-
- [#1325](https://github.com/
|
247
|
+
- [#1325](https://github.com/wevm/viem/pull/1325) [`e9a54192`](https://github.com/wevm/viem/commit/e9a54192c5a52db1c0452b08192171bc9304bec7) Thanks [@avasisht23](https://github.com/avasisht23)! - Exported `HttpTransportConfig`.
|
236
248
|
|
237
|
-
- [`c445acee`](https://github.com/
|
249
|
+
- [`c445acee`](https://github.com/wevm/viem/commit/c445acee5a3e3a4121521b7e289a9afd882b7400) Thanks [@jxom](https://github.com/jxom)! - Added `fetchOptions` to `http` transport return value.
|
238
250
|
|
239
251
|
## 1.16.1
|
240
252
|
|
241
253
|
### Patch Changes
|
242
254
|
|
243
|
-
- [`fda328d2`](https://github.com/
|
255
|
+
- [`fda328d2`](https://github.com/wevm/viem/commit/fda328d26b86f5e2a2d56c898db12eea4e0e1e94) Thanks [@jxom](https://github.com/jxom)! - Updated `isows`.
|
244
256
|
|
245
257
|
## 1.16.0
|
246
258
|
|
247
259
|
### Minor Changes
|
248
260
|
|
249
|
-
- [#1316](https://github.com/
|
261
|
+
- [#1316](https://github.com/wevm/viem/pull/1316) [`ae5c03ad`](https://github.com/wevm/viem/commit/ae5c03ada92968a6835705fd8017e0a687947152) Thanks [@jxom](https://github.com/jxom)! - Added `getProof`.
|
250
262
|
|
251
|
-
- [`d27e9943`](https://github.com/
|
263
|
+
- [`d27e9943`](https://github.com/wevm/viem/commit/d27e994361180579fc8e6328ade3dbaf26963803) Thanks [@jxom](https://github.com/jxom)! - Added `withdrawals` & `withdrawalsRoot` to `Block` type.
|
252
264
|
|
253
265
|
## 1.15.5
|
254
266
|
|
255
267
|
### Patch Changes
|
256
268
|
|
257
|
-
- [#1312](https://github.com/
|
269
|
+
- [#1312](https://github.com/wevm/viem/pull/1312) [`d7cff6a3`](https://github.com/wevm/viem/commit/d7cff6a368e3934874c5be406354226e9f786d38) Thanks [@jxom](https://github.com/jxom)! - Migrated to [isows](https://github.com/wevm/isows).
|
258
270
|
|
259
271
|
## 1.15.4
|
260
272
|
|
261
273
|
### Patch Changes
|
262
274
|
|
263
|
-
- [#1297](https://github.com/
|
275
|
+
- [#1297](https://github.com/wevm/viem/pull/1297) [`aaaff980`](https://github.com/wevm/viem/commit/aaaff980569f5e8681a41737531d02fb97c3b788) Thanks [@jxom](https://github.com/jxom)! - Added `null` as a valid value on `TransactionRequestBase['to']` type.
|
264
276
|
|
265
|
-
- [#1295](https://github.com/
|
277
|
+
- [#1295](https://github.com/wevm/viem/pull/1295) [`a46a52a7`](https://github.com/wevm/viem/commit/a46a52a71fbd0e904ce74b0f46683801489bc208) Thanks [@akshatmittal](https://github.com/akshatmittal)! - Added Infura Endpoints for Base
|
266
278
|
|
267
279
|
## 1.15.3
|
268
280
|
|
269
281
|
### Patch Changes
|
270
282
|
|
271
|
-
- [`1b159096`](https://github.com/
|
283
|
+
- [`1b159096`](https://github.com/wevm/viem/commit/1b159096e9727d626410feb58fa6f95a29ba1e9f) Thanks [@jxom](https://github.com/jxom)! - Added ignore glob for snapshots.
|
272
284
|
|
273
285
|
## 1.15.2
|
274
286
|
|
275
287
|
### Patch Changes
|
276
288
|
|
277
|
-
- [`fddaf719`](https://github.com/
|
289
|
+
- [`fddaf719`](https://github.com/wevm/viem/commit/fddaf719ac320b8e025693ee9a06815639f95034) Thanks [@jxom](https://github.com/jxom)! - Fixed `getContract` types.
|
278
290
|
|
279
291
|
## 1.15.1
|
280
292
|
|
281
293
|
### Patch Changes
|
282
294
|
|
283
|
-
- [`a9f07e80`](https://github.com/
|
295
|
+
- [`a9f07e80`](https://github.com/wevm/viem/commit/a9f07e80cacb76433c8ece683f8177a138ef1810) Thanks [@jxom](https://github.com/jxom)! - Removed `type` from `package.json`.
|
284
296
|
|
285
297
|
## 1.15.0
|
286
298
|
|
287
299
|
### Minor Changes
|
288
300
|
|
289
|
-
- [#1260](https://github.com/
|
301
|
+
- [#1260](https://github.com/wevm/viem/pull/1260) [`408ebf49`](https://github.com/wevm/viem/commit/408ebf49f852ae87438946ae24425cd631c722c5) Thanks [@izayl](https://github.com/izayl)! - Added utilities for EIP-2098 Compact Signatures:
|
290
302
|
- `compactSignatureToHex`,
|
291
303
|
- `compactSignatureToSignature`,
|
292
304
|
- `hexToCompactSignature`,
|
@@ -294,173 +306,173 @@
|
|
294
306
|
|
295
307
|
### Patch Changes
|
296
308
|
|
297
|
-
- [#1273](https://github.com/
|
309
|
+
- [#1273](https://github.com/wevm/viem/pull/1273) [`822bc222`](https://github.com/wevm/viem/commit/822bc2223d95db51e94b226bca0be468ed5150c7) Thanks [@LiorAgnin](https://github.com/LiorAgnin)! - Updated Fuse RPC URL & added multicall3 contract address.
|
298
310
|
|
299
|
-
- [#1277](https://github.com/
|
311
|
+
- [#1277](https://github.com/wevm/viem/pull/1277) [`ba7a7465`](https://github.com/wevm/viem/commit/ba7a7465621585412875d5f28699db2d4b6a59c8) Thanks [@witem](https://github.com/witem)! - Removed `type` field from `package.json`
|
300
312
|
|
301
|
-
- [#1278](https://github.com/
|
313
|
+
- [#1278](https://github.com/wevm/viem/pull/1278) [`220d211f`](https://github.com/wevm/viem/commit/220d211fa92ca667d0b8e432071ead27df682d96) Thanks [@jaybuidl](https://github.com/jaybuidl)! - Added Arbitrum Sepolia chain.
|
302
314
|
|
303
315
|
## 1.14.0
|
304
316
|
|
305
317
|
### Minor Changes
|
306
318
|
|
307
|
-
- [#1263](https://github.com/
|
319
|
+
- [#1263](https://github.com/wevm/viem/pull/1263) [`399a43db`](https://github.com/wevm/viem/commit/399a43db5e559cd84dafb5c66bfe0a7ad24c2d67) Thanks [@jxom](https://github.com/jxom)! - Added error types for exported modules (e.g. `<Module>ErrorType`). [Read more.](https://viem.sh/docs/error-handling.html)
|
308
320
|
|
309
321
|
### Patch Changes
|
310
322
|
|
311
|
-
- [`52c4c001`](https://github.com/
|
323
|
+
- [`52c4c001`](https://github.com/wevm/viem/commit/52c4c0016a702bdacfb7de69c3f01d62de9af4db) Thanks [@jxom](https://github.com/jxom)! - Fixed typo in `hexToBigInt` export.
|
312
324
|
|
313
325
|
## 1.13.2
|
314
326
|
|
315
327
|
### Patch Changes
|
316
328
|
|
317
|
-
- [#1265](https://github.com/
|
329
|
+
- [#1265](https://github.com/wevm/viem/pull/1265) [`3fd1e788`](https://github.com/wevm/viem/commit/3fd1e788f2f3a82c943e58fc77a3dc5da1f798cf) Thanks [@mcdee](https://github.com/mcdee)! - Added multicall3 for holesky
|
318
330
|
|
319
331
|
## 1.13.1
|
320
332
|
|
321
333
|
### Patch Changes
|
322
334
|
|
323
|
-
- [`61ef4d22`](https://github.com/
|
335
|
+
- [`61ef4d22`](https://github.com/wevm/viem/commit/61ef4d224c860e99f3ac82adb8e4c767a77b6dc0) Thanks [@jxom](https://github.com/jxom)! - Fixed `interval` parameter for Hardhat.
|
324
336
|
|
325
337
|
## 1.13.0
|
326
338
|
|
327
339
|
### Minor Changes
|
328
340
|
|
329
|
-
- [#1249](https://github.com/
|
341
|
+
- [#1249](https://github.com/wevm/viem/pull/1249) [`42279c90`](https://github.com/wevm/viem/commit/42279c90543616248632be45279d12f4167ae8d8) Thanks [@paulmillr](https://github.com/paulmillr)! - Refactored `hexToBytes` to be up to 6x more performant.
|
330
342
|
|
331
|
-
- [#1215](https://github.com/
|
343
|
+
- [#1215](https://github.com/wevm/viem/pull/1215) [`6a65c5a3`](https://github.com/wevm/viem/commit/6a65c5a3c285ea8c7c110659aac4be24cb09c483) Thanks [@jxom](https://github.com/jxom)! - Refactored RLP coding to be up to ~300x more performant.
|
332
344
|
|
333
345
|
### Patch Changes
|
334
346
|
|
335
|
-
- [#1255](https://github.com/
|
347
|
+
- [#1255](https://github.com/wevm/viem/pull/1255) [`3d3337e3`](https://github.com/wevm/viem/commit/3d3337e303e407e6983fb99f0a28bc7521dc4a87) Thanks [@CJskii](https://github.com/CJskii)! - Added Core Dao chain
|
336
348
|
|
337
349
|
## 1.12.2
|
338
350
|
|
339
351
|
### Patch Changes
|
340
352
|
|
341
|
-
- [#1244](https://github.com/
|
353
|
+
- [#1244](https://github.com/wevm/viem/pull/1244) [`6fd51b2f`](https://github.com/wevm/viem/commit/6fd51b2f491e898f89b04f2c5ed1052befe5133d) Thanks [@rkalis](https://github.com/rkalis)! - Added optional `bytecodeHash` parameter to `getContractAddress`.
|
342
354
|
|
343
355
|
## 1.12.1
|
344
356
|
|
345
357
|
### Patch Changes
|
346
358
|
|
347
|
-
- [#1242](https://github.com/
|
359
|
+
- [#1242](https://github.com/wevm/viem/pull/1242) [`44367dbe`](https://github.com/wevm/viem/commit/44367dbe921cfd12a45d78744758474b67d28791) Thanks [@gymnasy55](https://github.com/gymnasy55)! - Fixed Sepolia multicall3 block created.
|
348
360
|
|
349
361
|
## 1.12.0
|
350
362
|
|
351
363
|
### Minor Changes
|
352
364
|
|
353
|
-
- [#1235](https://github.com/
|
365
|
+
- [#1235](https://github.com/wevm/viem/pull/1235) [`b272af50`](https://github.com/wevm/viem/commit/b272af507257ed69af3b4cbb5614880ddb0f5ec4) Thanks [@jxom](https://github.com/jxom)! - Added `getContractEvents`.
|
354
366
|
|
355
367
|
## 1.11.1
|
356
368
|
|
357
369
|
### Patch Changes
|
358
370
|
|
359
|
-
- [#1234](https://github.com/
|
371
|
+
- [#1234](https://github.com/wevm/viem/pull/1234) [`1b9d5ecd`](https://github.com/wevm/viem/commit/1b9d5ecdcbcf8fec0a6fd0f135936b626bef5184) Thanks [@eshaben](https://github.com/eshaben)! - Added Moonbeam development chain.
|
360
372
|
|
361
373
|
## 1.11.0
|
362
374
|
|
363
375
|
### Minor Changes
|
364
376
|
|
365
|
-
- [#1162](https://github.com/
|
377
|
+
- [#1162](https://github.com/wevm/viem/pull/1162) [`8ac2c93d`](https://github.com/wevm/viem/commit/8ac2c93d2e04f843aee7fc1494967fb35a4dcc66) Thanks [@volkyeth](https://github.com/volkyeth)! - Added `getFunctionSignature` and `getEventSignature`.
|
366
378
|
|
367
379
|
### Patch Changes
|
368
380
|
|
369
|
-
- [#1221](https://github.com/
|
381
|
+
- [#1221](https://github.com/wevm/viem/pull/1221) [`cf4006f7`](https://github.com/wevm/viem/commit/cf4006f799bdccfbf5765927a9fde0c20cbd1890) Thanks [@nitaliano](https://github.com/nitaliano)! - Added OP Sepolia
|
370
382
|
|
371
383
|
## 1.10.14
|
372
384
|
|
373
385
|
### Patch Changes
|
374
386
|
|
375
|
-
- [#1208](https://github.com/
|
387
|
+
- [#1208](https://github.com/wevm/viem/pull/1208) [`728eb8b4`](https://github.com/wevm/viem/commit/728eb8b42f04b4587356c124140299c4879bd2e7) Thanks [@afa7789](https://github.com/afa7789)! - Added Kroma and Kroma Sepolia chains.
|
376
388
|
|
377
389
|
## 1.10.13
|
378
390
|
|
379
391
|
### Patch Changes
|
380
392
|
|
381
|
-
- [`f0708c13`](https://github.com/
|
393
|
+
- [`f0708c13`](https://github.com/wevm/viem/commit/f0708c13b231678fb0abb56b23f8247baa9e3235) Thanks [@jxom](https://github.com/jxom)! - Migrated back to `isomorphic-ws`.
|
382
394
|
|
383
|
-
- [#1204](https://github.com/
|
395
|
+
- [#1204](https://github.com/wevm/viem/pull/1204) [`353d28d4`](https://github.com/wevm/viem/commit/353d28d457c662a9c349bd323e3a1616cc9531eb) Thanks [@mcdee](https://github.com/mcdee)! - Added Holesky chain.
|
384
396
|
|
385
397
|
## 1.10.12
|
386
398
|
|
387
399
|
### Patch Changes
|
388
400
|
|
389
|
-
- [`165229e9`](https://github.com/
|
401
|
+
- [`165229e9`](https://github.com/wevm/viem/commit/165229e96a3fa0969adb2a2f171de968a3b4f393) Thanks [@jxom](https://github.com/jxom)! - Fixed `viem/window` entrypoint.
|
390
402
|
|
391
403
|
## 1.10.11
|
392
404
|
|
393
405
|
### Patch Changes
|
394
406
|
|
395
|
-
- [#1197](https://github.com/
|
407
|
+
- [#1197](https://github.com/wevm/viem/pull/1197) [`d1fc5fe0`](https://github.com/wevm/viem/commit/d1fc5fe01dc14648a628b17606200ed343ef93f6) Thanks [@jxom](https://github.com/jxom)! - Fixed proxy packages.
|
396
408
|
|
397
409
|
## 1.10.10
|
398
410
|
|
399
411
|
### Patch Changes
|
400
412
|
|
401
|
-
- [`fa2d8794`](https://github.com/
|
413
|
+
- [`fa2d8794`](https://github.com/wevm/viem/commit/fa2d87942f792ee3b87c9ac291c2c82f8c2fc313) Thanks [@jxom](https://github.com/jxom)! - Fixed an issue where `waitForTransactionReceipt` would throw an error if `receipt.blockNumber` was undefined.
|
402
414
|
|
403
|
-
- [#1194](https://github.com/
|
415
|
+
- [#1194](https://github.com/wevm/viem/pull/1194) [`347b1f40`](https://github.com/wevm/viem/commit/347b1f40702c50745e1f0cc493d52eaee6f405eb) Thanks [@jxom](https://github.com/jxom)! - Fixed `baseFeeMultiplier` calculation.
|
404
416
|
|
405
417
|
## 1.10.9
|
406
418
|
|
407
419
|
### Patch Changes
|
408
420
|
|
409
|
-
- [#1182](https://github.com/
|
421
|
+
- [#1182](https://github.com/wevm/viem/pull/1182) [`5f048586`](https://github.com/wevm/viem/commit/5f0485869edd55605544c56c07258c8a4dcb2800) Thanks [@MarcusWentz](https://github.com/MarcusWentz)! - Added Chain: Taiko Jolnir L2.
|
410
422
|
|
411
|
-
- [#1175](https://github.com/
|
423
|
+
- [#1175](https://github.com/wevm/viem/pull/1175) [`d6972937`](https://github.com/wevm/viem/commit/d69729375a31fdfa7d92d33ed50d21e954b671f3) Thanks [@avasisht23](https://github.com/avasisht23)! - Added Alchemy RPC URLs for Base chain.
|
412
424
|
|
413
425
|
## 1.10.8
|
414
426
|
|
415
427
|
### Patch Changes
|
416
428
|
|
417
|
-
- [#1177](https://github.com/
|
429
|
+
- [#1177](https://github.com/wevm/viem/pull/1177) [`8d05e410`](https://github.com/wevm/viem/commit/8d05e410e1db43cbcddab2741e1f7dc22b5ffbec) Thanks [@jxom](https://github.com/jxom)! - Fixed an issue where some environments would throw `WebSocket.default is not a constructor`.
|
418
430
|
|
419
431
|
## 1.10.7
|
420
432
|
|
421
433
|
### Patch Changes
|
422
434
|
|
423
|
-
- [#1169](https://github.com/
|
435
|
+
- [#1169](https://github.com/wevm/viem/pull/1169) [`eb37c760`](https://github.com/wevm/viem/commit/eb37c76077141e1288d1de372ffc6fc62654c322) Thanks [@Songkeys](https://github.com/Songkeys)! - Updated multicall3 address on Crossbell.
|
424
436
|
|
425
|
-
- [#1170](https://github.com/
|
437
|
+
- [#1170](https://github.com/wevm/viem/pull/1170) [`828f48e3`](https://github.com/wevm/viem/commit/828f48e31e992c20c57f4e006e3ec3e8724da7df) Thanks [@jxom](https://github.com/jxom)! - Added `testnet` property to Gnosis Chiadao.
|
426
438
|
|
427
439
|
## 1.10.6
|
428
440
|
|
429
441
|
### Patch Changes
|
430
442
|
|
431
|
-
- [#1166](https://github.com/
|
443
|
+
- [#1166](https://github.com/wevm/viem/pull/1166) [`d828894a`](https://github.com/wevm/viem/commit/d828894abedcd4eb8a35f04825858f27140fbe2c) Thanks [@jxom](https://github.com/jxom)! - Updated Polygon Mumbai RPC URL.
|
432
444
|
|
433
445
|
## 1.10.5
|
434
446
|
|
435
447
|
### Patch Changes
|
436
448
|
|
437
|
-
- [`8fe2467b`](https://github.com/
|
449
|
+
- [`8fe2467b`](https://github.com/wevm/viem/commit/8fe2467be17d09fb15a3eccc29f3155887d821af) Thanks [@jxom](https://github.com/jxom)! - Added `estimateFeesPerGas` and `estimateMaxPriorityFeePerGas` exports to `viem/actions`.
|
438
450
|
|
439
451
|
## 1.10.4
|
440
452
|
|
441
453
|
### Patch Changes
|
442
454
|
|
443
|
-
- [#1153](https://github.com/
|
455
|
+
- [#1153](https://github.com/wevm/viem/pull/1153) [`040dda64`](https://github.com/wevm/viem/commit/040dda64340fd70602d951efea1454afe9e7c198) Thanks [@vmichalik](https://github.com/vmichalik)! - Updated Polygon Mumbai RPC URL.
|
444
456
|
|
445
457
|
## 1.10.3
|
446
458
|
|
447
459
|
### Patch Changes
|
448
460
|
|
449
|
-
- [#1147](https://github.com/
|
461
|
+
- [#1147](https://github.com/wevm/viem/pull/1147) [`5001e9f7`](https://github.com/wevm/viem/commit/5001e9f72cada8be8fed8c858c37d59d1bea8425) Thanks [@holic](https://github.com/holic)! - Fixed `encodePacked` for empty arrays.
|
450
462
|
|
451
463
|
## 1.10.2
|
452
464
|
|
453
465
|
### Patch Changes
|
454
466
|
|
455
|
-
- [#1145](https://github.com/
|
467
|
+
- [#1145](https://github.com/wevm/viem/pull/1145) [`eac50a51`](https://github.com/wevm/viem/commit/eac50a5138f9e2078e99abda02a9c3468bcd195b) Thanks [@jxom](https://github.com/jxom)! - Support function/event selectors as `name` in `getAbiItem`.
|
456
468
|
|
457
|
-
- [#1146](https://github.com/
|
469
|
+
- [#1146](https://github.com/wevm/viem/pull/1146) [`4875a2af`](https://github.com/wevm/viem/commit/4875a2aff987709f3f94287d9f77895ec99d9590) Thanks [@darrenvechain](https://github.com/darrenvechain)! - Added Vechain chain.
|
458
470
|
|
459
471
|
## 1.10.1
|
460
472
|
|
461
473
|
### Patch Changes
|
462
474
|
|
463
|
-
- [`bf2f7ee1`](https://github.com/
|
475
|
+
- [`bf2f7ee1`](https://github.com/wevm/viem/commit/bf2f7ee124af5eb43f0541200e88bd4302680912) Thanks [@jxom](https://github.com/jxom)! - Updated dependencies:
|
464
476
|
|
465
477
|
- `@adraffy/ens-normalize`
|
466
478
|
- `@noble/curves`
|
@@ -475,147 +487,147 @@
|
|
475
487
|
|
476
488
|
### Minor Changes
|
477
489
|
|
478
|
-
- [#1110](https://github.com/
|
490
|
+
- [#1110](https://github.com/wevm/viem/pull/1110) [`74c7d276`](https://github.com/wevm/viem/commit/74c7d276305d4e3db4a4902c247e191ead369abd) Thanks [@jxom](https://github.com/jxom)! - Amended `Chain` type to allow arbitrary `contracts` (as well as contracts that could be dependant on chain).
|
479
491
|
|
480
|
-
- [#1136](https://github.com/
|
492
|
+
- [#1136](https://github.com/wevm/viem/pull/1136) [`16699c8c`](https://github.com/wevm/viem/commit/16699c8c92faccecc4dbd3353879ce5a512bbb35) Thanks [@jxom](https://github.com/jxom)! - Handle CAIP-25 "User Rejected" errors.
|
481
493
|
|
482
|
-
- [#1120](https://github.com/
|
494
|
+
- [#1120](https://github.com/wevm/viem/pull/1120) [`0e4d9320`](https://github.com/wevm/viem/commit/0e4d932079a449fb7268c24eb0f6391e7b05076c) Thanks [@polygomic](https://github.com/polygomic)! - Added Plinga chain
|
483
495
|
|
484
|
-
- [#1108](https://github.com/
|
496
|
+
- [#1108](https://github.com/wevm/viem/pull/1108) [`2327aa07`](https://github.com/wevm/viem/commit/2327aa0741bac51058d7038840bdc2895ead5456) Thanks [@simonzg](https://github.com/simonzg)! - Added Meter chain and Meter Testnet chain
|
485
497
|
|
486
|
-
- [#1128](https://github.com/
|
498
|
+
- [#1128](https://github.com/wevm/viem/pull/1128) [`e1728054`](https://github.com/wevm/viem/commit/e17280544dc113c855166dae0ee634890c8a4e96) Thanks [@karangoraniya](https://github.com/karangoraniya)! - Added opBNB Mainnet and Testnet chains.
|
487
499
|
|
488
|
-
- [#1117](https://github.com/
|
500
|
+
- [#1117](https://github.com/wevm/viem/pull/1117) [`a637ba2b`](https://github.com/wevm/viem/commit/a637ba2b5fc1ffacc1f483ea4be0121528faf3f4) Thanks [@rkalis](https://github.com/rkalis)! - Added `domainSeparator` to calculate domain separator from an EIP712 domain.
|
489
501
|
|
490
502
|
### Patch Changes
|
491
503
|
|
492
|
-
- [#1137](https://github.com/
|
504
|
+
- [#1137](https://github.com/wevm/viem/pull/1137) [`4159c997`](https://github.com/wevm/viem/commit/4159c9979788798cca6ebb48f38e2284559850ff) Thanks [@jxom](https://github.com/jxom)! - Fixed an issue where non-standard "user rejected" errors where being coalesced into an `UnknownNodeError`.
|
493
505
|
|
494
|
-
- [`8605c1f1`](https://github.com/
|
506
|
+
- [`8605c1f1`](https://github.com/wevm/viem/commit/8605c1f1d048a2d924bd8b83a42b8ce5b0e65900) Thanks [@jxom](https://github.com/jxom)! - Handle `-32603` RPC error codes when deriving a `ContractFunctionRevertedError`.
|
495
507
|
|
496
|
-
- [#1109](https://github.com/
|
508
|
+
- [#1109](https://github.com/wevm/viem/pull/1109) [`0a242120`](https://github.com/wevm/viem/commit/0a2421204f3878e016502f7e2ec98d043ef88cf6) Thanks [@jxom](https://github.com/jxom)! - Removed hardcoded `defaultPriorityFee` on OP Stack chains in favor of fetching it from `eth_maxPriorityFeePerGas`.
|
497
509
|
|
498
|
-
- [#1112](https://github.com/
|
510
|
+
- [#1112](https://github.com/wevm/viem/pull/1112) [`7da52244`](https://github.com/wevm/viem/commit/7da5224467ca5a6368f27734a01b56f53c2c0106) Thanks [@RexCloud](https://github.com/RexCloud)! - Added multicall3 for Scroll Sepolia
|
499
511
|
|
500
|
-
- [#1139](https://github.com/
|
512
|
+
- [#1139](https://github.com/wevm/viem/pull/1139) [`86230caf`](https://github.com/wevm/viem/commit/86230caf872f76975f7f6aaff53a9c9e3b8bfdc7) Thanks [@jxom](https://github.com/jxom)! - Fixed `VerifyMessageParameters` to accept a `raw` property.
|
501
513
|
|
502
|
-
- [#1138](https://github.com/
|
514
|
+
- [#1138](https://github.com/wevm/viem/pull/1138) [`101c94f2`](https://github.com/wevm/viem/commit/101c94f2841056410ed4c32b76672f7fbd1ebabc) Thanks [@jxom](https://github.com/jxom)! - Amended Base chain `nativeCurreny.name` to "Ether".
|
503
515
|
|
504
|
-
- [#1048](https://github.com/
|
516
|
+
- [#1048](https://github.com/wevm/viem/pull/1048) [`f33086ef`](https://github.com/wevm/viem/commit/f33086ef88a1c9650b2b0efa6a034490519eead8) Thanks [@brianathere](https://github.com/brianathere)! - Converted `isomorphic-ws` to a synchronous import.
|
505
517
|
|
506
518
|
## 1.9.5
|
507
519
|
|
508
520
|
### Patch Changes
|
509
521
|
|
510
|
-
- [#1105](https://github.com/
|
522
|
+
- [#1105](https://github.com/wevm/viem/pull/1105) [`9661b9d8`](https://github.com/wevm/viem/commit/9661b9d8f4d747391f9ffb14b789c727a6831488) Thanks [@dschlabach](https://github.com/dschlabach)! - Added ENS Registry and ENS Universal Resolver for Sepolia.
|
511
523
|
|
512
|
-
- [#1102](https://github.com/
|
524
|
+
- [#1102](https://github.com/wevm/viem/pull/1102) [`0edea858`](https://github.com/wevm/viem/commit/0edea858fe28bd9d7cb7c5b9b8ebde72025cf71d) Thanks [@rkalis](https://github.com/rkalis)! - Fixed bug regarding incorrect bigint->bytes32 conversion in hexToSignature
|
513
525
|
|
514
526
|
## 1.9.4
|
515
527
|
|
516
528
|
### Patch Changes
|
517
529
|
|
518
|
-
- [#1098](https://github.com/
|
530
|
+
- [#1098](https://github.com/wevm/viem/pull/1098) [`970c0f53`](https://github.com/wevm/viem/commit/970c0f53043241360c108ee2f7c07dd2413ab233) Thanks [@Sz0x](https://github.com/Sz0x)! - Added account hoisting to `call`.
|
519
531
|
|
520
532
|
## 1.9.3
|
521
533
|
|
522
534
|
### Patch Changes
|
523
535
|
|
524
|
-
- [#1087](https://github.com/
|
536
|
+
- [#1087](https://github.com/wevm/viem/pull/1087) [`ac3b7eab`](https://github.com/wevm/viem/commit/ac3b7eab194d541bcf54098bf22ab068ebfc642a) Thanks [@jxom](https://github.com/jxom)! - Append errors from `aggregate3` to return results if `allowFailure=true` instead of throwing an error.
|
525
537
|
|
526
538
|
## 1.9.2
|
527
539
|
|
528
540
|
### Patch Changes
|
529
541
|
|
530
|
-
- [`0b0167ef`](https://github.com/
|
542
|
+
- [`0b0167ef`](https://github.com/wevm/viem/commit/0b0167ef7ecdd11d59310d04cde3a074dcf5abcd) Thanks [@jxom](https://github.com/jxom)! - Fixed `PrepareTransactionRequestReturnType` type.
|
531
543
|
|
532
544
|
## 1.9.1
|
533
545
|
|
534
546
|
### Patch Changes
|
535
547
|
|
536
|
-
- [#1081](https://github.com/
|
548
|
+
- [#1081](https://github.com/wevm/viem/pull/1081) [`29ba250f`](https://github.com/wevm/viem/commit/29ba250f19213348af28e535aac7df176f673ae0) Thanks [@witem](https://github.com/witem)! - Improved multicall performance.
|
537
549
|
|
538
550
|
## 1.9.0
|
539
551
|
|
540
552
|
### Minor Changes
|
541
553
|
|
542
|
-
- [`e14eeb3b`](https://github.com/
|
554
|
+
- [`e14eeb3b`](https://github.com/wevm/viem/commit/e14eeb3bd287a45e0c4fbed81847f7477b3e80e6) Thanks [@jxom](https://github.com/jxom)! - Migrated `@wagmi/chains` into viem and removed the `@wagmi/chains` dependency.
|
543
555
|
|
544
556
|
## 1.8.1
|
545
557
|
|
546
558
|
### Patch Changes
|
547
559
|
|
548
|
-
- [#1072](https://github.com/
|
560
|
+
- [#1072](https://github.com/wevm/viem/pull/1072) [`edf264f3`](https://github.com/wevm/viem/commit/edf264f385e1bb24d4f7b242d1446124a6d3fcb4) Thanks [@linchengzzz](https://github.com/linchengzzz)! - Added Linea chain.
|
549
561
|
|
550
562
|
## 1.8.0
|
551
563
|
|
552
564
|
### Minor Changes
|
553
565
|
|
554
|
-
- [#1058](https://github.com/
|
566
|
+
- [#1058](https://github.com/wevm/viem/pull/1058) [`533b5900`](https://github.com/wevm/viem/commit/533b59006b3344b947485ef372f0c78b111f6dc3) Thanks [@jxom](https://github.com/jxom)! - Added `prepareTransactionRequest`, `signTransaction`, and `sendRawTransaction`.
|
555
567
|
|
556
568
|
## 1.7.1
|
557
569
|
|
558
570
|
### Patch Changes
|
559
571
|
|
560
|
-
- [`da45ec2d`](https://github.com/
|
572
|
+
- [`da45ec2d`](https://github.com/wevm/viem/commit/da45ec2d519ccabef5eef0c4bc8efae05c12bcb3) Thanks [@jxom](https://github.com/jxom)! - Deduped block retrieval in `estimateMaxPriorityFeePerGas`.
|
561
573
|
|
562
574
|
## 1.7.0
|
563
575
|
|
564
576
|
### Minor Changes
|
565
577
|
|
566
|
-
- [#1044](https://github.com/
|
578
|
+
- [#1044](https://github.com/wevm/viem/pull/1044) [`3daedbf5`](https://github.com/wevm/viem/commit/3daedbf50828c4ea01c5096a05d94e8c7205644f) Thanks [@jxom](https://github.com/jxom)! - Added `estimateFeesPerGas` & `estimateMaxPriorityFeesPerGas` Actions.
|
567
579
|
|
568
|
-
- [#1044](https://github.com/
|
580
|
+
- [#1044](https://github.com/wevm/viem/pull/1044) [`3daedbf5`](https://github.com/wevm/viem/commit/3daedbf50828c4ea01c5096a05d94e8c7205644f) Thanks [@jxom](https://github.com/jxom)! - Added `estimateFeesPerGas` & `baseFeeMultiplier` to the Chain Fees configuration (`chain.fees`).
|
569
581
|
|
570
582
|
## 1.6.6
|
571
583
|
|
572
584
|
### Patch Changes
|
573
585
|
|
574
|
-
- [#1035](https://github.com/
|
586
|
+
- [#1035](https://github.com/wevm/viem/pull/1035) [`7981fa99`](https://github.com/wevm/viem/commit/7981fa994d092f7f638c5a627cb009b8e5a23883) Thanks [@aaronmgdr](https://github.com/aaronmgdr)! - Added `parseTransactionCelo` to the `viem/chains/utils` entrypoint.
|
575
587
|
|
576
588
|
## 1.6.5
|
577
589
|
|
578
590
|
### Patch Changes
|
579
591
|
|
580
|
-
- [#1041](https://github.com/
|
592
|
+
- [#1041](https://github.com/wevm/viem/pull/1041) [`fa3353e9`](https://github.com/wevm/viem/commit/fa3353e9de1b27d8471531f1c4d35e7f34f7ef39) Thanks [@jxom](https://github.com/jxom)! - Fixed WebSocket instantiation in React Native environment.
|
581
593
|
|
582
594
|
## 1.6.4
|
583
595
|
|
584
596
|
### Patch Changes
|
585
597
|
|
586
|
-
- [#1040](https://github.com/
|
598
|
+
- [#1040](https://github.com/wevm/viem/pull/1040) [`1e5bd4a0`](https://github.com/wevm/viem/commit/1e5bd4a000f8e8ebdb71674bca26cfb51eb8f275) Thanks [@jxom](https://github.com/jxom)! - Made `value` optional on `writeContract`/`simulateContract` for `payable` functions.
|
587
599
|
|
588
|
-
- [#1022](https://github.com/
|
600
|
+
- [#1022](https://github.com/wevm/viem/pull/1022) [`2eb56bc7`](https://github.com/wevm/viem/commit/2eb56bc7df4094b1b92f31ad926e72271ff27add) Thanks [@Songkeys](https://github.com/Songkeys)! - Fixed an issue where `waitForTransactionReceipt` would be infinitely pending when an error is thrown after a transaction has been replaced.
|
589
601
|
|
590
602
|
## 1.6.3
|
591
603
|
|
592
604
|
### Patch Changes
|
593
605
|
|
594
|
-
- [#1013](https://github.com/
|
606
|
+
- [#1013](https://github.com/wevm/viem/pull/1013) [`dd1e1028`](https://github.com/wevm/viem/commit/dd1e102874ef006d55d286b622e74e5d210c2293) Thanks [@avasisht23](https://github.com/avasisht23)! - Added `EIP1193EventMap` type.
|
595
607
|
|
596
|
-
- [#1033](https://github.com/
|
608
|
+
- [#1033](https://github.com/wevm/viem/pull/1033) [`51ccc6c9`](https://github.com/wevm/viem/commit/51ccc6c9453538b98e7e580cec44d9b15f0d3500) Thanks [@skeithc](https://github.com/skeithc)! - Fixed `getEnsAddress` for addresses that start with `0`.
|
597
609
|
|
598
610
|
## 1.6.2
|
599
611
|
|
600
612
|
### Patch Changes
|
601
613
|
|
602
|
-
- [#1028](https://github.com/
|
614
|
+
- [#1028](https://github.com/wevm/viem/pull/1028) [`b8fa9b4e`](https://github.com/wevm/viem/commit/b8fa9b4e553b8a1568a19bf995af3d496f126245) Thanks [@tmm](https://github.com/tmm)! - Fixed TypeScript 5.1.6 support
|
603
615
|
|
604
|
-
- [`1a30f344`](https://github.com/
|
616
|
+
- [`1a30f344`](https://github.com/wevm/viem/commit/1a30f344fe061a5d6b8314d8ee9b17856bc711e4) Thanks [@jxom](https://github.com/jxom)! - Fixed number constants.
|
605
617
|
|
606
618
|
## 1.6.1
|
607
619
|
|
608
620
|
### Patch Changes
|
609
621
|
|
610
|
-
- [#1011](https://github.com/
|
622
|
+
- [#1011](https://github.com/wevm/viem/pull/1011) [`582cb017`](https://github.com/wevm/viem/commit/582cb0170def5c5077dca2f96034eba11f09ec88) Thanks [@dghelm](https://github.com/dghelm)! - Added Scroll Sepolia testnet
|
611
623
|
|
612
624
|
## 1.6.0
|
613
625
|
|
614
626
|
### Minor Changes
|
615
627
|
|
616
|
-
- [#984](https://github.com/
|
628
|
+
- [#984](https://github.com/wevm/viem/pull/984) [`e1032c7b`](https://github.com/wevm/viem/commit/e1032c7bd9effb3fb0d57ebf90cdd37c7e1c06c1) Thanks [@holic](https://github.com/holic)! - Added `signTransaction` & `privateKeyToAddress` exports to `viem/accounts` entrypoint.
|
617
629
|
|
618
|
-
- [#1006](https://github.com/
|
630
|
+
- [#1006](https://github.com/wevm/viem/pull/1006) [`7311e201`](https://github.com/wevm/viem/commit/7311e201d273776d93471f459f55dd598a4f6e52) Thanks [@jxom](https://github.com/jxom)! - Added `fees` to `chain` config that includes a `defaultPriorityFee` for setting a default priority fee (`maxPriorityFeePerGas`) for a chain.
|
619
631
|
|
620
632
|
```ts
|
621
633
|
import type { Chain } from 'viem'
|
@@ -633,9 +645,9 @@
|
|
633
645
|
} as const satifies Chain
|
634
646
|
```
|
635
647
|
|
636
|
-
- [#886](https://github.com/
|
648
|
+
- [#886](https://github.com/wevm/viem/pull/886) [`fef66bfb`](https://github.com/wevm/viem/commit/fef66bfbb9d0c9a94f3f607867738432bcbfef85) Thanks [@jxom](https://github.com/jxom)! - Added formatter for Optimism transaction receipts (format `l1GasPrice`, `l1GasUsed`, etc).
|
637
649
|
|
638
|
-
- [#886](https://github.com/
|
650
|
+
- [#886](https://github.com/wevm/viem/pull/886) [`fef66bfb`](https://github.com/wevm/viem/commit/fef66bfbb9d0c9a94f3f607867738432bcbfef85) Thanks [@jxom](https://github.com/jxom)! - Added entrypoints for chain utilities (`viem/chains/utils`) with exports for chain-specific chains, formatters, serializers, and types.
|
639
651
|
|
640
652
|
Examples:
|
641
653
|
|
@@ -651,43 +663,43 @@
|
|
651
663
|
|
652
664
|
### Patch Changes
|
653
665
|
|
654
|
-
- [`99332168`](https://github.com/
|
666
|
+
- [`99332168`](https://github.com/wevm/viem/commit/993321689b3e2220976504e7e170fe47731297ce) Thanks [@jxom](https://github.com/jxom)! - Updated `@noble/curves`
|
655
667
|
|
656
|
-
- [#1008](https://github.com/
|
668
|
+
- [#1008](https://github.com/wevm/viem/pull/1008) [`9d93953f`](https://github.com/wevm/viem/commit/9d93953ffc66d70ccbe7e05862edfeadb1334a9e) Thanks [@holic](https://github.com/holic)! - Added `"already known"` as a node message matcher to `NonceTooLowError`.
|
657
669
|
|
658
670
|
## 1.5.4
|
659
671
|
|
660
672
|
### Patch Changes
|
661
673
|
|
662
|
-
- [#1000](https://github.com/
|
674
|
+
- [#1000](https://github.com/wevm/viem/pull/1000) [`4bdbf15b`](https://github.com/wevm/viem/commit/4bdbf15be0d61b52a195e11c97201e707fb616cc) Thanks [@jxom](https://github.com/jxom)! - Fixed `docsPath` value in `estimateContractGas`.
|
663
675
|
|
664
|
-
- [#999](https://github.com/
|
676
|
+
- [#999](https://github.com/wevm/viem/pull/999) [`de94d81f`](https://github.com/wevm/viem/commit/de94d81f41689ae9155c1295c8f7b80e4a7c9540) Thanks [@jxom](https://github.com/jxom)! - Support passing `gasPrice` for chains that include `baseFeePerGas` but do not support EIP-1559 Transactions (e.g. BSC).
|
665
677
|
|
666
678
|
## 1.5.3
|
667
679
|
|
668
680
|
### Patch Changes
|
669
681
|
|
670
|
-
- [`ae4ab844`](https://github.com/
|
682
|
+
- [`ae4ab844`](https://github.com/wevm/viem/commit/ae4ab8442fcdaa073a98a71599762a1cb54c3cf0) Thanks [@jxom](https://github.com/jxom)! - Fixed performance bottleneck in ABI encoding for dynamic bytes.
|
671
683
|
|
672
684
|
## 1.5.2
|
673
685
|
|
674
686
|
### Patch Changes
|
675
687
|
|
676
|
-
- [#974](https://github.com/
|
688
|
+
- [#974](https://github.com/wevm/viem/pull/974) [`11410bab`](https://github.com/wevm/viem/commit/11410bab795c390734adab093ab78da127fb68c4) Thanks [@jxom](https://github.com/jxom)! - Fixed issue where `getFunctionSelector` & `getEventSelector` were returning incorrect selectors for tuple parameters.
|
677
689
|
|
678
690
|
## 1.5.1
|
679
691
|
|
680
692
|
### Patch Changes
|
681
693
|
|
682
|
-
- [#954](https://github.com/
|
694
|
+
- [#954](https://github.com/wevm/viem/pull/954) [`e98e2651`](https://github.com/wevm/viem/commit/e98e2651528e015a62a8c1181a66060dd155124e) Thanks [@jaxernst](https://github.com/jaxernst)! - Added filter reinitialization logic for `watchContractEvent` and `watchEvent` for when a filter has been uninstalled.
|
683
695
|
|
684
|
-
- [#967](https://github.com/
|
696
|
+
- [#967](https://github.com/wevm/viem/pull/967) [`eb8954a0`](https://github.com/wevm/viem/commit/eb8954a003a198b843835231cb406e88ffccf1d1) Thanks [@Zil-B](https://github.com/Zil-B)! - Moved `@types/ws` into dependencies to fix an issue where required runtime types weren't being exported.
|
685
697
|
|
686
698
|
## 1.5.0
|
687
699
|
|
688
700
|
### Minor Changes
|
689
701
|
|
690
|
-
- [#847](https://github.com/
|
702
|
+
- [#847](https://github.com/wevm/viem/pull/847) [`1e5d4545`](https://github.com/wevm/viem/commit/1e5d4545736282c2d8dedb38907f2433ce1c72f4) Thanks [@jxom](https://github.com/jxom)! - Narrowed `getBlock`, `watchBlocks`, `getFilterChanges`, `getFilterLogs` & `getLogs` return types for when `blockTag` or `includeTransactions` is provided.
|
691
703
|
|
692
704
|
- When `blockTag !== 'pending'`, the return type will now include some non-nullish properties if it were dependent on pending blocks. Example: For `getBlock`, the `block.number` type is now non-nullish since `blockTag !== 'pending'`.
|
693
705
|
- On the other hand, when `blockTag: 'pending'`, some properties will be nullish. Example: For `getBlock`, the `block.number` type is now `null` since `blockTag === 'pending'`.
|
@@ -731,7 +743,7 @@
|
|
731
743
|
// ^? null
|
732
744
|
```
|
733
745
|
|
734
|
-
- [#847](https://github.com/
|
746
|
+
- [#847](https://github.com/wevm/viem/pull/847) [`1e5d4545`](https://github.com/wevm/viem/commit/1e5d4545736282c2d8dedb38907f2433ce1c72f4) Thanks [@jxom](https://github.com/jxom)! - **Type Change**: `TPending` has been added to slot 2 of the `Log` generics.
|
735
747
|
|
736
748
|
```diff
|
737
749
|
type Log<
|
@@ -747,11 +759,11 @@
|
|
747
759
|
>
|
748
760
|
```
|
749
761
|
|
750
|
-
- [#958](https://github.com/
|
762
|
+
- [#958](https://github.com/wevm/viem/pull/958) [`f7976fd0`](https://github.com/wevm/viem/commit/f7976fd0486079247a76ff3d3cecfbc2f6f2dae9) Thanks [@jxom](https://github.com/jxom)! - Added `cacheTime` as a parameter to `getBlockNumber` & `createClient`.
|
751
763
|
|
752
|
-
- [`28a82125`](https://github.com/
|
764
|
+
- [`28a82125`](https://github.com/wevm/viem/commit/28a82125f2678ed6ceb3bfaab065bfb9ffc8a367) Thanks [@jxom](https://github.com/jxom)! - Exported number constants (ie. `maxInt128`, `maxUint256`, etc).
|
753
765
|
|
754
|
-
- [#951](https://github.com/
|
766
|
+
- [#951](https://github.com/wevm/viem/pull/951) [`c75d3b60`](https://github.com/wevm/viem/commit/c75d3b60fbacaf4d3ff23460e91dc2b75baed15d) Thanks [@jxom](https://github.com/jxom)! - Added support for multiple `events` on Filters/Log Actions:
|
755
767
|
|
756
768
|
- `createEventFilter`
|
757
769
|
- `getLogs`
|
@@ -771,9 +783,9 @@
|
|
771
783
|
});
|
772
784
|
```
|
773
785
|
|
774
|
-
- [#957](https://github.com/
|
786
|
+
- [#957](https://github.com/wevm/viem/pull/957) [`7950df80`](https://github.com/wevm/viem/commit/7950df80c2416772861b7fc99a6d40095725b87c) Thanks [@jxom](https://github.com/jxom)! - Added `hexToSignature` & `signatureToHex`.
|
775
787
|
|
776
|
-
- [#847](https://github.com/
|
788
|
+
- [#847](https://github.com/wevm/viem/pull/847) [`1e5d4545`](https://github.com/wevm/viem/commit/1e5d4545736282c2d8dedb38907f2433ce1c72f4) Thanks [@jxom](https://github.com/jxom)! - **Type Change**: `TIncludeTransactions` & `TBlockTag` has been added to slot 1 & 2 of the `Block` generics.
|
777
789
|
|
778
790
|
```diff
|
779
791
|
type Block<
|
@@ -792,40 +804,40 @@
|
|
792
804
|
|
793
805
|
### Patch Changes
|
794
806
|
|
795
|
-
- [#941](https://github.com/
|
807
|
+
- [#941](https://github.com/wevm/viem/pull/941) [`12c685a1`](https://github.com/wevm/viem/commit/12c685a1adc5ab4531d3084cdfa9e281456c4793) Thanks [@jxom](https://github.com/jxom)! - Capture error signatures that do not exist on the ABI in `ContractFunctionRevertedError`.
|
796
808
|
|
797
|
-
- [#942](https://github.com/
|
809
|
+
- [#942](https://github.com/wevm/viem/pull/942) [`e26e356c`](https://github.com/wevm/viem/commit/e26e356cf43618af23a9a67ee5eaa897921d4160) Thanks [@alexfertel](https://github.com/alexfertel)! - Deprecated `OnLogParameter` & `OnLogFn` in favor of `WatchEventOnLogParameter` & `WatchEventOnLogFn` types.
|
798
810
|
Added `WatchContractEventOnLogParameter` & `WatchContractEventOnLogFn` types.
|
799
811
|
|
800
812
|
## 1.4.1
|
801
813
|
|
802
814
|
### Patch Changes
|
803
815
|
|
804
|
-
- [`789592dc`](https://github.com/
|
816
|
+
- [`789592dc`](https://github.com/wevm/viem/commit/789592dc5d4ca264f2ef4f3f0f4fa721fb9522fc) Thanks [@jxom](https://github.com/jxom)! - Fixed an issue where calling `encodePacked` with an empty `bytes[]` array would return an `Uint8Array` instead of `Hex` value.
|
805
817
|
|
806
|
-
- [#922](https://github.com/
|
818
|
+
- [#922](https://github.com/wevm/viem/pull/922) [`71c9c933`](https://github.com/wevm/viem/commit/71c9c9338904d142248a32f1acd99ea25a6e6e58) Thanks [@mikemcdonald](https://github.com/mikemcdonald)! - Fixed an issue where `parseUnits` would throw `Cannot convert to a BigInt` for large numbers with a fraction component.
|
807
819
|
|
808
820
|
## 1.4.0
|
809
821
|
|
810
822
|
### Minor Changes
|
811
823
|
|
812
|
-
- [#908](https://github.com/
|
824
|
+
- [#908](https://github.com/wevm/viem/pull/908) [`988c65f8`](https://github.com/wevm/viem/commit/988c65f8218c9ce0549c04b3779efb5f685da75f) Thanks [@moldy530](https://github.com/moldy530)! - Added coin type support for `getEnsAddress`.
|
813
825
|
|
814
826
|
### Patch Changes
|
815
827
|
|
816
|
-
- [#878](https://github.com/
|
828
|
+
- [#878](https://github.com/wevm/viem/pull/878) [`4e227303`](https://github.com/wevm/viem/commit/4e2273036f8bbc7973b13467d7cb9baa2f17a460) Thanks [@salieflewis](https://github.com/salieflewis)! - Exported `Filter` type.
|
817
829
|
|
818
830
|
## 1.3.1
|
819
831
|
|
820
832
|
### Patch Changes
|
821
833
|
|
822
|
-
- [#907](https://github.com/
|
834
|
+
- [#907](https://github.com/wevm/viem/pull/907) [`319cdb61`](https://github.com/wevm/viem/commit/319cdb615f0ac6cff0385bb371be9a7da51abe80) Thanks [@Raiden1411](https://github.com/Raiden1411)! - Updated `abitype` to 0.9.3
|
823
835
|
|
824
836
|
## 1.3.0
|
825
837
|
|
826
838
|
### Minor Changes
|
827
839
|
|
828
|
-
- [`30a88482`](https://github.com/
|
840
|
+
- [`30a88482`](https://github.com/wevm/viem/commit/30a88482d541a346990eac9630b7fa1f1550c90a) Thanks [@jxom](https://github.com/jxom)! - Added chains:
|
829
841
|
- `base`
|
830
842
|
- `mev`
|
831
843
|
- `mevTestnet`
|
@@ -834,213 +846,213 @@
|
|
834
846
|
|
835
847
|
### Patch Changes
|
836
848
|
|
837
|
-
- [#885](https://github.com/
|
849
|
+
- [#885](https://github.com/wevm/viem/pull/885) [`020c744d`](https://github.com/wevm/viem/commit/020c744d85e4150b4248407eae8a52ce390cfa9d) Thanks [@TateB](https://github.com/TateB)! - Added `null` resolver check to ENS Actions.
|
838
850
|
|
839
851
|
## 1.2.14
|
840
852
|
|
841
853
|
### Patch Changes
|
842
854
|
|
843
|
-
- [#883](https://github.com/
|
855
|
+
- [#883](https://github.com/wevm/viem/pull/883) [`ad96d39f`](https://github.com/wevm/viem/commit/ad96d39f6c9266dc6965013e255990952fa9323d) Thanks [@tmm](https://github.com/tmm)! - Exported missing types
|
844
856
|
|
845
857
|
## 1.2.13
|
846
858
|
|
847
859
|
### Patch Changes
|
848
860
|
|
849
|
-
- [#874](https://github.com/
|
861
|
+
- [#874](https://github.com/wevm/viem/pull/874) [`a9bc9f6d`](https://github.com/wevm/viem/commit/a9bc9f6d182052a536e51dc6fa75afda91de331a) Thanks [@Alexsey](https://github.com/Alexsey)! - Fixed `BaseError.walk` to return `null` if the predicate callback is not satisfied.
|
850
862
|
|
851
863
|
## 1.2.12
|
852
864
|
|
853
865
|
### Patch Changes
|
854
866
|
|
855
|
-
- [#864](https://github.com/
|
867
|
+
- [#864](https://github.com/wevm/viem/pull/864) [`b851c41b`](https://github.com/wevm/viem/commit/b851c41b87dce60af6be1e518e3c7a1b16e99b63) Thanks [@jxom](https://github.com/jxom)! - Fixed an issue where `dataSuffix` was not being provided to the `request` returned from `simulateTransaction`.
|
856
868
|
|
857
869
|
## 1.2.11
|
858
870
|
|
859
871
|
### Minor Changes
|
860
872
|
|
861
|
-
- [#857](https://github.com/
|
873
|
+
- [#857](https://github.com/wevm/viem/pull/857) [`513a7b9a`](https://github.com/wevm/viem/commit/513a7b9a4c037591b0fe4dd4fb4364bf8fed9726) Thanks [@tmm](https://github.com/tmm)! - Prettify-ed client types
|
862
874
|
|
863
875
|
## 1.2.10
|
864
876
|
|
865
877
|
### Patch Changes
|
866
878
|
|
867
|
-
- [#853](https://github.com/
|
879
|
+
- [#853](https://github.com/wevm/viem/pull/853) [`a955007e`](https://github.com/wevm/viem/commit/a955007e00f9076f4d2faefb5473df0fb968de8e) Thanks [@johngrantuk](https://github.com/johngrantuk)! - Allow using EIP-1559 transactions on chains with 0 base fee.
|
868
880
|
|
869
881
|
## 1.2.9
|
870
882
|
|
871
883
|
### Patch Changes
|
872
884
|
|
873
|
-
- [`d24e5bc4`](https://github.com/
|
885
|
+
- [`d24e5bc4`](https://github.com/wevm/viem/commit/d24e5bc48100afb62a25c8515874be9fddb4c7c3) Thanks [@jxom](https://github.com/jxom)! - Fixed a race condition in `waitForTransactionReceipt` causing multiple parallel instances to not resolve.
|
874
886
|
|
875
887
|
## 1.2.8
|
876
888
|
|
877
889
|
### Patch Changes
|
878
890
|
|
879
|
-
- [#755](https://github.com/
|
891
|
+
- [#755](https://github.com/wevm/viem/pull/755) [`064cc09e`](https://github.com/wevm/viem/commit/064cc09e40dfb0b436b84c01aafdb448928153b3) Thanks [@aaronmgdr](https://github.com/aaronmgdr)! - Added serializer for Celo CIP-42 transactions.
|
880
892
|
|
881
|
-
- [#822](https://github.com/
|
893
|
+
- [#822](https://github.com/wevm/viem/pull/822) [`9a1e42bd`](https://github.com/wevm/viem/commit/9a1e42bd5d3ceef6527e04275499bef5ff4b4a39) Thanks [@RielJ](https://github.com/RielJ)! - Added ability to pass `value` to `deployContract`.
|
882
894
|
|
883
895
|
## 1.2.7
|
884
896
|
|
885
897
|
### Patch Changes
|
886
898
|
|
887
|
-
- [#825](https://github.com/
|
899
|
+
- [#825](https://github.com/wevm/viem/pull/825) [`d9e0a64c`](https://github.com/wevm/viem/commit/d9e0a64c30011d60f873008ec68baa324f70b7ad) Thanks [@tmm](https://github.com/tmm)! - Exported types.
|
888
900
|
|
889
|
-
- [#824](https://github.com/
|
901
|
+
- [#824](https://github.com/wevm/viem/pull/824) [`9dcec526`](https://github.com/wevm/viem/commit/9dcec5262c57085f6ff9f220471891e8805ba6b5) Thanks [@frangio](https://github.com/frangio)! - Added missing `package.json#peerDependenciesMeta`.
|
890
902
|
|
891
903
|
## 1.2.6
|
892
904
|
|
893
905
|
### Patch Changes
|
894
906
|
|
895
|
-
- [#808](https://github.com/
|
907
|
+
- [#808](https://github.com/wevm/viem/pull/808) [`7567f58e`](https://github.com/wevm/viem/commit/7567f58e808b5cf67e46c151bf0569a2820be7bd) Thanks [@jxom](https://github.com/jxom)! - Fixed `RpcTransaction` type to not include `typeHex`.
|
896
908
|
|
897
|
-
- [#808](https://github.com/
|
909
|
+
- [#808](https://github.com/wevm/viem/pull/808) [`7567f58e`](https://github.com/wevm/viem/commit/7567f58e808b5cf67e46c151bf0569a2820be7bd) Thanks [@jxom](https://github.com/jxom)! - Fixed an issue where `TransactionRequest` did not narrow based on type.
|
898
910
|
|
899
911
|
## 1.2.5
|
900
912
|
|
901
913
|
### Patch Changes
|
902
914
|
|
903
|
-
- [`81282fc1`](https://github.com/
|
915
|
+
- [`81282fc1`](https://github.com/wevm/viem/commit/81282fc1d9cd4187e2caed051f221b2d4e57ec3a) Thanks [@jxom](https://github.com/jxom)! - Exported `signatureToHex`.
|
904
916
|
|
905
917
|
## 1.2.4
|
906
918
|
|
907
919
|
### Patch Changes
|
908
920
|
|
909
|
-
- [`11c844a1`](https://github.com/
|
921
|
+
- [`11c844a1`](https://github.com/wevm/viem/commit/11c844a1804270bfafa903061d1f98605067203d) Thanks [@jxom](https://github.com/jxom)! - Exported `sign` in `viem/accounts`.
|
910
922
|
|
911
923
|
## 1.2.3
|
912
924
|
|
913
925
|
### Patch Changes
|
914
926
|
|
915
|
-
- [#802](https://github.com/
|
927
|
+
- [#802](https://github.com/wevm/viem/pull/802) [`b610634c`](https://github.com/wevm/viem/commit/b610634c62547178fe3737dbb37fb8db302e30c6) Thanks [@tmm](https://github.com/tmm)! - Bumped dependencies and exported types.
|
916
928
|
|
917
929
|
## 1.2.2
|
918
930
|
|
919
931
|
### Patch Changes
|
920
932
|
|
921
|
-
- [`5a8f59d5`](https://github.com/
|
933
|
+
- [`5a8f59d5`](https://github.com/wevm/viem/commit/5a8f59d5e1d9df27c6897637346dbfe0bfcb2e62) Thanks [@tmm](https://github.com/tmm)! - Exported type
|
922
934
|
|
923
935
|
## 1.2.1
|
924
936
|
|
925
937
|
### Patch Changes
|
926
938
|
|
927
|
-
- [`96cb7534`](https://github.com/
|
939
|
+
- [`96cb7534`](https://github.com/wevm/viem/commit/96cb7534c1be9ab635e70ad463551a29b7f2c553) Thanks [@jxom](https://github.com/jxom)! - Fixed multicall with ABI overrides.
|
928
940
|
|
929
941
|
## 1.2.0
|
930
942
|
|
931
943
|
### Minor Changes
|
932
944
|
|
933
|
-
- [#791](https://github.com/
|
945
|
+
- [#791](https://github.com/wevm/viem/pull/791) [`98fd9172`](https://github.com/wevm/viem/commit/98fd9172045c344429d5a716f497e422d85c0348) Thanks [@jxom](https://github.com/jxom)! - Implemented ability to "extend" Clients via `client.extend` & refactored Actions to accept a tree-shakable Client.
|
934
946
|
|
935
947
|
## 1.1.8
|
936
948
|
|
937
949
|
### Patch Changes
|
938
950
|
|
939
|
-
- [#783](https://github.com/
|
951
|
+
- [#783](https://github.com/wevm/viem/pull/783) [`91e85c76`](https://github.com/wevm/viem/commit/91e85c76df0ee665fb26dbadd473da5ec87e5029) Thanks [@izayl](https://github.com/izayl)! - Added a static `code` property to RPC Error classes.
|
940
952
|
|
941
953
|
## 1.1.7
|
942
954
|
|
943
955
|
### Patch Changes
|
944
956
|
|
945
|
-
- [`d0b4619e`](https://github.com/
|
957
|
+
- [`d0b4619e`](https://github.com/wevm/viem/commit/d0b4619e55ee697c9b8e03e9818b93c6a25b3ba2) Thanks [@jxom](https://github.com/jxom)! - Exported `decodeDeployData`.
|
946
958
|
|
947
959
|
## 1.1.6
|
948
960
|
|
949
961
|
### Patch Changes
|
950
962
|
|
951
|
-
- [`ec58ed1b`](https://github.com/
|
963
|
+
- [`ec58ed1b`](https://github.com/wevm/viem/commit/ec58ed1b8be60973817ff401f1bf340fda854208) Thanks [@jxom](https://github.com/jxom)! - Fixed type narrowing on EIP1474 schemas
|
952
964
|
|
953
965
|
## 1.1.5
|
954
966
|
|
955
967
|
### Patch Changes
|
956
968
|
|
957
|
-
- [`c4e996b8`](https://github.com/
|
969
|
+
- [`c4e996b8`](https://github.com/wevm/viem/commit/c4e996b85404f4083e58c51ea98ac556d8ecd436) Thanks [@jxom](https://github.com/jxom)! - Fixed errorneous type defition being generated by `tsc`.
|
958
970
|
|
959
971
|
## 1.1.4
|
960
972
|
|
961
973
|
### Patch Changes
|
962
974
|
|
963
|
-
- [`75745a60`](https://github.com/
|
975
|
+
- [`75745a60`](https://github.com/wevm/viem/commit/75745a60fc83a13c3bec20ff04829b82d0852c07) Thanks [@jxom](https://github.com/jxom)! - Lax `parseUnits` value parameter.
|
964
976
|
|
965
977
|
## 1.1.3
|
966
978
|
|
967
979
|
### Patch Changes
|
968
980
|
|
969
|
-
- [#758](https://github.com/
|
981
|
+
- [#758](https://github.com/wevm/viem/pull/758) [`67b628df`](https://github.com/wevm/viem/commit/67b628df19edead79d8c6ef4755b407b3ce0486f) Thanks [@jxom](https://github.com/jxom)! - Added support for empty string in EIP712Domain name field.
|
970
982
|
|
971
983
|
## 1.1.2
|
972
984
|
|
973
985
|
### Patch Changes
|
974
986
|
|
975
|
-
- [`c974c25f`](https://github.com/
|
987
|
+
- [`c974c25f`](https://github.com/wevm/viem/commit/c974c25ff28f9eec5bf5d4030146db2b215614d5) Thanks [@jxom](https://github.com/jxom)! - Added `zora` as a supported chain.
|
976
988
|
|
977
989
|
## 1.1.1
|
978
990
|
|
979
991
|
### Patch Changes
|
980
992
|
|
981
|
-
- [`5dd98d3e`](https://github.com/
|
993
|
+
- [`5dd98d3e`](https://github.com/wevm/viem/commit/5dd98d3e57e993a7cae27030c8c10944cf5e204b) Thanks [@jxom](https://github.com/jxom)! - Exported `formatLog`
|
982
994
|
|
983
995
|
## 1.1.0
|
984
996
|
|
985
997
|
### Minor Changes
|
986
998
|
|
987
|
-
- [#691](https://github.com/
|
999
|
+
- [#691](https://github.com/wevm/viem/pull/691) [`6e65789f`](https://github.com/wevm/viem/commit/6e65789fb596ac3e64a9e5e7de1c18257fa50a59) Thanks [@aaronmgdr](https://github.com/aaronmgdr)! - Added custom chain serializers via `chain.serializers`.
|
988
1000
|
|
989
|
-
- [#740](https://github.com/
|
1001
|
+
- [#740](https://github.com/wevm/viem/pull/740) [`d435351d`](https://github.com/wevm/viem/commit/d435351d8637e096b1542da8bb1762858d006363) Thanks [@jxom](https://github.com/jxom)! - Added support for Optimism Deposit Transactions.
|
990
1002
|
|
991
1003
|
### Patch Changes
|
992
1004
|
|
993
|
-
- [#709](https://github.com/
|
1005
|
+
- [#709](https://github.com/wevm/viem/pull/709) [`043b2cba`](https://github.com/wevm/viem/commit/043b2cbaf8877ae67cf163d2ea19df9f08eb3808) Thanks [@jxom](https://github.com/jxom)! - Refactored serializable/serialized transaction types.
|
994
1006
|
|
995
|
-
- [#735](https://github.com/
|
1007
|
+
- [#735](https://github.com/wevm/viem/pull/735) [`e7ee66c8`](https://github.com/wevm/viem/commit/e7ee66c8f92262def25fe59403f19ecfbac47ad8) Thanks [@holic](https://github.com/holic)! - Fixed block formatting in `watchBlocks` for WebSocket subscriptions.
|
996
1008
|
|
997
|
-
- [`1f3f2834`](https://github.com/
|
1009
|
+
- [`1f3f2834`](https://github.com/wevm/viem/commit/1f3f2834a443165a71b27d2d0d46fa13532ccdd1) Thanks [@jxom](https://github.com/jxom)! - Added `typeHex` to `Transaction` type.
|
998
1010
|
|
999
1011
|
## 1.0.7
|
1000
1012
|
|
1001
1013
|
### Patch Changes
|
1002
1014
|
|
1003
|
-
- [#707](https://github.com/
|
1015
|
+
- [#707](https://github.com/wevm/viem/pull/707) [`3fc045d1`](https://github.com/wevm/viem/commit/3fc045d152a11edb698bd86aecb38909f6a3f811) Thanks [@tmm](https://github.com/tmm)! - Made TypeScript requirement explicit (was missing previously).
|
1004
1016
|
|
1005
1017
|
## 1.0.6
|
1006
1018
|
|
1007
1019
|
### Patch Changes
|
1008
1020
|
|
1009
|
-
- [`90fd40ba`](https://github.com/
|
1021
|
+
- [`90fd40ba`](https://github.com/wevm/viem/commit/90fd40ba0d5b7e248c7494ca5cbfa46eac281753) Thanks [@jxom](https://github.com/jxom)! - Fixed potential nullish `chainId` conflict in `sendTransaction` (for Local Accounts).
|
1010
1022
|
|
1011
1023
|
## 1.0.5
|
1012
1024
|
|
1013
1025
|
### Patch Changes
|
1014
1026
|
|
1015
|
-
- [#699](https://github.com/
|
1027
|
+
- [#699](https://github.com/wevm/viem/pull/699) [`79d1b4af`](https://github.com/wevm/viem/commit/79d1b4af5037eee4b408af9d0e3cf5e228d2601d) Thanks [@jxom](https://github.com/jxom)! - Support custom transaction formatters on `sendUnsignedTransaction`.
|
1016
1028
|
|
1017
1029
|
## 1.0.4
|
1018
1030
|
|
1019
1031
|
### Patch Changes
|
1020
1032
|
|
1021
|
-
- [`8407fdcc`](https://github.com/
|
1033
|
+
- [`8407fdcc`](https://github.com/wevm/viem/commit/8407fdcc16e97a5346a07382c25cb1681a50d5e8) Thanks [@jxom](https://github.com/jxom)! - Fixed fraction length overflow edge-case.
|
1022
1034
|
|
1023
1035
|
## 1.0.3
|
1024
1036
|
|
1025
1037
|
### Patch Changes
|
1026
1038
|
|
1027
|
-
- [#687](https://github.com/
|
1039
|
+
- [#687](https://github.com/wevm/viem/pull/687) [`a274ab33`](https://github.com/wevm/viem/commit/a274ab335688ce84d7fa8ca72427de7fe9937b13) Thanks [@jeetiss](https://github.com/jeetiss)! - Added `/*#__PURE__*/` annotatations for better tree-shaking
|
1028
1040
|
|
1029
|
-
- [#672](https://github.com/
|
1041
|
+
- [#672](https://github.com/wevm/viem/pull/672) [`e033f467`](https://github.com/wevm/viem/commit/e033f467082bcfa6f42c490ede1d7df50f497456) Thanks [@sambacha](https://github.com/sambacha)! - Turned off `esModuleInterop` & `allowSyntheticDefaultImports` in tsconfig.
|
1030
1042
|
|
1031
|
-
- [#683](https://github.com/
|
1043
|
+
- [#683](https://github.com/wevm/viem/pull/683) [`fe259a0e`](https://github.com/wevm/viem/commit/fe259a0ed6e4f7e264a7c5c761fea3a8ca68efc9) Thanks [@jeetiss](https://github.com/jeetiss)! - Marked package as side effects free
|
1032
1044
|
|
1033
1045
|
## 1.0.2
|
1034
1046
|
|
1035
1047
|
### Patch Changes
|
1036
1048
|
|
1037
|
-
- [#677](https://github.com/
|
1049
|
+
- [#677](https://github.com/wevm/viem/pull/677) [`a0a2ebb`](https://github.com/wevm/viem/commit/a0a2ebb6b53354be1c1492eed3bfd1b218ac71e4) Thanks [@hexcowboy](https://github.com/hexcowboy)! - Added ability to pass an `AbiFunction` to `getFunctionSelector`, and `AbiEvent` to `getEventSelector`.
|
1038
1050
|
|
1039
1051
|
## 1.0.1
|
1040
1052
|
|
1041
1053
|
### Patch Changes
|
1042
1054
|
|
1043
|
-
- [#675](https://github.com/
|
1055
|
+
- [#675](https://github.com/wevm/viem/pull/675) [`61429677`](https://github.com/wevm/viem/commit/61429677b28ad5ce8240a4278ef0f0cc1587b57a) Thanks [@tmm](https://github.com/tmm)! - Fixed payable `value` type inference.
|
1044
1056
|
|
1045
1057
|
## 1.0.0
|
1046
1058
|
|
@@ -1048,70 +1060,70 @@
|
|
1048
1060
|
|
1049
1061
|
### Major Changes
|
1050
1062
|
|
1051
|
-
- [#576](https://github.com/
|
1063
|
+
- [#576](https://github.com/wevm/viem/pull/576) [`7d42767`](https://github.com/wevm/viem/commit/7d4276775a6d42cfab850498e522fe31134f0880) Thanks [@jxom](https://github.com/jxom)! - Released v1.
|
1052
1064
|
|
1053
|
-
- [#576](https://github.com/
|
1065
|
+
- [#576](https://github.com/wevm/viem/pull/576) [`7d42767`](https://github.com/wevm/viem/commit/7d4276775a6d42cfab850498e522fe31134f0880) Thanks [@jxom](https://github.com/jxom)! - **Breaking (edge case):** `decodeEventLog` no longer attempts to partially decode events. If the log does not conform to the ABI (mismatch between the number of indexed/non-indexed arguments to topics/data), it will throw an error.
|
1054
1066
|
|
1055
|
-
- [#576](https://github.com/
|
1067
|
+
- [#576](https://github.com/wevm/viem/pull/576) [`7d42767`](https://github.com/wevm/viem/commit/7d4276775a6d42cfab850498e522fe31134f0880) Thanks [@jxom](https://github.com/jxom)! - **Breaking:** `logIndex` & `transactionIndex` on `Log` now return a `number` instead of a `bigint`
|
1056
1068
|
|
1057
|
-
- [#576](https://github.com/
|
1069
|
+
- [#576](https://github.com/wevm/viem/pull/576) [`7d42767`](https://github.com/wevm/viem/commit/7d4276775a6d42cfab850498e522fe31134f0880) Thanks [@jxom](https://github.com/jxom)! - **Breaking:** Removed `ethersWalletToAccount` adapter.
|
1058
1070
|
|
1059
1071
|
This adapter was introduced when viem did not have Private Key & HD Accounts. Since 0.2, viem provides all the utilities needed to create and import [Private Key](https://viem.sh/docs/accounts/privateKey.html) & [HD Accounts](https://viem.sh/docs/accounts/mnemonic.html).
|
1060
1072
|
|
1061
|
-
If you still need it, you can copy + paste the [old implementation](https://github.com/
|
1073
|
+
If you still need it, you can copy + paste the [old implementation](https://github.com/wevm/viem/blob/a9a71507032db896295fa1f3fa2dd6c2bdc85137/src/adapters/ethers.ts).
|
1062
1074
|
|
1063
1075
|
### Patch Changes
|
1064
1076
|
|
1065
|
-
- [#576](https://github.com/
|
1077
|
+
- [#576](https://github.com/wevm/viem/pull/576) [`7d42767`](https://github.com/wevm/viem/commit/7d4276775a6d42cfab850498e522fe31134f0880) Thanks [@jxom](https://github.com/jxom)! - Added Batch JSON-RPC on `http` Transport.
|
1066
1078
|
|
1067
|
-
- [#657](https://github.com/
|
1079
|
+
- [#657](https://github.com/wevm/viem/pull/657) [`af48368`](https://github.com/wevm/viem/commit/af48368f07856e50cb7afa8cac077e3a0ecc05fb) Thanks [@izayl](https://github.com/izayl)! - Fixed `getAbiItem` from returning mismatched type when overload with different lengths.
|
1068
1080
|
|
1069
|
-
- [#576](https://github.com/
|
1081
|
+
- [#576](https://github.com/wevm/viem/pull/576) [`7d42767`](https://github.com/wevm/viem/commit/7d4276775a6d42cfab850498e522fe31134f0880) Thanks [@jxom](https://github.com/jxom)! - Upgraded ENS Universal Resolver contract address.
|
1070
1082
|
|
1071
|
-
- [#576](https://github.com/
|
1083
|
+
- [#576](https://github.com/wevm/viem/pull/576) [`7d42767`](https://github.com/wevm/viem/commit/7d4276775a6d42cfab850498e522fe31134f0880) Thanks [@jxom](https://github.com/jxom)! - Added support for labels larger than 255 bytes when resolving ENS names.
|
1072
1084
|
|
1073
|
-
- [#576](https://github.com/
|
1085
|
+
- [#576](https://github.com/wevm/viem/pull/576) [`7d42767`](https://github.com/wevm/viem/commit/7d4276775a6d42cfab850498e522fe31134f0880) Thanks [@jxom](https://github.com/jxom)! - Added a `strict` parameter to `getLogs`, `createEventFilter` & `createContractEventFilter`.
|
1074
1086
|
|
1075
1087
|
When `strict` mode is turned **on**, only logs that conform to the indexed/non-indexed arguments on the event definition/ABI (`event`) will be returned.
|
1076
1088
|
When `strict` mode is turned **off (default)**, logs that do not conform to the indexed/non-indexed arguments on the event definition/ABI (`event`) will be included, but the `args` property will be `undefined` (as we cannot decode these events).
|
1077
1089
|
|
1078
|
-
- [#576](https://github.com/
|
1090
|
+
- [#576](https://github.com/wevm/viem/pull/576) [`7d42767`](https://github.com/wevm/viem/commit/7d4276775a6d42cfab850498e522fe31134f0880) Thanks [@jxom](https://github.com/jxom)! - Refactored EIP1193 request fn types.
|
1079
1091
|
|
1080
1092
|
## 0.3.50
|
1081
1093
|
|
1082
1094
|
### Patch Changes
|
1083
1095
|
|
1084
|
-
- [`7dc25b5`](https://github.com/
|
1096
|
+
- [`7dc25b5`](https://github.com/wevm/viem/commit/7dc25b56ae5f8c69255f6ebc404fb49c33cb13b7) Thanks [@jxom](https://github.com/jxom)! - Improved Ganache test actions.
|
1085
1097
|
|
1086
1098
|
## 0.3.49
|
1087
1099
|
|
1088
1100
|
### Patch Changes
|
1089
1101
|
|
1090
|
-
- [`0b92f3a`](https://github.com/
|
1102
|
+
- [`0b92f3a`](https://github.com/wevm/viem/commit/0b92f3ad535a27e1b8ba70fc3f6e1087ed2cd05f) Thanks [@jxom](https://github.com/jxom)! - Added more chains from @wagmi/chains.
|
1091
1103
|
|
1092
1104
|
## 0.3.47
|
1093
1105
|
|
1094
1106
|
### Patch Changes
|
1095
1107
|
|
1096
|
-
- [`cc256c0`](https://github.com/
|
1108
|
+
- [`cc256c0`](https://github.com/wevm/viem/commit/cc256c0a0dd5cb99975c5a497e5eb025990deaff) Thanks [@jxom](https://github.com/jxom)! - Fixed unit conversion.
|
1097
1109
|
|
1098
1110
|
## 0.3.46
|
1099
1111
|
|
1100
1112
|
### Patch Changes
|
1101
1113
|
|
1102
|
-
- [`770c3d1e`](https://github.com/
|
1114
|
+
- [`770c3d1e`](https://github.com/wevm/viem/commit/770c3d1e1954b94dea6a58e7180b8600e910ad4e) Thanks [@jxom](https://github.com/jxom)! - Bumped `@wagmi/chains`.
|
1103
1115
|
|
1104
1116
|
## 0.3.45
|
1105
1117
|
|
1106
1118
|
### Patch Changes
|
1107
1119
|
|
1108
|
-
- [#637](https://github.com/
|
1120
|
+
- [#637](https://github.com/wevm/viem/pull/637) [`bbd8f07`](https://github.com/wevm/viem/commit/bbd8f072f92f189c0b55d5e3cf8c9e4f38b1c6bc) Thanks [@jxom](https://github.com/jxom)! - Updated `abitype` to 0.8.7.
|
1109
1121
|
|
1110
1122
|
## 0.3.44
|
1111
1123
|
|
1112
1124
|
### Patch Changes
|
1113
1125
|
|
1114
|
-
- [#610](https://github.com/
|
1126
|
+
- [#610](https://github.com/wevm/viem/pull/610) [`06ee89c5`](https://github.com/wevm/viem/commit/06ee89c53a5f0226407b915cdf9da5550ed58010) Thanks [@jxom](https://github.com/jxom)! - Added ability to hash data representation of `message` via a `raw` attribute in `signMessage`, `verifyMessage`, `recoverMessageAddress`.
|
1115
1127
|
|
1116
1128
|
```ts
|
1117
1129
|
await walletClient.signMessage({
|
@@ -1123,416 +1135,416 @@
|
|
1123
1135
|
|
1124
1136
|
### Patch Changes
|
1125
1137
|
|
1126
|
-
- [#632](https://github.com/
|
1138
|
+
- [#632](https://github.com/wevm/viem/pull/632) [`2538548`](https://github.com/wevm/viem/commit/2538548a5c6a897a8a2c5a0e5ea6398c86b54c59) Thanks [@tmm](https://github.com/tmm)! - Exported missing portable type.
|
1127
1139
|
|
1128
|
-
- [#630](https://github.com/
|
1140
|
+
- [#630](https://github.com/wevm/viem/pull/630) [`a446a50`](https://github.com/wevm/viem/commit/a446a50ad8fe0b6c4a20df82e37a0492995840a4) Thanks [@tmm](https://github.com/tmm)! - Narrowed contract instance address.
|
1129
1141
|
|
1130
1142
|
## 0.3.42
|
1131
1143
|
|
1132
1144
|
### Patch Changes
|
1133
1145
|
|
1134
|
-
- [#619](https://github.com/
|
1146
|
+
- [#619](https://github.com/wevm/viem/pull/619) [`73c7f498`](https://github.com/wevm/viem/commit/73c7f4980ebc755068b8cf9df70390d1e2ab2524) Thanks [@sakulstra](https://github.com/sakulstra)! - Added `address` and `abi` properties to Contract Instances.
|
1135
1147
|
|
1136
1148
|
## 0.3.41
|
1137
1149
|
|
1138
1150
|
### Patch Changes
|
1139
1151
|
|
1140
|
-
- [`1b3f584`](https://github.com/
|
1152
|
+
- [`1b3f584`](https://github.com/wevm/viem/commit/1b3f5847a44ba051f19d42dfb03962a4c6a4e36b) Thanks [@jxom](https://github.com/jxom)! - Fixed `chainId` type on Transaction types.
|
1141
1153
|
|
1142
1154
|
## 0.3.40
|
1143
1155
|
|
1144
1156
|
### Patch Changes
|
1145
1157
|
|
1146
|
-
- [#608](https://github.com/
|
1158
|
+
- [#608](https://github.com/wevm/viem/pull/608) [`6e9313b`](https://github.com/wevm/viem/commit/6e9313b8ed13f930666a06991ed0cd61ab286de0) Thanks [@tmm](https://github.com/tmm)! - Exported types
|
1147
1159
|
|
1148
1160
|
## 0.3.39
|
1149
1161
|
|
1150
1162
|
### Patch Changes
|
1151
1163
|
|
1152
|
-
- [#603](https://github.com/
|
1164
|
+
- [#603](https://github.com/wevm/viem/pull/603) [`ee2b2b8`](https://github.com/wevm/viem/commit/ee2b2b8c2eba540cc73ef78e29870f3314a008c3) Thanks [@ilamanov](https://github.com/ilamanov)! - Fixed `getFunctionSelector` for functions with no arguments.
|
1153
1165
|
|
1154
1166
|
## 0.3.38
|
1155
1167
|
|
1156
1168
|
### Patch Changes
|
1157
1169
|
|
1158
|
-
- [#598](https://github.com/
|
1170
|
+
- [#598](https://github.com/wevm/viem/pull/598) [`baea299`](https://github.com/wevm/viem/commit/baea2991ce405015e4f68c2fde90a154b698e7a4) Thanks [@iuriiiurevich](https://github.com/iuriiiurevich)! - Fixed an issue in `withCache` where the promise cache would not clear upon rejection.
|
1159
1171
|
|
1160
1172
|
## 0.3.37
|
1161
1173
|
|
1162
1174
|
### Patch Changes
|
1163
1175
|
|
1164
|
-
- [#572](https://github.com/
|
1176
|
+
- [#572](https://github.com/wevm/viem/pull/572) [`3e5bcbf`](https://github.com/wevm/viem/commit/3e5bcbf1233ea3cc8674767c10bd8dccdfd99182) Thanks [@tmm](https://github.com/tmm)! - Fixed contract instance `estimateGas` typing.
|
1165
1177
|
|
1166
1178
|
## 0.3.36
|
1167
1179
|
|
1168
1180
|
### Patch Changes
|
1169
1181
|
|
1170
|
-
- [#554](https://github.com/
|
1182
|
+
- [#554](https://github.com/wevm/viem/pull/554) [`d5297c6`](https://github.com/wevm/viem/commit/d5297c6e32fc148a63c34fe47cd590cfc9c665ec) Thanks [@tmm](https://github.com/tmm)! - Fixed portable types
|
1171
1183
|
|
1172
|
-
- [#556](https://github.com/
|
1184
|
+
- [#556](https://github.com/wevm/viem/pull/556) [`81a3aed`](https://github.com/wevm/viem/commit/81a3aed513167588f0c3433af8407cc23c78f61f) Thanks [@tmm](https://github.com/tmm)! - Fallback to `client.account` for `estimateGas`.
|
1173
1185
|
|
1174
|
-
- [#560](https://github.com/
|
1186
|
+
- [#560](https://github.com/wevm/viem/pull/560) [`a5dd3c6`](https://github.com/wevm/viem/commit/a5dd3c6dcdb2c7625aacd9c9bc498bd86530dd77) Thanks [@Volchunovich](https://github.com/Volchunovich)! - Fixed docs links
|
1175
1187
|
|
1176
1188
|
## 0.3.35
|
1177
1189
|
|
1178
1190
|
### Patch Changes
|
1179
1191
|
|
1180
|
-
- [`1cc1dc2`](https://github.com/
|
1192
|
+
- [`1cc1dc2`](https://github.com/wevm/viem/commit/1cc1dc2e989765ea0d0afd72375505b93e0013a5) Thanks [@jxom](https://github.com/jxom)! - Fixed `account` parameter type on `readContract`.
|
1181
1193
|
|
1182
1194
|
## 0.3.34
|
1183
1195
|
|
1184
1196
|
### Patch Changes
|
1185
1197
|
|
1186
|
-
- [`5c75ee5`](https://github.com/
|
1198
|
+
- [`5c75ee5`](https://github.com/wevm/viem/commit/5c75ee598a0bd09709f619464e48cbb5fa2327d8) Thanks [@jxom](https://github.com/jxom)! - Added `EstimateContractGasParameters` & `EstimateContractGasReturnType` types.
|
1187
1199
|
|
1188
1200
|
## 0.3.33
|
1189
1201
|
|
1190
1202
|
### Patch Changes
|
1191
1203
|
|
1192
|
-
- [`0cb8f31`](https://github.com/
|
1204
|
+
- [`0cb8f31`](https://github.com/wevm/viem/commit/0cb8f31589d65d056de66c13637635785d97b730) Thanks [@jxom](https://github.com/jxom)! - Fixed an issue where `watchContractEvent` would throw a serialize error for bigint args.
|
1193
1205
|
|
1194
1206
|
## 0.3.32
|
1195
1207
|
|
1196
1208
|
### Patch Changes
|
1197
1209
|
|
1198
|
-
- [`fb5b321`](https://github.com/
|
1210
|
+
- [`fb5b321`](https://github.com/wevm/viem/commit/fb5b321a9238d68a59f387632dd89ccb626a8cb5) Thanks [@jxom](https://github.com/jxom)! - Allowed recovery id as v when recovering public key.
|
1199
1211
|
|
1200
|
-
- [`9df44ce`](https://github.com/
|
1212
|
+
- [`9df44ce`](https://github.com/wevm/viem/commit/9df44cea3843a74f9e04591d3c683db1982269fb) Thanks [@jxom](https://github.com/jxom)! - Added `ganache` as another mode for Test Client
|
1201
1213
|
|
1202
1214
|
## 0.3.31
|
1203
1215
|
|
1204
1216
|
### Patch Changes
|
1205
1217
|
|
1206
|
-
- [#540](https://github.com/
|
1218
|
+
- [#540](https://github.com/wevm/viem/pull/540) [`0d8f154`](https://github.com/wevm/viem/commit/0d8f154fbcbf68f8f8b1b8bde0cf5661ffc44370) Thanks [@jxom](https://github.com/jxom)! - Added proxy packages to support bundlers that are not compatible with `package.json#exports`.
|
1207
1219
|
|
1208
1220
|
## 0.3.30
|
1209
1221
|
|
1210
1222
|
### Patch Changes
|
1211
1223
|
|
1212
|
-
- [`228d949`](https://github.com/
|
1224
|
+
- [`228d949`](https://github.com/wevm/viem/commit/228d949bce648065ecef629173d1b847e2fc8f21) Thanks [@jxom](https://github.com/jxom)! - Bumped `waitForTransactionReceipt` retry count.
|
1213
1225
|
|
1214
1226
|
## 0.3.29
|
1215
1227
|
|
1216
1228
|
### Patch Changes
|
1217
1229
|
|
1218
|
-
- [#527](https://github.com/
|
1230
|
+
- [#527](https://github.com/wevm/viem/pull/527) [`840d3d7`](https://github.com/wevm/viem/commit/840d3d7411a33ad02c71bd180b53244df91cd779) Thanks [@jxom](https://github.com/jxom)! - Fixed `trim` to trim trailing zero byte data instead of all trailing zeros.
|
1219
1231
|
|
1220
1232
|
## 0.3.28
|
1221
1233
|
|
1222
1234
|
### Patch Changes
|
1223
1235
|
|
1224
|
-
- [`ffee4f8`](https://github.com/
|
1236
|
+
- [`ffee4f8`](https://github.com/wevm/viem/commit/ffee4f86928ada54d2c6a4403aafa7b861eeccb2) Thanks [@jxom](https://github.com/jxom)! - Bumped `waitForTransactionReceipt` exponential backoff scalar
|
1225
1237
|
|
1226
1238
|
## 0.3.27
|
1227
1239
|
|
1228
1240
|
### Patch Changes
|
1229
1241
|
|
1230
|
-
- [#519](https://github.com/
|
1242
|
+
- [#519](https://github.com/wevm/viem/pull/519) [`2ab7b56`](https://github.com/wevm/viem/commit/2ab7b56ea6828f92e10f287bac68f1f70815da1a) Thanks [@jxom](https://github.com/jxom)! - Batched websocket initialization.
|
1231
1243
|
|
1232
|
-
- [#518](https://github.com/
|
1244
|
+
- [#518](https://github.com/wevm/viem/pull/518) [`65a0896`](https://github.com/wevm/viem/commit/65a0896426a28e2d11438984a6ed6b604d87c316) Thanks [@jxom](https://github.com/jxom)! - Added `strict` option to `isHex` & optimized data utilities.
|
1233
1245
|
|
1234
|
-
- [#515](https://github.com/
|
1246
|
+
- [#515](https://github.com/wevm/viem/pull/515) [`c1b81dc`](https://github.com/wevm/viem/commit/c1b81dc36ad787b632099a98ba2b4bd5e03ddafa) Thanks [@jxom](https://github.com/jxom)! - Optimized `getTransaction` strategy in `waitForTransactionReceipt`.
|
1235
1247
|
|
1236
1248
|
## 0.3.26
|
1237
1249
|
|
1238
1250
|
### Patch Changes
|
1239
1251
|
|
1240
|
-
- [#500](https://github.com/
|
1252
|
+
- [#500](https://github.com/wevm/viem/pull/500) [`1da5831`](https://github.com/wevm/viem/commit/1da583137a32f381a2e2e5f260105ce8542bbaee) Thanks [@jxom](https://github.com/jxom)! - refactor: lax log types
|
1241
1253
|
|
1242
1254
|
## 0.3.25
|
1243
1255
|
|
1244
1256
|
### Patch Changes
|
1245
1257
|
|
1246
|
-
- [#506](https://github.com/
|
1258
|
+
- [#506](https://github.com/wevm/viem/pull/506) [`f396e5d`](https://github.com/wevm/viem/commit/f396e5d242bbf68a4b34596db6943d52fee19e79) Thanks [@jxom](https://github.com/jxom)! - Support suffixed data in `decodeAbiParameters`.
|
1247
1259
|
|
1248
1260
|
## 0.3.24
|
1249
1261
|
|
1250
1262
|
### Patch Changes
|
1251
1263
|
|
1252
|
-
- [`9852bcd`](https://github.com/
|
1264
|
+
- [`9852bcd`](https://github.com/wevm/viem/commit/9852bcdfb83bfdda43fb276b3a1266b30592d56e) Thanks [@jxom](https://github.com/jxom)! - Fixed custom solidity errors with no args.
|
1253
1265
|
|
1254
1266
|
## 0.3.23
|
1255
1267
|
|
1256
1268
|
### Patch Changes
|
1257
1269
|
|
1258
|
-
- [#489](https://github.com/
|
1270
|
+
- [#489](https://github.com/wevm/viem/pull/489) [`d130c72`](https://github.com/wevm/viem/commit/d130c7277bbb175b7ce82fe2c32ad9f65b3ae63f) Thanks [@tmm](https://github.com/tmm)! - Improved RpcError code types.
|
1259
1271
|
|
1260
|
-
- [`670d825`](https://github.com/
|
1272
|
+
- [`670d825`](https://github.com/wevm/viem/commit/670d825aa8105a6fc5e4fedc540d055d28ec91e1) Thanks [@jxom](https://github.com/jxom)! - Fixed \`call\` revert data for node clients that have nested error data.
|
1261
1273
|
|
1262
|
-
- [#487](https://github.com/
|
1274
|
+
- [#487](https://github.com/wevm/viem/pull/487) [`566e77d`](https://github.com/wevm/viem/commit/566e77dfafcd5b5486260e492d8db890b788b264) Thanks [@kdembler](https://github.com/kdembler)! - fix encodeEventTopics for leading non-indexed args
|
1263
1275
|
|
1264
1276
|
## 0.3.22
|
1265
1277
|
|
1266
1278
|
### Patch Changes
|
1267
1279
|
|
1268
|
-
- [`9ae5eaa`](https://github.com/
|
1280
|
+
- [`9ae5eaa`](https://github.com/wevm/viem/commit/9ae5eaa1465240d07577d380e7387f1a065707e3) Thanks [@jxom](https://github.com/jxom)! - Fixed `functionName` type inference in `SimulateContractReturnType`.
|
1269
1281
|
|
1270
1282
|
## 0.3.21
|
1271
1283
|
|
1272
1284
|
### Patch Changes
|
1273
1285
|
|
1274
|
-
- [#475](https://github.com/
|
1286
|
+
- [#475](https://github.com/wevm/viem/pull/475) [`64a2f51`](https://github.com/wevm/viem/commit/64a2f51799431faf28946127a3d62373051d8553) Thanks [@jxom](https://github.com/jxom)! - Fixed \`hashMessage\` string conversion for messages that have same format as hex bytes.
|
1275
1287
|
|
1276
|
-
- [#474](https://github.com/
|
1288
|
+
- [#474](https://github.com/wevm/viem/pull/474) [`1886095`](https://github.com/wevm/viem/commit/18860951b7276c5b67632113f96a09cda3a48d25) Thanks [@jxom](https://github.com/jxom)! - Exported `assertCurrentChain` util.
|
1277
1289
|
|
1278
1290
|
## 0.3.20
|
1279
1291
|
|
1280
1292
|
### Patch Changes
|
1281
1293
|
|
1282
|
-
- [#470](https://github.com/
|
1294
|
+
- [#470](https://github.com/wevm/viem/pull/470) [`be9501e`](https://github.com/wevm/viem/commit/be9501eb3b509a0fe09dd087ee46d11642a9c408) Thanks [@jxom](https://github.com/jxom)! - Fixed issue where `waitForTransactionReceipt` would throw immediately for RPC Providers which may be slow to sync mined transactions.
|
1283
1295
|
|
1284
1296
|
## 0.3.19
|
1285
1297
|
|
1286
1298
|
### Patch Changes
|
1287
1299
|
|
1288
|
-
- [#320](https://github.com/
|
1300
|
+
- [#320](https://github.com/wevm/viem/pull/320) [`6d6d092`](https://github.com/wevm/viem/commit/6d6d092c6cacb229bb2696261ae9dbe742c26647) Thanks [@janek26](https://github.com/janek26)! - Added support for Contract Wallet signature verification (EIP-6492) via `publicClient.verifyMessage` & `publicClient.verifyTypedData`.
|
1289
1301
|
|
1290
1302
|
## 0.3.18
|
1291
1303
|
|
1292
1304
|
### Patch Changes
|
1293
1305
|
|
1294
|
-
- [#445](https://github.com/
|
1306
|
+
- [#445](https://github.com/wevm/viem/pull/445) [`9e096a9`](https://github.com/wevm/viem/commit/9e096a92e2722e0dd0acd5ab79d5907e7d9bc82f) Thanks [@jxom](https://github.com/jxom)! - Refactored contract decoding utility types.
|
1295
1307
|
|
1296
|
-
- [#448](https://github.com/
|
1308
|
+
- [#448](https://github.com/wevm/viem/pull/448) [`29cf036`](https://github.com/wevm/viem/commit/29cf0363f0bfe89f0d63a281272151c6bba47ce1) Thanks [@jxom](https://github.com/jxom)! - Refactored inferred types on `Log` (eventName, args, topics), `getLogs`, `getFilterLogs` & `getFilterChanges`.
|
1297
1309
|
|
1298
|
-
- [#435](https://github.com/
|
1310
|
+
- [#435](https://github.com/wevm/viem/pull/435) [`711cf94`](https://github.com/wevm/viem/commit/711cf9460a262fb12c520d7860f22915fb4c58f6) Thanks [@Raiden1411](https://github.com/Raiden1411)! - Updated `abitype` to `0.8.2` and exported abitype errors.
|
1299
1311
|
|
1300
|
-
- [#445](https://github.com/
|
1312
|
+
- [#445](https://github.com/wevm/viem/pull/445) [`9e096a9`](https://github.com/wevm/viem/commit/9e096a92e2722e0dd0acd5ab79d5907e7d9bc82f) Thanks [@jxom](https://github.com/jxom)! - Made "name" parameter (`eventName`, `functionName`, etc) optional on contract encoding/decoding utilities when only one ABI item is provided.
|
1301
1313
|
|
1302
1314
|
## 0.3.17
|
1303
1315
|
|
1304
1316
|
### Patch Changes
|
1305
1317
|
|
1306
|
-
- [#443](https://github.com/
|
1318
|
+
- [#443](https://github.com/wevm/viem/pull/443) [`ca0cb85`](https://github.com/wevm/viem/commit/ca0cb852999dd90aebdb938d8bf4dbbec504a173) Thanks [@jxom](https://github.com/jxom)! - Fixed eth_call & eth_estimateGas calls for nodes that conform to the older JSON-RPC spec.
|
1307
1319
|
|
1308
1320
|
## 0.3.16
|
1309
1321
|
|
1310
1322
|
### Patch Changes
|
1311
1323
|
|
1312
|
-
- [`482aaa1`](https://github.com/
|
1324
|
+
- [`482aaa1`](https://github.com/wevm/viem/commit/482aaa1651ff06575860c6d9d38bcde05e5b136e) Thanks [@jxom](https://github.com/jxom)! - Wrapped slice offset out-of-bounds error in a `BaseError`.
|
1313
1325
|
|
1314
1326
|
## 0.3.15
|
1315
1327
|
|
1316
1328
|
### Patch Changes
|
1317
1329
|
|
1318
|
-
- [#436](https://github.com/
|
1330
|
+
- [#436](https://github.com/wevm/viem/pull/436) [`72ed656`](https://github.com/wevm/viem/commit/72ed6567897ee87939d33e89a7d6599ec8db321e) Thanks [@jxom](https://github.com/jxom)! - Fixed an issue where `multicall`'s return type was incorrectly flattening when `allowFailure: false`.
|
1319
1331
|
|
1320
1332
|
## 0.3.14
|
1321
1333
|
|
1322
1334
|
### Patch Changes
|
1323
1335
|
|
1324
|
-
- [#426](https://github.com/
|
1336
|
+
- [#426](https://github.com/wevm/viem/pull/426) [`840d19d`](https://github.com/wevm/viem/commit/840d19d652819001addfe9c47267d9e7c71841bd) Thanks [@izayl](https://github.com/izayl)! - Added constants zeroAddress.
|
1325
1337
|
|
1326
|
-
- [#424](https://github.com/
|
1338
|
+
- [#424](https://github.com/wevm/viem/pull/424) [`2eb73f6`](https://github.com/wevm/viem/commit/2eb73f6f449be7f00790c992202816d5eccf5232) Thanks [@fubhy](https://github.com/fubhy)! - Removed the `defineChain` export from `viem/chains`.
|
1327
1339
|
|
1328
|
-
- [#427](https://github.com/
|
1340
|
+
- [#427](https://github.com/wevm/viem/pull/427) [`41bc9e3`](https://github.com/wevm/viem/commit/41bc9e38dcbd71d10ea28edaaad48fb81d40f61b) Thanks [@jxom](https://github.com/jxom)! - Added support for EIP-3668 CCIP Read.
|
1329
1341
|
|
1330
|
-
- [#431](https://github.com/
|
1342
|
+
- [#431](https://github.com/wevm/viem/pull/431) [`31aafb3`](https://github.com/wevm/viem/commit/31aafb3514adff65bc4c27b78dad90057ee97421) Thanks [@jxom](https://github.com/jxom)! - Added a `dataSuffix` argument to `writeContract` and `simulateContract`
|
1331
1343
|
|
1332
1344
|
## 0.3.13
|
1333
1345
|
|
1334
1346
|
### Patch Changes
|
1335
1347
|
|
1336
|
-
- [`eb32e6c`](https://github.com/
|
1348
|
+
- [`eb32e6c`](https://github.com/wevm/viem/commit/eb32e6c8a412aa4d16339236d4a14d820a26fdc1) Thanks [@fubhy](https://github.com/fubhy)! - Fixed `mine()` to resolve to `undefined` instead of `null`.
|
1337
1349
|
|
1338
1350
|
## 0.3.12
|
1339
1351
|
|
1340
1352
|
### Patch Changes
|
1341
1353
|
|
1342
|
-
- [`6f8151c`](https://github.com/
|
1354
|
+
- [`6f8151c`](https://github.com/wevm/viem/commit/6f8151c58fcb5e14b7a954df6e941fe3cca4054c) Thanks [@jxom](https://github.com/jxom)! - Flagged 403 as non-deterministic error for `fallback` Transport.
|
1343
1355
|
|
1344
1356
|
## 0.3.11
|
1345
1357
|
|
1346
1358
|
### Patch Changes
|
1347
1359
|
|
1348
|
-
- [#404](https://github.com/
|
1360
|
+
- [#404](https://github.com/wevm/viem/pull/404) [`2c380cf`](https://github.com/wevm/viem/commit/2c380cf0f0e528d6ff9e9c354e4fcec28df5329b) Thanks [@izayl](https://github.com/izayl)! - Added support for EIP-1191 address checksum.
|
1349
1361
|
|
1350
|
-
- [#398](https://github.com/
|
1362
|
+
- [#398](https://github.com/wevm/viem/pull/398) [`cbb4f1f`](https://github.com/wevm/viem/commit/cbb4f1f66b80914313e54bf7022e59a1b0bee2d3) Thanks [@jxom](https://github.com/jxom)! - Added a new `batchSize` parameter to `multicall` which limits the size of each calldata chunk.
|
1351
1363
|
|
1352
1364
|
## 0.3.10
|
1353
1365
|
|
1354
1366
|
### Patch Changes
|
1355
1367
|
|
1356
|
-
- [`777fa34`](https://github.com/
|
1368
|
+
- [`777fa34`](https://github.com/wevm/viem/commit/777fa34c9ce5630696e554127e39e5e9386ad74e) Thanks [@jxom](https://github.com/jxom)! - Fixed wallet_watchAsset type.
|
1357
1369
|
|
1358
1370
|
## 0.3.9
|
1359
1371
|
|
1360
1372
|
### Patch Changes
|
1361
1373
|
|
1362
|
-
- [`b4d6623`](https://github.com/
|
1374
|
+
- [`b4d6623`](https://github.com/wevm/viem/commit/b4d662360f55d5963e015f7080538a167e89b1f6) Thanks [@jxom](https://github.com/jxom)! - Fixed multicall return type.
|
1363
1375
|
|
1364
1376
|
## 0.3.8
|
1365
1377
|
|
1366
1378
|
### Patch Changes
|
1367
1379
|
|
1368
|
-
- [`8371ad9`](https://github.com/
|
1380
|
+
- [`8371ad9`](https://github.com/wevm/viem/commit/8371ad9cb6987b5876a679ba502a80573c92ec64) Thanks [@jxom](https://github.com/jxom)! - Fixed WebSocket import on Vite environments.
|
1369
1381
|
|
1370
1382
|
## 0.3.7
|
1371
1383
|
|
1372
1384
|
### Patch Changes
|
1373
1385
|
|
1374
|
-
- [#399](https://github.com/
|
1386
|
+
- [#399](https://github.com/wevm/viem/pull/399) [`eefd839`](https://github.com/wevm/viem/commit/eefd83997a98113b81d5ba21a8b5492a1de2284c) Thanks [@jxom](https://github.com/jxom)! - Fixed async imports in Vite environments.
|
1375
1387
|
|
1376
|
-
- [#397](https://github.com/
|
1388
|
+
- [#397](https://github.com/wevm/viem/pull/397) [`69b95ed`](https://github.com/wevm/viem/commit/69b95ed5991c712d11ff4de1bb873c9a2af152b3) Thanks [@tmm](https://github.com/tmm)! - Made `value` required for payable functions.
|
1377
1389
|
|
1378
1390
|
## 0.3.6
|
1379
1391
|
|
1380
1392
|
### Patch Changes
|
1381
1393
|
|
1382
|
-
- [`ae6d388`](https://github.com/
|
1394
|
+
- [`ae6d388`](https://github.com/wevm/viem/commit/ae6d3883ec41dfdd3750a5f7473495d011df5802) Thanks [@jxom](https://github.com/jxom)! - Fixed unpublished type declarations.
|
1383
1395
|
|
1384
1396
|
## 0.3.5
|
1385
1397
|
|
1386
1398
|
### Patch Changes
|
1387
1399
|
|
1388
|
-
- [`0d38807`](https://github.com/
|
1400
|
+
- [`0d38807`](https://github.com/wevm/viem/commit/0d38807bcd61fae5c5d4736aed6c59277c9b4bf4) Thanks [@jxom](https://github.com/jxom)! - Fixed `batch` config in `createPublicClient`.
|
1389
1401
|
|
1390
1402
|
## 0.3.4
|
1391
1403
|
|
1392
1404
|
### Patch Changes
|
1393
1405
|
|
1394
|
-
- [#387](https://github.com/
|
1406
|
+
- [#387](https://github.com/wevm/viem/pull/387) [`230fcfd`](https://github.com/wevm/viem/commit/230fcfd97bb4937502e604630bb97695198e7b7e) Thanks [@jxom](https://github.com/jxom)! - Added support for `eth_call` batch aggregation via multicall `aggregate3`.
|
1395
1407
|
|
1396
|
-
- [#388](https://github.com/
|
1408
|
+
- [#388](https://github.com/wevm/viem/pull/388) [`bc254d8`](https://github.com/wevm/viem/commit/bc254d882bed6216daa72d5820526e6573a34e85) Thanks [@jxom](https://github.com/jxom)! - Added `size` as an argument to hex/bytes encoding/decoding utilities.
|
1397
1409
|
|
1398
|
-
- [`03816ec`](https://github.com/
|
1410
|
+
- [`03816ec`](https://github.com/wevm/viem/commit/03816ec421eb8adbcb17bd44c5dc344407acba2d) Thanks [@jxom](https://github.com/jxom)! - Disabled `fallback` transport ranking by default.
|
1399
1411
|
|
1400
1412
|
## 0.3.3
|
1401
1413
|
|
1402
1414
|
### Patch Changes
|
1403
1415
|
|
1404
|
-
- [#383](https://github.com/
|
1416
|
+
- [#383](https://github.com/wevm/viem/pull/383) [`7e9731c`](https://github.com/wevm/viem/commit/7e9731cf315ddcd10f35c81c63a15af6aa78350d) Thanks [@Raiden1411](https://github.com/Raiden1411)! - Fixed an issue where `serializeTransaction` was incorrectly encoding zero-ish properties.
|
1405
1417
|
|
1406
1418
|
## 0.3.2
|
1407
1419
|
|
1408
1420
|
### Patch Changes
|
1409
1421
|
|
1410
|
-
- [#375](https://github.com/
|
1422
|
+
- [#375](https://github.com/wevm/viem/pull/375) [`f9bedc9`](https://github.com/wevm/viem/commit/f9bedc94ecd41fdcb2f0fed1d90162567c2a31ea) Thanks [@fubhy](https://github.com/fubhy)! - Support edge runtime
|
1411
1423
|
|
1412
1424
|
## 0.3.1
|
1413
1425
|
|
1414
1426
|
### Patch Changes
|
1415
1427
|
|
1416
|
-
- [`6856443`](https://github.com/
|
1428
|
+
- [`6856443`](https://github.com/wevm/viem/commit/6856443fb75421639c9622343d5958791028874c) Thanks [@jxom](https://github.com/jxom)! - Added `recoverPublicKey`.
|
1417
1429
|
|
1418
|
-
- [#363](https://github.com/
|
1430
|
+
- [#363](https://github.com/wevm/viem/pull/363) [`ee1cb7f`](https://github.com/wevm/viem/commit/ee1cb7ff546236041b1ca115bb2a252520e8ef7f) Thanks [@tmm](https://github.com/tmm)! - Added inference to `getLogs` `event` type.
|
1419
1431
|
|
1420
|
-
- [#365](https://github.com/
|
1432
|
+
- [#365](https://github.com/wevm/viem/pull/365) [`f4dcc33`](https://github.com/wevm/viem/commit/f4dcc33739a339c286f852a377f71fbf2fb7ab97) Thanks [@fubhy](https://github.com/fubhy)! - Fixed `getAbiItem` to not use a generic type variable for the return type
|
1421
1433
|
|
1422
1434
|
## 0.3.0
|
1423
1435
|
|
1424
1436
|
### Minor Changes
|
1425
1437
|
|
1426
|
-
- [#355](https://github.com/
|
1438
|
+
- [#355](https://github.com/wevm/viem/pull/355) [`b1acfc9`](https://github.com/wevm/viem/commit/b1acfc9198bfbed8c3de6e769c5ff06d7124881c) Thanks [@jxom](https://github.com/jxom)! - **Breaking:** Renamed `RequestError` to `RpcError`.
|
1427
1439
|
**Breaking:** Removed `RpcRequestError` – use `RpcError` instead.
|
1428
1440
|
**Breaking:** Renamed `RpcError` to `RpcRequestError`.
|
1429
1441
|
|
1430
1442
|
### Patch Changes
|
1431
1443
|
|
1432
|
-
- [#355](https://github.com/
|
1444
|
+
- [#355](https://github.com/wevm/viem/pull/355) [`b1acfc9`](https://github.com/wevm/viem/commit/b1acfc9198bfbed8c3de6e769c5ff06d7124881c) Thanks [@jxom](https://github.com/jxom)! - Added `ProviderRpcError` subclass.
|
1433
1445
|
|
1434
1446
|
Added EIP-1193 `UnauthorizedProviderError`, `UnsupportedProviderMethodError`, `ProviderDisconnectedError`, and `ChainDisconnectedError`.
|
1435
1447
|
|
1436
|
-
- [#349](https://github.com/
|
1448
|
+
- [#349](https://github.com/wevm/viem/pull/349) [`b275811`](https://github.com/wevm/viem/commit/b2758116623567a07e9c2cae7e2471e3c6bf2ecf) Thanks [@jxom](https://github.com/jxom)! - Fixed an issue where Filter querying (`eth_getFilterChanges`, etc) was not being scoped to the Transport that created the Filter.
|
1437
1449
|
|
1438
1450
|
## 0.2.14
|
1439
1451
|
|
1440
1452
|
### Patch Changes
|
1441
1453
|
|
1442
|
-
- [#344](https://github.com/
|
1454
|
+
- [#344](https://github.com/wevm/viem/pull/344) [`bb9c2a4`](https://github.com/wevm/viem/commit/bb9c2a4b769655f230b8af22efb871393e78a80d) Thanks [@jxom](https://github.com/jxom)! - Added `EIP1193Provider` type.
|
1443
1455
|
|
1444
1456
|
## 0.2.13
|
1445
1457
|
|
1446
1458
|
### Patch Changes
|
1447
1459
|
|
1448
|
-
- [#331](https://github.com/
|
1460
|
+
- [#331](https://github.com/wevm/viem/pull/331) [`cd7b642`](https://github.com/wevm/viem/commit/cd7b64242643247c3c04896dacdd95b2a335ba52) Thanks [@jxom](https://github.com/jxom)! - Migrated to TypeScript 5.
|
1449
1461
|
Migrated build process from `tsup` to `tsc`.
|
1450
1462
|
|
1451
|
-
- [#343](https://github.com/
|
1463
|
+
- [#343](https://github.com/wevm/viem/pull/343) [`579171d`](https://github.com/wevm/viem/commit/579171dbc691f9c352688455f21b6c4187dbf422) Thanks [@fubhy](https://github.com/fubhy)! - Fixed conditional types for poll options on `watchBlocks` & `watchPendingTransactions`.
|
1452
1464
|
|
1453
1465
|
## 0.2.12
|
1454
1466
|
|
1455
1467
|
### Patch Changes
|
1456
1468
|
|
1457
|
-
- [#328](https://github.com/
|
1469
|
+
- [#328](https://github.com/wevm/viem/pull/328) [`ee87fe7`](https://github.com/wevm/viem/commit/ee87fe73884297db1c3957453efd7c326924c269) Thanks [@jxom](https://github.com/jxom)! - Tweaked error inheritence for `UserRejectedRequestError` & `SwitchChainError` to be more friendly with custom errors.
|
1458
1470
|
|
1459
1471
|
## 0.2.11
|
1460
1472
|
|
1461
1473
|
### Patch Changes
|
1462
1474
|
|
1463
|
-
- [#326](https://github.com/
|
1475
|
+
- [#326](https://github.com/wevm/viem/pull/326) [`c83616a`](https://github.com/wevm/viem/commit/c83616ad33aa06054342a3bf72bcb51c09ee0ada) Thanks [@jxom](https://github.com/jxom)! - Fixed an issue where filtered logs that do not conform to the provided ABI would cause `getLogs`, `getFilterLogs` or `getFilterChanges` to throw – these logs are now skipped. See [#323](https://github.com/wevm/viem/issues/323#issuecomment-1499654052) for more info.
|
1464
1476
|
|
1465
1477
|
## 0.2.10
|
1466
1478
|
|
1467
1479
|
### Patch Changes
|
1468
1480
|
|
1469
|
-
- [#322](https://github.com/
|
1481
|
+
- [#322](https://github.com/wevm/viem/pull/322) [`ea019d7`](https://github.com/wevm/viem/commit/ea019d75c5243d8ae2b8ca1686b34026b170d903) Thanks [@tmm](https://github.com/tmm)! - Fixed properties passed to ethers adapter `signTransaction`
|
1470
1482
|
|
1471
1483
|
## 0.2.9
|
1472
1484
|
|
1473
1485
|
### Patch Changes
|
1474
1486
|
|
1475
|
-
- [#317](https://github.com/
|
1487
|
+
- [#317](https://github.com/wevm/viem/pull/317) [`2720ba5`](https://github.com/wevm/viem/commit/2720ba566d02fdb2c6ddc8d016ec252606a9cb95) Thanks [@jxom](https://github.com/jxom)! - Fixed `transports` property type on `FallbackTransport`.
|
1476
1488
|
|
1477
1489
|
## 0.2.8
|
1478
1490
|
|
1479
1491
|
### Patch Changes
|
1480
1492
|
|
1481
|
-
- [#313](https://github.com/
|
1493
|
+
- [#313](https://github.com/wevm/viem/pull/313) [`eb2280c`](https://github.com/wevm/viem/commit/eb2280cbc65b3e509b4b3871fe75b236101da442) Thanks [@jxom](https://github.com/jxom)! - Migrated from `idna-uts46-hx` to `@adraffy/ens-normalize` for `normalize`.
|
1482
1494
|
|
1483
1495
|
## 0.2.7
|
1484
1496
|
|
1485
1497
|
### Patch Changes
|
1486
1498
|
|
1487
|
-
- [#310](https://github.com/
|
1499
|
+
- [#310](https://github.com/wevm/viem/pull/310) [`6dfc225`](https://github.com/wevm/viem/commit/6dfc22537b9dd5740911b8677bba01cc477b9b23) Thanks [@jxom](https://github.com/jxom)! - Made `GetValue` return `{ value?: never }` instead of `unknown` for contract functions that are not payable.
|
1488
1500
|
|
1489
1501
|
## 0.2.6
|
1490
1502
|
|
1491
1503
|
### Patch Changes
|
1492
1504
|
|
1493
|
-
- [#295](https://github.com/
|
1505
|
+
- [#295](https://github.com/wevm/viem/pull/295) [`9a15a61`](https://github.com/wevm/viem/commit/9a15a612dd4a416f932c99519416665c0ffac214) Thanks [@fubhy](https://github.com/fubhy)! - Return discrimated union type from `decodeFunctionData`
|
1494
1506
|
|
1495
|
-
- [#304](https://github.com/
|
1507
|
+
- [#304](https://github.com/wevm/viem/pull/304) [`8e1b712`](https://github.com/wevm/viem/commit/8e1b712efc256c16a98408d10557d5f55d8927d7) Thanks [@fubhy](https://github.com/fubhy)! - Fixed `getTransactionType` to honor `undefined` EIP-1559, EIP-2930 or Legacy attributes.
|
1496
1508
|
|
1497
|
-
- [#302](https://github.com/
|
1509
|
+
- [#302](https://github.com/wevm/viem/pull/302) [`c00a459`](https://github.com/wevm/viem/commit/c00a459490ff283812e6847547149a8104a5c4d0) Thanks [@fubhy](https://github.com/fubhy)! - Fixed forwarding of options to transport for wallet client
|
1498
1510
|
|
1499
1511
|
## 0.2.5
|
1500
1512
|
|
1501
1513
|
### Patch Changes
|
1502
1514
|
|
1503
|
-
- [#297](https://github.com/
|
1515
|
+
- [#297](https://github.com/wevm/viem/pull/297) [`96d072c`](https://github.com/wevm/viem/commit/96d072cac1ae09f85afcbbca63c99f10a80f1722) Thanks [@fubhy](https://github.com/fubhy)! - Fixed wordlists exports.
|
1504
1516
|
|
1505
1517
|
## 0.2.4
|
1506
1518
|
|
1507
1519
|
### Patch Changes
|
1508
1520
|
|
1509
|
-
- [#293](https://github.com/
|
1521
|
+
- [#293](https://github.com/wevm/viem/pull/293) [`859352c`](https://github.com/wevm/viem/commit/859352c38333ec22924b24242db8f583fc73d9fb) Thanks [@TateB](https://github.com/TateB)! - Fixed ENS address resolution for when resolver returns with a null address, or resolvers that do not support `addr`. `getEnsAddress` returns `null` for these cases.
|
1510
1522
|
|
1511
1523
|
## 0.2.3
|
1512
1524
|
|
1513
1525
|
### Patch Changes
|
1514
1526
|
|
1515
|
-
- [#290](https://github.com/
|
1527
|
+
- [#290](https://github.com/wevm/viem/pull/290) [`ef2bbaf`](https://github.com/wevm/viem/commit/ef2bbafa2b372bfa8fa1b29ffabea75ca3ea1122) Thanks [@holic](https://github.com/holic)! - Fixed ENS address resolution for "0x"-prefixed names.
|
1516
1528
|
|
1517
1529
|
## 0.2.2
|
1518
1530
|
|
1519
1531
|
### Patch Changes
|
1520
1532
|
|
1521
|
-
- [#289](https://github.com/
|
1533
|
+
- [#289](https://github.com/wevm/viem/pull/289) [`8c51f93`](https://github.com/wevm/viem/commit/8c51f93cfbe304c88b018c679c4413e8874692e7) Thanks [@jxom](https://github.com/jxom)! - Pinned dependencies.
|
1522
1534
|
|
1523
|
-
- [#289](https://github.com/
|
1535
|
+
- [#289](https://github.com/wevm/viem/pull/289) [`8c51f93`](https://github.com/wevm/viem/commit/8c51f93cfbe304c88b018c679c4413e8874692e7) Thanks [@jxom](https://github.com/jxom)! - Made `@scure/bip39/wordlists/*` & `idna-uts46-hx` exports ESM friendly.
|
1524
1536
|
|
1525
1537
|
## 0.2.1
|
1526
1538
|
|
1527
1539
|
### Patch Changes
|
1528
1540
|
|
1529
|
-
- [#285](https://github.com/
|
1541
|
+
- [#285](https://github.com/wevm/viem/pull/285) [`ab9fd12`](https://github.com/wevm/viem/commit/ab9fd121fbe271ba9bee43aea2d7bba122dc4f03) Thanks [@tmm](https://github.com/tmm)! - Exported `hdKeyToAccount` and `mnemonicToAccount`.
|
1530
1542
|
|
1531
1543
|
## 0.2.0 – [Migration Guide](https://viem.sh/docs/migration-guide.html)
|
1532
1544
|
|
1533
1545
|
### Minor Changes
|
1534
1546
|
|
1535
|
-
- [#229](https://github.com/
|
1547
|
+
- [#229](https://github.com/wevm/viem/pull/229) [`098f342`](https://github.com/wevm/viem/commit/098f3423ee84f9deb09c2c7d30e950a046c07ea9) Thanks [@jxom](https://github.com/jxom)! - **Breaking:** Removed the `getAccount` function.
|
1536
1548
|
|
1537
1549
|
**For JSON-RPC Accounts, use the address itself.**
|
1538
1550
|
|
@@ -1604,7 +1616,7 @@
|
|
1604
1616
|
})
|
1605
1617
|
```
|
1606
1618
|
|
1607
|
-
- [#229](https://github.com/
|
1619
|
+
- [#229](https://github.com/wevm/viem/pull/229) [`098f342`](https://github.com/wevm/viem/commit/098f3423ee84f9deb09c2c7d30e950a046c07ea9) Thanks [@jxom](https://github.com/jxom)! - **Breaking:** Removed `assertChain` argument on `sendTransaction`, `writeContract` & `deployContract`. If you wish to bypass the chain check (not recommended unless for testing purposes), you can pass `chain: null`.
|
1608
1620
|
|
1609
1621
|
```diff
|
1610
1622
|
await walletClient.sendTransaction({
|
@@ -1614,7 +1626,7 @@
|
|
1614
1626
|
})
|
1615
1627
|
```
|
1616
1628
|
|
1617
|
-
- [#229](https://github.com/
|
1629
|
+
- [#229](https://github.com/wevm/viem/pull/229) [`098f342`](https://github.com/wevm/viem/commit/098f3423ee84f9deb09c2c7d30e950a046c07ea9) Thanks [@jxom](https://github.com/jxom)! - **Breaking:** A chain is now required for the `sendTransaction`, `writeContract`, `deployContract` Actions.
|
1618
1630
|
|
1619
1631
|
You can hoist the Chain on the Client:
|
1620
1632
|
|
@@ -1657,7 +1669,7 @@
|
|
1657
1669
|
})
|
1658
1670
|
```
|
1659
1671
|
|
1660
|
-
- [#229](https://github.com/
|
1672
|
+
- [#229](https://github.com/wevm/viem/pull/229) [`098f342`](https://github.com/wevm/viem/commit/098f3423ee84f9deb09c2c7d30e950a046c07ea9) Thanks [@jxom](https://github.com/jxom)! - **Breaking:** Updated utility type names to reflect their purposes:
|
1661
1673
|
|
1662
1674
|
- `ExtractErrorNameFromAbi` is now `InferErrorName`
|
1663
1675
|
- `ExtractEventNameFromAbi` is now `InferEventName`
|
@@ -1669,7 +1681,7 @@
|
|
1669
1681
|
- `ExtractEventArgsFromTopics` is now `GetEventArgsFromTopics`
|
1670
1682
|
- `ExtractArgsFromAbi` is now `GetFunctionArgs`
|
1671
1683
|
|
1672
|
-
- [#229](https://github.com/
|
1684
|
+
- [#229](https://github.com/wevm/viem/pull/229) [`098f342`](https://github.com/wevm/viem/commit/098f3423ee84f9deb09c2c7d30e950a046c07ea9) Thanks [@jxom](https://github.com/jxom)! - **Breaking:** The following functions are now `async` functions instead of synchronous functions:
|
1673
1685
|
|
1674
1686
|
- `recoverAddress`
|
1675
1687
|
- `recoverMessageAddress`
|
@@ -1684,9 +1696,9 @@
|
|
1684
1696
|
|
1685
1697
|
### Patch Changes
|
1686
1698
|
|
1687
|
-
- [#229](https://github.com/
|
1699
|
+
- [#229](https://github.com/wevm/viem/pull/229) [`098f342`](https://github.com/wevm/viem/commit/098f3423ee84f9deb09c2c7d30e950a046c07ea9) Thanks [@jxom](https://github.com/jxom)! - Added `getEnsText` & `getEnsAvatar`
|
1688
1700
|
|
1689
|
-
- [#229](https://github.com/
|
1701
|
+
- [#229](https://github.com/wevm/viem/pull/229) [`098f342`](https://github.com/wevm/viem/commit/098f3423ee84f9deb09c2c7d30e950a046c07ea9) Thanks [@jxom](https://github.com/jxom)! - Added Local Account implementations:
|
1690
1702
|
|
1691
1703
|
- `privateKeyToAccount`
|
1692
1704
|
- `mnemonicToAccount`
|
@@ -1710,13 +1722,13 @@
|
|
1710
1722
|
})
|
1711
1723
|
```
|
1712
1724
|
|
1713
|
-
- [#229](https://github.com/
|
1725
|
+
- [#229](https://github.com/wevm/viem/pull/229) [`098f342`](https://github.com/wevm/viem/commit/098f3423ee84f9deb09c2c7d30e950a046c07ea9) Thanks [@jxom](https://github.com/jxom)! - Added WebSocket `eth_subscribe` support `watchBlocks`, `watchBlockNumber`, and `watchPendingTransactions`.
|
1714
1726
|
|
1715
|
-
- [#229](https://github.com/
|
1727
|
+
- [#229](https://github.com/wevm/viem/pull/229) [`098f342`](https://github.com/wevm/viem/commit/098f3423ee84f9deb09c2c7d30e950a046c07ea9) Thanks [@jxom](https://github.com/jxom)! - Updated Client types.
|
1716
1728
|
|
1717
|
-
- [#229](https://github.com/
|
1729
|
+
- [#229](https://github.com/wevm/viem/pull/229) [`098f342`](https://github.com/wevm/viem/commit/098f3423ee84f9deb09c2c7d30e950a046c07ea9) Thanks [@jxom](https://github.com/jxom)! - Added `verifyTypedData`, `hashTypedData`, `recoverTypedDataMessage`
|
1718
1730
|
|
1719
|
-
- [#229](https://github.com/
|
1731
|
+
- [#229](https://github.com/wevm/viem/pull/229) [`098f342`](https://github.com/wevm/viem/commit/098f3423ee84f9deb09c2c7d30e950a046c07ea9) Thanks [@jxom](https://github.com/jxom)! - Added the ability to hoist an Account to the Wallet Client.
|
1720
1732
|
|
1721
1733
|
```diff
|
1722
1734
|
import { createWalletClient, http } from 'viem'
|
@@ -1737,153 +1749,153 @@
|
|
1737
1749
|
})
|
1738
1750
|
```
|
1739
1751
|
|
1740
|
-
- [#229](https://github.com/
|
1752
|
+
- [#229](https://github.com/wevm/viem/pull/229) [`098f342`](https://github.com/wevm/viem/commit/098f3423ee84f9deb09c2c7d30e950a046c07ea9) Thanks [@jxom](https://github.com/jxom)! - Added getEnsResolver
|
1741
1753
|
|
1742
1754
|
## 0.1.26
|
1743
1755
|
|
1744
1756
|
### Patch Changes
|
1745
1757
|
|
1746
|
-
- [`93e402d`](https://github.com/
|
1758
|
+
- [`93e402d`](https://github.com/wevm/viem/commit/93e402d6fddabcb6966fd8f81d7176d71241e193) Thanks [@jxom](https://github.com/jxom)! - Fixed a `decodeAbiParameters` case where static arrays with a dynamic child would consume the size of the child instead of 32 bytes.
|
1747
1759
|
|
1748
1760
|
## 0.1.25
|
1749
1761
|
|
1750
1762
|
### Patch Changes
|
1751
1763
|
|
1752
|
-
- [#263](https://github.com/
|
1764
|
+
- [#263](https://github.com/wevm/viem/pull/263) [`53fda1a`](https://github.com/wevm/viem/commit/53fda1a5366ff1122b951d8148c1a9f74f280578) Thanks [@fubhy](https://github.com/fubhy)! - Fixed issue where ABIs with constructors would throw for `decodeFunctionData`.
|
1753
1765
|
|
1754
1766
|
## 0.1.24
|
1755
1767
|
|
1756
1768
|
### Patch Changes
|
1757
1769
|
|
1758
|
-
- [#237](https://github.com/
|
1770
|
+
- [#237](https://github.com/wevm/viem/pull/237) [`a92c4fa`](https://github.com/wevm/viem/commit/a92c4fa31eb4a71cb68edf6d50a58cf653419f86) Thanks [@jxom](https://github.com/jxom)! - Added automatic ranking to `fallback` Transport.
|
1759
1771
|
|
1760
1772
|
## 0.1.23
|
1761
1773
|
|
1762
1774
|
### Patch Changes
|
1763
1775
|
|
1764
|
-
- [#251](https://github.com/
|
1776
|
+
- [#251](https://github.com/wevm/viem/pull/251) [`153e97e`](https://github.com/wevm/viem/commit/153e97ed0461c34fd75fa7cad3820e9960f6810a) Thanks [@tmm](https://github.com/tmm)! - Fixed `signTypedData` inference for `primaryType` field.
|
1765
1777
|
|
1766
1778
|
## 0.1.22
|
1767
1779
|
|
1768
1780
|
### Patch Changes
|
1769
1781
|
|
1770
|
-
- [`07000b6`](https://github.com/
|
1782
|
+
- [`07000b6`](https://github.com/wevm/viem/commit/07000b650b6cce41c99a4ccf609f5fccce818244) Thanks [@jxom](https://github.com/jxom)! - Removed unnecessary trimming of decoded RLP hex value
|
1771
1783
|
|
1772
1784
|
## 0.1.21
|
1773
1785
|
|
1774
1786
|
### Patch Changes
|
1775
1787
|
|
1776
|
-
- [#223](https://github.com/
|
1788
|
+
- [#223](https://github.com/wevm/viem/pull/223) [`2e9c000`](https://github.com/wevm/viem/commit/2e9c0008c76939e54902569f8f8581a943914e4f) Thanks [@jxom](https://github.com/jxom)! - Added an assertion in `sendTransaction` & `writeContract` to check that the client chain matches the wallet's current chain.
|
1777
1789
|
|
1778
1790
|
## 0.1.20
|
1779
1791
|
|
1780
1792
|
### Patch Changes
|
1781
1793
|
|
1782
|
-
- [#220](https://github.com/
|
1794
|
+
- [#220](https://github.com/wevm/viem/pull/220) [`9a80fca`](https://github.com/wevm/viem/commit/9a80fca116417f77d4a305a59ec0c3ecf3e0fdfa) Thanks [@jxom](https://github.com/jxom)! - Fixed an issue where `watchEvent` would not emit events on missed blocks for the `getLogs` fallback.
|
1783
1795
|
|
1784
1796
|
## 0.1.19
|
1785
1797
|
|
1786
1798
|
### Patch Changes
|
1787
1799
|
|
1788
|
-
- [`74f8e1d`](https://github.com/
|
1800
|
+
- [`74f8e1d`](https://github.com/wevm/viem/commit/74f8e1dfe1b86eba9453ede0b20babf8e150423a) Thanks [@jxom](https://github.com/jxom)! - Added missing `recoverMessageAddress` and `verifyMessage` exports.
|
1789
1801
|
|
1790
1802
|
## 0.1.18
|
1791
1803
|
|
1792
1804
|
### Patch Changes
|
1793
1805
|
|
1794
|
-
- [`9c45397`](https://github.com/
|
1806
|
+
- [`9c45397`](https://github.com/wevm/viem/commit/9c4539756d138f196b368fd1ac8e1a926d9bace0) Thanks [@jxom](https://github.com/jxom)! - Fixed `signTypedData` support for Ethers.js v5 wallets
|
1795
1807
|
|
1796
1808
|
## 0.1.17
|
1797
1809
|
|
1798
1810
|
### Patch Changes
|
1799
1811
|
|
1800
|
-
- [#213](https://github.com/
|
1812
|
+
- [#213](https://github.com/wevm/viem/pull/213) [`46f823a`](https://github.com/wevm/viem/commit/46f823afd017b1421c66162d832080f8dc7711e1) Thanks [@jxom](https://github.com/jxom)! - Fixed return type for `allowFailure: false` on `multicall`
|
1801
1813
|
|
1802
|
-
- [`1339b20`](https://github.com/
|
1814
|
+
- [`1339b20`](https://github.com/wevm/viem/commit/1339b20f735cb18b397aa1910cdb288609612f14) Thanks [@jxom](https://github.com/jxom)! - Exported `Extract*FromAbi` types
|
1803
1815
|
|
1804
|
-
- [`c3d932a`](https://github.com/
|
1816
|
+
- [`c3d932a`](https://github.com/wevm/viem/commit/c3d932ad69a0c54fb204d7878a1a96916d1193df) Thanks [@jxom](https://github.com/jxom)! - Fixed `signTypedData` support for Ethers.js v5 Wallets
|
1805
1817
|
|
1806
1818
|
## 0.1.16
|
1807
1819
|
|
1808
1820
|
### Patch Changes
|
1809
1821
|
|
1810
|
-
- [#207](https://github.com/
|
1822
|
+
- [#207](https://github.com/wevm/viem/pull/207) [`8e5768f`](https://github.com/wevm/viem/commit/8e5768ffa1d813810b99f5ed06a00bfe830b2a35) Thanks [@jxom](https://github.com/jxom)! - Added assertion in `watchBlocks` and `watchBlockNumber` to check that the next block number is higher than the previously seen block number.
|
1811
1823
|
|
1812
|
-
- [#209](https://github.com/
|
1824
|
+
- [#209](https://github.com/wevm/viem/pull/209) [`ae3e0b6`](https://github.com/wevm/viem/commit/ae3e0b62a21671bd749e20ec5d65d80fa7475adc) Thanks [@jxom](https://github.com/jxom)! - Added `verifyMessage`, `recoverAddress`, `recoverMessageAddress`, and `hashMessage`.
|
1813
1825
|
|
1814
1826
|
## 0.1.15
|
1815
1827
|
|
1816
1828
|
### Patch Changes
|
1817
1829
|
|
1818
|
-
- [#205](https://github.com/
|
1830
|
+
- [#205](https://github.com/wevm/viem/pull/205) [`36fa97a`](https://github.com/wevm/viem/commit/36fa97a595670825f1dee008ebf44abbc1402f2e) Thanks [@jxom](https://github.com/jxom)! - Added an assertion to check for existence of an event signature on `topics` for `decodeEventLog`
|
1819
1831
|
|
1820
1832
|
## 0.1.14
|
1821
1833
|
|
1822
1834
|
### Patch Changes
|
1823
1835
|
|
1824
|
-
- [#198](https://github.com/
|
1836
|
+
- [#198](https://github.com/wevm/viem/pull/198) [`e805e7e`](https://github.com/wevm/viem/commit/e805e7ebaa7c15ea21a49ac0759bf4ebe5284f72) Thanks [@wighawag](https://github.com/wighawag)! - Added an assertion in `decodeEventLog` to check for a mismatch between topics + indexed event parameters.
|
1825
1837
|
|
1826
1838
|
## 0.1.13
|
1827
1839
|
|
1828
1840
|
### Patch Changes
|
1829
1841
|
|
1830
|
-
- [`56f2e03`](https://github.com/
|
1842
|
+
- [`56f2e03`](https://github.com/wevm/viem/commit/56f2e03837d64a9156766f0ef785ac50ba27380f) Thanks [@jxom](https://github.com/jxom)! - Added export for `concat`.
|
1831
1843
|
|
1832
1844
|
## 0.1.12
|
1833
1845
|
|
1834
1846
|
### Patch Changes
|
1835
1847
|
|
1836
|
-
- [`c0e3617`](https://github.com/
|
1848
|
+
- [`c0e3617`](https://github.com/wevm/viem/commit/c0e3617b639ba84c03011430d69d72173da00466) Thanks [@jxom](https://github.com/jxom)! - Fixed `viem/ethers` entrypoint.
|
1837
1849
|
|
1838
1850
|
## 0.1.11
|
1839
1851
|
|
1840
1852
|
### Patch Changes
|
1841
1853
|
|
1842
|
-
- [#88](https://github.com/
|
1854
|
+
- [#88](https://github.com/wevm/viem/pull/88) [`5456490`](https://github.com/wevm/viem/commit/545649093422fb14a39418a7199766d033c9e175) Thanks [@jxom](https://github.com/jxom)! - Added `signTypedData`.
|
1843
1855
|
|
1844
1856
|
## 0.1.10
|
1845
1857
|
|
1846
1858
|
### Patch Changes
|
1847
1859
|
|
1848
|
-
- [#178](https://github.com/
|
1860
|
+
- [#178](https://github.com/wevm/viem/pull/178) [`eda1827`](https://github.com/wevm/viem/commit/eda182754ed2727bc652225e327760ab0a14a962) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed type of `topics` field on the `Log` type.
|
1849
1861
|
|
1850
|
-
- [#181](https://github.com/
|
1862
|
+
- [#181](https://github.com/wevm/viem/pull/181) [`8213be3`](https://github.com/wevm/viem/commit/8213be3676283ec80d0d5cbcee4864fe4d9c6b6e) Thanks [@tmm](https://github.com/tmm)! - Bumped abitype version.
|
1851
1863
|
|
1852
1864
|
## 0.1.9
|
1853
1865
|
|
1854
1866
|
### Patch Changes
|
1855
1867
|
|
1856
|
-
- [#170](https://github.com/
|
1868
|
+
- [#170](https://github.com/wevm/viem/pull/170) [`35a7508`](https://github.com/wevm/viem/commit/35a750839ae5ac41427e84922315ce3e360ee58a) Thanks [@jxom](https://github.com/jxom)! - Added inference for multicall address from client chain.
|
1857
1869
|
|
1858
1870
|
## 0.1.8
|
1859
1871
|
|
1860
1872
|
### Patch Changes
|
1861
1873
|
|
1862
|
-
- [`36c908c`](https://github.com/
|
1874
|
+
- [`36c908c`](https://github.com/wevm/viem/commit/36c908c65dcbca1a68841dfa8eb89963561431b1) Thanks [@jxom](https://github.com/jxom)! - Fixed an issue where empty strings were not being decoded properly in `decodeAbiParameters`.
|
1863
1875
|
|
1864
1876
|
## 0.1.7
|
1865
1877
|
|
1866
1878
|
### Patch Changes
|
1867
1879
|
|
1868
|
-
- [#159](https://github.com/
|
1880
|
+
- [#159](https://github.com/wevm/viem/pull/159) [`574ae22`](https://github.com/wevm/viem/commit/574ae2244c755519bda02b46d8767a365e1f4217) Thanks [@jxom](https://github.com/jxom)! - Fixed issue where decoding error logs would break if constructor was in ABI.
|
1869
1881
|
|
1870
1882
|
## 0.1.6
|
1871
1883
|
|
1872
1884
|
### Patch Changes
|
1873
1885
|
|
1874
|
-
- [#153](https://github.com/
|
1886
|
+
- [#153](https://github.com/wevm/viem/pull/153) [`bbb998a`](https://github.com/wevm/viem/commit/bbb998a6a1c2ce97a76e6275e1f07b6e2767b248) Thanks [@jxom](https://github.com/jxom)! - Formatted `undefined` values from RPC as `null` to conform to EIP-1474.
|
1875
1887
|
|
1876
1888
|
## 0.1.5
|
1877
1889
|
|
1878
1890
|
### Patch Changes
|
1879
1891
|
|
1880
|
-
- [#141](https://github.com/
|
1892
|
+
- [#141](https://github.com/wevm/viem/pull/141) [`450b612`](https://github.com/wevm/viem/commit/450b612289b832559ce11a9e2eba7dda68a7a981) Thanks [@unholypanda](https://github.com/unholypanda)! - Fixed `createPublicClient` to include `getTransactionCount`
|
1881
1893
|
|
1882
1894
|
## 0.1.4
|
1883
1895
|
|
1884
1896
|
### Patch Changes
|
1885
1897
|
|
1886
|
-
- [#139](https://github.com/
|
1898
|
+
- [#139](https://github.com/wevm/viem/pull/139) [`304a436`](https://github.com/wevm/viem/commit/304a4365dba9aa7be191ae4436b952eea9cfe79e) Thanks [@jxom](https://github.com/jxom)! - Added the following chains:
|
1887
1899
|
|
1888
1900
|
- `baseGoerli`
|
1889
1901
|
- `boba`
|
@@ -1907,59 +1919,59 @@
|
|
1907
1919
|
|
1908
1920
|
### Patch Changes
|
1909
1921
|
|
1910
|
-
- [#136](https://github.com/
|
1922
|
+
- [#136](https://github.com/wevm/viem/pull/136) [`dcca090`](https://github.com/wevm/viem/commit/dcca0900556d45a5795af4f60ef070a54a6f0306) Thanks [@jxom](https://github.com/jxom)! - Fixed ABI encoding for strings larger than 32 bytes.
|
1911
1923
|
|
1912
|
-
- [#136](https://github.com/
|
1924
|
+
- [#136](https://github.com/wevm/viem/pull/136) [`dcca090`](https://github.com/wevm/viem/commit/dcca0900556d45a5795af4f60ef070a54a6f0306) Thanks [@jxom](https://github.com/jxom)! - Fixed emoji string encoding.
|
1913
1925
|
|
1914
1926
|
## 0.1.2
|
1915
1927
|
|
1916
1928
|
### Patch Changes
|
1917
1929
|
|
1918
|
-
- [`637d252`](https://github.com/
|
1930
|
+
- [`637d252`](https://github.com/wevm/viem/commit/637d2523e3e259deb9538a0089c0c80bb37abf22) Thanks [@jxom](https://github.com/jxom)! - Bumped abitype to 0.6.7
|
1919
1931
|
|
1920
1932
|
## 0.1.1
|
1921
1933
|
|
1922
1934
|
### Patch Changes
|
1923
1935
|
|
1924
|
-
- [#128](https://github.com/
|
1936
|
+
- [#128](https://github.com/wevm/viem/pull/128) [`ef51936`](https://github.com/wevm/viem/commit/ef519364c28a2ec6571b5e8d13aced0c9123dc46) Thanks [@tmm](https://github.com/tmm)! - Fixed internal type compilation error.
|
1925
1937
|
|
1926
1938
|
## 0.1.0
|
1927
1939
|
|
1928
1940
|
### Minor Changes
|
1929
1941
|
|
1930
|
-
- [`fec4460`](https://github.com/
|
1942
|
+
- [`fec4460`](https://github.com/wevm/viem/commit/fec4460f63ac2c367722554cf910f1ee78b2795d) Thanks [@jxom](https://github.com/jxom)! - Initial release.
|
1931
1943
|
|
1932
1944
|
## 0.0.1-alpha.39
|
1933
1945
|
|
1934
1946
|
### Patch Changes
|
1935
1947
|
|
1936
|
-
- [`68c3816`](https://github.com/
|
1948
|
+
- [`68c3816`](https://github.com/wevm/viem/commit/68c3816c8c492aa0943b63438a13109e9ac682df) Thanks [@jxom](https://github.com/jxom)! - Added `encodePacked`.
|
1937
1949
|
|
1938
|
-
- [`68c3816`](https://github.com/
|
1950
|
+
- [`68c3816`](https://github.com/wevm/viem/commit/68c3816c8c492aa0943b63438a13109e9ac682df) Thanks [@jxom](https://github.com/jxom)! - Made `keccak256` accept a hex value (as well as byte array).
|
1939
1951
|
|
1940
1952
|
## 0.0.1-alpha.38
|
1941
1953
|
|
1942
1954
|
### Patch Changes
|
1943
1955
|
|
1944
|
-
- [`59a60cb`](https://github.com/
|
1956
|
+
- [`59a60cb`](https://github.com/wevm/viem/commit/59a60cb8cc7d0109c08fa5906a24c6eb8e48b183) Thanks [@jxom](https://github.com/jxom)! - Fixed decoding zero data bytes
|
1945
1957
|
|
1946
1958
|
## 0.0.1-alpha.37
|
1947
1959
|
|
1948
1960
|
### Patch Changes
|
1949
1961
|
|
1950
|
-
- [`e07f212`](https://github.com/
|
1962
|
+
- [`e07f212`](https://github.com/wevm/viem/commit/e07f212af5ef94b938939f0205056c29747bb919) Thanks [@jxom](https://github.com/jxom)! - **Breaking:** Renamed `formatUnit` and `parseUnit` to `formatUnits` and `parseUnits`.
|
1951
1963
|
|
1952
1964
|
## 0.0.1-alpha.36
|
1953
1965
|
|
1954
1966
|
### Patch Changes
|
1955
1967
|
|
1956
|
-
- [#100](https://github.com/
|
1968
|
+
- [#100](https://github.com/wevm/viem/pull/100) [`6bb8ce4`](https://github.com/wevm/viem/commit/6bb8ce4eafff68989281f19fb315c0ea2f22b01a) Thanks [@jxom](https://github.com/jxom)! - **Breaking:** Renamed `requestAccounts` Wallet Action to `requestAddresses`
|
1957
1969
|
|
1958
1970
|
**Breaking:** Renamed `getAccounts` Wallet Action to `getAddresses`
|
1959
1971
|
|
1960
|
-
- [#100](https://github.com/
|
1972
|
+
- [#100](https://github.com/wevm/viem/pull/100) [`6bb8ce4`](https://github.com/wevm/viem/commit/6bb8ce4eafff68989281f19fb315c0ea2f22b01a) Thanks [@jxom](https://github.com/jxom)! - Added support for Externally Owned Accounts.
|
1961
1973
|
|
1962
|
-
- [#100](https://github.com/
|
1974
|
+
- [#100](https://github.com/wevm/viem/pull/100) [`6bb8ce4`](https://github.com/wevm/viem/commit/6bb8ce4eafff68989281f19fb315c0ea2f22b01a) Thanks [@jxom](https://github.com/jxom)! - **Breaking:** The `from` argument has been removed from Actions in favour of `account` to distinguish between [Account types](https://viem.sh/docs/clients/wallet):
|
1963
1975
|
|
1964
1976
|
```diff
|
1965
1977
|
+ import { getAccount } from 'viem'
|
@@ -1991,11 +2003,11 @@
|
|
1991
2003
|
|
1992
2004
|
### Patch Changes
|
1993
2005
|
|
1994
|
-
- [`057e01e`](https://github.com/
|
2006
|
+
- [`057e01e`](https://github.com/wevm/viem/commit/057e01e9fff7346304e787d93053d84a09278335) Thanks [@jxom](https://github.com/jxom)! - - `testClient.getTxPoolContent` → `testClient.getTxpoolContent`
|
1995
2007
|
|
1996
2008
|
- `testClient.getTxPoolStatus` → `testClient.getTxpoolStatus`
|
1997
2009
|
|
1998
|
-
- [#85](https://github.com/
|
2010
|
+
- [#85](https://github.com/wevm/viem/pull/85) [`2350d1a`](https://github.com/wevm/viem/commit/2350d1af1ff67d725ff3563538b9886a405ab8bd) Thanks [@jxom](https://github.com/jxom)! - **Breaking:** Renamed `encodeAbi` & `decodeAbi` to `encodeAbiParameters` & `decodeAbiParameters`, and modified API from named arguments to inplace arguments:
|
1999
2011
|
|
2000
2012
|
```diff
|
2001
2013
|
import {
|
@@ -2016,49 +2028,49 @@
|
|
2016
2028
|
|
2017
2029
|
### Patch Changes
|
2018
2030
|
|
2019
|
-
- [`e1634b5`](https://github.com/
|
2031
|
+
- [`e1634b5`](https://github.com/wevm/viem/commit/e1634b5d110b1a39032eab9813f93244b04123ad) Thanks [@jxom](https://github.com/jxom)! - Fixed ABI encoding dynamic tuple child derivation
|
2020
2032
|
|
2021
2033
|
## 0.0.1-alpha.33
|
2022
2034
|
|
2023
2035
|
### Patch Changes
|
2024
2036
|
|
2025
|
-
- [`1971e6a`](https://github.com/
|
2037
|
+
- [`1971e6a`](https://github.com/wevm/viem/commit/1971e6ad74df802bdbd988ddc5e6fc06fad66091) Thanks [@jxom](https://github.com/jxom)! - Added assertion to check if addresses are valid for `sendTransaction`, `estimateGas` & `call`.
|
2026
2038
|
|
2027
2039
|
## 0.0.1-alpha.32
|
2028
2040
|
|
2029
2041
|
### Patch Changes
|
2030
2042
|
|
2031
|
-
- [`7243744`](https://github.com/
|
2043
|
+
- [`7243744`](https://github.com/wevm/viem/commit/7243744ecd230532b8f11d1766318a75760229e5) Thanks [@jxom](https://github.com/jxom)! - Added support for `4001` & `4902` RPC error codes.
|
2032
2044
|
|
2033
2045
|
## 0.0.1-alpha.31
|
2034
2046
|
|
2035
2047
|
### Patch Changes
|
2036
2048
|
|
2037
|
-
- [#89](https://github.com/
|
2049
|
+
- [#89](https://github.com/wevm/viem/pull/89) [`3e45853`](https://github.com/wevm/viem/commit/3e45853a2252e6a5496acae65c3cebecbdb4260f) Thanks [@jxom](https://github.com/jxom)! - Added `fetchOptions` to the `http` transport.
|
2038
2050
|
|
2039
|
-
- [#91](https://github.com/
|
2051
|
+
- [#91](https://github.com/wevm/viem/pull/91) [`0ac32c2`](https://github.com/wevm/viem/commit/0ac32c2852dc470aaba560623a2e169927a546d5) Thanks [@jxom](https://github.com/jxom)! - **Breaking:** Renamed `getFunctionSignature` and `getEventSignature` to `getFunctionSelector` and `getEventSelector`.
|
2040
2052
|
|
2041
2053
|
## 0.0.1-alpha.30
|
2042
2054
|
|
2043
2055
|
### Patch Changes
|
2044
2056
|
|
2045
|
-
- [#81](https://github.com/
|
2057
|
+
- [#81](https://github.com/wevm/viem/pull/81) [`eb572b0`](https://github.com/wevm/viem/commit/eb572b0a431606f8c31abb011cef08ad36d0836c) Thanks [@jxom](https://github.com/jxom)! - Improved transaction & contract error messaging & coalesce error messages from nodes.
|
2046
2058
|
|
2047
2059
|
## 0.0.1-alpha.29
|
2048
2060
|
|
2049
2061
|
### Patch Changes
|
2050
2062
|
|
2051
|
-
- [`6bdee9c`](https://github.com/
|
2063
|
+
- [`6bdee9c`](https://github.com/wevm/viem/commit/6bdee9c8dde1c06ebde769c50c1002b2cca0a0f9) Thanks [@jxom](https://github.com/jxom)! - Fixed issue where fallback transport was not falling back on timeouts
|
2052
2064
|
|
2053
2065
|
## 0.0.1-alpha.28
|
2054
2066
|
|
2055
2067
|
### Patch Changes
|
2056
2068
|
|
2057
|
-
- [`8ef068b`](https://github.com/
|
2069
|
+
- [`8ef068b`](https://github.com/wevm/viem/commit/8ef068b024d90b1a62e34b6556268d6a38514eb3) Thanks [@jxom](https://github.com/jxom)! - Added `502`, `503` and `504` error codes as "non-deterministic" errors for `fallback` transport & retries.
|
2058
2070
|
|
2059
|
-
- [#79](https://github.com/
|
2071
|
+
- [#79](https://github.com/wevm/viem/pull/79) [`db9caa9`](https://github.com/wevm/viem/commit/db9caa98fb7cf8592940c1c2e4d41b678b70240c) Thanks [@jxom](https://github.com/jxom)! - Added `timeout` as a config option to the `http` and `webSocket` Transports.
|
2060
2072
|
|
2061
|
-
- [#77](https://github.com/
|
2073
|
+
- [#77](https://github.com/wevm/viem/pull/77) [`d6a29f5`](https://github.com/wevm/viem/commit/d6a29f5223324660cd98c2a6aaf345c207b2cd97) Thanks [@jxom](https://github.com/jxom)! - Decorated Clients with their respective Actions.
|
2062
2074
|
|
2063
2075
|
Example:
|
2064
2076
|
|
@@ -2090,17 +2102,17 @@
|
|
2090
2102
|
|
2091
2103
|
### Patch Changes
|
2092
2104
|
|
2093
|
-
- [`7d9a241`](https://github.com/
|
2105
|
+
- [`7d9a241`](https://github.com/wevm/viem/commit/7d9a2413805b142611d29d7e5faddd44ae3c047c) Thanks [@jxom](https://github.com/jxom)! - Added `estimateContractGas`.
|
2094
2106
|
|
2095
|
-
- [`7d9a241`](https://github.com/
|
2107
|
+
- [`7d9a241`](https://github.com/wevm/viem/commit/7d9a2413805b142611d29d7e5faddd44ae3c047c) Thanks [@jxom](https://github.com/jxom)! - Added `retryCount` and `retryDelay` config to Transports.
|
2096
2108
|
|
2097
2109
|
## 0.0.1-alpha.25
|
2098
2110
|
|
2099
2111
|
### Patch Changes
|
2100
2112
|
|
2101
|
-
- [`6c902f8`](https://github.com/
|
2113
|
+
- [`6c902f8`](https://github.com/wevm/viem/commit/6c902f86e2067dcd366434722429fe873c8d6089) Thanks [@jxom](https://github.com/jxom)! - Added `decodeEventLog`.
|
2102
2114
|
|
2103
|
-
- [#68](https://github.com/
|
2115
|
+
- [#68](https://github.com/wevm/viem/pull/68) [`1be77b3`](https://github.com/wevm/viem/commit/1be77b3e7f454ae6085daefe1f24ca9f757334f8) Thanks [@jxom](https://github.com/jxom)! - **Breaking:** Removed all public/wallet/test actions & utils from the `viem` entrypoint to their respective entrypoints:
|
2104
2116
|
|
2105
2117
|
- `viem` = Clients & Transport exports
|
2106
2118
|
- `viem/chains` = Chains exports
|
@@ -2111,27 +2123,27 @@
|
|
2111
2123
|
- `viem/utils` = Utils exports
|
2112
2124
|
- `viem/wallet` = Wallet Actions exports
|
2113
2125
|
|
2114
|
-
- [#66](https://github.com/
|
2126
|
+
- [#66](https://github.com/wevm/viem/pull/66) [`f19fc32`](https://github.com/wevm/viem/commit/f19fc329bd7bad7639824fcf65387be542facc83) Thanks [@tmm](https://github.com/tmm)! - Added ENS actions `getEnsAddress` and `getEnsName`.
|
2115
2127
|
|
2116
2128
|
## 0.0.1-alpha.24
|
2117
2129
|
|
2118
2130
|
### Patch Changes
|
2119
2131
|
|
2120
|
-
- [#63](https://github.com/
|
2132
|
+
- [#63](https://github.com/wevm/viem/pull/63) [`7473582`](https://github.com/wevm/viem/commit/7473582aff91c6c717ee112743c45dc4cf5dd543) Thanks [@tmm](https://github.com/tmm)! - Exported missing `watchContractEvent` and `watchEvent` actions.
|
2121
2133
|
|
2122
2134
|
## 0.0.1-alpha.23
|
2123
2135
|
|
2124
2136
|
### Patch Changes
|
2125
2137
|
|
2126
|
-
- [#61](https://github.com/
|
2138
|
+
- [#61](https://github.com/wevm/viem/pull/61) [`e4b2dbb`](https://github.com/wevm/viem/commit/e4b2dbb67e5b9f7f8d703191207931042127ebce) Thanks [@tmm](https://github.com/tmm)! - Exported multicall action
|
2127
2139
|
|
2128
2140
|
## 0.0.1-alpha.22
|
2129
2141
|
|
2130
2142
|
### Patch Changes
|
2131
2143
|
|
2132
|
-
- [#57](https://github.com/
|
2144
|
+
- [#57](https://github.com/wevm/viem/pull/57) [`40c76e3`](https://github.com/wevm/viem/commit/40c76e3ac4478ee1e5c739d8162eb2006e3679e0) Thanks [@jxom](https://github.com/jxom)! - support `Panic` & custom contract errors
|
2133
2145
|
|
2134
|
-
- [#56](https://github.com/
|
2146
|
+
- [#56](https://github.com/wevm/viem/pull/56) [`3e90197`](https://github.com/wevm/viem/commit/3e90197bbac1ea571876d316a8667f4a00e84e9f) Thanks [@jxom](https://github.com/jxom)! - - **Breaking**: Renamed `humanMessage` to `shortMessage` in `BaseError`.
|
2135
2147
|
- Added `multicall`.
|
2136
2148
|
- Support overloaded contract functions.
|
2137
2149
|
|
@@ -2139,140 +2151,140 @@
|
|
2139
2151
|
|
2140
2152
|
### Patch Changes
|
2141
2153
|
|
2142
|
-
- [`5a6bdf8`](https://github.com/
|
2154
|
+
- [`5a6bdf8`](https://github.com/wevm/viem/commit/5a6bdf8ea034b7edf6b2207b525764cee43bdb4b) Thanks [@jxom](https://github.com/jxom)! - Fixed an issue where `encodeAbi` couldn't encode dynamic bytes larger than 32 bytes"
|
2143
2155
|
|
2144
2156
|
## 0.0.1-alpha.20
|
2145
2157
|
|
2146
2158
|
### Patch Changes
|
2147
2159
|
|
2148
|
-
- [`ebf1dc8`](https://github.com/
|
2160
|
+
- [`ebf1dc8`](https://github.com/wevm/viem/commit/ebf1dc8e4785fd8115687995916882caa94f7ecd) Thanks [@jxom](https://github.com/jxom)! - Added `watchEvent`
|
2149
2161
|
|
2150
|
-
- [`ebf1dc8`](https://github.com/
|
2162
|
+
- [`ebf1dc8`](https://github.com/wevm/viem/commit/ebf1dc8e4785fd8115687995916882caa94f7ecd) Thanks [@jxom](https://github.com/jxom)! - Added `watchContractEvent`
|
2151
2163
|
|
2152
|
-
- [`ae90357`](https://github.com/
|
2164
|
+
- [`ae90357`](https://github.com/wevm/viem/commit/ae9035735590b09e375dd4f773dd8b5e6c953fab) Thanks [@jxom](https://github.com/jxom)! - Made `watchBlocks` more type safe with the `includeTransactions` arg.
|
2153
2165
|
|
2154
2166
|
## 0.0.1-alpha.19
|
2155
2167
|
|
2156
2168
|
### Patch Changes
|
2157
2169
|
|
2158
|
-
- [`2028985`](https://github.com/
|
2170
|
+
- [`2028985`](https://github.com/wevm/viem/commit/202898521d4c211d73f8194c642c62a9baa57a46) Thanks [@jxom](https://github.com/jxom)! - Added `getStorageAt`
|
2159
2171
|
|
2160
2172
|
## 0.0.1-alpha.18
|
2161
2173
|
|
2162
2174
|
### Patch Changes
|
2163
2175
|
|
2164
|
-
- [`7afdee8`](https://github.com/
|
2176
|
+
- [`7afdee8`](https://github.com/wevm/viem/commit/7afdee87cda6cebeeb9446773b6373ab680f7207) Thanks [@jxom](https://github.com/jxom)! - Added `readContract`
|
2165
2177
|
|
2166
2178
|
## 0.0.1-alpha.17
|
2167
2179
|
|
2168
2180
|
### Patch Changes
|
2169
2181
|
|
2170
|
-
- [`ac69d16`](https://github.com/
|
2182
|
+
- [`ac69d16`](https://github.com/wevm/viem/commit/ac69d1675e70624919dc564f73ab91064c683a52) Thanks [@jxom](https://github.com/jxom)! - Added `writeContract`.
|
2171
2183
|
|
2172
|
-
- [`ac69d16`](https://github.com/
|
2184
|
+
- [`ac69d16`](https://github.com/wevm/viem/commit/ac69d1675e70624919dc564f73ab91064c683a52) Thanks [@jxom](https://github.com/jxom)! - **Breaking**: Replaced `callContract` with `simulateContract`.
|
2173
2185
|
|
2174
|
-
- [#44](https://github.com/
|
2186
|
+
- [#44](https://github.com/wevm/viem/pull/44) [`f908190`](https://github.com/wevm/viem/commit/f90819098e11a2415d1220a6e857c45b09450885) Thanks [@0xOlias](https://github.com/0xOlias)! - Added `getLogs` action.
|
2175
2187
|
|
2176
2188
|
## 0.0.1-alpha.16
|
2177
2189
|
|
2178
2190
|
### Patch Changes
|
2179
2191
|
|
2180
|
-
- [`9f386f5`](https://github.com/
|
2192
|
+
- [`9f386f5`](https://github.com/wevm/viem/commit/9f386f5737a228a57d1376992cd5a1374ed69262) Thanks [@jxom](https://github.com/jxom)! - Added sourcemaps
|
2181
2193
|
|
2182
2194
|
## 0.0.1-alpha.15
|
2183
2195
|
|
2184
2196
|
### Patch Changes
|
2185
2197
|
|
2186
|
-
- [`a74d643`](https://github.com/
|
2198
|
+
- [`a74d643`](https://github.com/wevm/viem/commit/a74d6438d3a1263b3b6616e0b7ec80791945c870) Thanks [@jxom](https://github.com/jxom)! - **Breaking**: Removed the `viem/actions` export in favor of `viem/public`, `viem/test` & `viem/wallet` exports.
|
2187
2199
|
|
2188
2200
|
## 0.0.1-alpha.14
|
2189
2201
|
|
2190
2202
|
### Patch Changes
|
2191
2203
|
|
2192
|
-
- [`257c8f3`](https://github.com/
|
2204
|
+
- [`257c8f3`](https://github.com/wevm/viem/commit/257c8f34c83a05da7226fd84565535ffe4dc4a6a) Thanks [@jxom](https://github.com/jxom)! - Added `getBytecode`.
|
2193
2205
|
|
2194
2206
|
## 0.0.1-alpha.13
|
2195
2207
|
|
2196
2208
|
### Patch Changes
|
2197
2209
|
|
2198
|
-
- [`8799a49`](https://github.com/
|
2210
|
+
- [`8799a49`](https://github.com/wevm/viem/commit/8799a490b8b08fb90cd6edcdc1551f6b6e96bc64) Thanks [@jxom](https://github.com/jxom)! - Added `deployContract`
|
2199
2211
|
|
2200
2212
|
## 0.0.1-alpha.12
|
2201
2213
|
|
2202
2214
|
### Patch Changes
|
2203
2215
|
|
2204
|
-
- [`6a47671`](https://github.com/
|
2216
|
+
- [`6a47671`](https://github.com/wevm/viem/commit/6a47671ce9fe01f01cb744d85ac4e12674ef5b36) Thanks [@jxom](https://github.com/jxom)! - Fixed published `package.json`.
|
2205
2217
|
|
2206
2218
|
## 0.0.1-alpha.11
|
2207
2219
|
|
2208
2220
|
### Patch Changes
|
2209
2221
|
|
2210
|
-
- [#37](https://github.com/
|
2222
|
+
- [#37](https://github.com/wevm/viem/pull/37) [`32e2b76`](https://github.com/wevm/viem/commit/32e2b7649697a8143e1e6f2c2080570fb6b1a80b) Thanks [@jxom](https://github.com/jxom)! - Support CJS
|
2211
2223
|
|
2212
|
-
- [`43700d9`](https://github.com/
|
2224
|
+
- [`43700d9`](https://github.com/wevm/viem/commit/43700d94660ee2478d867fcf4abcc0dac64f90d0) Thanks [@jxom](https://github.com/jxom)! - Fixed issue where preinstall/postinstall scripts were being published to NPM.
|
2213
2225
|
|
2214
2226
|
## 0.0.1-alpha.10
|
2215
2227
|
|
2216
2228
|
### Patch Changes
|
2217
2229
|
|
2218
|
-
- [#31](https://github.com/
|
2230
|
+
- [#31](https://github.com/wevm/viem/pull/31) [`1f65640`](https://github.com/wevm/viem/commit/1f65640caa44957f38f68971e9b56d8e9229031d) Thanks [@jxom](https://github.com/jxom)! - Added initial `callContract` implementation
|
2219
2231
|
|
2220
2232
|
## 0.0.1-alpha.9
|
2221
2233
|
|
2222
2234
|
### Patch Changes
|
2223
2235
|
|
2224
|
-
- [`976fd86`](https://github.com/
|
2236
|
+
- [`976fd86`](https://github.com/wevm/viem/commit/976fd86ed55cb1931ba619c116db2753cf72a10b) Thanks [@jxom](https://github.com/jxom)! - Added `decodeDeployData`.
|
2225
2237
|
|
2226
2238
|
## 0.0.1-alpha.8
|
2227
2239
|
|
2228
2240
|
### Patch Changes
|
2229
2241
|
|
2230
|
-
- [`9120e26`](https://github.com/
|
2242
|
+
- [`9120e26`](https://github.com/wevm/viem/commit/9120e26fabe5d70ef13be7bc6eabfc966e3c4a29) Thanks [@jxom](https://github.com/jxom)! - Added `encodeErrorResult`.
|
2231
2243
|
|
2232
2244
|
## 0.0.1-alpha.7
|
2233
2245
|
|
2234
2246
|
### Patch Changes
|
2235
2247
|
|
2236
|
-
- [`c52ce66`](https://github.com/
|
2248
|
+
- [`c52ce66`](https://github.com/wevm/viem/commit/c52ce660d62f3d44499ea13b88a883b76dd5fe08) Thanks [@jxom](https://github.com/jxom)! - Added `decodeErrorResult`.
|
2237
2249
|
|
2238
|
-
- [`497b0b1`](https://github.com/
|
2250
|
+
- [`497b0b1`](https://github.com/wevm/viem/commit/497b0b1ce4c3585092fda1b6a9fd0526a0414c4d) Thanks [@jxom](https://github.com/jxom)! - Added `encodeEventTopics`.
|
2239
2251
|
|
2240
2252
|
## 0.0.1-alpha.6
|
2241
2253
|
|
2242
2254
|
### Patch Changes
|
2243
2255
|
|
2244
|
-
- [`94b32ab`](https://github.com/
|
2256
|
+
- [`94b32ab`](https://github.com/wevm/viem/commit/94b32ab85be156bf25fd64056532edc1d4441c70) Thanks [@jxom](https://github.com/jxom)! - Added `encodeDeployData`.
|
2245
2257
|
|
2246
2258
|
## 0.0.1-alpha.5
|
2247
2259
|
|
2248
2260
|
### Patch Changes
|
2249
2261
|
|
2250
|
-
- [`ee4d256`](https://github.com/
|
2262
|
+
- [`ee4d256`](https://github.com/wevm/viem/commit/ee4d256a50e4312614501b15c6b5f9b7b3220be3) Thanks [@jxom](https://github.com/jxom)! - Added `encodeFunctionResult`.
|
2251
2263
|
|
2252
2264
|
## 0.0.1-alpha.4
|
2253
2265
|
|
2254
2266
|
### Patch Changes
|
2255
2267
|
|
2256
|
-
- [`f2e6bb1`](https://github.com/
|
2268
|
+
- [`f2e6bb1`](https://github.com/wevm/viem/commit/f2e6bb1fee06ccd51c7b3a22accd01259daece0f) Thanks [@jxom](https://github.com/jxom)! - Added `decodeFunctionResult`.
|
2257
2269
|
|
2258
2270
|
## 0.0.1-alpha.3
|
2259
2271
|
|
2260
2272
|
### Patch Changes
|
2261
2273
|
|
2262
|
-
- [`849653f`](https://github.com/
|
2274
|
+
- [`849653f`](https://github.com/wevm/viem/commit/849653f246422c75487c141e94509920563f6706) Thanks [@jxom](https://github.com/jxom)! - - **Breaking**: Renamed `encodeFunctionParams` to `encodeFunctionData`.
|
2263
2275
|
- Added `decodeFunctionData`.
|
2264
2276
|
|
2265
2277
|
## 0.0.1-alpha.2
|
2266
2278
|
|
2267
2279
|
### Patch Changes
|
2268
2280
|
|
2269
|
-
- [#18](https://github.com/
|
2281
|
+
- [#18](https://github.com/wevm/viem/pull/18) [`bb9e88a`](https://github.com/wevm/viem/commit/bb9e88a7fd1156550fe69a37d82fc67f2f63439b) Thanks [@jxom](https://github.com/jxom)! - Added `encodeFunctionParams`.
|
2270
2282
|
|
2271
2283
|
## 0.0.1-alpha.1
|
2272
2284
|
|
2273
2285
|
### Patch Changes
|
2274
2286
|
|
2275
|
-
- [`d722728`](https://github.com/
|
2287
|
+
- [`d722728`](https://github.com/wevm/viem/commit/d722728e8d54065b5f9882ec6146c194de4b3c62) Thanks [@jxom](https://github.com/jxom)! - - **Breaking**: Renamed `ethereumProvider` Transport to `custom`.
|
2276
2288
|
- **Breaking**: Refactored Transport APIs.
|
2277
2289
|
- **Breaking**: Flattened `sendTransaction`, `call` & `estimateGas` APIs.
|
2278
2290
|
- Added `encodeAbi` & `decodeAbi`.
|