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