v7.2.0
Packages:
- @simplewebauthn/browser@7.2.0
- @simplewebauthn/iso-webcrypto@7.2.0
- @simplewebauthn/server@7.2.0
Changes:
- [server]
generateRegistrationOptions()defaults to-8,-7, and-257for supported public key algorithms (#361) - [browser] [iso-webcrypto] [server] Users will no longer need to also
npm install @simplewebauthn/typescript-typesto pull in type definitions when using these libraries (#370) - [browser] Errors raised by
startRegistration()andstartAuthentication()now include acodeproperty to help programmatically detect identified errors. A newcauseproperty is also populated that will always include the original error raised by the WebAuthn API call (#367) - [browser] Aborting conditional UI (i.e. calling
startAuthentication(..., true)and then subsequently callingstartAuthentication()for modal UI) will now throw anAbortErrorinstead of astring(#371)