update deps (MisskeyIO#833)

This commit is contained in:
あわわわとーにゅ 2024-12-19 05:35:13 +09:00 committed by GitHub
parent 7772d42d33
commit b3f73d7312
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
35 changed files with 2605 additions and 2786 deletions

View file

@ -32,7 +32,7 @@ import type {
PublicKeyCredentialCreationOptionsJSON,
PublicKeyCredentialRequestOptionsJSON,
RegistrationResponseJSON,
} from '@simplewebauthn/types';
} from '@simplewebauthn/server';
@Injectable()
export class WebAuthnService {
@ -78,7 +78,6 @@ export class WebAuthnService {
userID: isoUint8Array.fromUTF8String(userId),
userName: userName,
userDisplayName: userDisplayName,
attestationType: 'indirect',
excludeCredentials: keys.map(key => (<{ id: string; transports?: AuthenticatorTransportFuture[]; }>{
id: key.id,
transports: key.transports ?? undefined,