summaryrefslogtreecommitdiffhomepage
path: root/packages/browser/src/methods/startRegistration.ts
diff options
context:
space:
mode:
authorJarrett Helton <jaydhelton@gmail.com>2021-08-24 16:05:03 -0400
committerJarrett Helton <jaydhelton@gmail.com>2021-08-24 16:05:03 -0400
commit2bb27c6febdbacbd7bbe4356318a6b3fa6fd84db (patch)
tree627b9ede4019e0756d6ffdbc1e8381d4a199bc03 /packages/browser/src/methods/startRegistration.ts
parent900a701c6852719b805d470bdcb4447ea769e841 (diff)
rename default exports
Diffstat (limited to 'packages/browser/src/methods/startRegistration.ts')
-rw-r--r--packages/browser/src/methods/startRegistration.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/browser/src/methods/startRegistration.ts b/packages/browser/src/methods/startRegistration.ts
index be97a1a..1bb5c34 100644
--- a/packages/browser/src/methods/startRegistration.ts
+++ b/packages/browser/src/methods/startRegistration.ts
@@ -37,7 +37,7 @@ export default async function startRegistration(
const credential = (await navigator.credentials.create({ publicKey })) as RegistrationCredential;
if (!credential) {
- throw new Error('Attestation was not completed');
+ throw new Error('Registration was not completed');
}
const { id, rawId, response, type } = credential;