diff options
Diffstat (limited to 'packages/server/src')
-rw-r--r-- | packages/server/src/index.ts | 2 | ||||
-rw-r--r-- | packages/server/src/registration/verifyRegistrationResponse.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/server/src/index.ts b/packages/server/src/index.ts index 9af6b08..a2ad8d5 100644 --- a/packages/server/src/index.ts +++ b/packages/server/src/index.ts @@ -3,7 +3,7 @@ * @module @simplewebauthn/server */ import { generateRegistrationOptions } from './registration/generateRegistrationOptions'; -import verifyRegistrationResponse from './registration/verifyRegistrationResponse'; +import { verifyRegistrationResponse } from './registration/verifyRegistrationResponse'; import { generateAuthenticationOptions } from './authentication/generateAuthenticationOptions'; import { verifyAuthenticationResponse } from './authentication/verifyAuthenticationResponse'; import MetadataService from './services/metadataService'; diff --git a/packages/server/src/registration/verifyRegistrationResponse.ts b/packages/server/src/registration/verifyRegistrationResponse.ts index 9935633..374b854 100644 --- a/packages/server/src/registration/verifyRegistrationResponse.ts +++ b/packages/server/src/registration/verifyRegistrationResponse.ts @@ -52,7 +52,7 @@ export type VerifyRegistrationResponseOpts = { * @param supportedAlgorithmIDs Array of numeric COSE algorithm identifiers supported for * attestation by this RP. See https://www.iana.org/assignments/cose/cose.xhtml#algorithms */ -export default async function verifyRegistrationResponse( +export async function verifyRegistrationResponse( options: VerifyRegistrationResponseOpts, ): Promise<VerifiedRegistrationResponse> { const { |