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

@openfn/engine-multi

Package Overview
Dependencies
Maintainers
4
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@openfn/engine-multi - npm Package Compare versions

Comparing version 0.1.9 to 0.1.10

8

CHANGELOG.md
# engine-multi
## 0.1.10
### Patch Changes
- c8e9d51: Forward next from job complete
- Updated dependencies [7f352d2]
- @openfn/runtime@0.1.3
## 0.1.9

@@ -4,0 +12,0 @@

2

dist/index.d.ts

@@ -53,2 +53,3 @@ import * as _openfn_logger from '@openfn/logger';

state: any;
next: string[];
}

@@ -60,2 +61,3 @@ interface JobErrorPayload extends ExternalEvent {

error: any;
next: string[];
}

@@ -62,0 +64,0 @@ interface WorkerLogPayload extends ExternalEvent, JSONLog {

13

dist/index.js

@@ -166,4 +166,2 @@ // src/api.ts

const duration = Date.now() - startTime;
console.log("AUTOINSTALL ERROR");
console.log(e);
context.emit(AUTOINSTALL_ERROR, {

@@ -325,3 +323,2 @@ module: name,

logger.success("complete workflow ", workflowId);
logger.info(state);
state.status = "done";

@@ -344,3 +341,3 @@ state.result = result;

var jobComplete = (context, event) => {
const { threadId, state, duration, jobId } = event;
const { threadId, state, duration, jobId, next } = event;
context.emit(JOB_COMPLETE, {

@@ -350,7 +347,8 @@ threadId,

duration,
jobId
jobId,
next
});
};
var jobError = (context, event) => {
const { threadId, state, error: error2, duration, jobId } = event;
const { threadId, state, error: error2, duration, jobId, next } = event;
context.emit(JOB_ERROR, {

@@ -361,3 +359,4 @@ threadId,

duration,
jobId
jobId,
next
});

@@ -364,0 +363,0 @@ };

@@ -107,3 +107,4 @@ // src/worker/mock-worker.ts

duration: 100,
state
state,
next: []
});

@@ -110,0 +111,0 @@ resolve(state);

{
"name": "@openfn/engine-multi",
"version": "0.1.9",
"version": "0.1.10",
"description": "Multi-process runtime engine",

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

"@openfn/logger": "0.0.19",
"@openfn/runtime": "0.1.2"
"@openfn/runtime": "0.1.3"
},

@@ -17,0 +17,0 @@ "devDependencies": {

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