n8n-core 1.43.1 → 1.45.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/ActiveWorkflows.js +2 -8
- package/dist/ActiveWorkflows.js.map +1 -1
- package/dist/DirectoryLoader.js +1 -1
- package/dist/NodeExecuteFunctions.js +18 -15
- package/dist/NodeExecuteFunctions.js.map +1 -1
- package/dist/Secrets.js +3 -3
- package/dist/Secrets.js.map +1 -1
- package/dist/WorkflowExecute.js +1 -1
- package/dist/WorkflowExecute.js.map +1 -1
- package/dist/build.tsbuildinfo +1 -1
- package/package.json +4 -7
package/dist/ActiveWorkflows.js
CHANGED
|
@@ -37,13 +37,7 @@ let ActiveWorkflows = class ActiveWorkflows {
|
|
|
37
37
|
}
|
|
38
38
|
catch (e) {
|
|
39
39
|
const error = e instanceof Error ? e : new Error(`${e}`);
|
|
40
|
-
throw new n8n_workflow_1.WorkflowActivationError(`There was a problem activating the workflow: "${error.message}"`, {
|
|
41
|
-
cause: error,
|
|
42
|
-
node: triggerNode,
|
|
43
|
-
level: ['ETIMEDOUT', 'ECONNREFUSED'].some((code) => error.message.includes(code))
|
|
44
|
-
? 'warning'
|
|
45
|
-
: 'error',
|
|
46
|
-
});
|
|
40
|
+
throw new n8n_workflow_1.WorkflowActivationError(`There was a problem activating the workflow: "${error.message}"`, { cause: error, node: triggerNode });
|
|
47
41
|
}
|
|
48
42
|
}
|
|
49
43
|
const pollingNodes = workflow.getPollNodes();
|
|
@@ -88,7 +82,7 @@ let ActiveWorkflows = class ActiveWorkflows {
|
|
|
88
82
|
for (const cronTime of cronTimes) {
|
|
89
83
|
const cronTimeParts = cronTime.split(' ');
|
|
90
84
|
if (cronTimeParts.length > 0 && cronTimeParts[0].includes('*')) {
|
|
91
|
-
throw new n8n_workflow_1.ApplicationError('The polling interval is too short. It has to be at least a minute
|
|
85
|
+
throw new n8n_workflow_1.ApplicationError('The polling interval is too short. It has to be at least a minute.');
|
|
92
86
|
}
|
|
93
87
|
cronJobs.push(new cron_1.CronJob(cronTime, executeTrigger, undefined, true, timezone));
|
|
94
88
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActiveWorkflows.js","sourceRoot":"","sources":["../src/ActiveWorkflows.ts"],"names":[],"mappings":";;;;;;;;;AAAA,mCAAiC;AACjC,+BAA+B;AAc/B,+CAQsB;AAKf,IAAM,eAAe,GAArB,MAAM,eAAe;IAArB;QACE,oBAAe,GAA4C,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"ActiveWorkflows.js","sourceRoot":"","sources":["../src/ActiveWorkflows.ts"],"names":[],"mappings":";;;;;;;;;AAAA,mCAAiC;AACjC,+BAA+B;AAc/B,+CAQsB;AAKf,IAAM,eAAe,GAArB,MAAM,eAAe;IAArB;QACE,oBAAe,GAA4C,EAAE,CAAC;IAqOvE,CAAC;IAhOA,QAAQ,CAAC,UAAkB;QAC1B,OAAO,IAAI,CAAC,eAAe,CAAC,cAAc,CAAC,UAAU,CAAC,CAAC;IACxD,CAAC;IAKD,kBAAkB;QACjB,OAAO,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;IAC1C,CAAC;IAKD,GAAG,CAAC,UAAkB;QACrB,OAAO,IAAI,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC;IACzC,CAAC;IASD,KAAK,CAAC,GAAG,CACR,UAAkB,EAClB,QAAkB,EAClB,cAA8C,EAC9C,IAAyB,EACzB,UAAgC,EAChC,mBAAgD,EAChD,gBAA0C;QAE1C,IAAI,CAAC,eAAe,CAAC,UAAU,CAAC,GAAG,EAAE,CAAC;QACtC,MAAM,YAAY,GAAG,QAAQ,CAAC,eAAe,EAAE,CAAC;QAEhD,IAAI,eAA6C,CAAC;QAElD,IAAI,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC,gBAAgB,GAAG,EAAE,CAAC;QAEvD,KAAK,MAAM,WAAW,IAAI,YAAY,EAAE,CAAC;YACx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IAD3B,IAAA,gBAAO,GAAE;GACG,eAAe,CAsO3B"}
|
package/dist/DirectoryLoader.js
CHANGED
|
@@ -94,7 +94,7 @@ class DirectoryLoader {
|
|
|
94
94
|
this.addCodex({ node: currentVersionNode, filePath, isCustom });
|
|
95
95
|
nodeVersion = tempNode.currentVersion;
|
|
96
96
|
if (currentVersionNode.hasOwnProperty('executeSingle')) {
|
|
97
|
-
throw new n8n_workflow_1.ApplicationError('"executeSingle" has been removed. Please update the code of this node to use "execute" instead
|
|
97
|
+
throw new n8n_workflow_1.ApplicationError('"executeSingle" has been removed. Please update the code of this node to use "execute" instead.', { extra: { nodeName: `${this.packageName}.${nodeName}` } });
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
else {
|
|
@@ -1068,10 +1068,10 @@ async function requestOAuth1(credentialsType, requestOptions, isN8nRequest = fal
|
|
|
1068
1068
|
(0, exports.removeEmptyBody)(requestOptions);
|
|
1069
1069
|
const credentials = await this.getCredentials(credentialsType);
|
|
1070
1070
|
if (credentials === undefined) {
|
|
1071
|
-
throw new n8n_workflow_1.ApplicationError('No credentials were returned
|
|
1071
|
+
throw new n8n_workflow_1.ApplicationError('No credentials were returned');
|
|
1072
1072
|
}
|
|
1073
1073
|
if (credentials.oauthTokenData === undefined) {
|
|
1074
|
-
throw new n8n_workflow_1.ApplicationError('OAuth credentials not connected
|
|
1074
|
+
throw new n8n_workflow_1.ApplicationError('OAuth credentials not connected');
|
|
1075
1075
|
}
|
|
1076
1076
|
const oauth = new oauth_1_0a_1.default({
|
|
1077
1077
|
consumer: {
|
|
@@ -1135,7 +1135,7 @@ async function httpRequestWithAuthentication(credentialsType, requestOptions, wo
|
|
|
1135
1135
|
credentialsDecrypted = await this.getCredentials(credentialsType);
|
|
1136
1136
|
}
|
|
1137
1137
|
if (credentialsDecrypted === undefined) {
|
|
1138
|
-
throw new n8n_workflow_1.NodeOperationError(node, `Node "${node.name}" does not have any credentials of type "${credentialsType}" set
|
|
1138
|
+
throw new n8n_workflow_1.NodeOperationError(node, `Node "${node.name}" does not have any credentials of type "${credentialsType}" set`, { level: 'warning' });
|
|
1139
1139
|
}
|
|
1140
1140
|
const data = await additionalData.credentialsHelper.preAuthentication({ helpers: this.helpers }, credentialsDecrypted, credentialsType, node, false);
|
|
1141
1141
|
if (data) {
|
|
@@ -1239,7 +1239,7 @@ async function requestWithAuthentication(credentialsType, requestOptions, workfl
|
|
|
1239
1239
|
credentialsDecrypted = await this.getCredentials(credentialsType, itemIndex);
|
|
1240
1240
|
}
|
|
1241
1241
|
if (credentialsDecrypted === undefined) {
|
|
1242
|
-
throw new n8n_workflow_1.NodeOperationError(node, `Node "${node.name}" does not have any credentials of type "${credentialsType}" set
|
|
1242
|
+
throw new n8n_workflow_1.NodeOperationError(node, `Node "${node.name}" does not have any credentials of type "${credentialsType}" set`, { level: 'warning' });
|
|
1243
1243
|
}
|
|
1244
1244
|
const data = await additionalData.credentialsHelper.preAuthentication({ helpers: this.helpers }, credentialsDecrypted, credentialsType, node, false);
|
|
1245
1245
|
if (data) {
|
|
@@ -1322,17 +1322,17 @@ async function getCredentials(workflow, node, type, additionalData, mode, execut
|
|
|
1322
1322
|
var _a, _b;
|
|
1323
1323
|
const nodeType = workflow.nodeTypes.getByNameAndVersion(node.type, node.typeVersion);
|
|
1324
1324
|
if (nodeType === undefined) {
|
|
1325
|
-
throw new n8n_workflow_1.NodeOperationError(node, `Node type "${node.type}" is not known so can not get credentials
|
|
1325
|
+
throw new n8n_workflow_1.NodeOperationError(node, `Node type "${node.type}" is not known so can not get credentials`);
|
|
1326
1326
|
}
|
|
1327
1327
|
const fullAccess = [Constants_1.HTTP_REQUEST_NODE_TYPE].includes(node.type);
|
|
1328
1328
|
let nodeCredentialDescription;
|
|
1329
1329
|
if (!fullAccess) {
|
|
1330
1330
|
if (nodeType.description.credentials === undefined) {
|
|
1331
|
-
throw new n8n_workflow_1.NodeOperationError(node, `Node type "${node.type}" does not have any credentials defined
|
|
1331
|
+
throw new n8n_workflow_1.NodeOperationError(node, `Node type "${node.type}" does not have any credentials defined`, { level: 'warning' });
|
|
1332
1332
|
}
|
|
1333
1333
|
nodeCredentialDescription = nodeType.description.credentials.find((credentialTypeDescription) => credentialTypeDescription.name === type);
|
|
1334
1334
|
if (nodeCredentialDescription === undefined) {
|
|
1335
|
-
throw new n8n_workflow_1.NodeOperationError(node, `Node type "${node.type}" does not have any credentials of type "${type}" defined
|
|
1335
|
+
throw new n8n_workflow_1.NodeOperationError(node, `Node type "${node.type}" does not have any credentials of type "${type}" defined`, { level: 'warning' });
|
|
1336
1336
|
}
|
|
1337
1337
|
if (!n8n_workflow_1.NodeHelpers.displayParameter(additionalData.currentNodeParameters || node.parameters, nodeCredentialDescription, node, node.parameters)) {
|
|
1338
1338
|
throw new n8n_workflow_1.NodeOperationError(node, 'Credentials not found');
|
|
@@ -1341,12 +1341,14 @@ async function getCredentials(workflow, node, type, additionalData, mode, execut
|
|
|
1341
1341
|
if (!fullAccess && !((_a = node.credentials) === null || _a === void 0 ? void 0 : _a[type])) {
|
|
1342
1342
|
if ((nodeCredentialDescription === null || nodeCredentialDescription === void 0 ? void 0 : nodeCredentialDescription.required) === true) {
|
|
1343
1343
|
if (!node.credentials) {
|
|
1344
|
-
throw new n8n_workflow_1.NodeOperationError(node, 'Node does not have any credentials set
|
|
1344
|
+
throw new n8n_workflow_1.NodeOperationError(node, 'Node does not have any credentials set', {
|
|
1345
1345
|
level: 'warning',
|
|
1346
1346
|
});
|
|
1347
1347
|
}
|
|
1348
1348
|
if (!node.credentials[type]) {
|
|
1349
|
-
throw new n8n_workflow_1.NodeOperationError(node, `Node does not have any credentials set for "${type}"
|
|
1349
|
+
throw new n8n_workflow_1.NodeOperationError(node, `Node does not have any credentials set for "${type}"`, {
|
|
1350
|
+
level: 'warning',
|
|
1351
|
+
});
|
|
1350
1352
|
}
|
|
1351
1353
|
}
|
|
1352
1354
|
else {
|
|
@@ -1767,11 +1769,11 @@ async function getInputConnectionData(workflow, runExecutionData, runIndex, conn
|
|
|
1767
1769
|
});
|
|
1768
1770
|
const nodes = await Promise.all(constParentNodes);
|
|
1769
1771
|
if (inputConfiguration.required && nodes.length === 0) {
|
|
1770
|
-
throw new n8n_workflow_1.NodeOperationError(node, `A ${inputName} processor node must be connected
|
|
1772
|
+
throw new n8n_workflow_1.NodeOperationError(node, `A ${inputName} processor node must be connected`);
|
|
1771
1773
|
}
|
|
1772
1774
|
if (inputConfiguration.maxConnections !== undefined &&
|
|
1773
1775
|
nodes.length > inputConfiguration.maxConnections) {
|
|
1774
|
-
throw new n8n_workflow_1.NodeOperationError(node, `Only ${inputConfiguration.maxConnections} ${inputName} processor nodes are/is allowed to be connected
|
|
1776
|
+
throw new n8n_workflow_1.NodeOperationError(node, `Only ${inputConfiguration.maxConnections} ${inputName} processor nodes are/is allowed to be connected`);
|
|
1775
1777
|
}
|
|
1776
1778
|
return inputConfiguration.maxConnections === 1
|
|
1777
1779
|
? (_a = (nodes || [])[0]) === null || _a === void 0 ? void 0 : _a.response
|
|
@@ -1818,6 +1820,7 @@ const getCommonWorkflowFunctions = (workflow, node, additionalData) => ({
|
|
|
1818
1820
|
getInstanceBaseUrl: () => additionalData.instanceBaseUrl,
|
|
1819
1821
|
getInstanceId: () => typedi_1.default.get(InstanceSettings_1.InstanceSettings).instanceId,
|
|
1820
1822
|
getTimezone: () => getTimezone(workflow),
|
|
1823
|
+
getCredentialsProperties: (type) => additionalData.credentialsHelper.getCredentialsProperties(type),
|
|
1821
1824
|
prepareOutputData: async (outputData) => [outputData],
|
|
1822
1825
|
});
|
|
1823
1826
|
const executionCancellationFunctions = (abortSignal) => ({
|
|
@@ -2116,10 +2119,10 @@ function getExecutePollFunctions(workflow, node, additionalData, mode, activatio
|
|
|
2116
2119
|
return {
|
|
2117
2120
|
...getCommonWorkflowFunctions(workflow, node, additionalData),
|
|
2118
2121
|
__emit: () => {
|
|
2119
|
-
throw new n8n_workflow_1.ApplicationError('Overwrite NodeExecuteFunctions.getExecutePollFunctions.__emit function
|
|
2122
|
+
throw new n8n_workflow_1.ApplicationError('Overwrite NodeExecuteFunctions.getExecutePollFunctions.__emit function');
|
|
2120
2123
|
},
|
|
2121
2124
|
__emitError() {
|
|
2122
|
-
throw new n8n_workflow_1.ApplicationError('Overwrite NodeExecuteFunctions.getExecutePollFunctions.__emitError function
|
|
2125
|
+
throw new n8n_workflow_1.ApplicationError('Overwrite NodeExecuteFunctions.getExecutePollFunctions.__emitError function');
|
|
2123
2126
|
},
|
|
2124
2127
|
getMode: () => mode,
|
|
2125
2128
|
getActivationMode: () => activation,
|
|
@@ -2146,10 +2149,10 @@ function getExecuteTriggerFunctions(workflow, node, additionalData, mode, activa
|
|
|
2146
2149
|
return {
|
|
2147
2150
|
...getCommonWorkflowFunctions(workflow, node, additionalData),
|
|
2148
2151
|
emit: () => {
|
|
2149
|
-
throw new n8n_workflow_1.ApplicationError('Overwrite NodeExecuteFunctions.getExecuteTriggerFunctions.emit function
|
|
2152
|
+
throw new n8n_workflow_1.ApplicationError('Overwrite NodeExecuteFunctions.getExecuteTriggerFunctions.emit function');
|
|
2150
2153
|
},
|
|
2151
2154
|
emitError: () => {
|
|
2152
|
-
throw new n8n_workflow_1.ApplicationError('Overwrite NodeExecuteFunctions.getExecuteTriggerFunctions.emit function
|
|
2155
|
+
throw new n8n_workflow_1.ApplicationError('Overwrite NodeExecuteFunctions.getExecuteTriggerFunctions.emit function');
|
|
2153
2156
|
},
|
|
2154
2157
|
getMode: () => mode,
|
|
2155
2158
|
getActivationMode: () => activation,
|