diff options
-rw-r--r-- | packages/typescript-types/src/index.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/typescript-types/src/index.ts b/packages/typescript-types/src/index.ts index d4a398d..034363d 100644 --- a/packages/typescript-types/src/index.ts +++ b/packages/typescript-types/src/index.ts @@ -54,7 +54,7 @@ export interface AttestationCredential extends PublicKeyCredential { * are base64-encoded in the browser so that they can be sent as JSON to the server. */ export interface AttestationCredentialJSON - extends Omit<AttestationCredential, 'response' | 'rawId'> { + extends Omit<AttestationCredential, 'response' | 'rawId' | 'getClientExtensionResults'> { rawId: Base64String; response: AuthenticatorAttestationResponseJSON; } @@ -70,7 +70,8 @@ export interface AssertionCredential extends PublicKeyCredential { * A slightly-modified AssertionCredential to simplify working with ArrayBuffers that * are base64-encoded in the browser so that they can be sent as JSON to the server. */ -export interface AssertionCredentialJSON extends Omit<AssertionCredential, 'response' | 'rawId'> { +export interface AssertionCredentialJSON + extends Omit<AssertionCredential, 'response' | 'rawId' | 'getClientExtensionResults'> { rawId: Base64String; response: AuthenticatorAssertionResponseJSON; } |