You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Changed
BREAKING: Drop support for Node.js versions 18 and 20 (#422)
The minimum supported Node.js version is now 22.
BREAKING: Reject ambiguous bool values in signTypedData (all versions) instead of coercing them (#419)
bool fields now only accept the boolean values true/false or the exact strings 'true'/'false'. Any other value (e.g. 0, 1, '0', '', or an arbitrary string) now throws instead of being coerced via Boolean(value).
This fixes a signing footgun where a bool field supplied as the string 'false' was encoded and signed as true (every non-empty string is truthy in JavaScript), while interfaces displaying the raw value showed 'false'.
Add additional validation to EIP7702 methods (#410)