viem 1.19.9 → 1.19.11
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 +425 -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/actions/public/waitForTransactionReceipt.js +8 -1
- package/_cjs/actions/public/waitForTransactionReceipt.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 +12 -2
- package/_esm/actions/public/waitForTransactionReceipt.js.map +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/waitForTransactionReceipt.d.ts.map +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 +24 -9
- 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,310 @@
|
|
1
1
|
# viem
|
2
2
|
|
3
|
+
## 1.19.11
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- [`1218e977`](https://github.com/wevm/viem/commit/1218e977e7d9fa049f67186393b57417d7c8c6a2) Thanks [@jxom](https://github.com/jxom)! - Fixed `BlockNotFoundError` issue on `waitForTransactionReceipt`.
|
8
|
+
|
9
|
+
## 1.19.10
|
10
|
+
|
11
|
+
### Patch Changes
|
12
|
+
|
13
|
+
- [#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.
|
14
|
+
|
15
|
+
- [#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.
|
16
|
+
|
17
|
+
- [#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
|
18
|
+
|
19
|
+
- [#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
|
20
|
+
|
3
21
|
## 1.19.9
|
4
22
|
|
5
23
|
### Patch Changes
|
6
24
|
|
7
|
-
- [#1533](https://github.com/
|
25
|
+
- [#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
26
|
|
9
|
-
- [#1532](https://github.com/
|
27
|
+
- [#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
28
|
|
11
29
|
## 1.19.8
|
12
30
|
|
13
31
|
### Patch Changes
|
14
32
|
|
15
|
-
- [#1529](https://github.com/
|
33
|
+
- [#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
34
|
|
17
35
|
## 1.19.7
|
18
36
|
|
19
37
|
### Patch Changes
|
20
38
|
|
21
|
-
- [#1520](https://github.com/
|
39
|
+
- [#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
40
|
|
23
|
-
- [#1519](https://github.com/
|
41
|
+
- [#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
42
|
|
25
43
|
## 1.19.6
|
26
44
|
|
27
45
|
### Patch Changes
|
28
46
|
|
29
|
-
- [#1523](https://github.com/
|
47
|
+
- [#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
48
|
|
31
49
|
## 1.19.5
|
32
50
|
|
33
51
|
### Patch Changes
|
34
52
|
|
35
|
-
- [#1499](https://github.com/
|
53
|
+
- [#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
54
|
|
37
55
|
## 1.19.4
|
38
56
|
|
39
57
|
### Patch Changes
|
40
58
|
|
41
|
-
- [#1512](https://github.com/
|
59
|
+
- [#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
60
|
|
43
|
-
- [#1518](https://github.com/
|
61
|
+
- [#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
62
|
|
45
|
-
- [#1493](https://github.com/
|
63
|
+
- [#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
64
|
|
47
|
-
- [#1468](https://github.com/
|
65
|
+
- [#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
66
|
|
49
67
|
## 1.19.3
|
50
68
|
|
51
69
|
### Patch Changes
|
52
70
|
|
53
|
-
- [#1504](https://github.com/
|
71
|
+
- [#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
72
|
|
55
73
|
## 1.19.2
|
56
74
|
|
57
75
|
### Patch Changes
|
58
76
|
|
59
|
-
- [#1491](https://github.com/
|
77
|
+
- [#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
78
|
|
61
79
|
## 1.19.1
|
62
80
|
|
63
81
|
### Patch Changes
|
64
82
|
|
65
|
-
- [#1488](https://github.com/
|
83
|
+
- [#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
84
|
|
67
85
|
## 1.19.0
|
68
86
|
|
69
87
|
### Minor Changes
|
70
88
|
|
71
|
-
- [#1485](https://github.com/
|
89
|
+
- [#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
90
|
|
73
|
-
- [#1486](https://github.com/
|
91
|
+
- [#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
92
|
|
75
|
-
- [`5bf3a3b2`](https://github.com/
|
93
|
+
- [`5bf3a3b2`](https://github.com/wevm/viem/commit/5bf3a3b2da2c2c223b913eae9aea50a0ba834efc) Thanks [@jxom](https://github.com/jxom)! - Added `presignMessagePrefix` and `zeroHash` constants.
|
76
94
|
|
77
|
-
- [#1483](https://github.com/
|
95
|
+
- [#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
96
|
|
79
97
|
### Patch Changes
|
80
98
|
|
81
|
-
- [#1470](https://github.com/
|
99
|
+
- [#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
100
|
|
83
101
|
## 1.18.9
|
84
102
|
|
85
103
|
### Patch Changes
|
86
104
|
|
87
|
-
- [#1464](https://github.com/
|
105
|
+
- [#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
106
|
|
89
107
|
## 1.18.8
|
90
108
|
|
91
109
|
### Patch Changes
|
92
110
|
|
93
|
-
- [`46213902`](https://github.com/
|
111
|
+
- [`46213902`](https://github.com/wevm/viem/commit/462139026e4e36dd98e4c1da5ff7669f7ffb98ee) Thanks [@jxom](https://github.com/jxom)! - Fixed issue where `chain.nativeCurrency` could be undefined.
|
94
112
|
|
95
113
|
## 1.18.7
|
96
114
|
|
97
115
|
### Patch Changes
|
98
116
|
|
99
|
-
- [`95991301`](https://github.com/
|
117
|
+
- [`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
118
|
|
101
|
-
- [#1453](https://github.com/
|
119
|
+
- [#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
120
|
|
103
121
|
## 1.18.6
|
104
122
|
|
105
123
|
### Patch Changes
|
106
124
|
|
107
|
-
- [#1448](https://github.com/
|
125
|
+
- [#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
126
|
|
109
|
-
- [#1434](https://github.com/
|
127
|
+
- [#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
128
|
|
111
129
|
## 1.18.5
|
112
130
|
|
113
131
|
### Patch Changes
|
114
132
|
|
115
|
-
- [#1438](https://github.com/
|
133
|
+
- [#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
134
|
|
117
135
|
## 1.18.4
|
118
136
|
|
119
137
|
### Patch Changes
|
120
138
|
|
121
|
-
- [#1423](https://github.com/
|
139
|
+
- [#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
140
|
|
123
|
-
- [#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 Astar chain
|
124
142
|
|
125
|
-
- [#1435](https://github.com/
|
143
|
+
- [#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
144
|
|
127
|
-
- [#1432](https://github.com/
|
145
|
+
- [#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
146
|
|
129
|
-
- [#1423](https://github.com/
|
147
|
+
- [#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
148
|
|
131
|
-
- [#1423](https://github.com/
|
149
|
+
- [#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
150
|
|
133
|
-
- [#1423](https://github.com/
|
151
|
+
- [#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
152
|
|
135
153
|
## 1.18.3
|
136
154
|
|
137
155
|
### Patch Changes
|
138
156
|
|
139
|
-
- [#1424](https://github.com/
|
157
|
+
- [#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
158
|
|
141
|
-
- [#1431](https://github.com/
|
159
|
+
- [#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
160
|
|
143
|
-
- [#1426](https://github.com/
|
161
|
+
- [#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
162
|
|
145
163
|
## 1.18.2
|
146
164
|
|
147
165
|
### Patch Changes
|
148
166
|
|
149
|
-
- [#1417](https://github.com/
|
167
|
+
- [#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
168
|
|
151
|
-
- [#1415](https://github.com/
|
169
|
+
- [#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
170
|
|
153
171
|
## 1.18.1
|
154
172
|
|
155
173
|
### Patch Changes
|
156
174
|
|
157
|
-
- [#1409](https://github.com/
|
175
|
+
- [#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
176
|
|
159
177
|
## 1.18.0
|
160
178
|
|
161
179
|
### Minor Changes
|
162
180
|
|
163
|
-
- [#1402](https://github.com/
|
181
|
+
- [#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
182
|
|
165
|
-
- [#1388](https://github.com/
|
183
|
+
- [#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
184
|
|
167
|
-
- [#1379](https://github.com/
|
185
|
+
- [#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
186
|
|
169
|
-
- [#1361](https://github.com/
|
187
|
+
- [#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
188
|
|
171
189
|
## 1.17.2
|
172
190
|
|
173
191
|
### Patch Changes
|
174
192
|
|
175
|
-
- [#1399](https://github.com/
|
193
|
+
- [#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
194
|
|
177
|
-
- [#1395](https://github.com/
|
195
|
+
- [#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
196
|
|
179
197
|
## 1.17.1
|
180
198
|
|
181
199
|
### Patch Changes
|
182
200
|
|
183
|
-
- [#1391](https://github.com/
|
201
|
+
- [#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
202
|
|
185
|
-
- [#1386](https://github.com/
|
203
|
+
- [#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
204
|
|
187
205
|
## 1.17.0
|
188
206
|
|
189
207
|
### Minor Changes
|
190
208
|
|
191
|
-
- [#1382](https://github.com/
|
209
|
+
- [#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
210
|
|
193
211
|
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
212
|
|
195
213
|
### Patch Changes
|
196
214
|
|
197
|
-
- [#1377](https://github.com/
|
215
|
+
- [#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
216
|
|
199
217
|
## 1.16.6
|
200
218
|
|
201
219
|
### Patch Changes
|
202
220
|
|
203
|
-
- [#1356](https://github.com/
|
221
|
+
- [#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
222
|
|
205
|
-
- [`36ec87da`](https://github.com/
|
223
|
+
- [`36ec87da`](https://github.com/wevm/viem/commit/36ec87da7f614f5c6ca9e632eb27f8d8d1bbfcdf) Thanks [@jxom](https://github.com/jxom)! - Modified `getAddresses` to be compatible with Local Accounts.
|
206
224
|
|
207
225
|
## 1.16.5
|
208
226
|
|
209
227
|
### Patch Changes
|
210
228
|
|
211
|
-
- [#1347](https://github.com/
|
229
|
+
- [#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
230
|
|
213
|
-
- [#1339](https://github.com/
|
231
|
+
- [#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
232
|
|
215
|
-
- [`b6aace90`](https://github.com/
|
233
|
+
- [`b6aace90`](https://github.com/wevm/viem/commit/b6aace909c8f27c49a393813e2569b98a72083ca) Thanks [@jxom](https://github.com/jxom)! - Fixed `chainId` assignment in `signTransaction` action.
|
216
234
|
|
217
235
|
## 1.16.4
|
218
236
|
|
219
237
|
### Patch Changes
|
220
238
|
|
221
|
-
- [#1334](https://github.com/
|
239
|
+
- [#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
240
|
|
223
241
|
## 1.16.3
|
224
242
|
|
225
243
|
### Patch Changes
|
226
244
|
|
227
|
-
- [`1e13ae83`](https://github.com/
|
245
|
+
- [`1e13ae83`](https://github.com/wevm/viem/commit/1e13ae83194da4ca6d829dfd63dd84b11719f497) Thanks [@jxom](https://github.com/jxom)! - Updated holesky RPC URLs.
|
228
246
|
|
229
|
-
- [#1330](https://github.com/
|
247
|
+
- [#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
248
|
|
231
249
|
## 1.16.2
|
232
250
|
|
233
251
|
### Patch Changes
|
234
252
|
|
235
|
-
- [#1325](https://github.com/
|
253
|
+
- [#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
254
|
|
237
|
-
- [`c445acee`](https://github.com/
|
255
|
+
- [`c445acee`](https://github.com/wevm/viem/commit/c445acee5a3e3a4121521b7e289a9afd882b7400) Thanks [@jxom](https://github.com/jxom)! - Added `fetchOptions` to `http` transport return value.
|
238
256
|
|
239
257
|
## 1.16.1
|
240
258
|
|
241
259
|
### Patch Changes
|
242
260
|
|
243
|
-
- [`fda328d2`](https://github.com/
|
261
|
+
- [`fda328d2`](https://github.com/wevm/viem/commit/fda328d26b86f5e2a2d56c898db12eea4e0e1e94) Thanks [@jxom](https://github.com/jxom)! - Updated `isows`.
|
244
262
|
|
245
263
|
## 1.16.0
|
246
264
|
|
247
265
|
### Minor Changes
|
248
266
|
|
249
|
-
- [#1316](https://github.com/
|
267
|
+
- [#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
268
|
|
251
|
-
- [`d27e9943`](https://github.com/
|
269
|
+
- [`d27e9943`](https://github.com/wevm/viem/commit/d27e994361180579fc8e6328ade3dbaf26963803) Thanks [@jxom](https://github.com/jxom)! - Added `withdrawals` & `withdrawalsRoot` to `Block` type.
|
252
270
|
|
253
271
|
## 1.15.5
|
254
272
|
|
255
273
|
### Patch Changes
|
256
274
|
|
257
|
-
- [#1312](https://github.com/
|
275
|
+
- [#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
276
|
|
259
277
|
## 1.15.4
|
260
278
|
|
261
279
|
### Patch Changes
|
262
280
|
|
263
|
-
- [#1297](https://github.com/
|
281
|
+
- [#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
282
|
|
265
|
-
- [#1295](https://github.com/
|
283
|
+
- [#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
284
|
|
267
285
|
## 1.15.3
|
268
286
|
|
269
287
|
### Patch Changes
|
270
288
|
|
271
|
-
- [`1b159096`](https://github.com/
|
289
|
+
- [`1b159096`](https://github.com/wevm/viem/commit/1b159096e9727d626410feb58fa6f95a29ba1e9f) Thanks [@jxom](https://github.com/jxom)! - Added ignore glob for snapshots.
|
272
290
|
|
273
291
|
## 1.15.2
|
274
292
|
|
275
293
|
### Patch Changes
|
276
294
|
|
277
|
-
- [`fddaf719`](https://github.com/
|
295
|
+
- [`fddaf719`](https://github.com/wevm/viem/commit/fddaf719ac320b8e025693ee9a06815639f95034) Thanks [@jxom](https://github.com/jxom)! - Fixed `getContract` types.
|
278
296
|
|
279
297
|
## 1.15.1
|
280
298
|
|
281
299
|
### Patch Changes
|
282
300
|
|
283
|
-
- [`a9f07e80`](https://github.com/
|
301
|
+
- [`a9f07e80`](https://github.com/wevm/viem/commit/a9f07e80cacb76433c8ece683f8177a138ef1810) Thanks [@jxom](https://github.com/jxom)! - Removed `type` from `package.json`.
|
284
302
|
|
285
303
|
## 1.15.0
|
286
304
|
|
287
305
|
### Minor Changes
|
288
306
|
|
289
|
-
- [#1260](https://github.com/
|
307
|
+
- [#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
308
|
- `compactSignatureToHex`,
|
291
309
|
- `compactSignatureToSignature`,
|
292
310
|
- `hexToCompactSignature`,
|
@@ -294,173 +312,173 @@
|
|
294
312
|
|
295
313
|
### Patch Changes
|
296
314
|
|
297
|
-
- [#1273](https://github.com/
|
315
|
+
- [#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
316
|
|
299
|
-
- [#1277](https://github.com/
|
317
|
+
- [#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
318
|
|
301
|
-
- [#1278](https://github.com/
|
319
|
+
- [#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
320
|
|
303
321
|
## 1.14.0
|
304
322
|
|
305
323
|
### Minor Changes
|
306
324
|
|
307
|
-
- [#1263](https://github.com/
|
325
|
+
- [#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
326
|
|
309
327
|
### Patch Changes
|
310
328
|
|
311
|
-
- [`52c4c001`](https://github.com/
|
329
|
+
- [`52c4c001`](https://github.com/wevm/viem/commit/52c4c0016a702bdacfb7de69c3f01d62de9af4db) Thanks [@jxom](https://github.com/jxom)! - Fixed typo in `hexToBigInt` export.
|
312
330
|
|
313
331
|
## 1.13.2
|
314
332
|
|
315
333
|
### Patch Changes
|
316
334
|
|
317
|
-
- [#1265](https://github.com/
|
335
|
+
- [#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
336
|
|
319
337
|
## 1.13.1
|
320
338
|
|
321
339
|
### Patch Changes
|
322
340
|
|
323
|
-
- [`61ef4d22`](https://github.com/
|
341
|
+
- [`61ef4d22`](https://github.com/wevm/viem/commit/61ef4d224c860e99f3ac82adb8e4c767a77b6dc0) Thanks [@jxom](https://github.com/jxom)! - Fixed `interval` parameter for Hardhat.
|
324
342
|
|
325
343
|
## 1.13.0
|
326
344
|
|
327
345
|
### Minor Changes
|
328
346
|
|
329
|
-
- [#1249](https://github.com/
|
347
|
+
- [#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
348
|
|
331
|
-
- [#1215](https://github.com/
|
349
|
+
- [#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
350
|
|
333
351
|
### Patch Changes
|
334
352
|
|
335
|
-
- [#1255](https://github.com/
|
353
|
+
- [#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
354
|
|
337
355
|
## 1.12.2
|
338
356
|
|
339
357
|
### Patch Changes
|
340
358
|
|
341
|
-
- [#1244](https://github.com/
|
359
|
+
- [#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
360
|
|
343
361
|
## 1.12.1
|
344
362
|
|
345
363
|
### Patch Changes
|
346
364
|
|
347
|
-
- [#1242](https://github.com/
|
365
|
+
- [#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
366
|
|
349
367
|
## 1.12.0
|
350
368
|
|
351
369
|
### Minor Changes
|
352
370
|
|
353
|
-
- [#1235](https://github.com/
|
371
|
+
- [#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
372
|
|
355
373
|
## 1.11.1
|
356
374
|
|
357
375
|
### Patch Changes
|
358
376
|
|
359
|
-
- [#1234](https://github.com/
|
377
|
+
- [#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
378
|
|
361
379
|
## 1.11.0
|
362
380
|
|
363
381
|
### Minor Changes
|
364
382
|
|
365
|
-
- [#1162](https://github.com/
|
383
|
+
- [#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
384
|
|
367
385
|
### Patch Changes
|
368
386
|
|
369
|
-
- [#1221](https://github.com/
|
387
|
+
- [#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
388
|
|
371
389
|
## 1.10.14
|
372
390
|
|
373
391
|
### Patch Changes
|
374
392
|
|
375
|
-
- [#1208](https://github.com/
|
393
|
+
- [#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
394
|
|
377
395
|
## 1.10.13
|
378
396
|
|
379
397
|
### Patch Changes
|
380
398
|
|
381
|
-
- [`f0708c13`](https://github.com/
|
399
|
+
- [`f0708c13`](https://github.com/wevm/viem/commit/f0708c13b231678fb0abb56b23f8247baa9e3235) Thanks [@jxom](https://github.com/jxom)! - Migrated back to `isomorphic-ws`.
|
382
400
|
|
383
|
-
- [#1204](https://github.com/
|
401
|
+
- [#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
402
|
|
385
403
|
## 1.10.12
|
386
404
|
|
387
405
|
### Patch Changes
|
388
406
|
|
389
|
-
- [`165229e9`](https://github.com/
|
407
|
+
- [`165229e9`](https://github.com/wevm/viem/commit/165229e96a3fa0969adb2a2f171de968a3b4f393) Thanks [@jxom](https://github.com/jxom)! - Fixed `viem/window` entrypoint.
|
390
408
|
|
391
409
|
## 1.10.11
|
392
410
|
|
393
411
|
### Patch Changes
|
394
412
|
|
395
|
-
- [#1197](https://github.com/
|
413
|
+
- [#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
414
|
|
397
415
|
## 1.10.10
|
398
416
|
|
399
417
|
### Patch Changes
|
400
418
|
|
401
|
-
- [`fa2d8794`](https://github.com/
|
419
|
+
- [`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
420
|
|
403
|
-
- [#1194](https://github.com/
|
421
|
+
- [#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
422
|
|
405
423
|
## 1.10.9
|
406
424
|
|
407
425
|
### Patch Changes
|
408
426
|
|
409
|
-
- [#1182](https://github.com/
|
427
|
+
- [#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
428
|
|
411
|
-
- [#1175](https://github.com/
|
429
|
+
- [#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
430
|
|
413
431
|
## 1.10.8
|
414
432
|
|
415
433
|
### Patch Changes
|
416
434
|
|
417
|
-
- [#1177](https://github.com/
|
435
|
+
- [#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
436
|
|
419
437
|
## 1.10.7
|
420
438
|
|
421
439
|
### Patch Changes
|
422
440
|
|
423
|
-
- [#1169](https://github.com/
|
441
|
+
- [#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
442
|
|
425
|
-
- [#1170](https://github.com/
|
443
|
+
- [#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
444
|
|
427
445
|
## 1.10.6
|
428
446
|
|
429
447
|
### Patch Changes
|
430
448
|
|
431
|
-
- [#1166](https://github.com/
|
449
|
+
- [#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
450
|
|
433
451
|
## 1.10.5
|
434
452
|
|
435
453
|
### Patch Changes
|
436
454
|
|
437
|
-
- [`8fe2467b`](https://github.com/
|
455
|
+
- [`8fe2467b`](https://github.com/wevm/viem/commit/8fe2467be17d09fb15a3eccc29f3155887d821af) Thanks [@jxom](https://github.com/jxom)! - Added `estimateFeesPerGas` and `estimateMaxPriorityFeePerGas` exports to `viem/actions`.
|
438
456
|
|
439
457
|
## 1.10.4
|
440
458
|
|
441
459
|
### Patch Changes
|
442
460
|
|
443
|
-
- [#1153](https://github.com/
|
461
|
+
- [#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
462
|
|
445
463
|
## 1.10.3
|
446
464
|
|
447
465
|
### Patch Changes
|
448
466
|
|
449
|
-
- [#1147](https://github.com/
|
467
|
+
- [#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
468
|
|
451
469
|
## 1.10.2
|
452
470
|
|
453
471
|
### Patch Changes
|
454
472
|
|
455
|
-
- [#1145](https://github.com/
|
473
|
+
- [#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
474
|
|
457
|
-
- [#1146](https://github.com/
|
475
|
+
- [#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
476
|
|
459
477
|
## 1.10.1
|
460
478
|
|
461
479
|
### Patch Changes
|
462
480
|
|
463
|
-
- [`bf2f7ee1`](https://github.com/
|
481
|
+
- [`bf2f7ee1`](https://github.com/wevm/viem/commit/bf2f7ee124af5eb43f0541200e88bd4302680912) Thanks [@jxom](https://github.com/jxom)! - Updated dependencies:
|
464
482
|
|
465
483
|
- `@adraffy/ens-normalize`
|
466
484
|
- `@noble/curves`
|
@@ -475,147 +493,147 @@
|
|
475
493
|
|
476
494
|
### Minor Changes
|
477
495
|
|
478
|
-
- [#1110](https://github.com/
|
496
|
+
- [#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
497
|
|
480
|
-
- [#1136](https://github.com/
|
498
|
+
- [#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
499
|
|
482
|
-
- [#1120](https://github.com/
|
500
|
+
- [#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
501
|
|
484
|
-
- [#1108](https://github.com/
|
502
|
+
- [#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
503
|
|
486
|
-
- [#1128](https://github.com/
|
504
|
+
- [#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
505
|
|
488
|
-
- [#1117](https://github.com/
|
506
|
+
- [#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
507
|
|
490
508
|
### Patch Changes
|
491
509
|
|
492
|
-
- [#1137](https://github.com/
|
510
|
+
- [#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
511
|
|
494
|
-
- [`8605c1f1`](https://github.com/
|
512
|
+
- [`8605c1f1`](https://github.com/wevm/viem/commit/8605c1f1d048a2d924bd8b83a42b8ce5b0e65900) Thanks [@jxom](https://github.com/jxom)! - Handle `-32603` RPC error codes when deriving a `ContractFunctionRevertedError`.
|
495
513
|
|
496
|
-
- [#1109](https://github.com/
|
514
|
+
- [#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
515
|
|
498
|
-
- [#1112](https://github.com/
|
516
|
+
- [#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
517
|
|
500
|
-
- [#1139](https://github.com/
|
518
|
+
- [#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
519
|
|
502
|
-
- [#1138](https://github.com/
|
520
|
+
- [#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
521
|
|
504
|
-
- [#1048](https://github.com/
|
522
|
+
- [#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
523
|
|
506
524
|
## 1.9.5
|
507
525
|
|
508
526
|
### Patch Changes
|
509
527
|
|
510
|
-
- [#1105](https://github.com/
|
528
|
+
- [#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
529
|
|
512
|
-
- [#1102](https://github.com/
|
530
|
+
- [#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
531
|
|
514
532
|
## 1.9.4
|
515
533
|
|
516
534
|
### Patch Changes
|
517
535
|
|
518
|
-
- [#1098](https://github.com/
|
536
|
+
- [#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
537
|
|
520
538
|
## 1.9.3
|
521
539
|
|
522
540
|
### Patch Changes
|
523
541
|
|
524
|
-
- [#1087](https://github.com/
|
542
|
+
- [#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
543
|
|
526
544
|
## 1.9.2
|
527
545
|
|
528
546
|
### Patch Changes
|
529
547
|
|
530
|
-
- [`0b0167ef`](https://github.com/
|
548
|
+
- [`0b0167ef`](https://github.com/wevm/viem/commit/0b0167ef7ecdd11d59310d04cde3a074dcf5abcd) Thanks [@jxom](https://github.com/jxom)! - Fixed `PrepareTransactionRequestReturnType` type.
|
531
549
|
|
532
550
|
## 1.9.1
|
533
551
|
|
534
552
|
### Patch Changes
|
535
553
|
|
536
|
-
- [#1081](https://github.com/
|
554
|
+
- [#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
555
|
|
538
556
|
## 1.9.0
|
539
557
|
|
540
558
|
### Minor Changes
|
541
559
|
|
542
|
-
- [`e14eeb3b`](https://github.com/
|
560
|
+
- [`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
561
|
|
544
562
|
## 1.8.1
|
545
563
|
|
546
564
|
### Patch Changes
|
547
565
|
|
548
|
-
- [#1072](https://github.com/
|
566
|
+
- [#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
567
|
|
550
568
|
## 1.8.0
|
551
569
|
|
552
570
|
### Minor Changes
|
553
571
|
|
554
|
-
- [#1058](https://github.com/
|
572
|
+
- [#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
573
|
|
556
574
|
## 1.7.1
|
557
575
|
|
558
576
|
### Patch Changes
|
559
577
|
|
560
|
-
- [`da45ec2d`](https://github.com/
|
578
|
+
- [`da45ec2d`](https://github.com/wevm/viem/commit/da45ec2d519ccabef5eef0c4bc8efae05c12bcb3) Thanks [@jxom](https://github.com/jxom)! - Deduped block retrieval in `estimateMaxPriorityFeePerGas`.
|
561
579
|
|
562
580
|
## 1.7.0
|
563
581
|
|
564
582
|
### Minor Changes
|
565
583
|
|
566
|
-
- [#1044](https://github.com/
|
584
|
+
- [#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
585
|
|
568
|
-
- [#1044](https://github.com/
|
586
|
+
- [#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
587
|
|
570
588
|
## 1.6.6
|
571
589
|
|
572
590
|
### Patch Changes
|
573
591
|
|
574
|
-
- [#1035](https://github.com/
|
592
|
+
- [#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
593
|
|
576
594
|
## 1.6.5
|
577
595
|
|
578
596
|
### Patch Changes
|
579
597
|
|
580
|
-
- [#1041](https://github.com/
|
598
|
+
- [#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
599
|
|
582
600
|
## 1.6.4
|
583
601
|
|
584
602
|
### Patch Changes
|
585
603
|
|
586
|
-
- [#1040](https://github.com/
|
604
|
+
- [#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
605
|
|
588
|
-
- [#1022](https://github.com/
|
606
|
+
- [#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
607
|
|
590
608
|
## 1.6.3
|
591
609
|
|
592
610
|
### Patch Changes
|
593
611
|
|
594
|
-
- [#1013](https://github.com/
|
612
|
+
- [#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
613
|
|
596
|
-
- [#1033](https://github.com/
|
614
|
+
- [#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
615
|
|
598
616
|
## 1.6.2
|
599
617
|
|
600
618
|
### Patch Changes
|
601
619
|
|
602
|
-
- [#1028](https://github.com/
|
620
|
+
- [#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
621
|
|
604
|
-
- [`1a30f344`](https://github.com/
|
622
|
+
- [`1a30f344`](https://github.com/wevm/viem/commit/1a30f344fe061a5d6b8314d8ee9b17856bc711e4) Thanks [@jxom](https://github.com/jxom)! - Fixed number constants.
|
605
623
|
|
606
624
|
## 1.6.1
|
607
625
|
|
608
626
|
### Patch Changes
|
609
627
|
|
610
|
-
- [#1011](https://github.com/
|
628
|
+
- [#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
629
|
|
612
630
|
## 1.6.0
|
613
631
|
|
614
632
|
### Minor Changes
|
615
633
|
|
616
|
-
- [#984](https://github.com/
|
634
|
+
- [#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
635
|
|
618
|
-
- [#1006](https://github.com/
|
636
|
+
- [#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
637
|
|
620
638
|
```ts
|
621
639
|
import type { Chain } from 'viem'
|
@@ -633,9 +651,9 @@
|
|
633
651
|
} as const satifies Chain
|
634
652
|
```
|
635
653
|
|
636
|
-
- [#886](https://github.com/
|
654
|
+
- [#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
655
|
|
638
|
-
- [#886](https://github.com/
|
656
|
+
- [#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
657
|
|
640
658
|
Examples:
|
641
659
|
|
@@ -651,43 +669,43 @@
|
|
651
669
|
|
652
670
|
### Patch Changes
|
653
671
|
|
654
|
-
- [`99332168`](https://github.com/
|
672
|
+
- [`99332168`](https://github.com/wevm/viem/commit/993321689b3e2220976504e7e170fe47731297ce) Thanks [@jxom](https://github.com/jxom)! - Updated `@noble/curves`
|
655
673
|
|
656
|
-
- [#1008](https://github.com/
|
674
|
+
- [#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
675
|
|
658
676
|
## 1.5.4
|
659
677
|
|
660
678
|
### Patch Changes
|
661
679
|
|
662
|
-
- [#1000](https://github.com/
|
680
|
+
- [#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
681
|
|
664
|
-
- [#999](https://github.com/
|
682
|
+
- [#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
683
|
|
666
684
|
## 1.5.3
|
667
685
|
|
668
686
|
### Patch Changes
|
669
687
|
|
670
|
-
- [`ae4ab844`](https://github.com/
|
688
|
+
- [`ae4ab844`](https://github.com/wevm/viem/commit/ae4ab8442fcdaa073a98a71599762a1cb54c3cf0) Thanks [@jxom](https://github.com/jxom)! - Fixed performance bottleneck in ABI encoding for dynamic bytes.
|
671
689
|
|
672
690
|
## 1.5.2
|
673
691
|
|
674
692
|
### Patch Changes
|
675
693
|
|
676
|
-
- [#974](https://github.com/
|
694
|
+
- [#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
695
|
|
678
696
|
## 1.5.1
|
679
697
|
|
680
698
|
### Patch Changes
|
681
699
|
|
682
|
-
- [#954](https://github.com/
|
700
|
+
- [#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
701
|
|
684
|
-
- [#967](https://github.com/
|
702
|
+
- [#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
703
|
|
686
704
|
## 1.5.0
|
687
705
|
|
688
706
|
### Minor Changes
|
689
707
|
|
690
|
-
- [#847](https://github.com/
|
708
|
+
- [#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
709
|
|
692
710
|
- 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
711
|
- 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 +749,7 @@
|
|
731
749
|
// ^? null
|
732
750
|
```
|
733
751
|
|
734
|
-
- [#847](https://github.com/
|
752
|
+
- [#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
753
|
|
736
754
|
```diff
|
737
755
|
type Log<
|
@@ -747,11 +765,11 @@
|
|
747
765
|
>
|
748
766
|
```
|
749
767
|
|
750
|
-
- [#958](https://github.com/
|
768
|
+
- [#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
769
|
|
752
|
-
- [`28a82125`](https://github.com/
|
770
|
+
- [`28a82125`](https://github.com/wevm/viem/commit/28a82125f2678ed6ceb3bfaab065bfb9ffc8a367) Thanks [@jxom](https://github.com/jxom)! - Exported number constants (ie. `maxInt128`, `maxUint256`, etc).
|
753
771
|
|
754
|
-
- [#951](https://github.com/
|
772
|
+
- [#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
773
|
|
756
774
|
- `createEventFilter`
|
757
775
|
- `getLogs`
|
@@ -771,9 +789,9 @@
|
|
771
789
|
});
|
772
790
|
```
|
773
791
|
|
774
|
-
- [#957](https://github.com/
|
792
|
+
- [#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
793
|
|
776
|
-
- [#847](https://github.com/
|
794
|
+
- [#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
795
|
|
778
796
|
```diff
|
779
797
|
type Block<
|
@@ -792,40 +810,40 @@
|
|
792
810
|
|
793
811
|
### Patch Changes
|
794
812
|
|
795
|
-
- [#941](https://github.com/
|
813
|
+
- [#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
814
|
|
797
|
-
- [#942](https://github.com/
|
815
|
+
- [#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
816
|
Added `WatchContractEventOnLogParameter` & `WatchContractEventOnLogFn` types.
|
799
817
|
|
800
818
|
## 1.4.1
|
801
819
|
|
802
820
|
### Patch Changes
|
803
821
|
|
804
|
-
- [`789592dc`](https://github.com/
|
822
|
+
- [`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
823
|
|
806
|
-
- [#922](https://github.com/
|
824
|
+
- [#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
825
|
|
808
826
|
## 1.4.0
|
809
827
|
|
810
828
|
### Minor Changes
|
811
829
|
|
812
|
-
- [#908](https://github.com/
|
830
|
+
- [#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
831
|
|
814
832
|
### Patch Changes
|
815
833
|
|
816
|
-
- [#878](https://github.com/
|
834
|
+
- [#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
835
|
|
818
836
|
## 1.3.1
|
819
837
|
|
820
838
|
### Patch Changes
|
821
839
|
|
822
|
-
- [#907](https://github.com/
|
840
|
+
- [#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
841
|
|
824
842
|
## 1.3.0
|
825
843
|
|
826
844
|
### Minor Changes
|
827
845
|
|
828
|
-
- [`30a88482`](https://github.com/
|
846
|
+
- [`30a88482`](https://github.com/wevm/viem/commit/30a88482d541a346990eac9630b7fa1f1550c90a) Thanks [@jxom](https://github.com/jxom)! - Added chains:
|
829
847
|
- `base`
|
830
848
|
- `mev`
|
831
849
|
- `mevTestnet`
|
@@ -834,213 +852,213 @@
|
|
834
852
|
|
835
853
|
### Patch Changes
|
836
854
|
|
837
|
-
- [#885](https://github.com/
|
855
|
+
- [#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
856
|
|
839
857
|
## 1.2.14
|
840
858
|
|
841
859
|
### Patch Changes
|
842
860
|
|
843
|
-
- [#883](https://github.com/
|
861
|
+
- [#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
862
|
|
845
863
|
## 1.2.13
|
846
864
|
|
847
865
|
### Patch Changes
|
848
866
|
|
849
|
-
- [#874](https://github.com/
|
867
|
+
- [#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
868
|
|
851
869
|
## 1.2.12
|
852
870
|
|
853
871
|
### Patch Changes
|
854
872
|
|
855
|
-
- [#864](https://github.com/
|
873
|
+
- [#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
874
|
|
857
875
|
## 1.2.11
|
858
876
|
|
859
877
|
### Minor Changes
|
860
878
|
|
861
|
-
- [#857](https://github.com/
|
879
|
+
- [#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
880
|
|
863
881
|
## 1.2.10
|
864
882
|
|
865
883
|
### Patch Changes
|
866
884
|
|
867
|
-
- [#853](https://github.com/
|
885
|
+
- [#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
886
|
|
869
887
|
## 1.2.9
|
870
888
|
|
871
889
|
### Patch Changes
|
872
890
|
|
873
|
-
- [`d24e5bc4`](https://github.com/
|
891
|
+
- [`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
892
|
|
875
893
|
## 1.2.8
|
876
894
|
|
877
895
|
### Patch Changes
|
878
896
|
|
879
|
-
- [#755](https://github.com/
|
897
|
+
- [#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
898
|
|
881
|
-
- [#822](https://github.com/
|
899
|
+
- [#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
900
|
|
883
901
|
## 1.2.7
|
884
902
|
|
885
903
|
### Patch Changes
|
886
904
|
|
887
|
-
- [#825](https://github.com/
|
905
|
+
- [#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
906
|
|
889
|
-
- [#824](https://github.com/
|
907
|
+
- [#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
908
|
|
891
909
|
## 1.2.6
|
892
910
|
|
893
911
|
### Patch Changes
|
894
912
|
|
895
|
-
- [#808](https://github.com/
|
913
|
+
- [#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
914
|
|
897
|
-
- [#808](https://github.com/
|
915
|
+
- [#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
916
|
|
899
917
|
## 1.2.5
|
900
918
|
|
901
919
|
### Patch Changes
|
902
920
|
|
903
|
-
- [`81282fc1`](https://github.com/
|
921
|
+
- [`81282fc1`](https://github.com/wevm/viem/commit/81282fc1d9cd4187e2caed051f221b2d4e57ec3a) Thanks [@jxom](https://github.com/jxom)! - Exported `signatureToHex`.
|
904
922
|
|
905
923
|
## 1.2.4
|
906
924
|
|
907
925
|
### Patch Changes
|
908
926
|
|
909
|
-
- [`11c844a1`](https://github.com/
|
927
|
+
- [`11c844a1`](https://github.com/wevm/viem/commit/11c844a1804270bfafa903061d1f98605067203d) Thanks [@jxom](https://github.com/jxom)! - Exported `sign` in `viem/accounts`.
|
910
928
|
|
911
929
|
## 1.2.3
|
912
930
|
|
913
931
|
### Patch Changes
|
914
932
|
|
915
|
-
- [#802](https://github.com/
|
933
|
+
- [#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
934
|
|
917
935
|
## 1.2.2
|
918
936
|
|
919
937
|
### Patch Changes
|
920
938
|
|
921
|
-
- [`5a8f59d5`](https://github.com/
|
939
|
+
- [`5a8f59d5`](https://github.com/wevm/viem/commit/5a8f59d5e1d9df27c6897637346dbfe0bfcb2e62) Thanks [@tmm](https://github.com/tmm)! - Exported type
|
922
940
|
|
923
941
|
## 1.2.1
|
924
942
|
|
925
943
|
### Patch Changes
|
926
944
|
|
927
|
-
- [`96cb7534`](https://github.com/
|
945
|
+
- [`96cb7534`](https://github.com/wevm/viem/commit/96cb7534c1be9ab635e70ad463551a29b7f2c553) Thanks [@jxom](https://github.com/jxom)! - Fixed multicall with ABI overrides.
|
928
946
|
|
929
947
|
## 1.2.0
|
930
948
|
|
931
949
|
### Minor Changes
|
932
950
|
|
933
|
-
- [#791](https://github.com/
|
951
|
+
- [#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
952
|
|
935
953
|
## 1.1.8
|
936
954
|
|
937
955
|
### Patch Changes
|
938
956
|
|
939
|
-
- [#783](https://github.com/
|
957
|
+
- [#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
958
|
|
941
959
|
## 1.1.7
|
942
960
|
|
943
961
|
### Patch Changes
|
944
962
|
|
945
|
-
- [`d0b4619e`](https://github.com/
|
963
|
+
- [`d0b4619e`](https://github.com/wevm/viem/commit/d0b4619e55ee697c9b8e03e9818b93c6a25b3ba2) Thanks [@jxom](https://github.com/jxom)! - Exported `decodeDeployData`.
|
946
964
|
|
947
965
|
## 1.1.6
|
948
966
|
|
949
967
|
### Patch Changes
|
950
968
|
|
951
|
-
- [`ec58ed1b`](https://github.com/
|
969
|
+
- [`ec58ed1b`](https://github.com/wevm/viem/commit/ec58ed1b8be60973817ff401f1bf340fda854208) Thanks [@jxom](https://github.com/jxom)! - Fixed type narrowing on EIP1474 schemas
|
952
970
|
|
953
971
|
## 1.1.5
|
954
972
|
|
955
973
|
### Patch Changes
|
956
974
|
|
957
|
-
- [`c4e996b8`](https://github.com/
|
975
|
+
- [`c4e996b8`](https://github.com/wevm/viem/commit/c4e996b85404f4083e58c51ea98ac556d8ecd436) Thanks [@jxom](https://github.com/jxom)! - Fixed errorneous type defition being generated by `tsc`.
|
958
976
|
|
959
977
|
## 1.1.4
|
960
978
|
|
961
979
|
### Patch Changes
|
962
980
|
|
963
|
-
- [`75745a60`](https://github.com/
|
981
|
+
- [`75745a60`](https://github.com/wevm/viem/commit/75745a60fc83a13c3bec20ff04829b82d0852c07) Thanks [@jxom](https://github.com/jxom)! - Lax `parseUnits` value parameter.
|
964
982
|
|
965
983
|
## 1.1.3
|
966
984
|
|
967
985
|
### Patch Changes
|
968
986
|
|
969
|
-
- [#758](https://github.com/
|
987
|
+
- [#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
988
|
|
971
989
|
## 1.1.2
|
972
990
|
|
973
991
|
### Patch Changes
|
974
992
|
|
975
|
-
- [`c974c25f`](https://github.com/
|
993
|
+
- [`c974c25f`](https://github.com/wevm/viem/commit/c974c25ff28f9eec5bf5d4030146db2b215614d5) Thanks [@jxom](https://github.com/jxom)! - Added `zora` as a supported chain.
|
976
994
|
|
977
995
|
## 1.1.1
|
978
996
|
|
979
997
|
### Patch Changes
|
980
998
|
|
981
|
-
- [`5dd98d3e`](https://github.com/
|
999
|
+
- [`5dd98d3e`](https://github.com/wevm/viem/commit/5dd98d3e57e993a7cae27030c8c10944cf5e204b) Thanks [@jxom](https://github.com/jxom)! - Exported `formatLog`
|
982
1000
|
|
983
1001
|
## 1.1.0
|
984
1002
|
|
985
1003
|
### Minor Changes
|
986
1004
|
|
987
|
-
- [#691](https://github.com/
|
1005
|
+
- [#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
1006
|
|
989
|
-
- [#740](https://github.com/
|
1007
|
+
- [#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
1008
|
|
991
1009
|
### Patch Changes
|
992
1010
|
|
993
|
-
- [#709](https://github.com/
|
1011
|
+
- [#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
1012
|
|
995
|
-
- [#735](https://github.com/
|
1013
|
+
- [#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
1014
|
|
997
|
-
- [`1f3f2834`](https://github.com/
|
1015
|
+
- [`1f3f2834`](https://github.com/wevm/viem/commit/1f3f2834a443165a71b27d2d0d46fa13532ccdd1) Thanks [@jxom](https://github.com/jxom)! - Added `typeHex` to `Transaction` type.
|
998
1016
|
|
999
1017
|
## 1.0.7
|
1000
1018
|
|
1001
1019
|
### Patch Changes
|
1002
1020
|
|
1003
|
-
- [#707](https://github.com/
|
1021
|
+
- [#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
1022
|
|
1005
1023
|
## 1.0.6
|
1006
1024
|
|
1007
1025
|
### Patch Changes
|
1008
1026
|
|
1009
|
-
- [`90fd40ba`](https://github.com/
|
1027
|
+
- [`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
1028
|
|
1011
1029
|
## 1.0.5
|
1012
1030
|
|
1013
1031
|
### Patch Changes
|
1014
1032
|
|
1015
|
-
- [#699](https://github.com/
|
1033
|
+
- [#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
1034
|
|
1017
1035
|
## 1.0.4
|
1018
1036
|
|
1019
1037
|
### Patch Changes
|
1020
1038
|
|
1021
|
-
- [`8407fdcc`](https://github.com/
|
1039
|
+
- [`8407fdcc`](https://github.com/wevm/viem/commit/8407fdcc16e97a5346a07382c25cb1681a50d5e8) Thanks [@jxom](https://github.com/jxom)! - Fixed fraction length overflow edge-case.
|
1022
1040
|
|
1023
1041
|
## 1.0.3
|
1024
1042
|
|
1025
1043
|
### Patch Changes
|
1026
1044
|
|
1027
|
-
- [#687](https://github.com/
|
1045
|
+
- [#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
1046
|
|
1029
|
-
- [#672](https://github.com/
|
1047
|
+
- [#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
1048
|
|
1031
|
-
- [#683](https://github.com/
|
1049
|
+
- [#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
1050
|
|
1033
1051
|
## 1.0.2
|
1034
1052
|
|
1035
1053
|
### Patch Changes
|
1036
1054
|
|
1037
|
-
- [#677](https://github.com/
|
1055
|
+
- [#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
1056
|
|
1039
1057
|
## 1.0.1
|
1040
1058
|
|
1041
1059
|
### Patch Changes
|
1042
1060
|
|
1043
|
-
- [#675](https://github.com/
|
1061
|
+
- [#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
1062
|
|
1045
1063
|
## 1.0.0
|
1046
1064
|
|
@@ -1048,70 +1066,70 @@
|
|
1048
1066
|
|
1049
1067
|
### Major Changes
|
1050
1068
|
|
1051
|
-
- [#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)! - Released v1.
|
1052
1070
|
|
1053
|
-
- [#576](https://github.com/
|
1071
|
+
- [#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
1072
|
|
1055
|
-
- [#576](https://github.com/
|
1073
|
+
- [#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
1074
|
|
1057
|
-
- [#576](https://github.com/
|
1075
|
+
- [#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
1076
|
|
1059
1077
|
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
1078
|
|
1061
|
-
If you still need it, you can copy + paste the [old implementation](https://github.com/
|
1079
|
+
If you still need it, you can copy + paste the [old implementation](https://github.com/wevm/viem/blob/a9a71507032db896295fa1f3fa2dd6c2bdc85137/src/adapters/ethers.ts).
|
1062
1080
|
|
1063
1081
|
### Patch Changes
|
1064
1082
|
|
1065
|
-
- [#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 Batch JSON-RPC on `http` Transport.
|
1066
1084
|
|
1067
|
-
- [#657](https://github.com/
|
1085
|
+
- [#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
1086
|
|
1069
|
-
- [#576](https://github.com/
|
1087
|
+
- [#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
1088
|
|
1071
|
-
- [#576](https://github.com/
|
1089
|
+
- [#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
1090
|
|
1073
|
-
- [#576](https://github.com/
|
1091
|
+
- [#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
1092
|
|
1075
1093
|
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
1094
|
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
1095
|
|
1078
|
-
- [#576](https://github.com/
|
1096
|
+
- [#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
1097
|
|
1080
1098
|
## 0.3.50
|
1081
1099
|
|
1082
1100
|
### Patch Changes
|
1083
1101
|
|
1084
|
-
- [`7dc25b5`](https://github.com/
|
1102
|
+
- [`7dc25b5`](https://github.com/wevm/viem/commit/7dc25b56ae5f8c69255f6ebc404fb49c33cb13b7) Thanks [@jxom](https://github.com/jxom)! - Improved Ganache test actions.
|
1085
1103
|
|
1086
1104
|
## 0.3.49
|
1087
1105
|
|
1088
1106
|
### Patch Changes
|
1089
1107
|
|
1090
|
-
- [`0b92f3a`](https://github.com/
|
1108
|
+
- [`0b92f3a`](https://github.com/wevm/viem/commit/0b92f3ad535a27e1b8ba70fc3f6e1087ed2cd05f) Thanks [@jxom](https://github.com/jxom)! - Added more chains from @wagmi/chains.
|
1091
1109
|
|
1092
1110
|
## 0.3.47
|
1093
1111
|
|
1094
1112
|
### Patch Changes
|
1095
1113
|
|
1096
|
-
- [`cc256c0`](https://github.com/
|
1114
|
+
- [`cc256c0`](https://github.com/wevm/viem/commit/cc256c0a0dd5cb99975c5a497e5eb025990deaff) Thanks [@jxom](https://github.com/jxom)! - Fixed unit conversion.
|
1097
1115
|
|
1098
1116
|
## 0.3.46
|
1099
1117
|
|
1100
1118
|
### Patch Changes
|
1101
1119
|
|
1102
|
-
- [`770c3d1e`](https://github.com/
|
1120
|
+
- [`770c3d1e`](https://github.com/wevm/viem/commit/770c3d1e1954b94dea6a58e7180b8600e910ad4e) Thanks [@jxom](https://github.com/jxom)! - Bumped `@wagmi/chains`.
|
1103
1121
|
|
1104
1122
|
## 0.3.45
|
1105
1123
|
|
1106
1124
|
### Patch Changes
|
1107
1125
|
|
1108
|
-
- [#637](https://github.com/
|
1126
|
+
- [#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
1127
|
|
1110
1128
|
## 0.3.44
|
1111
1129
|
|
1112
1130
|
### Patch Changes
|
1113
1131
|
|
1114
|
-
- [#610](https://github.com/
|
1132
|
+
- [#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
1133
|
|
1116
1134
|
```ts
|
1117
1135
|
await walletClient.signMessage({
|
@@ -1123,416 +1141,416 @@
|
|
1123
1141
|
|
1124
1142
|
### Patch Changes
|
1125
1143
|
|
1126
|
-
- [#632](https://github.com/
|
1144
|
+
- [#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
1145
|
|
1128
|
-
- [#630](https://github.com/
|
1146
|
+
- [#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
1147
|
|
1130
1148
|
## 0.3.42
|
1131
1149
|
|
1132
1150
|
### Patch Changes
|
1133
1151
|
|
1134
|
-
- [#619](https://github.com/
|
1152
|
+
- [#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
1153
|
|
1136
1154
|
## 0.3.41
|
1137
1155
|
|
1138
1156
|
### Patch Changes
|
1139
1157
|
|
1140
|
-
- [`1b3f584`](https://github.com/
|
1158
|
+
- [`1b3f584`](https://github.com/wevm/viem/commit/1b3f5847a44ba051f19d42dfb03962a4c6a4e36b) Thanks [@jxom](https://github.com/jxom)! - Fixed `chainId` type on Transaction types.
|
1141
1159
|
|
1142
1160
|
## 0.3.40
|
1143
1161
|
|
1144
1162
|
### Patch Changes
|
1145
1163
|
|
1146
|
-
- [#608](https://github.com/
|
1164
|
+
- [#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
1165
|
|
1148
1166
|
## 0.3.39
|
1149
1167
|
|
1150
1168
|
### Patch Changes
|
1151
1169
|
|
1152
|
-
- [#603](https://github.com/
|
1170
|
+
- [#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
1171
|
|
1154
1172
|
## 0.3.38
|
1155
1173
|
|
1156
1174
|
### Patch Changes
|
1157
1175
|
|
1158
|
-
- [#598](https://github.com/
|
1176
|
+
- [#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
1177
|
|
1160
1178
|
## 0.3.37
|
1161
1179
|
|
1162
1180
|
### Patch Changes
|
1163
1181
|
|
1164
|
-
- [#572](https://github.com/
|
1182
|
+
- [#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
1183
|
|
1166
1184
|
## 0.3.36
|
1167
1185
|
|
1168
1186
|
### Patch Changes
|
1169
1187
|
|
1170
|
-
- [#554](https://github.com/
|
1188
|
+
- [#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
1189
|
|
1172
|
-
- [#556](https://github.com/
|
1190
|
+
- [#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
1191
|
|
1174
|
-
- [#560](https://github.com/
|
1192
|
+
- [#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
1193
|
|
1176
1194
|
## 0.3.35
|
1177
1195
|
|
1178
1196
|
### Patch Changes
|
1179
1197
|
|
1180
|
-
- [`1cc1dc2`](https://github.com/
|
1198
|
+
- [`1cc1dc2`](https://github.com/wevm/viem/commit/1cc1dc2e989765ea0d0afd72375505b93e0013a5) Thanks [@jxom](https://github.com/jxom)! - Fixed `account` parameter type on `readContract`.
|
1181
1199
|
|
1182
1200
|
## 0.3.34
|
1183
1201
|
|
1184
1202
|
### Patch Changes
|
1185
1203
|
|
1186
|
-
- [`5c75ee5`](https://github.com/
|
1204
|
+
- [`5c75ee5`](https://github.com/wevm/viem/commit/5c75ee598a0bd09709f619464e48cbb5fa2327d8) Thanks [@jxom](https://github.com/jxom)! - Added `EstimateContractGasParameters` & `EstimateContractGasReturnType` types.
|
1187
1205
|
|
1188
1206
|
## 0.3.33
|
1189
1207
|
|
1190
1208
|
### Patch Changes
|
1191
1209
|
|
1192
|
-
- [`0cb8f31`](https://github.com/
|
1210
|
+
- [`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
1211
|
|
1194
1212
|
## 0.3.32
|
1195
1213
|
|
1196
1214
|
### Patch Changes
|
1197
1215
|
|
1198
|
-
- [`fb5b321`](https://github.com/
|
1216
|
+
- [`fb5b321`](https://github.com/wevm/viem/commit/fb5b321a9238d68a59f387632dd89ccb626a8cb5) Thanks [@jxom](https://github.com/jxom)! - Allowed recovery id as v when recovering public key.
|
1199
1217
|
|
1200
|
-
- [`9df44ce`](https://github.com/
|
1218
|
+
- [`9df44ce`](https://github.com/wevm/viem/commit/9df44cea3843a74f9e04591d3c683db1982269fb) Thanks [@jxom](https://github.com/jxom)! - Added `ganache` as another mode for Test Client
|
1201
1219
|
|
1202
1220
|
## 0.3.31
|
1203
1221
|
|
1204
1222
|
### Patch Changes
|
1205
1223
|
|
1206
|
-
- [#540](https://github.com/
|
1224
|
+
- [#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
1225
|
|
1208
1226
|
## 0.3.30
|
1209
1227
|
|
1210
1228
|
### Patch Changes
|
1211
1229
|
|
1212
|
-
- [`228d949`](https://github.com/
|
1230
|
+
- [`228d949`](https://github.com/wevm/viem/commit/228d949bce648065ecef629173d1b847e2fc8f21) Thanks [@jxom](https://github.com/jxom)! - Bumped `waitForTransactionReceipt` retry count.
|
1213
1231
|
|
1214
1232
|
## 0.3.29
|
1215
1233
|
|
1216
1234
|
### Patch Changes
|
1217
1235
|
|
1218
|
-
- [#527](https://github.com/
|
1236
|
+
- [#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
1237
|
|
1220
1238
|
## 0.3.28
|
1221
1239
|
|
1222
1240
|
### Patch Changes
|
1223
1241
|
|
1224
|
-
- [`ffee4f8`](https://github.com/
|
1242
|
+
- [`ffee4f8`](https://github.com/wevm/viem/commit/ffee4f86928ada54d2c6a4403aafa7b861eeccb2) Thanks [@jxom](https://github.com/jxom)! - Bumped `waitForTransactionReceipt` exponential backoff scalar
|
1225
1243
|
|
1226
1244
|
## 0.3.27
|
1227
1245
|
|
1228
1246
|
### Patch Changes
|
1229
1247
|
|
1230
|
-
- [#519](https://github.com/
|
1248
|
+
- [#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
1249
|
|
1232
|
-
- [#518](https://github.com/
|
1250
|
+
- [#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
1251
|
|
1234
|
-
- [#515](https://github.com/
|
1252
|
+
- [#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
1253
|
|
1236
1254
|
## 0.3.26
|
1237
1255
|
|
1238
1256
|
### Patch Changes
|
1239
1257
|
|
1240
|
-
- [#500](https://github.com/
|
1258
|
+
- [#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
1259
|
|
1242
1260
|
## 0.3.25
|
1243
1261
|
|
1244
1262
|
### Patch Changes
|
1245
1263
|
|
1246
|
-
- [#506](https://github.com/
|
1264
|
+
- [#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
1265
|
|
1248
1266
|
## 0.3.24
|
1249
1267
|
|
1250
1268
|
### Patch Changes
|
1251
1269
|
|
1252
|
-
- [`9852bcd`](https://github.com/
|
1270
|
+
- [`9852bcd`](https://github.com/wevm/viem/commit/9852bcdfb83bfdda43fb276b3a1266b30592d56e) Thanks [@jxom](https://github.com/jxom)! - Fixed custom solidity errors with no args.
|
1253
1271
|
|
1254
1272
|
## 0.3.23
|
1255
1273
|
|
1256
1274
|
### Patch Changes
|
1257
1275
|
|
1258
|
-
- [#489](https://github.com/
|
1276
|
+
- [#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
1277
|
|
1260
|
-
- [`670d825`](https://github.com/
|
1278
|
+
- [`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
1279
|
|
1262
|
-
- [#487](https://github.com/
|
1280
|
+
- [#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
1281
|
|
1264
1282
|
## 0.3.22
|
1265
1283
|
|
1266
1284
|
### Patch Changes
|
1267
1285
|
|
1268
|
-
- [`9ae5eaa`](https://github.com/
|
1286
|
+
- [`9ae5eaa`](https://github.com/wevm/viem/commit/9ae5eaa1465240d07577d380e7387f1a065707e3) Thanks [@jxom](https://github.com/jxom)! - Fixed `functionName` type inference in `SimulateContractReturnType`.
|
1269
1287
|
|
1270
1288
|
## 0.3.21
|
1271
1289
|
|
1272
1290
|
### Patch Changes
|
1273
1291
|
|
1274
|
-
- [#475](https://github.com/
|
1292
|
+
- [#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
1293
|
|
1276
|
-
- [#474](https://github.com/
|
1294
|
+
- [#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
1295
|
|
1278
1296
|
## 0.3.20
|
1279
1297
|
|
1280
1298
|
### Patch Changes
|
1281
1299
|
|
1282
|
-
- [#470](https://github.com/
|
1300
|
+
- [#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
1301
|
|
1284
1302
|
## 0.3.19
|
1285
1303
|
|
1286
1304
|
### Patch Changes
|
1287
1305
|
|
1288
|
-
- [#320](https://github.com/
|
1306
|
+
- [#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
1307
|
|
1290
1308
|
## 0.3.18
|
1291
1309
|
|
1292
1310
|
### Patch Changes
|
1293
1311
|
|
1294
|
-
- [#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)! - Refactored contract decoding utility types.
|
1295
1313
|
|
1296
|
-
- [#448](https://github.com/
|
1314
|
+
- [#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
1315
|
|
1298
|
-
- [#435](https://github.com/
|
1316
|
+
- [#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
1317
|
|
1300
|
-
- [#445](https://github.com/
|
1318
|
+
- [#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
1319
|
|
1302
1320
|
## 0.3.17
|
1303
1321
|
|
1304
1322
|
### Patch Changes
|
1305
1323
|
|
1306
|
-
- [#443](https://github.com/
|
1324
|
+
- [#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
1325
|
|
1308
1326
|
## 0.3.16
|
1309
1327
|
|
1310
1328
|
### Patch Changes
|
1311
1329
|
|
1312
|
-
- [`482aaa1`](https://github.com/
|
1330
|
+
- [`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
1331
|
|
1314
1332
|
## 0.3.15
|
1315
1333
|
|
1316
1334
|
### Patch Changes
|
1317
1335
|
|
1318
|
-
- [#436](https://github.com/
|
1336
|
+
- [#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
1337
|
|
1320
1338
|
## 0.3.14
|
1321
1339
|
|
1322
1340
|
### Patch Changes
|
1323
1341
|
|
1324
|
-
- [#426](https://github.com/
|
1342
|
+
- [#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
1343
|
|
1326
|
-
- [#424](https://github.com/
|
1344
|
+
- [#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
1345
|
|
1328
|
-
- [#427](https://github.com/
|
1346
|
+
- [#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
1347
|
|
1330
|
-
- [#431](https://github.com/
|
1348
|
+
- [#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
1349
|
|
1332
1350
|
## 0.3.13
|
1333
1351
|
|
1334
1352
|
### Patch Changes
|
1335
1353
|
|
1336
|
-
- [`eb32e6c`](https://github.com/
|
1354
|
+
- [`eb32e6c`](https://github.com/wevm/viem/commit/eb32e6c8a412aa4d16339236d4a14d820a26fdc1) Thanks [@fubhy](https://github.com/fubhy)! - Fixed `mine()` to resolve to `undefined` instead of `null`.
|
1337
1355
|
|
1338
1356
|
## 0.3.12
|
1339
1357
|
|
1340
1358
|
### Patch Changes
|
1341
1359
|
|
1342
|
-
- [`6f8151c`](https://github.com/
|
1360
|
+
- [`6f8151c`](https://github.com/wevm/viem/commit/6f8151c58fcb5e14b7a954df6e941fe3cca4054c) Thanks [@jxom](https://github.com/jxom)! - Flagged 403 as non-deterministic error for `fallback` Transport.
|
1343
1361
|
|
1344
1362
|
## 0.3.11
|
1345
1363
|
|
1346
1364
|
### Patch Changes
|
1347
1365
|
|
1348
|
-
- [#404](https://github.com/
|
1366
|
+
- [#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
1367
|
|
1350
|
-
- [#398](https://github.com/
|
1368
|
+
- [#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
1369
|
|
1352
1370
|
## 0.3.10
|
1353
1371
|
|
1354
1372
|
### Patch Changes
|
1355
1373
|
|
1356
|
-
- [`777fa34`](https://github.com/
|
1374
|
+
- [`777fa34`](https://github.com/wevm/viem/commit/777fa34c9ce5630696e554127e39e5e9386ad74e) Thanks [@jxom](https://github.com/jxom)! - Fixed wallet_watchAsset type.
|
1357
1375
|
|
1358
1376
|
## 0.3.9
|
1359
1377
|
|
1360
1378
|
### Patch Changes
|
1361
1379
|
|
1362
|
-
- [`b4d6623`](https://github.com/
|
1380
|
+
- [`b4d6623`](https://github.com/wevm/viem/commit/b4d662360f55d5963e015f7080538a167e89b1f6) Thanks [@jxom](https://github.com/jxom)! - Fixed multicall return type.
|
1363
1381
|
|
1364
1382
|
## 0.3.8
|
1365
1383
|
|
1366
1384
|
### Patch Changes
|
1367
1385
|
|
1368
|
-
- [`8371ad9`](https://github.com/
|
1386
|
+
- [`8371ad9`](https://github.com/wevm/viem/commit/8371ad9cb6987b5876a679ba502a80573c92ec64) Thanks [@jxom](https://github.com/jxom)! - Fixed WebSocket import on Vite environments.
|
1369
1387
|
|
1370
1388
|
## 0.3.7
|
1371
1389
|
|
1372
1390
|
### Patch Changes
|
1373
1391
|
|
1374
|
-
- [#399](https://github.com/
|
1392
|
+
- [#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
1393
|
|
1376
|
-
- [#397](https://github.com/
|
1394
|
+
- [#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
1395
|
|
1378
1396
|
## 0.3.6
|
1379
1397
|
|
1380
1398
|
### Patch Changes
|
1381
1399
|
|
1382
|
-
- [`ae6d388`](https://github.com/
|
1400
|
+
- [`ae6d388`](https://github.com/wevm/viem/commit/ae6d3883ec41dfdd3750a5f7473495d011df5802) Thanks [@jxom](https://github.com/jxom)! - Fixed unpublished type declarations.
|
1383
1401
|
|
1384
1402
|
## 0.3.5
|
1385
1403
|
|
1386
1404
|
### Patch Changes
|
1387
1405
|
|
1388
|
-
- [`0d38807`](https://github.com/
|
1406
|
+
- [`0d38807`](https://github.com/wevm/viem/commit/0d38807bcd61fae5c5d4736aed6c59277c9b4bf4) Thanks [@jxom](https://github.com/jxom)! - Fixed `batch` config in `createPublicClient`.
|
1389
1407
|
|
1390
1408
|
## 0.3.4
|
1391
1409
|
|
1392
1410
|
### Patch Changes
|
1393
1411
|
|
1394
|
-
- [#387](https://github.com/
|
1412
|
+
- [#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
1413
|
|
1396
|
-
- [#388](https://github.com/
|
1414
|
+
- [#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
1415
|
|
1398
|
-
- [`03816ec`](https://github.com/
|
1416
|
+
- [`03816ec`](https://github.com/wevm/viem/commit/03816ec421eb8adbcb17bd44c5dc344407acba2d) Thanks [@jxom](https://github.com/jxom)! - Disabled `fallback` transport ranking by default.
|
1399
1417
|
|
1400
1418
|
## 0.3.3
|
1401
1419
|
|
1402
1420
|
### Patch Changes
|
1403
1421
|
|
1404
|
-
- [#383](https://github.com/
|
1422
|
+
- [#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
1423
|
|
1406
1424
|
## 0.3.2
|
1407
1425
|
|
1408
1426
|
### Patch Changes
|
1409
1427
|
|
1410
|
-
- [#375](https://github.com/
|
1428
|
+
- [#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
1429
|
|
1412
1430
|
## 0.3.1
|
1413
1431
|
|
1414
1432
|
### Patch Changes
|
1415
1433
|
|
1416
|
-
- [`6856443`](https://github.com/
|
1434
|
+
- [`6856443`](https://github.com/wevm/viem/commit/6856443fb75421639c9622343d5958791028874c) Thanks [@jxom](https://github.com/jxom)! - Added `recoverPublicKey`.
|
1417
1435
|
|
1418
|
-
- [#363](https://github.com/
|
1436
|
+
- [#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
1437
|
|
1420
|
-
- [#365](https://github.com/
|
1438
|
+
- [#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
1439
|
|
1422
1440
|
## 0.3.0
|
1423
1441
|
|
1424
1442
|
### Minor Changes
|
1425
1443
|
|
1426
|
-
- [#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)! - **Breaking:** Renamed `RequestError` to `RpcError`.
|
1427
1445
|
**Breaking:** Removed `RpcRequestError` – use `RpcError` instead.
|
1428
1446
|
**Breaking:** Renamed `RpcError` to `RpcRequestError`.
|
1429
1447
|
|
1430
1448
|
### Patch Changes
|
1431
1449
|
|
1432
|
-
- [#355](https://github.com/
|
1450
|
+
- [#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
1451
|
|
1434
1452
|
Added EIP-1193 `UnauthorizedProviderError`, `UnsupportedProviderMethodError`, `ProviderDisconnectedError`, and `ChainDisconnectedError`.
|
1435
1453
|
|
1436
|
-
- [#349](https://github.com/
|
1454
|
+
- [#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
1455
|
|
1438
1456
|
## 0.2.14
|
1439
1457
|
|
1440
1458
|
### Patch Changes
|
1441
1459
|
|
1442
|
-
- [#344](https://github.com/
|
1460
|
+
- [#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
1461
|
|
1444
1462
|
## 0.2.13
|
1445
1463
|
|
1446
1464
|
### Patch Changes
|
1447
1465
|
|
1448
|
-
- [#331](https://github.com/
|
1466
|
+
- [#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
1467
|
Migrated build process from `tsup` to `tsc`.
|
1450
1468
|
|
1451
|
-
- [#343](https://github.com/
|
1469
|
+
- [#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
1470
|
|
1453
1471
|
## 0.2.12
|
1454
1472
|
|
1455
1473
|
### Patch Changes
|
1456
1474
|
|
1457
|
-
- [#328](https://github.com/
|
1475
|
+
- [#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
1476
|
|
1459
1477
|
## 0.2.11
|
1460
1478
|
|
1461
1479
|
### Patch Changes
|
1462
1480
|
|
1463
|
-
- [#326](https://github.com/
|
1481
|
+
- [#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
1482
|
|
1465
1483
|
## 0.2.10
|
1466
1484
|
|
1467
1485
|
### Patch Changes
|
1468
1486
|
|
1469
|
-
- [#322](https://github.com/
|
1487
|
+
- [#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
1488
|
|
1471
1489
|
## 0.2.9
|
1472
1490
|
|
1473
1491
|
### Patch Changes
|
1474
1492
|
|
1475
|
-
- [#317](https://github.com/
|
1493
|
+
- [#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
1494
|
|
1477
1495
|
## 0.2.8
|
1478
1496
|
|
1479
1497
|
### Patch Changes
|
1480
1498
|
|
1481
|
-
- [#313](https://github.com/
|
1499
|
+
- [#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
1500
|
|
1483
1501
|
## 0.2.7
|
1484
1502
|
|
1485
1503
|
### Patch Changes
|
1486
1504
|
|
1487
|
-
- [#310](https://github.com/
|
1505
|
+
- [#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
1506
|
|
1489
1507
|
## 0.2.6
|
1490
1508
|
|
1491
1509
|
### Patch Changes
|
1492
1510
|
|
1493
|
-
- [#295](https://github.com/
|
1511
|
+
- [#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
1512
|
|
1495
|
-
- [#304](https://github.com/
|
1513
|
+
- [#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
1514
|
|
1497
|
-
- [#302](https://github.com/
|
1515
|
+
- [#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
1516
|
|
1499
1517
|
## 0.2.5
|
1500
1518
|
|
1501
1519
|
### Patch Changes
|
1502
1520
|
|
1503
|
-
- [#297](https://github.com/
|
1521
|
+
- [#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
1522
|
|
1505
1523
|
## 0.2.4
|
1506
1524
|
|
1507
1525
|
### Patch Changes
|
1508
1526
|
|
1509
|
-
- [#293](https://github.com/
|
1527
|
+
- [#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
1528
|
|
1511
1529
|
## 0.2.3
|
1512
1530
|
|
1513
1531
|
### Patch Changes
|
1514
1532
|
|
1515
|
-
- [#290](https://github.com/
|
1533
|
+
- [#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
1534
|
|
1517
1535
|
## 0.2.2
|
1518
1536
|
|
1519
1537
|
### Patch Changes
|
1520
1538
|
|
1521
|
-
- [#289](https://github.com/
|
1539
|
+
- [#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
1540
|
|
1523
|
-
- [#289](https://github.com/
|
1541
|
+
- [#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
1542
|
|
1525
1543
|
## 0.2.1
|
1526
1544
|
|
1527
1545
|
### Patch Changes
|
1528
1546
|
|
1529
|
-
- [#285](https://github.com/
|
1547
|
+
- [#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
1548
|
|
1531
1549
|
## 0.2.0 – [Migration Guide](https://viem.sh/docs/migration-guide.html)
|
1532
1550
|
|
1533
1551
|
### Minor Changes
|
1534
1552
|
|
1535
|
-
- [#229](https://github.com/
|
1553
|
+
- [#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
1554
|
|
1537
1555
|
**For JSON-RPC Accounts, use the address itself.**
|
1538
1556
|
|
@@ -1604,7 +1622,7 @@
|
|
1604
1622
|
})
|
1605
1623
|
```
|
1606
1624
|
|
1607
|
-
- [#229](https://github.com/
|
1625
|
+
- [#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
1626
|
|
1609
1627
|
```diff
|
1610
1628
|
await walletClient.sendTransaction({
|
@@ -1614,7 +1632,7 @@
|
|
1614
1632
|
})
|
1615
1633
|
```
|
1616
1634
|
|
1617
|
-
- [#229](https://github.com/
|
1635
|
+
- [#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
1636
|
|
1619
1637
|
You can hoist the Chain on the Client:
|
1620
1638
|
|
@@ -1657,7 +1675,7 @@
|
|
1657
1675
|
})
|
1658
1676
|
```
|
1659
1677
|
|
1660
|
-
- [#229](https://github.com/
|
1678
|
+
- [#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
1679
|
|
1662
1680
|
- `ExtractErrorNameFromAbi` is now `InferErrorName`
|
1663
1681
|
- `ExtractEventNameFromAbi` is now `InferEventName`
|
@@ -1669,7 +1687,7 @@
|
|
1669
1687
|
- `ExtractEventArgsFromTopics` is now `GetEventArgsFromTopics`
|
1670
1688
|
- `ExtractArgsFromAbi` is now `GetFunctionArgs`
|
1671
1689
|
|
1672
|
-
- [#229](https://github.com/
|
1690
|
+
- [#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
1691
|
|
1674
1692
|
- `recoverAddress`
|
1675
1693
|
- `recoverMessageAddress`
|
@@ -1684,9 +1702,9 @@
|
|
1684
1702
|
|
1685
1703
|
### Patch Changes
|
1686
1704
|
|
1687
|
-
- [#229](https://github.com/
|
1705
|
+
- [#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
1706
|
|
1689
|
-
- [#229](https://github.com/
|
1707
|
+
- [#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
1708
|
|
1691
1709
|
- `privateKeyToAccount`
|
1692
1710
|
- `mnemonicToAccount`
|
@@ -1710,13 +1728,13 @@
|
|
1710
1728
|
})
|
1711
1729
|
```
|
1712
1730
|
|
1713
|
-
- [#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 WebSocket `eth_subscribe` support `watchBlocks`, `watchBlockNumber`, and `watchPendingTransactions`.
|
1714
1732
|
|
1715
|
-
- [#229](https://github.com/
|
1733
|
+
- [#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
1734
|
|
1717
|
-
- [#229](https://github.com/
|
1735
|
+
- [#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
1736
|
|
1719
|
-
- [#229](https://github.com/
|
1737
|
+
- [#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
1738
|
|
1721
1739
|
```diff
|
1722
1740
|
import { createWalletClient, http } from 'viem'
|
@@ -1737,153 +1755,153 @@
|
|
1737
1755
|
})
|
1738
1756
|
```
|
1739
1757
|
|
1740
|
-
- [#229](https://github.com/
|
1758
|
+
- [#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
1759
|
|
1742
1760
|
## 0.1.26
|
1743
1761
|
|
1744
1762
|
### Patch Changes
|
1745
1763
|
|
1746
|
-
- [`93e402d`](https://github.com/
|
1764
|
+
- [`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
1765
|
|
1748
1766
|
## 0.1.25
|
1749
1767
|
|
1750
1768
|
### Patch Changes
|
1751
1769
|
|
1752
|
-
- [#263](https://github.com/
|
1770
|
+
- [#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
1771
|
|
1754
1772
|
## 0.1.24
|
1755
1773
|
|
1756
1774
|
### Patch Changes
|
1757
1775
|
|
1758
|
-
- [#237](https://github.com/
|
1776
|
+
- [#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
1777
|
|
1760
1778
|
## 0.1.23
|
1761
1779
|
|
1762
1780
|
### Patch Changes
|
1763
1781
|
|
1764
|
-
- [#251](https://github.com/
|
1782
|
+
- [#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
1783
|
|
1766
1784
|
## 0.1.22
|
1767
1785
|
|
1768
1786
|
### Patch Changes
|
1769
1787
|
|
1770
|
-
- [`07000b6`](https://github.com/
|
1788
|
+
- [`07000b6`](https://github.com/wevm/viem/commit/07000b650b6cce41c99a4ccf609f5fccce818244) Thanks [@jxom](https://github.com/jxom)! - Removed unnecessary trimming of decoded RLP hex value
|
1771
1789
|
|
1772
1790
|
## 0.1.21
|
1773
1791
|
|
1774
1792
|
### Patch Changes
|
1775
1793
|
|
1776
|
-
- [#223](https://github.com/
|
1794
|
+
- [#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
1795
|
|
1778
1796
|
## 0.1.20
|
1779
1797
|
|
1780
1798
|
### Patch Changes
|
1781
1799
|
|
1782
|
-
- [#220](https://github.com/
|
1800
|
+
- [#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
1801
|
|
1784
1802
|
## 0.1.19
|
1785
1803
|
|
1786
1804
|
### Patch Changes
|
1787
1805
|
|
1788
|
-
- [`74f8e1d`](https://github.com/
|
1806
|
+
- [`74f8e1d`](https://github.com/wevm/viem/commit/74f8e1dfe1b86eba9453ede0b20babf8e150423a) Thanks [@jxom](https://github.com/jxom)! - Added missing `recoverMessageAddress` and `verifyMessage` exports.
|
1789
1807
|
|
1790
1808
|
## 0.1.18
|
1791
1809
|
|
1792
1810
|
### Patch Changes
|
1793
1811
|
|
1794
|
-
- [`9c45397`](https://github.com/
|
1812
|
+
- [`9c45397`](https://github.com/wevm/viem/commit/9c4539756d138f196b368fd1ac8e1a926d9bace0) Thanks [@jxom](https://github.com/jxom)! - Fixed `signTypedData` support for Ethers.js v5 wallets
|
1795
1813
|
|
1796
1814
|
## 0.1.17
|
1797
1815
|
|
1798
1816
|
### Patch Changes
|
1799
1817
|
|
1800
|
-
- [#213](https://github.com/
|
1818
|
+
- [#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
1819
|
|
1802
|
-
- [`1339b20`](https://github.com/
|
1820
|
+
- [`1339b20`](https://github.com/wevm/viem/commit/1339b20f735cb18b397aa1910cdb288609612f14) Thanks [@jxom](https://github.com/jxom)! - Exported `Extract*FromAbi` types
|
1803
1821
|
|
1804
|
-
- [`c3d932a`](https://github.com/
|
1822
|
+
- [`c3d932a`](https://github.com/wevm/viem/commit/c3d932ad69a0c54fb204d7878a1a96916d1193df) Thanks [@jxom](https://github.com/jxom)! - Fixed `signTypedData` support for Ethers.js v5 Wallets
|
1805
1823
|
|
1806
1824
|
## 0.1.16
|
1807
1825
|
|
1808
1826
|
### Patch Changes
|
1809
1827
|
|
1810
|
-
- [#207](https://github.com/
|
1828
|
+
- [#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
1829
|
|
1812
|
-
- [#209](https://github.com/
|
1830
|
+
- [#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
1831
|
|
1814
1832
|
## 0.1.15
|
1815
1833
|
|
1816
1834
|
### Patch Changes
|
1817
1835
|
|
1818
|
-
- [#205](https://github.com/
|
1836
|
+
- [#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
1837
|
|
1820
1838
|
## 0.1.14
|
1821
1839
|
|
1822
1840
|
### Patch Changes
|
1823
1841
|
|
1824
|
-
- [#198](https://github.com/
|
1842
|
+
- [#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
1843
|
|
1826
1844
|
## 0.1.13
|
1827
1845
|
|
1828
1846
|
### Patch Changes
|
1829
1847
|
|
1830
|
-
- [`56f2e03`](https://github.com/
|
1848
|
+
- [`56f2e03`](https://github.com/wevm/viem/commit/56f2e03837d64a9156766f0ef785ac50ba27380f) Thanks [@jxom](https://github.com/jxom)! - Added export for `concat`.
|
1831
1849
|
|
1832
1850
|
## 0.1.12
|
1833
1851
|
|
1834
1852
|
### Patch Changes
|
1835
1853
|
|
1836
|
-
- [`c0e3617`](https://github.com/
|
1854
|
+
- [`c0e3617`](https://github.com/wevm/viem/commit/c0e3617b639ba84c03011430d69d72173da00466) Thanks [@jxom](https://github.com/jxom)! - Fixed `viem/ethers` entrypoint.
|
1837
1855
|
|
1838
1856
|
## 0.1.11
|
1839
1857
|
|
1840
1858
|
### Patch Changes
|
1841
1859
|
|
1842
|
-
- [#88](https://github.com/
|
1860
|
+
- [#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
1861
|
|
1844
1862
|
## 0.1.10
|
1845
1863
|
|
1846
1864
|
### Patch Changes
|
1847
1865
|
|
1848
|
-
- [#178](https://github.com/
|
1866
|
+
- [#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
1867
|
|
1850
|
-
- [#181](https://github.com/
|
1868
|
+
- [#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
1869
|
|
1852
1870
|
## 0.1.9
|
1853
1871
|
|
1854
1872
|
### Patch Changes
|
1855
1873
|
|
1856
|
-
- [#170](https://github.com/
|
1874
|
+
- [#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
1875
|
|
1858
1876
|
## 0.1.8
|
1859
1877
|
|
1860
1878
|
### Patch Changes
|
1861
1879
|
|
1862
|
-
- [`36c908c`](https://github.com/
|
1880
|
+
- [`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
1881
|
|
1864
1882
|
## 0.1.7
|
1865
1883
|
|
1866
1884
|
### Patch Changes
|
1867
1885
|
|
1868
|
-
- [#159](https://github.com/
|
1886
|
+
- [#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
1887
|
|
1870
1888
|
## 0.1.6
|
1871
1889
|
|
1872
1890
|
### Patch Changes
|
1873
1891
|
|
1874
|
-
- [#153](https://github.com/
|
1892
|
+
- [#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
1893
|
|
1876
1894
|
## 0.1.5
|
1877
1895
|
|
1878
1896
|
### Patch Changes
|
1879
1897
|
|
1880
|
-
- [#141](https://github.com/
|
1898
|
+
- [#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
1899
|
|
1882
1900
|
## 0.1.4
|
1883
1901
|
|
1884
1902
|
### Patch Changes
|
1885
1903
|
|
1886
|
-
- [#139](https://github.com/
|
1904
|
+
- [#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
1905
|
|
1888
1906
|
- `baseGoerli`
|
1889
1907
|
- `boba`
|
@@ -1907,59 +1925,59 @@
|
|
1907
1925
|
|
1908
1926
|
### Patch Changes
|
1909
1927
|
|
1910
|
-
- [#136](https://github.com/
|
1928
|
+
- [#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
1929
|
|
1912
|
-
- [#136](https://github.com/
|
1930
|
+
- [#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
1931
|
|
1914
1932
|
## 0.1.2
|
1915
1933
|
|
1916
1934
|
### Patch Changes
|
1917
1935
|
|
1918
|
-
- [`637d252`](https://github.com/
|
1936
|
+
- [`637d252`](https://github.com/wevm/viem/commit/637d2523e3e259deb9538a0089c0c80bb37abf22) Thanks [@jxom](https://github.com/jxom)! - Bumped abitype to 0.6.7
|
1919
1937
|
|
1920
1938
|
## 0.1.1
|
1921
1939
|
|
1922
1940
|
### Patch Changes
|
1923
1941
|
|
1924
|
-
- [#128](https://github.com/
|
1942
|
+
- [#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
1943
|
|
1926
1944
|
## 0.1.0
|
1927
1945
|
|
1928
1946
|
### Minor Changes
|
1929
1947
|
|
1930
|
-
- [`fec4460`](https://github.com/
|
1948
|
+
- [`fec4460`](https://github.com/wevm/viem/commit/fec4460f63ac2c367722554cf910f1ee78b2795d) Thanks [@jxom](https://github.com/jxom)! - Initial release.
|
1931
1949
|
|
1932
1950
|
## 0.0.1-alpha.39
|
1933
1951
|
|
1934
1952
|
### Patch Changes
|
1935
1953
|
|
1936
|
-
- [`68c3816`](https://github.com/
|
1954
|
+
- [`68c3816`](https://github.com/wevm/viem/commit/68c3816c8c492aa0943b63438a13109e9ac682df) Thanks [@jxom](https://github.com/jxom)! - Added `encodePacked`.
|
1937
1955
|
|
1938
|
-
- [`68c3816`](https://github.com/
|
1956
|
+
- [`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
1957
|
|
1940
1958
|
## 0.0.1-alpha.38
|
1941
1959
|
|
1942
1960
|
### Patch Changes
|
1943
1961
|
|
1944
|
-
- [`59a60cb`](https://github.com/
|
1962
|
+
- [`59a60cb`](https://github.com/wevm/viem/commit/59a60cb8cc7d0109c08fa5906a24c6eb8e48b183) Thanks [@jxom](https://github.com/jxom)! - Fixed decoding zero data bytes
|
1945
1963
|
|
1946
1964
|
## 0.0.1-alpha.37
|
1947
1965
|
|
1948
1966
|
### Patch Changes
|
1949
1967
|
|
1950
|
-
- [`e07f212`](https://github.com/
|
1968
|
+
- [`e07f212`](https://github.com/wevm/viem/commit/e07f212af5ef94b938939f0205056c29747bb919) Thanks [@jxom](https://github.com/jxom)! - **Breaking:** Renamed `formatUnit` and `parseUnit` to `formatUnits` and `parseUnits`.
|
1951
1969
|
|
1952
1970
|
## 0.0.1-alpha.36
|
1953
1971
|
|
1954
1972
|
### Patch Changes
|
1955
1973
|
|
1956
|
-
- [#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:** Renamed `requestAccounts` Wallet Action to `requestAddresses`
|
1957
1975
|
|
1958
1976
|
**Breaking:** Renamed `getAccounts` Wallet Action to `getAddresses`
|
1959
1977
|
|
1960
|
-
- [#100](https://github.com/
|
1978
|
+
- [#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
1979
|
|
1962
|
-
- [#100](https://github.com/
|
1980
|
+
- [#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
1981
|
|
1964
1982
|
```diff
|
1965
1983
|
+ import { getAccount } from 'viem'
|
@@ -1991,11 +2009,11 @@
|
|
1991
2009
|
|
1992
2010
|
### Patch Changes
|
1993
2011
|
|
1994
|
-
- [`057e01e`](https://github.com/
|
2012
|
+
- [`057e01e`](https://github.com/wevm/viem/commit/057e01e9fff7346304e787d93053d84a09278335) Thanks [@jxom](https://github.com/jxom)! - - `testClient.getTxPoolContent` → `testClient.getTxpoolContent`
|
1995
2013
|
|
1996
2014
|
- `testClient.getTxPoolStatus` → `testClient.getTxpoolStatus`
|
1997
2015
|
|
1998
|
-
- [#85](https://github.com/
|
2016
|
+
- [#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
2017
|
|
2000
2018
|
```diff
|
2001
2019
|
import {
|
@@ -2016,49 +2034,49 @@
|
|
2016
2034
|
|
2017
2035
|
### Patch Changes
|
2018
2036
|
|
2019
|
-
- [`e1634b5`](https://github.com/
|
2037
|
+
- [`e1634b5`](https://github.com/wevm/viem/commit/e1634b5d110b1a39032eab9813f93244b04123ad) Thanks [@jxom](https://github.com/jxom)! - Fixed ABI encoding dynamic tuple child derivation
|
2020
2038
|
|
2021
2039
|
## 0.0.1-alpha.33
|
2022
2040
|
|
2023
2041
|
### Patch Changes
|
2024
2042
|
|
2025
|
-
- [`1971e6a`](https://github.com/
|
2043
|
+
- [`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
2044
|
|
2027
2045
|
## 0.0.1-alpha.32
|
2028
2046
|
|
2029
2047
|
### Patch Changes
|
2030
2048
|
|
2031
|
-
- [`7243744`](https://github.com/
|
2049
|
+
- [`7243744`](https://github.com/wevm/viem/commit/7243744ecd230532b8f11d1766318a75760229e5) Thanks [@jxom](https://github.com/jxom)! - Added support for `4001` & `4902` RPC error codes.
|
2032
2050
|
|
2033
2051
|
## 0.0.1-alpha.31
|
2034
2052
|
|
2035
2053
|
### Patch Changes
|
2036
2054
|
|
2037
|
-
- [#89](https://github.com/
|
2055
|
+
- [#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
2056
|
|
2039
|
-
- [#91](https://github.com/
|
2057
|
+
- [#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
2058
|
|
2041
2059
|
## 0.0.1-alpha.30
|
2042
2060
|
|
2043
2061
|
### Patch Changes
|
2044
2062
|
|
2045
|
-
- [#81](https://github.com/
|
2063
|
+
- [#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
2064
|
|
2047
2065
|
## 0.0.1-alpha.29
|
2048
2066
|
|
2049
2067
|
### Patch Changes
|
2050
2068
|
|
2051
|
-
- [`6bdee9c`](https://github.com/
|
2069
|
+
- [`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
2070
|
|
2053
2071
|
## 0.0.1-alpha.28
|
2054
2072
|
|
2055
2073
|
### Patch Changes
|
2056
2074
|
|
2057
|
-
- [`8ef068b`](https://github.com/
|
2075
|
+
- [`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
2076
|
|
2059
|
-
- [#79](https://github.com/
|
2077
|
+
- [#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
2078
|
|
2061
|
-
- [#77](https://github.com/
|
2079
|
+
- [#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
2080
|
|
2063
2081
|
Example:
|
2064
2082
|
|
@@ -2090,17 +2108,17 @@
|
|
2090
2108
|
|
2091
2109
|
### Patch Changes
|
2092
2110
|
|
2093
|
-
- [`7d9a241`](https://github.com/
|
2111
|
+
- [`7d9a241`](https://github.com/wevm/viem/commit/7d9a2413805b142611d29d7e5faddd44ae3c047c) Thanks [@jxom](https://github.com/jxom)! - Added `estimateContractGas`.
|
2094
2112
|
|
2095
|
-
- [`7d9a241`](https://github.com/
|
2113
|
+
- [`7d9a241`](https://github.com/wevm/viem/commit/7d9a2413805b142611d29d7e5faddd44ae3c047c) Thanks [@jxom](https://github.com/jxom)! - Added `retryCount` and `retryDelay` config to Transports.
|
2096
2114
|
|
2097
2115
|
## 0.0.1-alpha.25
|
2098
2116
|
|
2099
2117
|
### Patch Changes
|
2100
2118
|
|
2101
|
-
- [`6c902f8`](https://github.com/
|
2119
|
+
- [`6c902f8`](https://github.com/wevm/viem/commit/6c902f86e2067dcd366434722429fe873c8d6089) Thanks [@jxom](https://github.com/jxom)! - Added `decodeEventLog`.
|
2102
2120
|
|
2103
|
-
- [#68](https://github.com/
|
2121
|
+
- [#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
2122
|
|
2105
2123
|
- `viem` = Clients & Transport exports
|
2106
2124
|
- `viem/chains` = Chains exports
|
@@ -2111,27 +2129,27 @@
|
|
2111
2129
|
- `viem/utils` = Utils exports
|
2112
2130
|
- `viem/wallet` = Wallet Actions exports
|
2113
2131
|
|
2114
|
-
- [#66](https://github.com/
|
2132
|
+
- [#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
2133
|
|
2116
2134
|
## 0.0.1-alpha.24
|
2117
2135
|
|
2118
2136
|
### Patch Changes
|
2119
2137
|
|
2120
|
-
- [#63](https://github.com/
|
2138
|
+
- [#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
2139
|
|
2122
2140
|
## 0.0.1-alpha.23
|
2123
2141
|
|
2124
2142
|
### Patch Changes
|
2125
2143
|
|
2126
|
-
- [#61](https://github.com/
|
2144
|
+
- [#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
2145
|
|
2128
2146
|
## 0.0.1-alpha.22
|
2129
2147
|
|
2130
2148
|
### Patch Changes
|
2131
2149
|
|
2132
|
-
- [#57](https://github.com/
|
2150
|
+
- [#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
2151
|
|
2134
|
-
- [#56](https://github.com/
|
2152
|
+
- [#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
2153
|
- Added `multicall`.
|
2136
2154
|
- Support overloaded contract functions.
|
2137
2155
|
|
@@ -2139,140 +2157,140 @@
|
|
2139
2157
|
|
2140
2158
|
### Patch Changes
|
2141
2159
|
|
2142
|
-
- [`5a6bdf8`](https://github.com/
|
2160
|
+
- [`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
2161
|
|
2144
2162
|
## 0.0.1-alpha.20
|
2145
2163
|
|
2146
2164
|
### Patch Changes
|
2147
2165
|
|
2148
|
-
- [`ebf1dc8`](https://github.com/
|
2166
|
+
- [`ebf1dc8`](https://github.com/wevm/viem/commit/ebf1dc8e4785fd8115687995916882caa94f7ecd) Thanks [@jxom](https://github.com/jxom)! - Added `watchEvent`
|
2149
2167
|
|
2150
|
-
- [`ebf1dc8`](https://github.com/
|
2168
|
+
- [`ebf1dc8`](https://github.com/wevm/viem/commit/ebf1dc8e4785fd8115687995916882caa94f7ecd) Thanks [@jxom](https://github.com/jxom)! - Added `watchContractEvent`
|
2151
2169
|
|
2152
|
-
- [`ae90357`](https://github.com/
|
2170
|
+
- [`ae90357`](https://github.com/wevm/viem/commit/ae9035735590b09e375dd4f773dd8b5e6c953fab) Thanks [@jxom](https://github.com/jxom)! - Made `watchBlocks` more type safe with the `includeTransactions` arg.
|
2153
2171
|
|
2154
2172
|
## 0.0.1-alpha.19
|
2155
2173
|
|
2156
2174
|
### Patch Changes
|
2157
2175
|
|
2158
|
-
- [`2028985`](https://github.com/
|
2176
|
+
- [`2028985`](https://github.com/wevm/viem/commit/202898521d4c211d73f8194c642c62a9baa57a46) Thanks [@jxom](https://github.com/jxom)! - Added `getStorageAt`
|
2159
2177
|
|
2160
2178
|
## 0.0.1-alpha.18
|
2161
2179
|
|
2162
2180
|
### Patch Changes
|
2163
2181
|
|
2164
|
-
- [`7afdee8`](https://github.com/
|
2182
|
+
- [`7afdee8`](https://github.com/wevm/viem/commit/7afdee87cda6cebeeb9446773b6373ab680f7207) Thanks [@jxom](https://github.com/jxom)! - Added `readContract`
|
2165
2183
|
|
2166
2184
|
## 0.0.1-alpha.17
|
2167
2185
|
|
2168
2186
|
### Patch Changes
|
2169
2187
|
|
2170
|
-
- [`ac69d16`](https://github.com/
|
2188
|
+
- [`ac69d16`](https://github.com/wevm/viem/commit/ac69d1675e70624919dc564f73ab91064c683a52) Thanks [@jxom](https://github.com/jxom)! - Added `writeContract`.
|
2171
2189
|
|
2172
|
-
- [`ac69d16`](https://github.com/
|
2190
|
+
- [`ac69d16`](https://github.com/wevm/viem/commit/ac69d1675e70624919dc564f73ab91064c683a52) Thanks [@jxom](https://github.com/jxom)! - **Breaking**: Replaced `callContract` with `simulateContract`.
|
2173
2191
|
|
2174
|
-
- [#44](https://github.com/
|
2192
|
+
- [#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
2193
|
|
2176
2194
|
## 0.0.1-alpha.16
|
2177
2195
|
|
2178
2196
|
### Patch Changes
|
2179
2197
|
|
2180
|
-
- [`9f386f5`](https://github.com/
|
2198
|
+
- [`9f386f5`](https://github.com/wevm/viem/commit/9f386f5737a228a57d1376992cd5a1374ed69262) Thanks [@jxom](https://github.com/jxom)! - Added sourcemaps
|
2181
2199
|
|
2182
2200
|
## 0.0.1-alpha.15
|
2183
2201
|
|
2184
2202
|
### Patch Changes
|
2185
2203
|
|
2186
|
-
- [`a74d643`](https://github.com/
|
2204
|
+
- [`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
2205
|
|
2188
2206
|
## 0.0.1-alpha.14
|
2189
2207
|
|
2190
2208
|
### Patch Changes
|
2191
2209
|
|
2192
|
-
- [`257c8f3`](https://github.com/
|
2210
|
+
- [`257c8f3`](https://github.com/wevm/viem/commit/257c8f34c83a05da7226fd84565535ffe4dc4a6a) Thanks [@jxom](https://github.com/jxom)! - Added `getBytecode`.
|
2193
2211
|
|
2194
2212
|
## 0.0.1-alpha.13
|
2195
2213
|
|
2196
2214
|
### Patch Changes
|
2197
2215
|
|
2198
|
-
- [`8799a49`](https://github.com/
|
2216
|
+
- [`8799a49`](https://github.com/wevm/viem/commit/8799a490b8b08fb90cd6edcdc1551f6b6e96bc64) Thanks [@jxom](https://github.com/jxom)! - Added `deployContract`
|
2199
2217
|
|
2200
2218
|
## 0.0.1-alpha.12
|
2201
2219
|
|
2202
2220
|
### Patch Changes
|
2203
2221
|
|
2204
|
-
- [`6a47671`](https://github.com/
|
2222
|
+
- [`6a47671`](https://github.com/wevm/viem/commit/6a47671ce9fe01f01cb744d85ac4e12674ef5b36) Thanks [@jxom](https://github.com/jxom)! - Fixed published `package.json`.
|
2205
2223
|
|
2206
2224
|
## 0.0.1-alpha.11
|
2207
2225
|
|
2208
2226
|
### Patch Changes
|
2209
2227
|
|
2210
|
-
- [#37](https://github.com/
|
2228
|
+
- [#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
2229
|
|
2212
|
-
- [`43700d9`](https://github.com/
|
2230
|
+
- [`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
2231
|
|
2214
2232
|
## 0.0.1-alpha.10
|
2215
2233
|
|
2216
2234
|
### Patch Changes
|
2217
2235
|
|
2218
|
-
- [#31](https://github.com/
|
2236
|
+
- [#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
2237
|
|
2220
2238
|
## 0.0.1-alpha.9
|
2221
2239
|
|
2222
2240
|
### Patch Changes
|
2223
2241
|
|
2224
|
-
- [`976fd86`](https://github.com/
|
2242
|
+
- [`976fd86`](https://github.com/wevm/viem/commit/976fd86ed55cb1931ba619c116db2753cf72a10b) Thanks [@jxom](https://github.com/jxom)! - Added `decodeDeployData`.
|
2225
2243
|
|
2226
2244
|
## 0.0.1-alpha.8
|
2227
2245
|
|
2228
2246
|
### Patch Changes
|
2229
2247
|
|
2230
|
-
- [`9120e26`](https://github.com/
|
2248
|
+
- [`9120e26`](https://github.com/wevm/viem/commit/9120e26fabe5d70ef13be7bc6eabfc966e3c4a29) Thanks [@jxom](https://github.com/jxom)! - Added `encodeErrorResult`.
|
2231
2249
|
|
2232
2250
|
## 0.0.1-alpha.7
|
2233
2251
|
|
2234
2252
|
### Patch Changes
|
2235
2253
|
|
2236
|
-
- [`c52ce66`](https://github.com/
|
2254
|
+
- [`c52ce66`](https://github.com/wevm/viem/commit/c52ce660d62f3d44499ea13b88a883b76dd5fe08) Thanks [@jxom](https://github.com/jxom)! - Added `decodeErrorResult`.
|
2237
2255
|
|
2238
|
-
- [`497b0b1`](https://github.com/
|
2256
|
+
- [`497b0b1`](https://github.com/wevm/viem/commit/497b0b1ce4c3585092fda1b6a9fd0526a0414c4d) Thanks [@jxom](https://github.com/jxom)! - Added `encodeEventTopics`.
|
2239
2257
|
|
2240
2258
|
## 0.0.1-alpha.6
|
2241
2259
|
|
2242
2260
|
### Patch Changes
|
2243
2261
|
|
2244
|
-
- [`94b32ab`](https://github.com/
|
2262
|
+
- [`94b32ab`](https://github.com/wevm/viem/commit/94b32ab85be156bf25fd64056532edc1d4441c70) Thanks [@jxom](https://github.com/jxom)! - Added `encodeDeployData`.
|
2245
2263
|
|
2246
2264
|
## 0.0.1-alpha.5
|
2247
2265
|
|
2248
2266
|
### Patch Changes
|
2249
2267
|
|
2250
|
-
- [`ee4d256`](https://github.com/
|
2268
|
+
- [`ee4d256`](https://github.com/wevm/viem/commit/ee4d256a50e4312614501b15c6b5f9b7b3220be3) Thanks [@jxom](https://github.com/jxom)! - Added `encodeFunctionResult`.
|
2251
2269
|
|
2252
2270
|
## 0.0.1-alpha.4
|
2253
2271
|
|
2254
2272
|
### Patch Changes
|
2255
2273
|
|
2256
|
-
- [`f2e6bb1`](https://github.com/
|
2274
|
+
- [`f2e6bb1`](https://github.com/wevm/viem/commit/f2e6bb1fee06ccd51c7b3a22accd01259daece0f) Thanks [@jxom](https://github.com/jxom)! - Added `decodeFunctionResult`.
|
2257
2275
|
|
2258
2276
|
## 0.0.1-alpha.3
|
2259
2277
|
|
2260
2278
|
### Patch Changes
|
2261
2279
|
|
2262
|
-
- [`849653f`](https://github.com/
|
2280
|
+
- [`849653f`](https://github.com/wevm/viem/commit/849653f246422c75487c141e94509920563f6706) Thanks [@jxom](https://github.com/jxom)! - - **Breaking**: Renamed `encodeFunctionParams` to `encodeFunctionData`.
|
2263
2281
|
- Added `decodeFunctionData`.
|
2264
2282
|
|
2265
2283
|
## 0.0.1-alpha.2
|
2266
2284
|
|
2267
2285
|
### Patch Changes
|
2268
2286
|
|
2269
|
-
- [#18](https://github.com/
|
2287
|
+
- [#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
2288
|
|
2271
2289
|
## 0.0.1-alpha.1
|
2272
2290
|
|
2273
2291
|
### Patch Changes
|
2274
2292
|
|
2275
|
-
- [`d722728`](https://github.com/
|
2293
|
+
- [`d722728`](https://github.com/wevm/viem/commit/d722728e8d54065b5f9882ec6146c194de4b3c62) Thanks [@jxom](https://github.com/jxom)! - - **Breaking**: Renamed `ethereumProvider` Transport to `custom`.
|
2276
2294
|
- **Breaking**: Refactored Transport APIs.
|
2277
2295
|
- **Breaking**: Flattened `sendTransaction`, `call` & `estimateGas` APIs.
|
2278
2296
|
- Added `encodeAbi` & `decodeAbi`.
|