diff options
Diffstat (limited to 'packages/browser/src/methods')
-rw-r--r-- | packages/browser/src/methods/startAssertion.ts | 2 | ||||
-rw-r--r-- | packages/browser/src/methods/startAttestation.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/browser/src/methods/startAssertion.ts b/packages/browser/src/methods/startAssertion.ts index c42e614..603c6fb 100644 --- a/packages/browser/src/methods/startAssertion.ts +++ b/packages/browser/src/methods/startAssertion.ts @@ -17,7 +17,7 @@ export default async function startAssertion( requestOptionsJSON: PublicKeyCredentialRequestOptionsJSON ): Promise<AuthenticatorAssertionResponseJSON> { 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 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 |