diff --git a/lib/build/framework/fastify/index.d.ts b/lib/build/framework/fastify/index.d.ts index fb2d3fe21..3cca3a1a2 100644 --- a/lib/build/framework/fastify/index.d.ts +++ b/lib/build/framework/fastify/index.d.ts @@ -1,21 +1,18 @@ // @ts-nocheck /// export type { SessionRequest } from "./framework"; -export declare const plugin: import("fastify").FastifyPluginCallback< - Record, - import("fastify").RawServerDefault ->; +export declare const plugin: import("fastify").FastifyPluginCallback, import("http").Server>; export declare const errorHandler: () => ( err: any, req: import("fastify").FastifyRequest< import("fastify/types/route").RouteGenericInterface, - import("fastify").RawServerDefault, + import("http").Server, import("http").IncomingMessage >, res: import("fastify").FastifyReply< - import("fastify").RawServerDefault, + import("http").Server, import("http").IncomingMessage, - import("http").ServerResponse, + import("http").ServerResponse, import("fastify/types/route").RouteGenericInterface, unknown > diff --git a/lib/build/framework/utils.d.ts b/lib/build/framework/utils.d.ts index 123ddf23c..636a97724 100644 --- a/lib/build/framework/utils.d.ts +++ b/lib/build/framework/utils.d.ts @@ -45,7 +45,7 @@ export declare function setCookieForServerResponse( expires: number, path: string, sameSite: "strict" | "lax" | "none" -): ServerResponse; +): ServerResponse; export declare function getCookieValueToSetInHeader( prev: string | string[] | undefined, val: string | string[], diff --git a/package-lock.json b/package-lock.json index 7bb3d7837..b256f9f86 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,7 +6,7 @@ "packages": { "": { "name": "supertokens-node", - "version": "16.2.1", + "version": "16.3.2", "license": "Apache-2.0", "dependencies": { "content-type": "^1.0.5",