summaryrefslogtreecommitdiffhomepage
path: root/packages/browser/src/methods/startAuthentication.ts
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2022-08-16 22:34:15 -0700
committerMatthew Miller <matthew@millerti.me>2022-08-16 22:34:15 -0700
commit8432ac818889a7b36bbfb4c620365d0ea3189b0f (patch)
tree9d0e672bd72628a8edc8696b97d4a0aa789aa872 /packages/browser/src/methods/startAuthentication.ts
parent2de1972b2461837a83a40a6bbb6cb51719002d3b (diff)
Capitalize the "A" in "Webauthn"
Diffstat (limited to 'packages/browser/src/methods/startAuthentication.ts')
-rw-r--r--packages/browser/src/methods/startAuthentication.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/browser/src/methods/startAuthentication.ts b/packages/browser/src/methods/startAuthentication.ts
index 6bc36d7..4cbe688 100644
--- a/packages/browser/src/methods/startAuthentication.ts
+++ b/packages/browser/src/methods/startAuthentication.ts
@@ -7,7 +7,7 @@ import {
import { bufferToBase64URLString } from '../helpers/bufferToBase64URLString';
import { base64URLStringToBuffer } from '../helpers/base64URLStringToBuffer';
import { bufferToUTF8String } from '../helpers/bufferToUTF8String';
-import { browserSupportsWebauthn } from '../helpers/browserSupportsWebauthn';
+import { browserSupportsWebAuthn } from '../helpers/browserSupportsWebAuthn';
import { browserSupportsWebAuthnAutofill } from '../helpers/browserSupportsWebAuthnAutofill';
import { toPublicKeyCredentialDescriptor } from '../helpers/toPublicKeyCredentialDescriptor';
import { identifyAuthenticationError } from '../helpers/identifyAuthenticationError';
@@ -24,7 +24,7 @@ export async function startAuthentication(
requestOptionsJSON: PublicKeyCredentialRequestOptionsJSON,
useBrowserAutofill = false,
): Promise<AuthenticationCredentialJSON> {
- if (!browserSupportsWebauthn()) {
+ if (!browserSupportsWebAuthn()) {
throw new Error('WebAuthn is not supported in this browser');
}