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/browser/src/methods/startAttestation.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/browser/src') diff --git a/packages/browser/src/methods/startAttestation.ts b/packages/browser/src/methods/startAttestation.ts index 3b955cc..af28e13 100644 --- a/packages/browser/src/methods/startAttestation.ts +++ b/packages/browser/src/methods/startAttestation.ts @@ -1,6 +1,6 @@ import { PublicKeyCredentialCreationOptionsJSON, - EncodedAuthenticatorAttestationResponse, + AuthenticatorAttestationResponseJSON, AttestationCredential, } from '@webauthntine/typescript-types'; @@ -13,7 +13,7 @@ import supportsWebauthn from '../helpers/supportsWebauthn'; */ export default async function startAttestation( creationOptionsJSON: PublicKeyCredentialCreationOptionsJSON -): Promise { +): Promise { if (!supportsWebauthn()) { throw new Error('Webauthn is not supported in this browser'); } -- cgit v1.2.3