diff --git a/web/packages/auth-server/package.json b/web/packages/auth-server/package.json index 973098154..8b340230c 100644 --- a/web/packages/auth-server/package.json +++ b/web/packages/auth-server/package.json @@ -1,6 +1,6 @@ { "name": "@signalco/auth-server", - "version": "0.4.0", + "version": "0.4.1", "sideEffects": false, "type": "module", "license": "MIT", diff --git a/web/packages/auth-server/src/InitAuth.ts b/web/packages/auth-server/src/InitAuth.ts index cf15be827..6fdf60006 100644 --- a/web/packages/auth-server/src/InitAuth.ts +++ b/web/packages/auth-server/src/InitAuth.ts @@ -13,7 +13,7 @@ export function initAuth(config: AuthConfig): { withAuth: (handler: (ctx: WithAuthContext) => Promise) => Promise; createJwt: (userId: string, expirationTime?: string | number | Date) => Promise; setCookie: (cookieValue: Promise | string, expiry?: number) => Promise; - clearCookie: () => void; + clearCookie: () => Promise; } { const initializedConfig: AuthConfigInitialized = { ...{