diff options
Diffstat (limited to 'packages/browser/src/methods')
-rw-r--r-- | packages/browser/src/methods/startAuthentication.ts | 2 | ||||
-rw-r--r-- | packages/browser/src/methods/startRegistration.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/browser/src/methods/startAuthentication.ts b/packages/browser/src/methods/startAuthentication.ts index 6777b45..fd6f9a2 100644 --- a/packages/browser/src/methods/startAuthentication.ts +++ b/packages/browser/src/methods/startAuthentication.ts @@ -20,7 +20,7 @@ import { webauthnAbortService } from '../helpers/webAuthnAbortService'; * @param supportBrowserAutofill Initialize conditional UI to enable logging in via browser * autofill prompts */ -export default async function startAuthentication( +export async function startAuthentication( requestOptionsJSON: PublicKeyCredentialRequestOptionsJSON, supportBrowserAutofill = false, ): Promise<AuthenticationCredentialJSON> { diff --git a/packages/browser/src/methods/startRegistration.ts b/packages/browser/src/methods/startRegistration.ts index 40a3dd9..237744f 100644 --- a/packages/browser/src/methods/startRegistration.ts +++ b/packages/browser/src/methods/startRegistration.ts @@ -17,7 +17,7 @@ import { webauthnAbortService } from '../helpers/webAuthnAbortService'; * * @param creationOptionsJSON Output from @simplewebauthn/server's generateRegistrationOptions(...) */ -export default async function startRegistration( +export async function startRegistration( creationOptionsJSON: PublicKeyCredentialCreationOptionsJSON, ): Promise<RegistrationCredentialJSON> { if (!browserSupportsWebauthn()) { |