@5minds/node-red-contrib-processcube 1.5.9-develop-f0eb42-m3vmjlnn → 1.5.9-develop-babe71-m3vn65bq

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.5.9-develop-f0eb42-m3vmjlnn",
3
+ "version": "1.5.9-develop-babe71-m3vn65bq",
4
4
  "license": "MIT",
5
5
  "description": "Node-RED nodes for ProcessCube",
6
6
  "scripts": {
@@ -6,13 +6,13 @@ module.exports = function (RED) {
6
6
 
7
7
  let subscription;
8
8
 
9
- const eventEmitter = node.engine.eventEmitter;
9
+ const engineEventEmitter = node.engine.eventEmitter;
10
10
 
11
11
  engineEventEmitter.on('engine-client-dispose', () => {
12
12
  node.engine.engineClient.notification.removeSubscription(subscription, node.engine.identity);
13
13
  });
14
14
 
15
- eventEmitter.on('engine-client-changed', () => {
15
+ engineEventEmitter.on('engine-client-changed', () => {
16
16
  node.log('new engineClient received');
17
17
  register();
18
18
  });