diff --git a/src/interfaces/index.ts b/src/interfaces/index.ts index 53db181..02c5874 100644 --- a/src/interfaces/index.ts +++ b/src/interfaces/index.ts @@ -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 };