From 4b5c9163395b2ba76a784ef51a81e7b1721bd595 Mon Sep 17 00:00:00 2001 From: Matthew Miller Date: Wed, 20 May 2020 23:27:12 -0700 Subject: Remove unused types --- packages/typescript-types/src/index.ts | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) (limited to 'packages/typescript-types') diff --git a/packages/typescript-types/src/index.ts b/packages/typescript-types/src/index.ts index 2d9f8d2..71e888b 100644 --- a/packages/typescript-types/src/index.ts +++ b/packages/typescript-types/src/index.ts @@ -1,12 +1,6 @@ /** - * An object that can be passed into navigator.credentials.create(...) in the browser - */ -export type AttestationCredentials = { - publicKey: PublicKeyCredentialCreationOptions, -}; - -/** - * A variant of AttestationCredentials suitable for JSON transmission to the browser + * A variant of AttestationCredentials suitable for JSON transmission to the browser to + * (eventually) get passed into navigator.credentials.create(...) in the browser. * * Noteworthy values: * @param challenge A random string of characters. Will be converted to a Uint8Array in the browser @@ -36,14 +30,8 @@ export type AttestationCredentialsJSON = { }; /** - * An object that can be passed into navigator.credentials.get(...) in the browser - */ -export type AssertionCredentials = { - publicKey: PublicKeyCredentialRequestOptions, -}; - -/** - * A variant of AssertionCredentials suitable for JSON transmission to the browser + * A variant of AssertionCredentials suitable for JSON transmission to the browser to + * (eventually) get passed into navigator.credentials.get(...) in the browser. * * Noteworthy values: * @param challenge A random string of characters. Will be converted to a Uint8Array in the browser -- cgit v1.2.3