Releases: MetaMask/eth-sig-util
Releases · MetaMask/eth-sig-util
8.0.0
Changed
- BREAKING: Values of type
number
are not accepted as address parameter anymore. Valid values are string
and Uint8Array
. (#391)
- BREAKING: Drop support for Node.js versions 16, 21. (#390)
7.0.3
Changed
- Bump
@metamask/abi-utils
to ^2.0.4
(#381)
- Bump
@metamask/utils
from ^9.0.0
(#381)
7.0.2
Fixed
- Replace dependency
tweetnacl-util
with @scure/base
(#358)
7.0.1
Changed
- Remove dependency
ethjs-util
(#349)
Fixed
- BREAKING: fix: interpret 0x as hex in bytes encodeField (#354)
- This fixes a regression introduced in
6.0.1
which caused inconsistent signatures when data was supplied as literal 0x
.
- fix: Exclude test files from published release (#350)
- fix: Bump @babel/traverse from 7.21.5 to 7.23.2 (#341)
6.0.2
Fixed
- BREAKING: fix: interpret
0x
as hex in bytes
encodeField
(#356)
- This fixes a regression introduced in
6.0.1
which caused inconsistent signatures when data was supplied as literal 0x
.
7.0.0
Changed
- BREAKING: Increase minimum Node.js version to v16 (#332)
- BREAKING: Bump
@metamask/abi-utils
from ^1.0.2
to ^2.0.2
(#326)
- Bump
@metamask/utils
from ^5.0.2
to ^8.1.0
(#333)
6.0.1
Changed
- Swap out legacy
ethereumjs-abi
for @metamask/abi-utils
(#319)
Fixed
- Bump
ethereum-cryptography
from ^2.0.0
to ^2.1.2
(#302)
- Bump
ethereumjs/util
from ^8.0.6
to ^8.1.0
(#302)
- Remove unused dependency
bn.js
(#334) (#302)
6.0.0
Changed
- BREAKING: Fix
normalize
for empty strings and 0
(#315)
- This is breaking as it changes the behavior of the function with an empty string or
0
as input: it will now return 0x
for an empty string and 0x00
for 0
, instead of undefined
5.1.0
Changed
- rawEncode: fix broken BigNumber negativity check (#307)
- Specify type interface for multiple functions (#307)
- Improve
type
parameter input validation (#307)
- deps: [email protected]>4.12.0 (#309)
- devDeps: Support TypeScript version ~4.8.4 (#307)
5.0.3
Changed
- Bump ethereum-cryptography, @ethereumjs/util (#302)