From dddf3c30d104de7c5fa9da055dd52ed00d8ddaf9 Mon Sep 17 00:00:00 2001 From: Matthew Miller Date: Wed, 20 May 2020 23:53:15 -0700 Subject: Refine type naming --- packages/typescript-types/src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/typescript-types') diff --git a/packages/typescript-types/src/index.ts b/packages/typescript-types/src/index.ts index 8ab5763..8cb15de 100644 --- a/packages/typescript-types/src/index.ts +++ b/packages/typescript-types/src/index.ts @@ -73,7 +73,7 @@ export interface AssertionCredential extends PublicKeyCredential { * A slightly-modified AuthenticatorAttestationResponse 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 EncodedAuthenticatorAttestationResponse extends Omit< +export interface AuthenticatorAttestationResponseJSON extends Omit< AuthenticatorAttestationResponse, 'clientDataJSON' | 'attestationObject' > { base64ClientDataJSON: string, @@ -84,7 +84,7 @@ AuthenticatorAttestationResponse, 'clientDataJSON' | 'attestationObject' * A slightly-modified AuthenticatorAttestationResponse 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 EncodedAuthenticatorAssertionResponse extends Omit< +export interface AuthenticatorAssertionResponseJSON extends Omit< AuthenticatorAssertionResponse, 'clientDataJSON' | 'authenticatorData' | 'signature' > { base64AuthenticatorData: string; -- cgit v1.2.3