@n8n/engine 0.19.0 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auth/action-token.js +1 -1
- package/dist/auth/action-token.js.map +1 -1
- package/dist/build.tsbuildinfo +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +10 -11
package/dist/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export type { AuthenticatedCaller, ActionScope, IdentityVerifier } from './auth'
|
|
|
6
6
|
export type { EngineErrorResponse, ExecutionSnapshot, StepDetail } from './server';
|
|
7
7
|
export { MAX_LIFECYCLE_EVENTS_PER_BATCH, lifecycleEventBatchSchema, lifecycleEventSchema, } from './lifecycle-events';
|
|
8
8
|
export type { LifecycleEventCallback, LifecycleEvent, LifecycleEventBatch, } from './lifecycle-events';
|
|
9
|
+
export { UnimplementedError } from './common';
|
|
9
10
|
export type { JsonObject, JsonValue } from './common';
|
|
10
11
|
export { deriveLoops, isBatchStepConfig } from './graph';
|
|
11
12
|
export type { BatchStepConfig, GraphEdge, GraphNode, StepConfig, StepType, WorkflowGraph, WorkflowLoop, } from './graph';
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WorkflowStepExecution = exports.WorkflowExecution = exports.createDataSource = exports.StepNotFoundError = exports.ExecutionNotFoundError = exports.AdmittanceRejectedError = exports.AllowAllAdmittance = exports.isBatchStepConfig = exports.deriveLoops = exports.lifecycleEventSchema = exports.lifecycleEventBatchSchema = exports.MAX_LIFECYCLE_EVENTS_PER_BATCH = exports.verifyActionToken = exports.SharedSecretIdentityVerifier = exports.mintIdentityToken = exports.mintActionToken = exports.InvalidIdentityTokenError = exports.InvalidActionTokenError = exports.IDENTITY_TOKEN = exports.ACTION_TOKEN = exports.createEngineRuntime = void 0;
|
|
3
|
+
exports.WorkflowStepExecution = exports.WorkflowExecution = exports.createDataSource = exports.StepNotFoundError = exports.ExecutionNotFoundError = exports.AdmittanceRejectedError = exports.AllowAllAdmittance = exports.isBatchStepConfig = exports.deriveLoops = exports.UnimplementedError = exports.lifecycleEventSchema = exports.lifecycleEventBatchSchema = exports.MAX_LIFECYCLE_EVENTS_PER_BATCH = exports.verifyActionToken = exports.SharedSecretIdentityVerifier = exports.mintIdentityToken = exports.mintActionToken = exports.InvalidIdentityTokenError = exports.InvalidActionTokenError = exports.IDENTITY_TOKEN = exports.ACTION_TOKEN = exports.createEngineRuntime = void 0;
|
|
4
4
|
var runtime_1 = require("./runtime");
|
|
5
5
|
Object.defineProperty(exports, "createEngineRuntime", { enumerable: true, get: function () { return runtime_1.createEngineRuntime; } });
|
|
6
6
|
var auth_1 = require("./auth");
|
|
@@ -16,6 +16,8 @@ var lifecycle_events_1 = require("./lifecycle-events");
|
|
|
16
16
|
Object.defineProperty(exports, "MAX_LIFECYCLE_EVENTS_PER_BATCH", { enumerable: true, get: function () { return lifecycle_events_1.MAX_LIFECYCLE_EVENTS_PER_BATCH; } });
|
|
17
17
|
Object.defineProperty(exports, "lifecycleEventBatchSchema", { enumerable: true, get: function () { return lifecycle_events_1.lifecycleEventBatchSchema; } });
|
|
18
18
|
Object.defineProperty(exports, "lifecycleEventSchema", { enumerable: true, get: function () { return lifecycle_events_1.lifecycleEventSchema; } });
|
|
19
|
+
var common_1 = require("./common");
|
|
20
|
+
Object.defineProperty(exports, "UnimplementedError", { enumerable: true, get: function () { return common_1.UnimplementedError; } });
|
|
19
21
|
var graph_1 = require("./graph");
|
|
20
22
|
Object.defineProperty(exports, "deriveLoops", { enumerable: true, get: function () { return graph_1.deriveLoops; } });
|
|
21
23
|
Object.defineProperty(exports, "isBatchStepConfig", { enumerable: true, get: function () { return graph_1.isBatchStepConfig; } });
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,qCAAgD;AAAvC,8GAAA,mBAAmB,OAAA;AAK5B,+BASgB;AARf,oGAAA,YAAY,OAAA;AACZ,sGAAA,cAAc,OAAA;AACd,+GAAA,uBAAuB,OAAA;AACvB,iHAAA,yBAAyB,OAAA;AACzB,uGAAA,eAAe,OAAA;AACf,yGAAA,iBAAiB,OAAA;AACjB,oHAAA,4BAA4B,OAAA;AAC5B,yGAAA,iBAAiB,OAAA;AAOlB,uDAI4B;AAH3B,kIAAA,8BAA8B,OAAA;AAC9B,6HAAA,yBAAyB,OAAA;AACzB,wHAAA,oBAAoB,OAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,qCAAgD;AAAvC,8GAAA,mBAAmB,OAAA;AAK5B,+BASgB;AARf,oGAAA,YAAY,OAAA;AACZ,sGAAA,cAAc,OAAA;AACd,+GAAA,uBAAuB,OAAA;AACvB,iHAAA,yBAAyB,OAAA;AACzB,uGAAA,eAAe,OAAA;AACf,yGAAA,iBAAiB,OAAA;AACjB,oHAAA,4BAA4B,OAAA;AAC5B,yGAAA,iBAAiB,OAAA;AAOlB,uDAI4B;AAH3B,kIAAA,8BAA8B,OAAA;AAC9B,6HAAA,yBAAyB,OAAA;AACzB,wHAAA,oBAAoB,OAAA;AAQrB,mCAA8C;AAArC,4GAAA,kBAAkB,OAAA;AAG3B,iCAAyD;AAAhD,oGAAA,WAAW,OAAA;AAAE,0GAAA,iBAAiB,OAAA;AAmBvC,2CAA2E;AAAlE,gHAAA,kBAAkB,OAAA;AAAE,qHAAA,uBAAuB,OAAA;AAgBpD,yCAAwE;AAA/D,mHAAA,sBAAsB,OAAA;AAAE,8GAAA,iBAAiB,OAAA;AAyBlD,uCAAwF;AAA/E,4GAAA,gBAAgB,OAAA;AAAE,6GAAA,iBAAiB,OAAA;AAAE,iHAAA,qBAAqB,OAAA"}
|
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@n8n/engine",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.0",
|
|
4
4
|
"description": "n8n workflow execution engine (v2)",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"files": [
|
|
8
8
|
"dist/**/*",
|
|
9
|
-
"
|
|
10
|
-
"
|
|
9
|
+
"LICENSE.md",
|
|
10
|
+
"LICENSE_EE.md"
|
|
11
11
|
],
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@n8n/config": "2.
|
|
14
|
-
"@n8n/constants": "0.
|
|
15
|
-
"@n8n/di": "0.
|
|
16
|
-
"@n8n/typeorm": "0.
|
|
13
|
+
"@n8n/config": "2.38.0",
|
|
14
|
+
"@n8n/constants": "0.39.0",
|
|
15
|
+
"@n8n/di": "0.17.0",
|
|
16
|
+
"@n8n/typeorm": "0.11.0",
|
|
17
17
|
"express": "5.1.0",
|
|
18
18
|
"jsonwebtoken": "9.0.3",
|
|
19
19
|
"pg": "8.21.0",
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
"zod": "3.25.76"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@n8n/typescript-config": "1.
|
|
26
|
-
"@n8n/vitest-config": "1.
|
|
25
|
+
"@n8n/typescript-config": "1.12.0",
|
|
26
|
+
"@n8n/vitest-config": "1.22.0",
|
|
27
27
|
"@testcontainers/postgresql": "^11.13.0",
|
|
28
28
|
"@types/express": "^5.0.1",
|
|
29
29
|
"@types/jsonwebtoken": "9.0.10",
|
|
@@ -31,7 +31,6 @@
|
|
|
31
31
|
"@types/supertest": "^6.0.3",
|
|
32
32
|
"n8n-containers": "1.0.0",
|
|
33
33
|
"supertest": "^7.1.1",
|
|
34
|
-
"testcontainers": "^11.13.0",
|
|
35
34
|
"typescript": "7.0.2",
|
|
36
35
|
"vitest": "^4.1.9"
|
|
37
36
|
},
|
|
@@ -50,7 +49,7 @@
|
|
|
50
49
|
"typecheck": "tsc --noEmit",
|
|
51
50
|
"build": "tsc -p tsconfig.build.json",
|
|
52
51
|
"build:unchecked": "tsc -p tsconfig.build.json --noCheck",
|
|
53
|
-
"build:docker": "pnpm build && rimraf compiled && DOCKER_BUILD=true NODE_ENV=production pnpm --filter . --prod --config.inject-workspace-packages=true deploy --no-optional compiled && rimraf compiled/pnpm-lock.yaml compiled/pnpm-workspace.yaml compiled/node_modules/.pnpm-workspace-state-v1.json && docker build -f ../../../docker/images/engine/Dockerfile -t n8n-engine:local .",
|
|
52
|
+
"build:docker": "pnpm build && rimraf compiled && DOCKER_BUILD=true NODE_ENV=production pnpm --filter . --prod --config.inject-workspace-packages=true --config.package-import-method=copy deploy --no-optional compiled && rimraf compiled/pnpm-lock.yaml compiled/pnpm-workspace.yaml compiled/node_modules/.pnpm-workspace-state-v1.json && docker build -f ../../../docker/images/engine/Dockerfile -t n8n-engine:local .",
|
|
54
53
|
"start": "node dist/serve.js",
|
|
55
54
|
"format": "biome format --write src",
|
|
56
55
|
"format:check": "biome ci src",
|