diff options
-rw-r--r-- | packages/server/src/authentication/verifyAuthenticationResponse.ts | 2 | ||||
-rw-r--r-- | packages/server/src/helpers/index.ts | 2 | ||||
-rw-r--r-- | packages/server/src/helpers/isBase64URLString.ts | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/packages/server/src/authentication/verifyAuthenticationResponse.ts b/packages/server/src/authentication/verifyAuthenticationResponse.ts index 6161f92..97a837b 100644 --- a/packages/server/src/authentication/verifyAuthenticationResponse.ts +++ b/packages/server/src/authentication/verifyAuthenticationResponse.ts @@ -10,7 +10,7 @@ import toHash from '../helpers/toHash'; import { convertPublicKeyToPEM } from '../helpers/convertPublicKeyToPEM'; import verifySignature from '../helpers/verifySignature'; import parseAuthenticatorData from '../helpers/parseAuthenticatorData'; -import isBase64URLString from '../helpers/isBase64URLString'; +import { isBase64URLString } from '../helpers/isBase64URLString'; import { parseBackupFlags } from '../helpers/parseBackupFlags'; import { AuthenticationExtensionsAuthenticatorOutputs } from '../helpers/decodeAuthenticatorExtensions'; diff --git a/packages/server/src/helpers/index.ts b/packages/server/src/helpers/index.ts index 072e37c..c631bd3 100644 --- a/packages/server/src/helpers/index.ts +++ b/packages/server/src/helpers/index.ts @@ -8,7 +8,7 @@ import { decodeClientDataJSON } from './decodeClientDataJSON'; import { decodeCredentialPublicKey } from './decodeCredentialPublicKey'; import { generateChallenge } from './generateChallenge'; import { getCertificateInfo } from './getCertificateInfo'; -import isBase64URLString from './isBase64URLString'; +import { isBase64URLString } from './isBase64URLString'; import isCertRevoked from './isCertRevoked'; import parseAuthenticatorData from './parseAuthenticatorData'; import toHash from './toHash'; diff --git a/packages/server/src/helpers/isBase64URLString.ts b/packages/server/src/helpers/isBase64URLString.ts index 09a6404..f229bf3 100644 --- a/packages/server/src/helpers/isBase64URLString.ts +++ b/packages/server/src/helpers/isBase64URLString.ts @@ -4,7 +4,7 @@ const base64urlRegEx = /^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z /** * Check to see if a string only contains valid Base64URL values */ -export default function isBase64URLString(value: string): boolean { +export function isBase64URLString(value: string): boolean { if (!value) { return false; } |