Breaking Changes
- validate(…) was removed and replaced by verify(…). This will impact SIWE 1.0 and those at 2.0 that did not migrate when the method was deprecated. See SIWE Release 2.0 for more details on this change.
Relevant changes
- Removes dependencies on
uri-js
andvalid-url
(#213) - Re-writes ABNF parser in favor of a pre-generated grammar object for improved performance (#213)
- Added script to re-generated the grammar (#213)
- Added more unit tests (#213)
Addressed Issues
Closes issues:
- #177: uses a pre-generated parser for improved performance, see #200 for full reasoning
- #202: fixes invalid opts check
- #210: the nonce check is now handled by the ABNF parser
CONTRIBUTORS
@ldthomas (#213)
@chunningham (#213)
@w4ll3 (#213)
Complete changes
- Bump ejs from 3.1.9 to 3.1.10 by @dependabot in #201
- ABNF parser rewrite by @chunningham in #213
Full Changelog: https://github.com/spruceid/siwe/compare/[email protected]