summaryrefslogtreecommitdiffhomepage
path: root/packages/typescript-types
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2020-05-21 08:40:39 -0700
committerMatthew Miller <matthew@millerti.me>2020-05-21 08:40:39 -0700
commit916fd7b32ba03b13b1309faae0ca077eebc4efb9 (patch)
treeac5a44deb763700f95c80b3044b9dca0f1551b82 /packages/typescript-types
parente247cedb57b03be0caa1d77d1d387fc8e9adc962 (diff)
Refine AuthenticatorAssertionResponseJSON interface
Diffstat (limited to 'packages/typescript-types')
-rw-r--r--packages/typescript-types/src/index.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/typescript-types/src/index.ts b/packages/typescript-types/src/index.ts
index 8cb15de..f4cb6ae 100644
--- a/packages/typescript-types/src/index.ts
+++ b/packages/typescript-types/src/index.ts
@@ -85,12 +85,12 @@ AuthenticatorAttestationResponse, 'clientDataJSON' | 'attestationObject'
* are base64-encoded in the browser so that they can be sent as JSON to the server.
*/
export interface AuthenticatorAssertionResponseJSON extends Omit<
-AuthenticatorAssertionResponse, 'clientDataJSON' | 'authenticatorData' | 'signature'
+AuthenticatorAssertionResponse, 'clientDataJSON' | 'authenticatorData' | 'signature' | 'userHandle'
> {
base64AuthenticatorData: string;
base64ClientDataJSON: string;
base64Signature: string;
- base64UserHandle: string;
+ base64UserHandle?: string;
}
export enum ATTESTATION_FORMATS {