summaryrefslogtreecommitdiffhomepage
path: root/packages/browser/src/methods/startRegistration.ts
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2022-06-17 23:04:18 -0700
committerMatthew Miller <matthew@millerti.me>2022-06-17 23:04:18 -0700
commit62a0b18a586bdb6ebcc89aefe2b925181003aa3a (patch)
tree15226788bf06268617ca2082cced9ce8e96fbd7a /packages/browser/src/methods/startRegistration.ts
parent6b1f531754a2816bc4d0a0ea51543a1c6ba54316 (diff)
Replace two default exports with named exports
Diffstat (limited to 'packages/browser/src/methods/startRegistration.ts')
-rw-r--r--packages/browser/src/methods/startRegistration.ts2
1 files changed, 1 insertions, 1 deletions
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()) {