Skip to content

Commit

Permalink
chore: fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
gtsonevv committed Jul 4, 2024
1 parent 71b2764 commit c992a3c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/biometric-ed25519/src/fido2.ts
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
4 changes: 2 additions & 2 deletions packages/biometric-ed25519/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export const createKey = async (username: string): Promise<KeyPair> => {
const alg = await f2l.checkAlg(sanitizedResponse, {
challenge: challengeMakeCred.challenge,
origin,
factor: "either"
factor: 'either'
});

if (+alg === -257) {
Expand Down Expand Up @@ -148,4 +148,4 @@ export const isDeviceSupported = async (): Promise<boolean> => {
} catch (e) {
return false;
}
}
};

0 comments on commit c992a3c

Please sign in to comment.