Packages:
- @simplewebauthn/browser@5.0.0
- @simplewebauthn/server@5.0.0
- @simplewebauthn/testing@5.0.0
- @simplewebauthn/typescript-types@5.0.0
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
fidoUserVerificationargument toverifyAuthenticationResponse()has been replaced with the simplerrequireUserVerificationboolean (#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,
});