Releases: wevm/viem
viem@0.0.1-alpha.35
Patch Changes
-
057e01e
Thanks @jxom! - -testClient.getTxPoolContent
→testClient.getTxpoolContent
testClient.getTxPoolStatus
→testClient.getTxpoolStatus
-
#85
2350d1a
Thanks @jxom! - Breaking: RenamedencodeAbi
&decodeAbi
toencodeAbiParameters
&decodeAbiParameters
, and modified API from named arguments to inplace arguments:import { - encodeAbi, - decodeAbi, + encodeAbiParameters, + decodeAbiParameters, } from 'viem' -const result = encodeAbi({ params, values }) +const result = encodeAbiParameters(params, values) -const result = decodeAbi({ params, data }) +const result = decodeAbiParameters(params, data)
viem@0.0.1-alpha.34
viem@0.0.1-alpha.33
viem@0.0.1-alpha.32
viem@0.0.1-alpha.31
viem@0.0.1-alpha.30
viem@0.0.1-alpha.29
viem@0.0.1-alpha.28
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()
viem@0.0.1-alpha.26
viem@0.0.1-alpha.25
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
.