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