v5.0.0 - The one with more insights
Packages:
- @simplewebauthn/[email protected]
- @simplewebauthn/[email protected]
- @simplewebauthn/[email protected]
- @simplewebauthn/[email protected]
Changes:
- [browser] Most common WebAuthn errors that can occur when calling
startRegistration()
andstartAuthentication()
will now return descriptions with more specific insights into what went wrong (#184) - [testing] Version sync
- [typescript-types] Version sync
Breaking Changes
- [server] The
fidoUserVerification
argument toverifyAuthenticationResponse()
has been replaced with the simplerrequireUserVerification
boolean (#181)
Previous values of "required"
should specify true
for this new argument; previous values of "preferred"
or "discouraged"
should specify false
:
Before:
const verification = verifyAuthenticationResponse({
// ...snip...
fidoUserVerification: 'required',
});
After:
const verification = verifyAuthenticationResponse({
// ...snip...
requireUserVerification: true,
});