Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

inngest

Package Overview
Dependencies
Maintainers
2
Versions
561
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

inngest - npm Package Compare versions

Comparing version 0.10.0-next.1 to 0.10.0-next.2

4

components/InngestFunction.js

@@ -160,3 +160,3 @@ "use strict";

*/
const fnArg = Object.assign(Object.assign({}, data), { tools });
const fnArg = Object.assign(Object.assign({}, data), { tools, step: tools });
/**

@@ -221,3 +221,3 @@ * If the user has passed functions they wish to use in their step, add them

if (!userFnToRun) {
throw new Error("Bad stack; no fn to execute; re-execute pls");
throw new Error(`Bad stack; executor requesting to run unknown step "${runStep}"`);
}

@@ -224,0 +224,0 @@ const result = await new Promise((resolve) => {

{
"name": "inngest",
"version": "0.10.0-next.1",
"version": "0.10.0-next.2",
"description": "Official SDK for Inngest.com",

@@ -23,3 +23,3 @@ "main": "./index.js",

"test": "node --expose-gc --max-old-space-size=4096 ./node_modules/.bin/jest --silent --logHeapUsage --maxWorkers=8 --coverage --ci --verbose",
"test:examples": "node --expose-gc --max-old-space-size=4096 ./node_modules/.bin/jest --silent --logHeapUsage --maxWorkers=8 --testMatch \"**/examples/test/*.test.ts\" --ci --verbose",
"test:examples": "node --expose-gc --max-old-space-size=4096 ./node_modules/.bin/jest --logHeapUsage --maxWorkers=8 --testMatch \"**/examples/**/*.test.ts\" --ci --verbose",
"clean": "rm -rf ./dist",

@@ -26,0 +26,0 @@ "lint": "eslint .",

@@ -22,3 +22,7 @@ import { z } from "zod";

export type HandlerArgs<Events extends Record<string, EventPayload>, Event extends keyof Events, Opts extends FunctionOptions> = EventData<Events[Event]> & {
/**
* @deprecated Use `step` instead.
*/
tools: ReturnType<typeof createStepTools<Events, Event>>[0];
step: ReturnType<typeof createStepTools<Events, Event>>[0];
} & (Opts["fns"] extends Record<string, any> ? {

@@ -25,0 +29,0 @@ /**

@@ -1,2 +0,2 @@

export declare const version = "0.10.0-next.1";
export declare const version = "0.10.0-next.2";
//# sourceMappingURL=version.d.ts.map

@@ -5,3 +5,3 @@ "use strict";

// Generated by genversion.
exports.version = "0.10.0-next.1";
exports.version = "0.10.0-next.2";
//# sourceMappingURL=version.js.map

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 too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc