Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[4.0.1-alpha.1]
Added
- If an error happens when decoding a value, preserve that exception at
innerError
inside the error classAbiError
. (#5435) - Add basic functionality that is used, by
web3-eth-contract
, when decoding error data according to EIP-838. (#5434)
Fixed
- Return
BigInt
instead ofstring
when decoding function parameters for large numbers, such asuint256
. (#5435)
[4.0.1-alpha.2]
Changed
- Updated Web3.js dependencies (#5664)
Fixed
- Fix
ContractMethodOutputParameters
type to support output object types by index and string key. Also, it returns void if ABI doesn't have outputs and returns exactly one type if the output array has only one element. (#5631)
[4.0.1-alpha.3]
Fixed
- Parameters decoding error for nested components (#5714)
Changed
- Updated dependencies (#5725)
[4.0.1-alpha.4]
Changed
tsc
compiled files moved tolib/
directory fromdist/
(#5739)
[4.0.1-alpha.5]
Changed
- web3.js dependencies (#5757)
[Unreleased]
Removed
- Moved all types and interfaces to
web3-types
(#5771)
Added
decodeErrorData
fromweb3-eth-contract
is now exported from this package and was renamed todecodeContractErrorData
(#5844)