Packages
- @simplewebauthn/browser@8.3.7
- @simplewebauthn/server@8.3.7
Changes
- [browser] The
WebAuthnErrorclass can now be imported from@simplewebauthn/browserfor simpler error detection and handling when callingstartRegistration()andstartAuthentication()(#505, with thanks to @zoontek) - [server] The
COSEPublicKeyEC2,COSEPublicKeyOKP, andCOSEPublicKeyRSAtypes can now be imported from@simplwebauthn/server/helpersto help type possible return values fromdecodeCredentialPublicKey()(#504, with thanks to @mmv08) - [server] Custom challenge strings passed to
generateRegistrationOptions()will now be treated as UTF-8 strings to align with the existing behavior ofgenerateAuthenticationOptions()(#507)