diff options
author | Matthew Miller <matthew@millerti.me> | 2023-09-28 23:48:54 -0700 |
---|---|---|
committer | Matthew Miller <matthew@millerti.me> | 2023-09-28 23:48:54 -0700 |
commit | d2777819d7904945b817ca46447853d32803a219 (patch) | |
tree | 6c56ff8553012045b5b373218419f91e8034bf46 /packages/browser/src/methods/startRegistration.ts | |
parent | 1c70e39302d81eb6fe2ba23da07c60f2dc397498 (diff) |
Rename webauthnAbortService
Diffstat (limited to 'packages/browser/src/methods/startRegistration.ts')
-rw-r--r-- | packages/browser/src/methods/startRegistration.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/browser/src/methods/startRegistration.ts b/packages/browser/src/methods/startRegistration.ts index 2ad3089..c34c21c 100644 --- a/packages/browser/src/methods/startRegistration.ts +++ b/packages/browser/src/methods/startRegistration.ts @@ -11,7 +11,7 @@ import { base64URLStringToBuffer } from '../helpers/base64URLStringToBuffer'; import { browserSupportsWebAuthn } from '../helpers/browserSupportsWebAuthn'; import { toPublicKeyCredentialDescriptor } from '../helpers/toPublicKeyCredentialDescriptor'; import { identifyRegistrationError } from '../helpers/identifyRegistrationError'; -import { webauthnAbortService } from '../helpers/webAuthnAbortService'; +import { WebauthnAbortService } from '../helpers/webAuthnAbortService'; import { toAuthenticatorAttachment } from '../helpers/toAuthenticatorAttachment'; /** @@ -42,7 +42,7 @@ export async function startRegistration( // Finalize options const options: CredentialCreationOptions = { publicKey }; // Set up the ability to cancel this request if the user attempts another - options.signal = webauthnAbortService.createNewAbortSignal(); + options.signal = WebauthnAbortService.createNewAbortSignal(); // Wait for the user to complete attestation let credential; |