npm @simplewebauthn/browser 5.0.0
v5.0.0 - The one with more insights

latest releases: 13.3.0, 13.2.2, 13.2.0...
4 years ago

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() and startAuthentication() 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 to verifyAuthenticationResponse() has been replaced with the simpler requireUserVerification 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,
});

Don't miss a new browser release

NewReleases is sending notifications on new releases.