diff options
author | Matthew Miller <matthew@millerti.me> | 2024-01-20 21:12:13 -0800 |
---|---|---|
committer | Matthew Miller <matthew@millerti.me> | 2024-01-20 21:12:13 -0800 |
commit | bebd74f7ce6771fed521ec57badd1febac3b39ec (patch) | |
tree | d2ce79a8aeace5b8f2681158a3f9b32a17bb4087 | |
parent | 43e7c5fd1714b369412ede64ced1886d38f32657 (diff) |
Update server package
-rw-r--r-- | packages/server/build_npm.ts | 8 | ||||
-rw-r--r-- | packages/server/src/deps.ts | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/packages/server/build_npm.ts b/packages/server/build_npm.ts index f62562f..80a8d18 100644 --- a/packages/server/build_npm.ts +++ b/packages/server/build_npm.ts @@ -6,7 +6,7 @@ const lernaPackageJSON: { version: string } = JSON.parse( Deno.readTextFileSync('./package.json'), ); const typesPackageJSON: { version: string } = JSON.parse( - Deno.readTextFileSync('../typescript-types/npm/package.json'), + Deno.readTextFileSync('../types/npm/package.json'), ); await emptyDir(outDir); @@ -99,9 +99,9 @@ await build({ name: '@peculiar/asn1-android', version: '^2.3.10', }, - // Mapping for '../../typescript-types/src/index.ts' in deps.ts - '../typescript-types/src/index.ts': { - name: '@simplewebauthn/typescript-types', + // Mapping for '../../types/src/index.ts' in deps.ts + '../types/src/index.ts': { + name: '@simplewebauthn/types', version: `^${typesPackageJSON.version}`, }, }, diff --git a/packages/server/src/deps.ts b/packages/server/src/deps.ts index 5cf82fb..0d23319 100644 --- a/packages/server/src/deps.ts +++ b/packages/server/src/deps.ts @@ -1,4 +1,4 @@ -// @simplewebauthn/typescript-types +// @simplewebauthn/types export type { AttestationConveyancePreference, AuthenticationExtensionsClientInputs, @@ -15,7 +15,7 @@ export type { PublicKeyCredentialRequestOptionsJSON, RegistrationResponseJSON, UserVerificationRequirement, -} from '../../typescript-types/src/index.ts'; +} from '../../types/src/index.ts'; // cbor (a.k.a. cbor-x in Node land) export * as cborx from 'https://deno.land/x/cbor@v1.5.2/encode.js'; |