Skip to content

Commit

Permalink
Export types from package roots
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterKale committed Dec 8, 2024
1 parent 187a3be commit d91a823
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 2 additions & 0 deletions packages/browser/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,5 @@ export {
};

export type { WebAuthnErrorCode } from './helpers/webAuthnError.ts';

export * from './types/index.ts';
6 changes: 2 additions & 4 deletions packages/server/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/**
* @packageDocumentation
* @module @simplewebauthn/server
*/
import { generateRegistrationOptions } from './registration/generateRegistrationOptions.ts';
import { verifyRegistrationResponse } from './registration/verifyRegistrationResponse.ts';
import { generateAuthenticationOptions } from './authentication/generateAuthenticationOptions.ts';
Expand Down Expand Up @@ -39,3 +35,5 @@ export type {
VerifyAuthenticationResponseOpts,
VerifyRegistrationResponseOpts,
};

export * from './types/index.ts';

0 comments on commit d91a823

Please sign in to comment.