diff --git a/lib/src/index.ts b/lib/src/index.ts index 198a62f..575f978 100644 --- a/lib/src/index.ts +++ b/lib/src/index.ts @@ -1 +1 @@ -export { createZitadelAuth, ZitadelConfig } from "./zitadelAuth"; +export { createZitadelAuth, ZitadelConfig, ZitadelAuth } from "./zitadelAuth"; diff --git a/lib/src/zitadelAuth.ts b/lib/src/zitadelAuth.ts index 5687b49..c11edd9 100644 --- a/lib/src/zitadelAuth.ts +++ b/lib/src/zitadelAuth.ts @@ -8,7 +8,7 @@ export type ZitadelConfig = Partial & { project_resource_id?: string; }; -interface ZitadelAuth { +export interface ZitadelAuth { authorize(): Promise; signout(): Promise; userManager: UserManager;