@atom8n/n8n-core 2.2.9 → 2.3.1

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.
Files changed (120) hide show
  1. package/dist/binary-data/binary-data.config.js +0 -1
  2. package/dist/binary-data/binary-data.service.js +0 -1
  3. package/dist/binary-data/file-system.manager.js +0 -1
  4. package/dist/binary-data/index.js +0 -1
  5. package/dist/binary-data/object-store/object-store.config.js +0 -1
  6. package/dist/binary-data/object-store/object-store.service.ee.js +0 -1
  7. package/dist/binary-data/object-store/types.js +0 -1
  8. package/dist/binary-data/object-store.manager.js +0 -1
  9. package/dist/binary-data/types.js +0 -1
  10. package/dist/binary-data/utils.js +0 -1
  11. package/dist/build.tsbuildinfo +1 -1
  12. package/dist/constants.js +0 -1
  13. package/dist/credentials.js +0 -1
  14. package/dist/data-deduplication-service.js +0 -1
  15. package/dist/encryption/cipher.js +0 -1
  16. package/dist/encryption/index.js +0 -1
  17. package/dist/errors/abstract/binary-data.error.js +0 -1
  18. package/dist/errors/abstract/filesystem.error.js +0 -1
  19. package/dist/errors/binary-data-file-not-found.error.js +0 -1
  20. package/dist/errors/disallowed-filepath.error.js +0 -1
  21. package/dist/errors/error-reporter.js +0 -1
  22. package/dist/errors/file-not-found.error.js +0 -1
  23. package/dist/errors/file-too-large.error.js +0 -1
  24. package/dist/errors/index.js +0 -1
  25. package/dist/errors/invalid-execution-metadata.error.js +0 -1
  26. package/dist/errors/invalid-manager.error.js +0 -1
  27. package/dist/errors/invalid-source-type.error.js +0 -1
  28. package/dist/errors/missing-source-id.error.js +0 -1
  29. package/dist/errors/unrecognized-credential-type.error.js +0 -1
  30. package/dist/errors/unrecognized-node-type.error.js +0 -1
  31. package/dist/errors/workflow-has-issues.error.js +0 -1
  32. package/dist/execution-engine/active-workflows.js +0 -1
  33. package/dist/execution-engine/execution-context-hook-registry.service.js +0 -1
  34. package/dist/execution-engine/execution-context.js +0 -1
  35. package/dist/execution-engine/execution-context.service.js +0 -1
  36. package/dist/execution-engine/execution-lifecycle-hooks.js +0 -1
  37. package/dist/execution-engine/external-secrets-proxy.js +0 -1
  38. package/dist/execution-engine/index.js +0 -1
  39. package/dist/execution-engine/interfaces.js +0 -1
  40. package/dist/execution-engine/node-execution-context/base-execute-context.js +0 -1
  41. package/dist/execution-engine/node-execution-context/credentials-test-context.js +0 -1
  42. package/dist/execution-engine/node-execution-context/execute-context.js +0 -1
  43. package/dist/execution-engine/node-execution-context/execute-single-context.js +0 -1
  44. package/dist/execution-engine/node-execution-context/hook-context.js +0 -1
  45. package/dist/execution-engine/node-execution-context/index.js +0 -1
  46. package/dist/execution-engine/node-execution-context/load-options-context.js +0 -1
  47. package/dist/execution-engine/node-execution-context/local-load-options-context.js +0 -1
  48. package/dist/execution-engine/node-execution-context/node-execution-context.js +0 -1
  49. package/dist/execution-engine/node-execution-context/poll-context.js +0 -1
  50. package/dist/execution-engine/node-execution-context/supply-data-context.js +0 -1
  51. package/dist/execution-engine/node-execution-context/trigger-context.js +0 -1
  52. package/dist/execution-engine/node-execution-context/utils/binary-helper-functions.js +0 -1
  53. package/dist/execution-engine/node-execution-context/utils/cleanup-parameter-data.js +0 -1
  54. package/dist/execution-engine/node-execution-context/utils/construct-execution-metadata.js +0 -1
  55. package/dist/execution-engine/node-execution-context/utils/copy-input-items.js +0 -1
  56. package/dist/execution-engine/node-execution-context/utils/create-node-as-tool.js +0 -1
  57. package/dist/execution-engine/node-execution-context/utils/data-table-helper-functions.js +0 -1
  58. package/dist/execution-engine/node-execution-context/utils/deduplication-helper-functions.js +0 -1
  59. package/dist/execution-engine/node-execution-context/utils/ensure-type.js +0 -1
  60. package/dist/execution-engine/node-execution-context/utils/execution-metadata.js +0 -1
  61. package/dist/execution-engine/node-execution-context/utils/extract-value.js +0 -1
  62. package/dist/execution-engine/node-execution-context/utils/file-system-helper-functions.js +0 -1
  63. package/dist/execution-engine/node-execution-context/utils/get-additional-keys.js +0 -1
  64. package/dist/execution-engine/node-execution-context/utils/get-input-connection-data.js +0 -1
  65. package/dist/execution-engine/node-execution-context/utils/get-secrets-proxy.js +0 -1
  66. package/dist/execution-engine/node-execution-context/utils/normalize-items.js +0 -1
  67. package/dist/execution-engine/node-execution-context/utils/parse-incoming-message.js +0 -1
  68. package/dist/execution-engine/node-execution-context/utils/request-helper-functions.js +0 -1
  69. package/dist/execution-engine/node-execution-context/utils/return-json-array.js +0 -1
  70. package/dist/execution-engine/node-execution-context/utils/scheduling-helper-functions.js +0 -1
  71. package/dist/execution-engine/node-execution-context/utils/ssh-tunnel-helper-functions.js +0 -1
  72. package/dist/execution-engine/node-execution-context/utils/validate-value-against-schema.js +0 -1
  73. package/dist/execution-engine/node-execution-context/utils/webhook-helper-functions.js +0 -1
  74. package/dist/execution-engine/node-execution-context/webhook-context.js +0 -1
  75. package/dist/execution-engine/node-execution-context/workflow-node-context.js +0 -1
  76. package/dist/execution-engine/partial-execution-utils/clean-run-data.js +0 -1
  77. package/dist/execution-engine/partial-execution-utils/directed-graph.js +0 -1
  78. package/dist/execution-engine/partial-execution-utils/filter-disabled-nodes.js +0 -1
  79. package/dist/execution-engine/partial-execution-utils/find-start-nodes.js +0 -1
  80. package/dist/execution-engine/partial-execution-utils/find-subgraph.js +0 -1
  81. package/dist/execution-engine/partial-execution-utils/find-trigger-for-partial-execution.js +0 -1
  82. package/dist/execution-engine/partial-execution-utils/get-incoming-data.js +0 -1
  83. package/dist/execution-engine/partial-execution-utils/get-source-data-groups.js +0 -1
  84. package/dist/execution-engine/partial-execution-utils/handle-cycles.js +0 -1
  85. package/dist/execution-engine/partial-execution-utils/index.js +0 -1
  86. package/dist/execution-engine/partial-execution-utils/recreate-node-execution-stack.js +0 -1
  87. package/dist/execution-engine/partial-execution-utils/rewire-graph.js +0 -1
  88. package/dist/execution-engine/partial-execution-utils/run-data-utils.js +0 -1
  89. package/dist/execution-engine/requests-response.js +0 -1
  90. package/dist/execution-engine/routing-node.js +0 -1
  91. package/dist/execution-engine/scheduled-task-manager.js +0 -1
  92. package/dist/execution-engine/ssh-clients-manager.js +0 -1
  93. package/dist/execution-engine/triggers-and-pollers.js +0 -1
  94. package/dist/execution-engine/workflow-execute.js +0 -1
  95. package/dist/html-sandbox.js +0 -1
  96. package/dist/http-proxy.js +0 -1
  97. package/dist/index.js +0 -1
  98. package/dist/instance-settings/index.js +0 -1
  99. package/dist/instance-settings/instance-settings.js +0 -1
  100. package/dist/instance-settings/worker-missing-encryption-key.error.js +0 -1
  101. package/dist/interfaces.js +0 -1
  102. package/dist/node-execute-functions.js +0 -1
  103. package/dist/nodes-loader/constants.js +0 -1
  104. package/dist/nodes-loader/custom-directory-loader.js +0 -1
  105. package/dist/nodes-loader/directory-loader.d.ts +1 -0
  106. package/dist/nodes-loader/directory-loader.js +3 -1
  107. package/dist/nodes-loader/index.js +0 -1
  108. package/dist/nodes-loader/lazy-package-directory-loader.js +0 -1
  109. package/dist/nodes-loader/load-class-in-isolation.js +0 -1
  110. package/dist/nodes-loader/package-directory-loader.d.ts +2 -0
  111. package/dist/nodes-loader/package-directory-loader.js +6 -3
  112. package/dist/nodes-loader/types.d.ts +1 -0
  113. package/dist/nodes-loader/types.js +0 -1
  114. package/dist/utils/assertions.js +0 -1
  115. package/dist/utils/deep-merge.js +0 -1
  116. package/dist/utils/index.js +0 -1
  117. package/dist/utils/is-json-compatible.js +0 -1
  118. package/dist/utils/serialized-buffer.js +0 -1
  119. package/dist/utils/signature-helpers.js +0 -1
  120. package/package.json +10 -10
