v5.3.0
Packages:
- @simplewebauthn/browser@5.3.0
- @simplewebauthn/server@5.3.0
- @simplewebauthn/typescript-types@5.3.0
Changes:
- [browser]
startAuthentication()now accepts a seconduseBrowserAutofillboolean argument that sets up support for credential selection via a browser's autofill prompt (a.k.a. Conditional UI). The newbrowserSupportsWebAuthnAutofill()helper method can be used independently to determine when this feature is supported by the browser (#214) - [browser]
startRegistration()andstartAuthentication()will return a newauthenticatorAttachmentvalue when present that captures whether a cross-platform or platform authenticator was just used (#221) - [typescript-types] A new
PublicKeyCredentialFutureinterface has been added to define new properties currently defined in the WebAuthn L3 spec draft. These new values support the above new functionality until official TypeScript types are updated accordingly (#214, #221) - [typescript-types] A new
"hybrid"transport has been added toAuthenticatorTransportFuturewhile browsers migrate away from the existing"cable"transport for cross-device auth (#222)