Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
viem@0.1.0
Minor Changes
fec4460
Thanks @jxom! - Initial release.Patch Changes
976fd86
Thanks @jxom! - AddeddecodeDeployData
.6c902f8
Thanks @jxom! - AddeddecodeEventLog
.#89
3e45853
Thanks @jxom! - AddedfetchOptions
to thehttp
transport.#81
eb572b0
Thanks @jxom! - Improved transaction & contract error messaging & coalesce error messages from nodes.057e01e
Thanks @jxom! - -testClient.getTxPoolContent
→testClient.getTxpoolContent
testClient.getTxPoolStatus
→testClient.getTxpoolStatus
#100
6bb8ce4
Thanks @jxom! - Breaking: RenamedrequestAccounts
Wallet Action torequestAddresses
Breaking: Renamed
getAccounts
Wallet Action togetAddresses
8799a49
Thanks @jxom! - AddeddeployContract
ebf1dc8
Thanks @jxom! - AddedwatchEvent
#37
32e2b76
Thanks @jxom! - Support CJSa74d643
Thanks @jxom! - Breaking: Removed theviem/actions
export in favor ofviem/public
,viem/test
&viem/wallet
exports.7afdee8
Thanks @jxom! - AddedreadContract
#57
40c76e3
Thanks @jxom! - supportPanic
& custom contract errorsd722728
Thanks @jxom! - - Breaking: RenamedethereumProvider
Transport tocustom
.sendTransaction
,call
&estimateGas
APIs.encodeAbi
&decodeAbi
.fallback
Transport.getFilterLogs
.#61
e4b2dbb
Thanks @tmm! - Exported multicall action6bdee9c
Thanks @jxom! - Fixed issue where fallback transport was not falling back on timeoutsf2e6bb1
Thanks @jxom! - AddeddecodeFunctionResult
.ebf1dc8
Thanks @jxom! - AddedwatchContractEvent
9120e26
Thanks @jxom! - AddedencodeErrorResult
.ac69d16
Thanks @jxom! - AddedwriteContract
.ac69d16
Thanks @jxom! - Breaking: ReplacedcallContract
withsimulateContract
.#44
f908190
Thanks @0xOlias! - AddedgetLogs
action.43700d9
Thanks @jxom! - Fixed issue where preinstall/postinstall scripts were being published to NPM.9f386f5
Thanks @jxom! - Added sourcemaps#63
7473582
Thanks @tmm! - Exported missingwatchContractEvent
andwatchEvent
actions.#85
2350d1a
Thanks @jxom! - Breaking: RenamedencodeAbi
&decodeAbi
toencodeAbiParameters
&decodeAbiParameters
, and modified API from named arguments to inplace arguments:#31
1f65640
Thanks @jxom! - Added initialcallContract
implementation5a6bdf8
Thanks @jxom! - Fixed an issue whereencodeAbi
couldn't encode dynamic bytes larger than 32 bytes"8ef068b
Thanks @jxom! - Added502
,503
and504
error codes as "non-deterministic" errors forfallback
transport & retries.#56
3e90197
Thanks @jxom! - - Breaking: RenamedhumanMessage
toshortMessage
inBaseError
.multicall
.22ffc1d
Thanks @jxom! - Added support for4001
&4902
RPC error codes.#91
0ac32c2
Thanks @jxom! - Breaking: RenamedgetFunctionSignature
andgetEventSignature
togetFunctionSelector
andgetEventSelector
.#18
bb9e88a
Thanks @jxom! - AddedencodeFunctionData
.#100
6bb8ce4
Thanks @jxom! - Added support for Externally Owned Accounts.ba8e7c5
Thanks @jxom! - Alpha release2028985
Thanks @jxom! - AddedgetStorageAt
94b32ab
Thanks @jxom! - AddedencodeDeployData
.8f51bdd
Thanks @jxom! - Breaking: Renamed encoding utils.encodeBytes
/decodeBytes
→toBytes
/fromBytes
encodeHex
/decodeHex
→toHex
/fromHex
encodeRlp
/decodeRlp
→toRlp
/fromRlp
#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 exports7d9a241
Thanks @jxom! - AddedestimateContractGas
.1971e6a
Thanks @jxom! - Added assertion to check if addresses are valid forsendTransaction
,estimateGas
&call
.#66
f19fc32
Thanks @tmm! - Added ENS actionsgetEnsAddress
andgetEnsName
.59a60cb
Thanks @jxom! - Fixed decoding zero data bytes6a47671
Thanks @jxom! - Fixed publishedpackage.json
.#79
db9caa9
Thanks @jxom! - Addedtimeout
as a config option to thehttp
andwebSocket
Transports.ae90357
Thanks @jxom! - MadewatchBlocks
more type safe with theincludeTransactions
arg.68c3816
Thanks @jxom! - AddedencodePacked
.e1634b5
Thanks @jxom! - Fixed ABI encoding dynamic tuple child derivation849653f
Thanks @jxom! - - Breaking: RenamedencodeFunctionParams
toencodeFunctionData
.decodeFunctionData
.#100
6bb8ce4
Thanks @jxom! - Breaking: Thefrom
argument has been removed from Actions in favour ofaccount
to distinguish between Account types:Affected actions:
call
estimateGas
sendTransaction
signMessage
estimateContractGas
multicall
readContract
simulateContract
writeContract
c52ce66
Thanks @jxom! - AddeddecodeErrorResult
.e07f212
Thanks @jxom! - Breaking: RenamedformatUnit
andparseUnit
toformatUnits
andparseUnits
.7d9a241
Thanks @jxom! - AddedretryCount
andretryDelay
config to Transports.#77
d6a29f5
Thanks @jxom! - Decorated Clients with their respective Actions.Example:
ee4d256
Thanks @jxom! - AddedencodeFunctionResult
.257c8f3
Thanks @jxom! - AddedgetBytecode
.68c3816
Thanks @jxom! - Madekeccak256
accept a hex value (as well as byte array).497b0b1
Thanks @jxom! - AddedencodeEventTopics
.