@@ -76,6 +76,9 @@ class DirectoryLoader {
76
76
  }
77
77
  this.removeNonIncludedNodes = this.includeNodes.length > 0;
78
78
  }
79
+ get nodeTypePrefix() {
80
+ return this.packageName;
81
+ }
79
82
  reset() {
80
83
  this.unloadAll();
81
84
  this.loadedNodes = [];
@@ -368,4 +371,3 @@ class DirectoryLoader {
368
371
  }
369
372
  }
370
373
  exports.DirectoryLoader = DirectoryLoader;
371
- //# sourceMappingURL=directory-loader.js.map
@@ -9,4 +9,3 @@ var package_directory_loader_1 = require("./package-directory-loader");
9
9
  Object.defineProperty(exports, "PackageDirectoryLoader", { enumerable: true, get: function () { return package_directory_loader_1.PackageDirectoryLoader; } });
10
10
  var lazy_package_directory_loader_1 = require("./lazy-package-directory-loader");
11
11
  Object.defineProperty(exports, "LazyPackageDirectoryLoader", { enumerable: true, get: function () { return lazy_package_directory_loader_1.LazyPackageDirectoryLoader; } });
12
- //# sourceMappingURL=index.js.map
@@ -39,4 +39,3 @@ class LazyPackageDirectoryLoader extends package_directory_loader_1.PackageDirec
39
39
  }
