diff options
-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 |