@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
@@ -6,13 +6,13 @@ module.exports = function (RED) {
|
|
6
6
|
|
7
7
|
let subscription;
|
8
8
|
|
9
|
-
const
|
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
|
-
|
15
|
+
engineEventEmitter.on('engine-client-changed', () => {
|
16
16
|
node.log('new engineClient received');
|
17
17
|
register();
|
18
18
|
});
|