diff options
author | Matthew Miller <matthew@millerti.me> | 2020-05-21 11:17:31 -0700 |
---|---|---|
committer | Matthew Miller <matthew@millerti.me> | 2020-05-21 11:53:13 -0700 |
commit | 690e6112b233f640ff25ff10f254ba083dec6236 (patch) | |
tree | 3e3f7db039a091d8ee14b663e2f3b912a4f3cebc /packages/browser/src/methods/startAttestation.ts | |
parent | 2b9998d38a81e70b94ee7fb0cfada0a6478d2808 (diff) |
Capitalize “WebAuthn” properly
Diffstat (limited to 'packages/browser/src/methods/startAttestation.ts')
-rw-r--r-- | packages/browser/src/methods/startAttestation.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/browser/src/methods/startAttestation.ts b/packages/browser/src/methods/startAttestation.ts index 800b8e6..1a4b13d 100644 --- a/packages/browser/src/methods/startAttestation.ts +++ b/packages/browser/src/methods/startAttestation.ts @@ -17,7 +17,7 @@ export default async function startAttestation( creationOptionsJSON: PublicKeyCredentialCreationOptionsJSON ): Promise<AuthenticatorAttestationResponseJSON> { if (!supportsWebauthn()) { - throw new Error('Webauthn is not supported in this browser'); + throw new Error('WebAuthn is not supported in this browser'); } // We need to convert some values to Uint8Arrays before passing the credentials to the navigator |