From 4b9cda9285d70e6d09b8255d101dce8267682e03 Mon Sep 17 00:00:00 2001 From: Rafal Dziegielewski Date: Fri, 22 Sep 2023 15:15:55 +0200 Subject: [PATCH] fix: export all helpers/types/methods --- src/index.ts | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 6d0df63..b4b89bc 100644 --- a/src/index.ts +++ b/src/index.ts @@ -109,4 +109,17 @@ const plugin: ExpressPlugin = { name, buildAuthenticatedRouter, buildRouter }; export default plugin; -export type { AuthenticationOptions, FormidableOptions } from "./types.js"; +export type { + AuthenticationOptions, + FormidableOptions, + AuthenticationMaxRetriesOptions, + AuthenticationContext, +} from "./types.js"; +export * from "./buildRouter.js"; +export * from "./buildAuthenticatedRouter.js"; +export * from "./convertRoutes.js"; +export * from "./errors.js"; +export * from "./logger.js"; +export * from "./authentication/login.handler.js"; +export * from "./authentication/logout.handler.js"; +export * from "./authentication/protected-routes.handler.js";