diff options
Diffstat (limited to 'packages/browser/src/methods')
-rw-r--r-- | packages/browser/src/methods/startAttestation.ts | 4 |
1 files changed, 2 insertions, 2 deletions
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<EncodedAuthenticatorAttestationResponse> { +): Promise<AuthenticatorAttestationResponseJSON> { if (!supportsWebauthn()) { throw new Error('Webauthn is not supported in this browser'); } |