chore(deps): update dependency @simplewebauthn/types to v12 - #6888
chore(deps): update dependency @simplewebauthn/types to v12#6888renovate[bot] wants to merge 1 commit into
Conversation
COMPARE TO
|
| Name | Diff |
|---|---|
| packages/account/package.json | 0 Bytes |
| packages/experience/package.json | 0 Bytes |
| pnpm-lock.yaml | 📉 -266 Bytes |
|
This PR is stale because it has been open 10 for days with no activity. Remove stale label or comment or this will be closed in 5 days. |
f6411c5 to
ff66933
Compare
ff66933 to
7cf8535
Compare
7cf8535 to
09634e3
Compare
09634e3 to
9ef10ee
Compare
9ef10ee to
61ed07c
Compare
61ed07c to
42882a2
Compare
42882a2 to
e88592d
Compare
e88592d to
b34656a
Compare
d56bbb2 to
1569d13
Compare
| "@silverhand/ts-config-react": "6.0.0", | ||
| "@simplewebauthn/browser": "^10.0.0", | ||
| "@simplewebauthn/types": "^10.0.0", | ||
| "@simplewebauthn/types": "^12.0.0", |
| "@silverhand/ts-config-react": "6.0.0", | ||
| "@simplewebauthn/browser": "^10.0.0", | ||
| "@simplewebauthn/types": "^10.0.0", | ||
| "@simplewebauthn/types": "^12.0.0", |
| "@simplewebauthn/browser": "^10.0.0", | ||
| "@simplewebauthn/types": "^10.0.0", | ||
| "@simplewebauthn/types": "^12.0.0", |
| "@simplewebauthn/browser": "^10.0.0", | ||
| "@simplewebauthn/types": "^10.0.0", | ||
| "@simplewebauthn/types": "^12.0.0", |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 2 out of 3 changed files in this pull request and generated no new comments.
Files not reviewed (1)
- pnpm-lock.yaml: Generated file
Comments suppressed due to low confidence (2)
packages/experience/package.json:39
@simplewebauthn/browserremains on major^10.0.0while@simplewebauthn/typesis bumped to^12.0.0. Since these packages are typically version-coupled, this major-version mismatch can cause type incompatibilities or build-time failures. Consider upgrading@simplewebauthn/browserto the corresponding major version, or keep@simplewebauthn/typeson the same major as@simplewebauthn/browser.
"@simplewebauthn/types": "^12.0.0",
packages/account/package.json:39
- The same dependency pair (
@simplewebauthn/browser/@simplewebauthn/types) is being managed in multiple package.json files. If this repo uses workspace tooling (e.g., pnpm/yarn workspaces), consider centralizing or constraining these versions (e.g., workspace protocol / overrides) to prevent future cross-package version drift.
"@simplewebauthn/types": "^12.0.0",
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 2 out of 3 changed files in this pull request and generated no new comments.
Files not reviewed (1)
- pnpm-lock.yaml: Generated file
Comments suppressed due to low confidence (2)
packages/experience/package.json:39
- This bumps
@simplewebauthn/typesto^12.0.0while@simplewebauthn/browserremains at^10.0.0. These packages are typically versioned to be used together, and mixing major versions can lead to type incompatibilities (e.g., changed type exports or structural differences). Consider aligning the@simplewebauthn/browsermajor version with@simplewebauthn/types, or pinning@simplewebauthn/typesto the compatible major version for the currently used browser package.
"@simplewebauthn/types": "^12.0.0",
packages/account/package.json:39
- Same concern here:
@simplewebauthn/typesis now^12.0.0while@simplewebauthn/browseris still^10.0.0. To avoid cross-package major-version mismatches and potential type conflicts, align both packages to the same major (upgradebrowseras well, or keeptypeson^10.x).
"@simplewebauthn/types": "^12.0.0",
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 2 out of 3 changed files in this pull request and generated no new comments.
Files not reviewed (1)
- pnpm-lock.yaml: Generated file
Suppressed comments (2)
packages/experience/package.json:39
@simplewebauthn/browseris still pinned to^10.0.0while@simplewebauthn/typesis bumped to^12.0.0. Mixing major versions in a tightly-coupled library family is likely to cause type/API mismatches. Consider upgrading@simplewebauthn/browserto a compatible major version as well (or keeptypeson the same major asbrowser) to ensure the exported types align with the runtime package.
"@simplewebauthn/types": "^12.0.0",
packages/account/package.json:39
@simplewebauthn/browserremains at^10.0.0while@simplewebauthn/typesis updated to^12.0.0. This major-version mismatch can introduce incompatible typings relative to the runtime package. Align the major versions (upgradebrowser, or keeptypesat thebrowsermajor) so both packages stay compatible.
"@simplewebauthn/types": "^12.0.0",
| "@silverhand/ts-config-react": "6.0.0", | ||
| "@simplewebauthn/browser": "^10.0.0", | ||
| "@simplewebauthn/types": "^10.0.0", | ||
| "@simplewebauthn/types": "^12.0.0", |
| "@silverhand/ts-config-react": "6.0.0", | ||
| "@simplewebauthn/browser": "^10.0.0", | ||
| "@simplewebauthn/types": "^10.0.0", | ||
| "@simplewebauthn/types": "^12.0.0", |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 2 out of 3 changed files in this pull request and generated no new comments.
Files not reviewed (1)
- pnpm-lock.yaml: Generated file
Suppressed comments (2)
packages/experience/package.json:38
@simplewebauthn/browserremains on^10.0.0while@simplewebauthn/typesis bumped to^12.0.0. Since these packages are typically version-aligned, this major mismatch is likely to introduce TypeScript incompatibilities (changed/removed types) during compilation. Consider upgrading@simplewebauthn/browserto a compatible major version as well, or keep@simplewebauthn/typeson the matching major.
"@simplewebauthn/types": "^12.0.0",
packages/account/package.json:39
@simplewebauthn/browserremains on^10.0.0while@simplewebauthn/typesis bumped to^12.0.0. This major-version mismatch commonly leads to TS type errors due to divergent API/type shapes. Align majors by upgrading@simplewebauthn/browseraccordingly or keeping@simplewebauthn/typeson the^10.xline.
"@simplewebauthn/types": "^12.0.0",
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 2 out of 3 changed files in this pull request and generated no new comments.
Files not reviewed (1)
- pnpm-lock.yaml: Generated file
Suppressed comments (2)
packages/experience/package.json:39
@simplewebauthn/typeswas bumped to a new major (^12) while@simplewebauthn/browserremains at major^10. If these packages are intended to be used together, mismatched majors can cause type incompatibilities (breaking builds or requiring casts). Consider aligning both packages to the same major version (upgrade@simplewebauthn/browseraccordingly, or keeptypeson the matching major) and only split majors if you’ve verified compatibility.
"@simplewebauthn/browser": "^10.0.0",
"@simplewebauthn/types": "^12.0.0",
packages/account/package.json:39
- Same concern as in
packages/experience:@simplewebauthn/types@^12alongside@simplewebauthn/browser@^10can introduce breaking type mismatches. Recommend keeping majors aligned across these two dependencies (or documenting/validating the intentional mismatch).
"@simplewebauthn/browser": "^10.0.0",
"@simplewebauthn/types": "^12.0.0",
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 2 out of 3 changed files in this pull request and generated no new comments.
Files not reviewed (1)
- pnpm-lock.yaml: Generated file
Suppressed comments (2)
packages/experience/package.json:39
@simplewebauthn/typesis being bumped to a new major version while@simplewebauthn/browserremains at^10.0.0(same section). Mixing major versions between closely related packages can lead to incompatible type definitions and compile-time errors. Prefer aligning the major versions (e.g., bump@simplewebauthn/browserto the corresponding major if compatible), or keep@simplewebauthn/typeson the same major as@simplewebauthn/browser.
"@simplewebauthn/types": "^12.0.0",
packages/account/package.json:38
- Same issue as in
packages/experience:@simplewebauthn/typesis upgraded to^12while@simplewebauthn/browserremains^10. To avoid type/tooling mismatches, align these package majors (upgrade browser to the matching major or keep types at^10).
"@simplewebauthn/types": "^12.0.0",
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 2 out of 3 changed files in this pull request and generated no new comments.
Files not reviewed (1)
- pnpm-lock.yaml: Generated file
Suppressed comments (3)
packages/experience/package.json:39
@simplewebauthn/browseris still pinned to v10, but@simplewebauthn/typesis bumped to v12. Since browser@10 depends on types@10 (see pnpm-lock.yaml snapshots), this introduces two major versions of@simplewebauthn/typesin the workspace, which can lead to confusing or incompatible type relationships between startRegistration/startAuthentication return types and locally imported JSON types.
"@simplewebauthn/browser": "^10.0.0",
"@simplewebauthn/types": "^12.0.0",
packages/account/package.json:39
@simplewebauthn/browserremains on v10 while@simplewebauthn/typesis bumped to v12. Because browser@10 depends on types@10, this will install multiple majors of @simplewebauthn/types, which can cause type-level incompatibilities when combining browser APIs with types imported directly from @simplewebauthn/types.
"@simplewebauthn/browser": "^10.0.0",
"@simplewebauthn/types": "^12.0.0",
pnpm-lock.yaml:7618
- The lockfile update includes widespread metadata churn (e.g., adding
libcfields for many platform packages) beyond the stated@simplewebauthn/typesbump, which makes the PR harder to audit and may indicate a pnpm version/setting difference during lockfile regeneration.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 2 out of 3 changed files in this pull request and generated no new comments.
Files not reviewed (1)
- pnpm-lock.yaml: Generated file
Suppressed comments (5)
packages/experience/package.json:39
@simplewebauthn/browserremains on v10 while@simplewebauthn/typesis bumped to v12. Since browser depends on @simplewebauthn/types@10.0.0 (see pnpm-lock.yaml), this introduces two versions of the types package and may cause TS type mismatches. Consider aligning the major versions.
"@simplewebauthn/types": "^12.0.0",
packages/account/package.json:39
@simplewebauthn/browseris still pinned to v10, but@simplewebauthn/typesis bumped to v12. This creates two installed versions of@simplewebauthn/types(browser depends on 10.0.0 per pnpm-lock.yaml), which can lead to TypeScript type duplication/incompatibilities. Consider keeping@simplewebauthn/typesaligned with the@simplewebauthn/browsermajor until the browser package is upgraded too.
"@simplewebauthn/types": "^12.0.0",
pnpm-lock.yaml:13403
- The lockfile entry for the git-hosted oidc-provider dependency no longer includes an integrity hash (it switched to
{gitHosted: true, tarball: ...}), which can reduce reproducibility/supply-chain verification compared to an integrity-pinned tarball. Please confirm this is an intended pnpm lockfile-format change for this repo (e.g., due to pnpm version) and that integrity verification is still enforced for git tarballs.
pnpm-lock.yaml:9005 - pnpm-lock.yaml now flags @xmldom/xmldom@0.8.13 as deprecated with “critical issues”. Since this PR updates the lockfile, it would be good to follow up by upgrading the dependency/override that pulls this version to avoid known-bad releases.
pnpm-lock.yaml:7902 - The newly added @simplewebauthn/types@12.0.0 entry is marked as deprecated in the lockfile. If this deprecation is accurate upstream, upgrading will introduce/keep install-time warnings and may indicate the package has moved/been superseded; please verify this update is still desired.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.
Files not reviewed (1)
- pnpm-lock.yaml: Generated file
Suppressed comments (2)
packages/experience/package.json:39
@simplewebauthn/browseris still pinned to^10.0.0, but this bumps the direct@simplewebauthn/typesdependency to^12.0.0, which results in multiple major versions of@simplewebauthn/typesbeing installed (browser depends on@simplewebauthn/types@10.0.0perpnpm-lock.yaml:19235-19238). This can cause TypeScript type incompatibilities between values produced by@simplewebauthn/browserand the types imported from@simplewebauthn/types. Align the major versions (upgrade@simplewebauthn/browsertoo, or keep@simplewebauthn/typesat v10 until the browser package is upgraded).
"@simplewebauthn/types": "^12.0.0",
packages/account/package.json:39
@simplewebauthn/browserremains^10.0.0but@simplewebauthn/typesis bumped to^12.0.0, which leads to multiple major versions of@simplewebauthn/typesin the dependency graph (browser depends on@simplewebauthn/types@10.0.0perpnpm-lock.yaml:19235-19238). This can create TypeScript type mismatches. Align the major versions (upgrade@simplewebauthn/browsertoo, or keep@simplewebauthn/typesat v10 until you can upgrade browser/server together).
"@simplewebauthn/types": "^12.0.0",
| oidc-provider@https://codeload.github.com/logto-io/node-oidc-provider/tar.gz/513c523c0e68ee6112da8c871cce86204a136163: | ||
| resolution: {integrity: sha512-KaUwCyEEDSZILL2ua2f9SsQ2oSrgq04JAmkQzq2gj7VJyREH3zQS14G7MhfDYxEKjAhO4JZ6bUGzZjW/0Q5pEg==, tarball: https://codeload.github.com/logto-io/node-oidc-provider/tar.gz/513c523c0e68ee6112da8c871cce86204a136163} | ||
| resolution: {gitHosted: true, tarball: https://codeload.github.com/logto-io/node-oidc-provider/tar.gz/513c523c0e68ee6112da8c871cce86204a136163} | ||
| version: 9.11.3 |
There was a problem hiding this comment.
🔵 Needs a closer look
Review details
Files not reviewed (1)
- pnpm-lock.yaml: Generated file
Suppressed comments (3)
packages/account/package.json:39
@simplewebauthn/browser@10depends on@simplewebauthn/types@10(see pnpm-lock snapshot), but this package now pins@simplewebauthn/typesto^12. That results in two installed majors of@simplewebauthn/types, which can cause TypeScript type incompatibilities between the browser package’s types and the app’s imported types. Consider keeping@simplewebauthn/typeson the same major as@simplewebauthn/browserunless you’re also upgrading@simplewebauthn/browserand refactoring call sites for the v11+ API.
"@simplewebauthn/browser": "^10.0.0",
"@simplewebauthn/types": "^12.0.0",
packages/experience/package.json:39
@simplewebauthn/browser@10brings in@simplewebauthn/types@10, but this package now directly depends on@simplewebauthn/types@^12, so pnpm will install both majors. To avoid split-brain types (and potential TS incompatibilities), keep@simplewebauthn/typesaligned with the browser package’s major, or upgrade@simplewebauthn/browserand update code for the v11+ API changes.
"@simplewebauthn/browser": "^10.0.0",
"@simplewebauthn/types": "^12.0.0",
pnpm-lock.yaml:13403
- The lockfile change for the git-hosted
oidc-providertarball removed theintegrityfield. This weakens supply-chain verification and can reduce reproducibility; it likely indicates the lockfile was regenerated with a different pnpm version/format. Prefer keeping the integrity hash (or regenerating the lock with the repo’s standard pnpm version so integrity is preserved).
- Files reviewed: 2/3 changed files
- Comments generated: 0 new
- Review effort level: Lite
There was a problem hiding this comment.
🔵 Needs a closer look
The update introduces SimpleWebAuthn major-version skew (@simplewebauthn/browser@10 depending on @simplewebauthn/types@10 while directly installing @simplewebauthn/types@12), which can cause TypeScript incompatibilities and should be aligned or deferred.
Review details
Files not reviewed (1)
- pnpm-lock.yaml: Generated file
Suppressed comments (2)
packages/experience/package.json:39
@simplewebauthn/typesis bumped to v12 here, but this package still pins@simplewebauthn/browserto ^10.0.0. In the lockfile, @simplewebauthn/browser@10.0.0 depends on @simplewebauthn/types@10.0.0 (pnpm-lock.yaml:19214-19217), so this change installs two major versions of@simplewebauthn/types(10 and 12). That version skew can lead to TypeScript incompatibilities when values/types flow between@simplewebauthn/browserand direct@simplewebauthn/typesimports. Consider upgrading the whole SimpleWebAuthn set together (browser/server/types to the same major) and updating call sites for any breaking API changes (v11+), or keep@simplewebauthn/typeson ^10.0.0 until the migration is done.
"@simplewebauthn/browser": "^10.0.0",
"@simplewebauthn/types": "^12.0.0",
packages/account/package.json:39
@simplewebauthn/typesis bumped to v12 here, but this package still pins@simplewebauthn/browserto ^10.0.0. In the lockfile, @simplewebauthn/browser@10.0.0 depends on @simplewebauthn/types@10.0.0 (pnpm-lock.yaml:19214-19217), so this change installs two major versions of@simplewebauthn/types(10 and 12). That version skew can lead to TypeScript incompatibilities when values/types flow between@simplewebauthn/browserand direct@simplewebauthn/typesimports. Consider upgrading the whole SimpleWebAuthn set together (browser/server/types to the same major) and updating call sites for any breaking API changes (v11+), or keep@simplewebauthn/typeson ^10.0.0 until the migration is done.
"@simplewebauthn/browser": "^10.0.0",
"@simplewebauthn/types": "^12.0.0",
- Files reviewed: 2/3 changed files
- Comments generated: 0 new
- Review effort level: Lite
There was a problem hiding this comment.
🟡 Changes recommended
The update introduces a major-version mismatch between @simplewebauthn/browser@^10 and @simplewebauthn/types@^12 (and an unused direct types dependency in @logto/account), which should be resolved to avoid fragile/duplicated type dependencies.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Review details
Files not reviewed (1)
- pnpm-lock.yaml: Generated file
Suppressed comments (1)
packages/experience/package.json:39
@simplewebauthn/typesis being bumped to v12 while@simplewebauthn/browserremains on v10. This results in multiple major versions of@simplewebauthn/typesin the dependency graph (browser@10 pulls in types@10), which can lead to confusing/fragile TypeScript type interoperability between values returned from@simplewebauthn/browserand the v12 type imports used in this package. Consider upgrading@simplewebauthn/browserto the same major (and updating call sites for v11+ API changes), or keep@simplewebauthn/typeson v10 until the browser package upgrade is done.
"@simplewebauthn/browser": "^10.0.0",
"@simplewebauthn/types": "^12.0.0",
- Files reviewed: 2/3 changed files
- Comments generated: 1
- Review effort level: Lite
| "@simplewebauthn/browser": "^10.0.0", | ||
| "@simplewebauthn/types": "^10.0.0", | ||
| "@simplewebauthn/types": "^12.0.0", |
There was a problem hiding this comment.
🔵 Needs a closer look
The update introduces major-version skew between @simplewebauthn/browser@10 and a direct @simplewebauthn/types@12 dependency, resulting in two installed major versions of @simplewebauthn/types and potential type/API mismatches.
Review details
Files not reviewed (1)
- pnpm-lock.yaml: Generated file
Suppressed comments (2)
packages/account/package.json:39
- This bumps only
@simplewebauthn/typesto v12 while keeping@simplewebauthn/browseron v10; the lockfile now installs both@simplewebauthn/types@10(required by browser v10) and@simplewebauthn/types@12(direct), which can lead to duplicate/overlapping type definitions and version skew across WebAuthn APIs. Consider upgrading@simplewebauthn/browserto the same major (and updating call sites for any breaking API changes), or keep@simplewebauthn/typeson v10 until the browser package is upgraded.
"@simplewebauthn/browser": "^10.0.0",
"@simplewebauthn/types": "^12.0.0",
packages/experience/package.json:39
- This bumps only
@simplewebauthn/typesto v12 while keeping@simplewebauthn/browseron v10; the lockfile now installs both@simplewebauthn/types@10(required by browser v10) and@simplewebauthn/types@12(direct), which can lead to duplicate/overlapping type definitions and version skew across WebAuthn APIs. Consider upgrading@simplewebauthn/browserto the same major (and updating call sites for any breaking API changes), or keep@simplewebauthn/typeson v10 until the browser package is upgraded.
"@simplewebauthn/browser": "^10.0.0",
"@simplewebauthn/types": "^12.0.0",
- Files reviewed: 2/3 changed files
- Comments generated: 0 new
- Review effort level: Lite
There was a problem hiding this comment.
🟢 Approval recommended
No unresolved review comments; dependency manifests and lockfile are consistent.
Review details
Files not reviewed (1)
- pnpm-lock.yaml: Generated file
- Files reviewed: 2/3 changed files
- Comments generated: 0 new
- Review effort level: Lite
There was a problem hiding this comment.
🔵 Needs a closer look
The updated @simplewebauthn/types@^12 version is now out of sync with @simplewebauthn/browser@^10, which installs multiple types versions and can cause TypeScript type incompatibilities.
Review details
Files not reviewed (1)
- pnpm-lock.yaml: Generated file
Suppressed comments (2)
packages/experience/package.json:39
@simplewebauthn/browseris still pinned to^10.0.0while@simplewebauthn/typesis bumped to^12.0.0. This causes pnpm to install two versions of@simplewebauthn/types(browser@10 depends on types@10), and can introduce type incompatibilities when values returned from@simplewebauthn/browserare used with types imported from@simplewebauthn/types. Consider aligning the versions by either upgrading@simplewebauthn/browserto^12.0.0(and refactoring for the v11+ API), or keeping@simplewebauthn/typeson^10.0.0until the browser package is upgraded.
"@simplewebauthn/browser": "^10.0.0",
"@simplewebauthn/types": "^12.0.0",
packages/account/package.json:39
@simplewebauthn/browserremains on^10.0.0while@simplewebauthn/typesis updated to^12.0.0. Since browser@10 depends on types@10, this results in multiple installed versions of@simplewebauthn/typesand can lead to type mismatches when combining browser return values with types imported from@simplewebauthn/types. Consider upgrading@simplewebauthn/browserto^12.0.0(with the necessary API refactor) or keeping@simplewebauthn/typesat^10.0.0until the browser upgrade happens.
"@simplewebauthn/browser": "^10.0.0",
"@simplewebauthn/types": "^12.0.0",
- Files reviewed: 2/3 changed files
- Comments generated: 0 new
- Review effort level: Lite
This PR contains the following updates:
^10.0.0→^12.0.0Release Notes
MasterKale/SimpleWebAuthn (@simplewebauthn/types)
v12.0.0Compare Source
All SimpleWebAuthn packages are now available for installation from the
JavaScript Registry (JSR)! JSR is an "open-source package registry
for modern JavaScript and TypeScript" - you can read more about this new package registry and its
ESM-centric capabilities here.
All packages in v12.0.0 are functionally identical to v11.0.0! And JSR package hosting is in
addition to existing package hosting on NPM. Nothing changes about package installation via
npm install. Read on for more information.Packages
Changes
imports are supported (#634)
@simplewebauthn/browser (#634)
To install from JSR, use
npx jsr add @simplewebauthn/...ordeno add jsr:@simplewebauthn/...depending on which package manager is available.
Projects using
npmfor package management:Projects using
denofor package management:Projects using HTTPS modules via deno.land/x:
v12.0.0 officially deprecates importing SimpleWebAuthn from deno.land/x. See Breaking Changes
below for refactor guidance.
Breaking Changes
Importing SimpleWebAuthn packages from
"https://deno.land/x/simplewebauthn/..."URLs is no longersupported. Please use Deno's native support for JSR imports instead, available in projects running
Deno v1.42 and higher.
Before:
After:
Alternatively, use
deno addto install these packages fromJSR:
# Deno v1.42 and higher deno add jsr:@simplewebauthn/serverv11.0.0Compare Source
Say hello to support for automatic passkey registration, support for valid conditional UI
<input>elements stashed away in web components, and to the new
WebAuthnCredentialtype that modernizessome logic within.
There are some breaking changes in this release! Please see Breaking Changes below for refactor
guidance.
Packages
Changes
useAutoRegisterargument has been added tostartRegistration()tosupport 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)
verifyBrowserAutofillInputargument has been added tostartAuthentication()to disable throwing an error when a correctly configured<input>elementcannot be found (but perhaps a valid one is present in a web component shadow's DOM)
(#621)
AuthenticatorDevicetype has been renamed toWebAuthnCredentialandhas had its properties renamed. The return value out of
verifyRegistrationResponse()andcorresponding inputs into
verifyAuthenticationResponse()have been updated accordingly. SeeBreaking Changes below for refactor guidance
(#625)
verifyRegistrationResponse()now verifies that the authenticator data AAGUIDmatches the leaf cert's
id-fido-gen-ce-aaguidextension AAGUID when it is present(#609)
IBM (#610)
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:
After:
[server] [types] The
AuthenticatorDevicetype has been renamed toWebAuthnCredentialAuthenticatorDevice.credentialIDandAuthenticatorDevice.credentialPublicKeyhave been shortenedto
WebAuthnCredential.idandWebAuthnCredential.publicKeyrespectively.verifyRegistrationResponse()has been updated accordingly to return a newcredentialvalue oftype
WebAuthnCredential. Update code that storescredentialID,credentialPublicKey, andcounterout ofverifyRegistrationResponse()to storecredential.id,credential.publicKey,and
credential.counterinstead:Before:
After:
Update calls to
verifyAuthenticationResponse()to match the newcredentialargument thatreplaces the
authenticatorargument:Before:
After:
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.