Skip to content

Commit

Permalink
fix(auth-server): Invalid clearCookie function signature
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksandarDev committed Dec 27, 2024
1 parent 0e0b882 commit 9b83153
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/packages/auth-server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@signalco/auth-server",
"version": "0.4.0",
"version": "0.4.1",
"sideEffects": false,
"type": "module",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion web/packages/auth-server/src/InitAuth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export function initAuth<TUser extends UserBase>(config: AuthConfig<TUser>): {
withAuth: (handler: (ctx: WithAuthContext<TUser>) => Promise<Response>) => Promise<Response>;
createJwt: (userId: string, expirationTime?: string | number | Date) => Promise<string>;
setCookie: (cookieValue: Promise<string> | string, expiry?: number) => Promise<void>;
clearCookie: () => void;
clearCookie: () => Promise<void>;
} {
const initializedConfig: AuthConfigInitialized<TUser> = {
...{
Expand Down

0 comments on commit 9b83153

Please sign in to comment.