@5minds/node-red-contrib-processcube 1.9.2-develop-932951-m8ir4yoy → 1.9.3-develop-c9db83-m8k3pb8w

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.
@@ -429,7 +429,7 @@
429
429
  },
430
430
  "@5minds/node-red-contrib-processcube": {
431
431
  "name": "@5minds/node-red-contrib-processcube",
432
- "version": "1.9.1",
432
+ "version": "1.9.2",
433
433
  "local": false,
434
434
  "user": false,
435
435
  "nodes": {
@@ -331,6 +331,8 @@ module.exports = function (RED) {
331
331
  });
332
332
  };
333
333
 
334
+ node.setUnsubscribedStatus(new Error('Worker starting.'));
335
+
334
336
  client.externalTasks
335
337
  .subscribeToExternalTaskTopic(topic, etwCallback, options)
336
338
  .then(async (externalTaskWorker) => {
@@ -381,7 +383,6 @@ module.exports = function (RED) {
381
383
 
382
384
  try {
383
385
  externalTaskWorker.start();
384
- node.setUnsubscribedStatus(new Error('Worker starting.'));
385
386
  } catch (error) {
386
387
  node.error(`Worker start 'externalTaskWorker.start' failed: ${error.message}`, {});
387
388
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@5minds/node-red-contrib-processcube",
3
- "version": "1.9.2-develop-932951-m8ir4yoy",
3
+ "version": "1.9.3-develop-c9db83-m8k3pb8w",
4
4
  "license": "MIT",
5
5
  "description": "Node-RED nodes for ProcessCube",
6
6
  "scripts": {