Comparing version 0.4.0-beta.1 to 0.4.0-beta.2
@@ -107,3 +107,6 @@ "use strict"; | ||
const stepRes = await this.runStep(fnId, stepId, req.body); | ||
return void res.json(stepRes); | ||
if (stepRes.status === 500) { | ||
return void res.status(stepRes.status).json(stepRes.error); | ||
} | ||
return void res.status(stepRes.status).json(stepRes.body); | ||
default: | ||
@@ -124,3 +127,3 @@ return void res.sendStatus(405); | ||
status: 200, | ||
body: JSON.stringify(body), | ||
body, | ||
}; | ||
@@ -127,0 +130,0 @@ } |
@@ -112,3 +112,3 @@ import { InngestStep } from "./components/InngestStep"; | ||
status: 200; | ||
body?: string; | ||
body?: any; | ||
}; | ||
@@ -115,0 +115,0 @@ export interface RegisterPingResponse { |
@@ -1,2 +0,2 @@ | ||
export declare const version = "0.4.0-beta.1"; | ||
export declare const version = "0.4.0-beta.2"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -5,3 +5,3 @@ "use strict"; | ||
// Generated by genversion. | ||
exports.version = "0.4.0-beta.1"; | ||
exports.version = "0.4.0-beta.2"; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "inngest", | ||
"version": "0.4.0-beta.1", | ||
"version": "0.4.0-beta.2", | ||
"description": "Official SDK for Inngest.com", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
87801
810
0