chore(deps): Bump @simplewebauthn/browser from 10.0.0 to 11.0.0
Bumps @simplewebauthn/browser from 10.0.0 to 11.0.0.
Release notes
Sourced from @simplewebauthn/browser's releases.
v11.0.0 - The one that auto-registers
Say hello to support for automatic passkey registration, support for valid conditional UI
<input>elements stashed away in web components, and to the newWebAuthnCredentialtype that modernizes some logic within.There are some breaking changes in this release! Please see Breaking Changes below for refactor guidance.
Packages
Changes
- [browser] [server] A new
useAutoRegisterargument has been added tostartRegistration()to support attempts to automatically register passkeys for users who just completed non-passkey auth.verifyRegistrationResponse()has gained a newrequireUserPresenceoption that can be set tofalsewhen verifying responses fromstartRegistration({ useAutoRegister: true, ... })(#623)- [browser] A new
verifyBrowserAutofillInputargument has been added tostartAuthentication()to disable throwing an error when a correctly configured<input>element cannot be found (but perhaps a valid one is present in a web component shadow's DOM) (#621)- [server] [types] The
AuthenticatorDevicetype has been renamed toWebAuthnCredentialand has had its properties renamed. The return value out ofverifyRegistrationResponse()and corresponding inputs intoverifyAuthenticationResponse()have been updated accordingly. See Breaking Changes below for refactor guidance (#625)- [server]
verifyRegistrationResponse()now verifies that the authenticator data AAGUID matches the leaf cert'sid-fido-gen-ce-aaguidextension AAGUID when it is present (#609)- [server] TPM attestation verification recognizes the corrected TPM manufacturer identifier for IBM (#610)
- [server] Types for the defunct authenticator extensions
uvmanddpkhave been removed (#611)Breaking Changes
[browser] Positional arguments in
startRegistration()andstartAuthentication()have been replaced by a single objectProperty names in the object match the names of the previously-positional arguments. To update existing implementations, wrap existing options in an object with corresponding properties:
Before:
startRegistration(options); startAuthentication(options, true);After:
startRegistration({ optionsJSON: options }); startAuthentication({ optionsJSON: options, useBrowserAutofill: true });[server] [types] The
AuthenticatorDevicetype has been renamed toWebAuthnCredential
AuthenticatorDevice.credentialIDandAuthenticatorDevice.credentialPublicKeyhave been shortened toWebAuthnCredential.idandWebAuthnCredential.publicKeyrespectively.
verifyRegistrationResponse()has been updated accordingly to return a newcredentialvalue of typeWebAuthnCredential. Update code that storescredentialID,credentialPublicKey, andcounterout ofverifyRegistrationResponse()to storecredential.id,credential.publicKey, andcredential.counterinstead:Before:
const { registrationInfo } = await verifyRegistrationResponse({...}); </tr></table>
... (truncated)
Changelog
Sourced from @simplewebauthn/browser's changelog.
v11.0.0 - The one that auto-registers
Say hello to support for automatic passkey registration, support for valid conditional UI
<input>elements stashed away in web components, and to the newWebAuthnCredentialtype that modernizes some logic within.There are some breaking changes in this release! Please see Breaking Changes below for refactor guidance.
Packages
Changes
- [browser] [server] A new
useAutoRegisterargument has been added tostartRegistration()to support attempts to automatically register passkeys for users who just completed non-passkey auth.verifyRegistrationResponse()has gained a newrequireUserPresenceoption that can be set tofalsewhen verifying responses fromstartRegistration({ useAutoRegister: true, ... })(#623)- [browser] A new
verifyBrowserAutofillInputargument has been added tostartAuthentication()to disable throwing an error when a correctly configured<input>element cannot be found (but perhaps a valid one is present in a web component shadow's DOM) (#621)- [server] [types] The
AuthenticatorDevicetype has been renamed toWebAuthnCredentialand has had its properties renamed. The return value out ofverifyRegistrationResponse()and corresponding inputs intoverifyAuthenticationResponse()have been updated accordingly. See Breaking Changes below for refactor guidance (#625)- [server]
verifyRegistrationResponse()now verifies that the authenticator data AAGUID matches the leaf cert'sid-fido-gen-ce-aaguidextension AAGUID when it is present (#609)- [server] TPM attestation verification recognizes the corrected TPM manufacturer identifier for IBM (#610)
- [server] Types for the defunct authenticator extensions
uvmanddpkhave been removed (#611)Breaking Changes
[browser] Positional arguments in
startRegistration()andstartAuthentication()have been replaced by a single objectProperty names in the object match the names of the previously-positional arguments. To update existing implementations, wrap existing options in an object with corresponding properties:
Before:
startRegistration(options); </tr></table>
... (truncated)
Commits
1b06f47chore(release): publish v11.0.07952bb8Identify new possible user verification error9315fbfAdd useAutoRegister to startRegistration()31d66a2Add test for verifyBrowserAutofillInput3b61ec1Switch startRegistration to options blob too5d5ee04Allow skipping input verification errore0adc5dUpdate startAuthentication tests6cd5003Switch startAuthentication to options object- See full diff in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)