40
40
  }
41
41
  exports.LazyPackageDirectoryLoader = LazyPackageDirectoryLoader;
42
- //# sourceMappingURL=lazy-package-directory-loader.js.map
@@ -17,4 +17,3 @@ const loadClassInIsolation = (filePath, className) => {
17
17
  }
18
18
  };
19
19
  exports.loadClassInIsolation = loadClassInIsolation;
20
- //# sourceMappingURL=load-class-in-isolation.js.map
@@ -3,7 +3,9 @@ import type { n8n } from './types';
3
3
  export declare class PackageDirectoryLoader extends DirectoryLoader {
4
4
  packageJson: n8n.PackageJson;
5
5
  packageName: string;
6
+ private _nodeTypePrefix;
6
7
  constructor(directory: string, excludeNodes?: string[], includeNodes?: string[]);
8
+ get nodeTypePrefix(): string;
7
9
  loadAll(): Promise<void>;
8
10
  private inferSupportedNodes;
9
11
  private parseJSON;
@@ -10,8 +10,12 @@ class PackageDirectoryLoader extends directory_loader_1.DirectoryLoader {
10
10
  super(directory, excludeNodes, includeNodes);
11
11
  this.packageJson = this.readJSONSync('package.json');
12
12
  this.packageName = this.packageJson.name;
13
- this.excludeNodes = this.extractNodeTypes(excludeNodes, this.packageName);
14
- this.includeNodes = this.extractNodeTypes(includeNodes, this.packageName);
13
+ this._nodeTypePrefix = this.packageJson.n8n?.nodeTypePrefix ?? this.packageName;
14
+ this.excludeNodes = this.extractNodeTypes(excludeNodes, this._nodeTypePrefix);
15
+ this.includeNodes = this.extractNodeTypes(includeNodes, this._nodeTypePrefix);
16
+ }
17
+ get nodeTypePrefix() {
18
+ return this._nodeTypePrefix;
15
19
  }
16
20
  async loadAll() {
17
21
  const { n8n, version, name } = this.packageJson;
@@ -83,4 +87,3 @@ class PackageDirectoryLoader extends directory_loader_1.DirectoryLoader {
83
87
  }
84
88
  }
85
89
  exports.PackageDirectoryLoader = PackageDirectoryLoader;
86
- //# sourceMappingURL=package-directory-loader.js.map
@@ -5,6 +5,7 @@ export declare namespace n8n {
5
5
  n8n?: {
6
6
  credentials?: string[];
7
7
  nodes?: string[];
8
+ nodeTypePrefix?: string;
8
9
  };
9
10
  author?: {
10
11
  name?: string;
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=types.js.map
@@ -13,4 +13,3 @@ function assertExecutionDataExists(executionData, workflow, additionalData, mode
13
13
  });
14
14
  }
15
15
  }
