From e32301ab03d123b16a895e26c6dedc59a4b59d51 Mon Sep 17 00:00:00 2001 From: peintnermax Date: Mon, 29 Apr 2024 14:46:39 +0200 Subject: [PATCH] fix: export ZitadelAuth interface --- lib/src/index.ts | 2 +- lib/src/zitadelAuth.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;