Releases: wevm/viem
Releases · wevm/viem
[email protected]
[email protected]
[email protected]
Patch Changes
-
8ef068b
Thanks @jxom! - Added502
,503
and504
error codes as "non-deterministic" errors forfallback
transport & retries. -
#79
db9caa9
Thanks @jxom! - Addedtimeout
as a config option to thehttp
andwebSocket
Transports. -
#77
d6a29f5
Thanks @jxom! - Decorated Clients with their respective Actions.Example:
import { createPublicClient, http } from 'viem' import { mainnet } from 'viem/chains' -import { getBlockNumber } from 'viem/public' const client = createPublicClient({ chain: mainnet, transport: http(), }) - const blockNumber = await getBlockNumber(client) + const blockNumber = await client.getBlockNumber()
[email protected]
[email protected]
Patch Changes
-
#68
1be77b3
Thanks @jxom! - Breaking: Removed all public/wallet/test actions & utils from theviem
entrypoint to their respective entrypoints:viem
= Clients & Transport exportsviem/chains
= Chains exportsviem/contract
= Contract Actions & Utils exportsviem/ens
= ENS Actions & Utils exportsviem/public
= Public Actions exportsviem/test
= Test Actions exportsviem/utils
= Utils exportsviem/wallet
= Wallet Actions exports
-
#66
f19fc32
Thanks @tmm! - Added ENS actionsgetEnsAddress
andgetEnsName
.