From af8d952eeed08f01a9d938da126152c649caa297 Mon Sep 17 00:00:00 2001 From: Matthew Miller Date: Thu, 28 Jul 2022 10:06:02 -0700 Subject: Run `npm run lint` --- packages/server/src/helpers/decodeAuthenticatorExtensions.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'packages/server/src/helpers/decodeAuthenticatorExtensions.ts') diff --git a/packages/server/src/helpers/decodeAuthenticatorExtensions.ts b/packages/server/src/helpers/decodeAuthenticatorExtensions.ts index a0dc5c2..7723d85 100644 --- a/packages/server/src/helpers/decodeAuthenticatorExtensions.ts +++ b/packages/server/src/helpers/decodeAuthenticatorExtensions.ts @@ -6,7 +6,7 @@ import cbor from 'cbor'; * @param extensionData Authenticator Extension Data buffer */ export function decodeAuthenticatorExtensions( - extensionData: Buffer + extensionData: Buffer, ): AuthenticationExtensionsAuthenticatorOutputs | undefined { let toCBOR: AuthenticationExtensionsAuthenticatorOutputs | undefined; try { @@ -21,17 +21,17 @@ export function decodeAuthenticatorExtensions( export type AuthenticationExtensionsAuthenticatorOutputs = { devicePublicKey?: DevicePublicKeyAuthenticatorOutput; uvm?: UVMAuthenticatorOutput; -} +}; export type DevicePublicKeyAuthenticatorOutput = { dpk?: Buffer; scp?: Buffer; sig?: string; aaguid?: Buffer; -} +}; // TODO: Need to verify this format // https://w3c.github.io/webauthn/#sctn-uvm-extension. export type UVMAuthenticatorOutput = { - uvm?: Buffer[] -} + uvm?: Buffer[]; +}; -- cgit v1.2.3