diff --git a/apps/settings/src/service/WebAuthnRegistrationSerice.ts b/apps/settings/src/service/WebAuthnRegistrationSerice.ts index 8f9e085310c..0d1689ab90a 100644 --- a/apps/settings/src/service/WebAuthnRegistrationSerice.ts +++ b/apps/settings/src/service/WebAuthnRegistrationSerice.ts @@ -3,7 +3,7 @@ * SPDX-License-Identifier: AGPL-3.0-or-later */ -import type { PublicKeyCredentialCreationOptionsJSON, RegistrationResponseJSON } from '@simplewebauthn/types' +import type { PublicKeyCredentialCreationOptionsJSON, RegistrationResponseJSON } from '@simplewebauthn/browser' import { translate as t } from '@nextcloud/l10n' import { generateUrl } from '@nextcloud/router' diff --git a/core/src/services/WebAuthnAuthenticationService.ts b/core/src/services/WebAuthnAuthenticationService.ts index 7563e264109..df1837254ad 100644 --- a/core/src/services/WebAuthnAuthenticationService.ts +++ b/core/src/services/WebAuthnAuthenticationService.ts @@ -3,7 +3,7 @@ * SPDX-License-Identifier: AGPL-3.0-or-later */ -import type { AuthenticationResponseJSON, PublicKeyCredentialRequestOptionsJSON } from '@simplewebauthn/types' +import type { AuthenticationResponseJSON, PublicKeyCredentialRequestOptionsJSON } from '@simplewebauthn/browser' import { startAuthentication as startWebauthnAuthentication } from '@simplewebauthn/browser' import { generateUrl } from '@nextcloud/router' diff --git a/package-lock.json b/package-lock.json index 047a01d9160..d6c0c1034a8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -101,7 +101,6 @@ "@nextcloud/typings": "^1.9.1", "@nextcloud/webpack-vue-config": "^6.3.0", "@pinia/testing": "^0.1.7", - "@simplewebauthn/types": "^12.0.0", "@testing-library/cypress": "^10.0.3", "@testing-library/jest-dom": "^6.6.3", "@testing-library/user-event": "^14.6.1", @@ -5272,12 +5271,6 @@ "integrity": "sha512-WuHZ/PYvyPJ9nxSzgHtOEjogBhwJfC8xzYkPC+rR/+8chl/ft4ngjiK8kSU5HtRJfczupyOh33b25TjYbvwAcg==", "license": "MIT" }, - "node_modules/@simplewebauthn/types": { - "version": "12.0.0", - "resolved": "https://registry.npmjs.org/@simplewebauthn/types/-/types-12.0.0.tgz", - "integrity": "sha512-q6y8MkoV8V8jB4zzp18Uyj2I7oFp2/ONL8c3j8uT06AOWu3cIChc1au71QYHrP2b+xDapkGTiv+9lX7xkTlAsA==", - "dev": true - }, "node_modules/@sinonjs/formatio": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/@sinonjs/formatio/-/formatio-2.0.0.tgz", diff --git a/package.json b/package.json index 13c55d0c54b..eef3e95e8c7 100644 --- a/package.json +++ b/package.json @@ -132,7 +132,6 @@ "@nextcloud/typings": "^1.9.1", "@nextcloud/webpack-vue-config": "^6.3.0", "@pinia/testing": "^0.1.7", - "@simplewebauthn/types": "^12.0.0", "@testing-library/cypress": "^10.0.3", "@testing-library/jest-dom": "^6.6.3", "@testing-library/user-event": "^14.6.1",