summaryrefslogtreecommitdiffhomepage
path: root/packages/server/src/authentication/generateAuthenticationOptions.ts
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2022-11-12 19:11:02 -0800
committerMatthew Miller <matthew@millerti.me>2022-11-12 19:11:02 -0800
commit6a4ced11ee7d1e872af4215f9aba82c7b64119c2 (patch)
tree973a5e98c52d094c4d2d9012cbfdb54853fdb38d /packages/server/src/authentication/generateAuthenticationOptions.ts
parentad7818a03b765f41b6115c7ee6259723b3cc786c (diff)
Rename isomorphic helpers to avoid collision?
I think `helpers/uint8Array.ts` might conflict with CI's ability to resolve the global `Uint8Array` when I `import * as uint8Array`...just a hunch. I decided to rename all the helpers too to help keep them grouped together.
Diffstat (limited to 'packages/server/src/authentication/generateAuthenticationOptions.ts')
-rw-r--r--packages/server/src/authentication/generateAuthenticationOptions.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/server/src/authentication/generateAuthenticationOptions.ts b/packages/server/src/authentication/generateAuthenticationOptions.ts
index 52060ba..a7c3a85 100644
--- a/packages/server/src/authentication/generateAuthenticationOptions.ts
+++ b/packages/server/src/authentication/generateAuthenticationOptions.ts
@@ -4,8 +4,8 @@ import type {
PublicKeyCredentialDescriptorFuture,
UserVerificationRequirement,
} from '@simplewebauthn/typescript-types';
-import * as base64url from '../helpers/base64url'
-import * as uint8Array from '../helpers/uint8Array';
+import * as isoBase64URL from '../helpers/isoBase64URL'
+import * as isoUint8Array from '../helpers/isoUint8Array';
import { generateChallenge } from '../helpers/generateChallenge';