Skip to content

Commit

Permalink
remove unused types
Browse files Browse the repository at this point in the history
  • Loading branch information
BurntVal committed Aug 21, 2024
1 parent ea01f62 commit 8de6d8d
Showing 1 changed file with 0 additions and 36 deletions.
36 changes: 0 additions & 36 deletions src/interfaces/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,42 +42,6 @@ export type ICoin = {
amount: string;
};

enum AuthenticatorTransport {
USB = "usb",
NFC = "nfc",
BLE = "ble",
Hybrid = "hybrid",
Internal = "internal",
}

interface CredentialFlags {
UserPresent: boolean;
UserVerified: boolean;
BackupEligible: boolean;
BackupState: boolean;
}

enum AuthenticatorAttachment {
Platform = "platform",
CrossPlatform = "cross-platform"
}

interface Authenticator {
AAGUID: string;
SignCount: number;
CloneWarning: boolean;
Attachment: AuthenticatorAttachment
}

export type ICredential = {
ID: string;
PublicKey: string;
AttestationType: string
Transport: AuthenticatorTransport[];
Flags: CredentialFlags
Authenticator: Authenticator
}

export type IAuthenticator = {
Secp256K1?: { pubkey: string };
Ed25519?: { pubkey: string };
Expand Down

0 comments on commit 8de6d8d

Please sign in to comment.