From c992a3cff5917f7c8549498dc0c60fc7e1d33777 Mon Sep 17 00:00:00 2001 From: Georgi Tsonev Date: Thu, 4 Jul 2024 14:56:29 +0300 Subject: [PATCH] chore: fix linter --- packages/biometric-ed25519/src/fido2.ts | 2 +- packages/biometric-ed25519/src/index.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/biometric-ed25519/src/fido2.ts b/packages/biometric-ed25519/src/fido2.ts index 9f3ae227f9..e53fccc831 100644 --- a/packages/biometric-ed25519/src/fido2.ts +++ b/packages/biometric-ed25519/src/fido2.ts @@ -1,6 +1,6 @@ import base64 from '@hexagon/base64'; import { Fido2Lib } from 'fido2-lib'; -import cbor from "cbor-js"; +import cbor from 'cbor-js'; export class Fido2 { f2l: Fido2Lib; diff --git a/packages/biometric-ed25519/src/index.ts b/packages/biometric-ed25519/src/index.ts index 54a1c67177..35fc3e45da 100644 --- a/packages/biometric-ed25519/src/index.ts +++ b/packages/biometric-ed25519/src/index.ts @@ -70,7 +70,7 @@ export const createKey = async (username: string): Promise => { const alg = await f2l.checkAlg(sanitizedResponse, { challenge: challengeMakeCred.challenge, origin, - factor: "either" + factor: 'either' }); if (+alg === -257) { @@ -148,4 +148,4 @@ export const isDeviceSupported = async (): Promise => { } catch (e) { return false; } -} \ No newline at end of file +}; \ No newline at end of file