Comparing version 2.5.2-pr-202.0 to 2.5.2-pr-202.1
@@ -48,5 +48,5 @@ "use strict"; | ||
for (const [name, value] of Object.entries(actionRes.headers)) { | ||
reply.header(name, value); | ||
void reply.header(name, value); | ||
} | ||
reply.code(actionRes.status); | ||
void reply.code(actionRes.status); | ||
return reply.send(actionRes.body); | ||
@@ -66,5 +66,7 @@ }); | ||
try { | ||
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment | ||
const handler = (0, exports.serve)(options.client, options.functions, options.options); | ||
fastify.route({ | ||
method: ["GET", "POST", "PUT"], | ||
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment | ||
handler, | ||
@@ -71,0 +73,0 @@ url: ((_a = options.options) === null || _a === void 0 ? void 0 : _a.serveHost) || "/api/inngest", |
{ | ||
"name": "inngest", | ||
"version": "2.5.2-pr-202.0", | ||
"version": "2.5.2-pr-202.1", | ||
"description": "Official SDK for Inngest.com", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
@@ -1,2 +0,2 @@ | ||
export declare const version = "2.5.2-pr-202.0"; | ||
export declare const version = "2.5.2-pr-202.1"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -5,3 +5,3 @@ "use strict"; | ||
// Generated by genversion. | ||
exports.version = "2.5.2-pr-202.0"; | ||
exports.version = "2.5.2-pr-202.1"; | ||
//# sourceMappingURL=version.js.map |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
501632
7677