@5minds/node-red-contrib-processcube 1.3.0-feature-92414d-m21x3yqt → 1.3.1-feature-1ab585-m21yvqst

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@5minds/node-red-contrib-processcube",
3
- "version": "1.3.0-feature-92414d-m21x3yqt",
3
+ "version": "1.3.1-feature-1ab585-m21yvqst",
4
4
  "license": "MIT",
5
5
  "description": "Node-RED nodes for ProcessCube",
6
6
  "scripts": {
@@ -3,12 +3,12 @@ module.exports = function (RED) {
3
3
  RED.nodes.createNode(this, config);
4
4
  var node = this;
5
5
 
6
- const engine = RED.nodes.getNode(config.engine);
6
+ node.engine = RED.nodes.getNode(config.engine);
7
7
 
8
- const client = engine.engineClient;
8
+ const client = node.engine.engineClient;
9
9
 
10
10
  let subscription = null;
11
- let currentIdentity = engine.identity;
11
+ let currentIdentity = node.engine.identity;
12
12
  let subscribe = null;
13
13
 
14
14
  node.on('input', async function (msg) {