summaryrefslogtreecommitdiffhomepage
path: root/packages/browser/src/methods/startAttestation.ts
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2020-05-20 23:53:15 -0700
committerMatthew Miller <matthew@millerti.me>2020-05-20 23:53:15 -0700
commitdddf3c30d104de7c5fa9da055dd52ed00d8ddaf9 (patch)
tree52cbbd5412eb8b56d15c3699f89f331514033ddc /packages/browser/src/methods/startAttestation.ts
parentf9610e3f3130b2c379647ad1629776c57821c6f9 (diff)
Refine type naming
Diffstat (limited to 'packages/browser/src/methods/startAttestation.ts')
-rw-r--r--packages/browser/src/methods/startAttestation.ts4
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');
}