@5minds/node-red-contrib-processcube 0.11.0 → 0.12.0

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": "0.11.0",
3
+ "version": "0.12.0",
4
4
  "license": "MIT",
5
5
  "description": "Node-RED nodes for ProcessCube",
6
6
  "authors": [
@@ -50,7 +50,9 @@ module.exports = function(RED) {
50
50
  });
51
51
  }
52
52
 
53
- register();
53
+ if (node.server) {
54
+ register();
55
+ }
54
56
  }
55
57
  RED.nodes.registerType("usertask-finished-listener", UserTaskFinishedListener);
56
58
  }
@@ -50,7 +50,9 @@ module.exports = function(RED) {
50
50
  });
51
51
  }
52
52
 
53
- register();
53
+ if (node.server) {
54
+ register();
55
+ }
54
56
 
55
57
  }
56
58
  RED.nodes.registerType("usertask-new-listener", UserTaskNewListener);