diff options
author | Matthew Miller <matthew@millerti.me> | 2020-05-20 23:27:12 -0700 |
---|---|---|
committer | Matthew Miller <matthew@millerti.me> | 2020-05-20 23:27:12 -0700 |
commit | 4b5c9163395b2ba76a784ef51a81e7b1721bd595 (patch) | |
tree | 8185795af0dcdd29986dfb128c546bdc79f3b107 | |
parent | b7d5f4e6bcabced5afb1367d23d7384fabb8dcee (diff) |
Remove unused types
-rw-r--r-- | packages/typescript-types/src/index.ts | 20 |
1 files changed, 4 insertions, 16 deletions
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 |