chore: migrate types to `@simplewebauthn/browser` (changes package layout)

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
pull/52141/head
Ferdinand Thiessen 2025-04-18 23:43:39 +07:00
parent 871ea1c9cd
commit 77b663231f
No known key found for this signature in database
GPG Key ID: 45FAE7268762B400
4 changed files with 2 additions and 10 deletions

@ -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'

@ -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'

7
package-lock.json generated

@ -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",

@ -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",