From 585f57e5e082dea38121dde3d60d17c87e208f53 Mon Sep 17 00:00:00 2001 From: Matthew Miller Date: Wed, 3 Jun 2020 07:54:20 -0700 Subject: Re-export two response JSON interfaces --- 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 da063a5..56d420a 100644 --- a/packages/typescript-types/src/index.ts +++ b/packages/typescript-types/src/index.ts @@ -72,13 +72,13 @@ export interface AssertionCredentialJSON response: AuthenticatorAssertionResponseJSON; } -interface AuthenticatorAttestationResponseJSON +export interface AuthenticatorAttestationResponseJSON extends Omit { clientDataJSON: Base64URLString; attestationObject: Base64URLString; } -interface AuthenticatorAssertionResponseJSON +export interface AuthenticatorAssertionResponseJSON extends Omit< AuthenticatorAssertionResponse, 'authenticatorData' | 'clientDataJSON' | 'signature' | 'userHandle' -- cgit v1.2.3