From 8432ac818889a7b36bbfb4c620365d0ea3189b0f Mon Sep 17 00:00:00 2001 From: Matthew Miller Date: Tue, 16 Aug 2022 22:34:15 -0700 Subject: Capitalize the "A" in "Webauthn" --- packages/browser/src/methods/startRegistration.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/browser/src/methods/startRegistration.ts') diff --git a/packages/browser/src/methods/startRegistration.ts b/packages/browser/src/methods/startRegistration.ts index f809405..e103c11 100644 --- a/packages/browser/src/methods/startRegistration.ts +++ b/packages/browser/src/methods/startRegistration.ts @@ -7,7 +7,7 @@ import { import { utf8StringToBuffer } from '../helpers/utf8StringToBuffer'; import { bufferToBase64URLString } from '../helpers/bufferToBase64URLString'; import { base64URLStringToBuffer } from '../helpers/base64URLStringToBuffer'; -import { browserSupportsWebauthn } from '../helpers/browserSupportsWebauthn'; +import { browserSupportsWebAuthn } from '../helpers/browserSupportsWebAuthn'; import { toPublicKeyCredentialDescriptor } from '../helpers/toPublicKeyCredentialDescriptor'; import { identifyRegistrationError } from '../helpers/identifyRegistrationError'; import { webauthnAbortService } from '../helpers/webAuthnAbortService'; @@ -20,7 +20,7 @@ import { webauthnAbortService } from '../helpers/webAuthnAbortService'; export async function startRegistration( creationOptionsJSON: PublicKeyCredentialCreationOptionsJSON, ): Promise { - if (!browserSupportsWebauthn()) { + if (!browserSupportsWebAuthn()) { throw new Error('WebAuthn is not supported in this browser'); } -- cgit v1.2.3