@5minds/node-red-contrib-processcube
Advanced tools
Comparing version 1.6.4 to 1.6.5-develop-213c78-m5y5tz2h
@@ -24,3 +24,3 @@ module.exports = function (RED) { | ||
} catch (error) { | ||
node.error(JSON.stringify(error)); | ||
node.error(error); | ||
} | ||
@@ -27,0 +27,0 @@ |
@@ -182,3 +182,5 @@ const EventEmitter = require('node:events'); | ||
if (node.engine) { | ||
register(); | ||
register().catch((error) => { | ||
node.error(error); | ||
}); | ||
} | ||
@@ -185,0 +187,0 @@ } |
{ | ||
"name": "@5minds/node-red-contrib-processcube", | ||
"version": "1.6.4", | ||
"version": "1.6.5-develop-213c78-m5y5tz2h", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "Node-RED nodes for ProcessCube", |
@@ -54,3 +54,3 @@ module.exports = function (RED) { | ||
} catch (error) { | ||
node.error(JSON.stringify(error)); | ||
node.error(error); | ||
} | ||
@@ -94,3 +94,3 @@ | ||
} catch (error) { | ||
node.error(JSON.stringify(error)); | ||
node.error(error); | ||
} | ||
@@ -128,3 +128,3 @@ }); | ||
} catch (error) { | ||
node.error(JSON.stringify(error)); | ||
node.error(error); | ||
} | ||
@@ -163,3 +163,3 @@ }); | ||
} catch (error) { | ||
node.error(JSON.stringify(error)); | ||
node.error(error); | ||
} | ||
@@ -196,3 +196,3 @@ }); | ||
} catch (error) { | ||
node.error(JSON.stringify(error)); | ||
node.error(error); | ||
} | ||
@@ -230,3 +230,3 @@ }); | ||
} catch (error) { | ||
node.error(JSON.stringify(error)); | ||
node.error(error); | ||
} | ||
@@ -263,3 +263,3 @@ }); | ||
} catch (error) { | ||
node.error(JSON.stringify(error)); | ||
node.error(error); | ||
} | ||
@@ -296,3 +296,3 @@ }); | ||
} catch (error) { | ||
node.error(JSON.stringify(error)); | ||
node.error(error); | ||
} | ||
@@ -299,0 +299,0 @@ }); |
@@ -7,4 +7,8 @@ module.exports = function (RED) { | ||
node.on('input', function (msg) { | ||
const initialToken = RED.util.encodeObject(msg.payload); | ||
let initialToken = RED.util.encodeObject(msg.payload); | ||
// remote msg and format from result | ||
delete initialToken.msg; | ||
delete initialToken.format; | ||
const startParameters = { | ||
@@ -47,3 +51,3 @@ processModelId: msg.processModelId || config.processmodel, | ||
.catch((error) => { | ||
node.error(JSON.stringify(error)); | ||
node.error(error); | ||
}); | ||
@@ -50,0 +54,0 @@ }); |
@@ -21,3 +21,3 @@ module.exports = function (RED) { | ||
.catch((error) => { | ||
node.error(JSON.stringify(error)); | ||
node.error(error); | ||
}); | ||
@@ -24,0 +24,0 @@ }); |
@@ -27,3 +27,3 @@ const engine_client = require('@5minds/processcube_engine_client'); | ||
} catch (error) { | ||
node.error(JSON.stringify(error)); | ||
node.error(error); | ||
} | ||
@@ -30,0 +30,0 @@ |
@@ -42,3 +42,3 @@ module.exports = function (RED) { | ||
.catch((error) => { | ||
node.error(JSON.stringify(error)); | ||
node.error(error); | ||
}); | ||
@@ -45,0 +45,0 @@ }); |
@@ -32,3 +32,3 @@ module.exports = function (RED) { | ||
.catch((error) => { | ||
node.error(JSON.stringify(error)); | ||
node.error(error); | ||
}); | ||
@@ -35,0 +35,0 @@ }); |
@@ -45,3 +45,3 @@ module.exports = function (RED) { | ||
} catch (error) { | ||
node.error(JSON.stringify(error)); | ||
node.error(error); | ||
} | ||
@@ -48,0 +48,0 @@ }; |
@@ -35,3 +35,3 @@ module.exports = function (RED) { | ||
.catch((error) => { | ||
node.error(JSON.stringify(error)); | ||
node.error(error); | ||
}); | ||
@@ -38,0 +38,0 @@ }); |
@@ -32,3 +32,3 @@ module.exports = function (RED) { | ||
.catch((error) => { | ||
node.error(JSON.stringify(error)); | ||
node.error(error); | ||
}); | ||
@@ -35,0 +35,0 @@ } else { |
@@ -42,3 +42,3 @@ module.exports = function (RED) { | ||
} catch (error) { | ||
node.error(JSON.stringify(error)); | ||
node.error(error); | ||
} | ||
@@ -71,3 +71,3 @@ }); | ||
} catch (error) { | ||
node.error(JSON.stringify(error)); | ||
node.error(error); | ||
} | ||
@@ -74,0 +74,0 @@ } |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
10020
523488
2