Minor Changes
-
#2570
fee80a9a
Thanks @jxom! - Experimental: Added EIP-7702 Extension. See Docs -
#2586
0b1693aa
Thanks @tmm! - Renamed "zkSync" to "ZKsync":- Context: "zkSync" was officially renamed to "ZKsync" a while ago.
- Variable names:
zkSync
->zksync
(for simplicity and consistency between folder/file names and variables). - Types:
ZkSync
->Zksync
. - Old naming still remains in Viem, however is marked as
@deprecated
and will be removed in the next major release.
Removed deprecated
zkSyncTestnet
chain. -
#2583
b5aa9651
Thanks @jxom! - Added ability for consumer (libraries built on top of Viem) to globally configure properties onBaseError
.import { setErrorConfig } from 'viem' setErrorConfig({ getDocsUrl({ name }) { return `https://examplelib.com?error=${name}` } version: 'examplelib@1.2.3' })