16
- //# sourceMappingURL=assertions.js.map
@@ -30,4 +30,3 @@ function deepMerge(target, source) {
30
30
  }
31
31
  return result;
32
32
  }
33
- //# sourceMappingURL=deep-merge.js.map
@@ -16,4 +16,3 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./serialized-buffer"), exports);
18
18
  __exportStar(require("./signature-helpers"), exports);
19
- //# sourceMappingURL=index.js.map
@@ -78,4 +78,3 @@ const check = (val, path = 'value', stack = new Set(), keysToIgnore = new Set())
78
78
  function isJsonCompatible(value, keysToIgnore = new Set()) {
79
79
  return check(value, undefined, undefined, keysToIgnore);
80
80
  }
81
- //# sourceMappingURL=is-json-compatible.js.map
@@ -13,4 +13,3 @@ function isSerializedBuffer(candidate) {
13
13
  candidate.type === 'Buffer' &&
14
14
  Array.isArray(candidate.data));
15
15
  }
16
- //# sourceMappingURL=serialized-buffer.js.map
@@ -13,4 +13,3 @@ function generateUrlSignature(url, secret) {
13
13
  function prepareUrlForSigning(url) {
14
14
  return `${url.host}${url.pathname}${url.search}`;
15
15
  }
16
- //# sourceMappingURL=signature-helpers.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atom8n/n8n-core",
3
- "version": "2.2.9",
3
+ "version": "2.3.1",
4
4
  "description": "Core functionality of n8n",
5
5
  "main": "dist/index",
6
6
  "types": "dist/index.d.ts",
@@ -28,8 +28,8 @@
28
28
  "bin"
29
29
  ],
30
30
  "devDependencies": {
31
- "@n8n/errors": "npm:@atom8n/errors@0.5.9",
32
- "@n8n/typescript-config": "npm:@atom8n/typescript-config@1.3.9",
31
+ "@n8n/errors": "npm:@atom8n/errors@0.6.0",
32
+ "@n8n/typescript-config": "npm:@atom8n/typescript-config@1.4.0",
33
33
  "@types/express": "^5.0.1",
34
34
  "@types/jsonwebtoken": "9.0.10",
35
35
  "@types/lodash": "4.17.17",
@@ -41,12 +41,12 @@
41
41
  "dependencies": {
42
42
  "@aws-sdk/client-s3": "3.808.0",
43
43
  "@langchain/core": "1.1.0",
44
- "@n8n/backend-common": "npm:@atom8n/backend-common@1.2.9",
45
- "@n8n/client-oauth2": "npm:@atom8n/client-oauth2@1.0.9",
46
- "@n8n/config": "npm:@atom8n/config@2.1.9",
47
- "@n8n/constants": "npm:@atom8n/constants@0.15.9",
48
- "@n8n/decorators": "npm:@atom8n/decorators@1.2.9",
49
- "@n8n/di": "npm:@atom8n/di@0.10.9",
44
+ "@n8n/backend-common": "npm:@atom8n/backend-common@1.3.0",
45
+ "@n8n/client-oauth2": "npm:@atom8n/client-oauth2@1.1.0",
46
+ "@n8n/config": "npm:@atom8n/config@2.2.0",
47
+ "@n8n/constants": "npm:@atom8n/constants@0.16.0",
48
+ "@n8n/decorators": "npm:@atom8n/decorators@1.3.0",
49
+ "@n8n/di": "npm:@atom8n/di@0.11.0",
50
50
  "@sentry/node": "^9.42.1",
51
51
  "@sentry/node-native": "^9.42.1",
52
52
  "axios": "1.12.0",
@@ -64,7 +64,7 @@
64
64
  "lodash": "4.17.21",
65
65
  "luxon": "3.4.4",
66
66
  "mime-types": "3.0.1",
67
- "n8n-workflow": "npm:@atom8n/n8n-workflow@2.2.9",
67
+ "n8n-workflow": "npm:@atom8n/n8n-workflow@2.3.0",
68
68
  "nanoid": "3.3.8",
69
69
  "oauth-1.0a": "2.2.6",
70
70
  "p-cancelable": "2.1.1",