chore: downgrade formsnap

This commit is contained in:
Elias Schneider
2025-01-27 12:00:40 +01:00
parent 04c7f180de
commit dab37c5967
3 changed files with 4743 additions and 4779 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -19,7 +19,7 @@
"bits-ui": "^0.22.0",
"clsx": "^2.1.1",
"crypto": "^1.0.1",
"formsnap": "^2.0.0",
"formsnap": "^1.0.1",
"jose": "^5.9.6",
"lucide-svelte": "^0.474.0",
"mode-watcher": "^0.5.1",

View File

@@ -1,8 +1,8 @@
import type { Passkey } from '$lib/types/passkey.type';
import type { User } from '$lib/types/user.type';
import type { AuthenticationResponseJSON, RegistrationResponseJSON } from '@simplewebauthn/types';
import APIService from './api-service';
import userStore from '$lib/stores/user-store';
import type { AuthenticationResponseJSON, RegistrationResponseJSON } from '@simplewebauthn/browser';
class WebAuthnService extends APIService {
async getRegistrationOptions() {