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.
- Bump
@metamask/superstruct
from^3.0.0
to^3.1.0
(#79, #80) - Bump
@metamask/utils
from^8.5.0
to^9.0.0
(#80)
- Replace dependency
superstruct
with@metamask/superstruct
^3.0.0
(#73)- This fixes the issue of this package being unusable by any TypeScript project that uses
Node16
orNodeNext
as itsmoduleResolution
option.
- This fixes the issue of this package being unusable by any TypeScript project that uses
- Bump @metamask/utils from ^5.0.2 to ^6.1.0 (#35)
- BREAKING: The minimum Node.js version is now 16 (#32)
- Decrease minimum supported Node.js version to v14 (#30)
- Bump
superstruct
and@metamask/utils
(#25)
- Add non-standard packed mode (#15)
- This adds a new function
encodePacked
, which matches the behaviour ofabi.encodePacked
in Solidity
- This adds a new function
- Allow byte values shorter than specified size (#12)
- Add better validation of number type and value (#13)
- Number values are now checked if they are within the bounds of the type
- Initial release