@5minds/node-red-contrib-processcube 1.1.4-feature-7f6f80-m04ymlze → 1.1.4-feature-3050c0-m04ysmbf

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.1.4-feature-7f6f80-m04ymlze",
3
+ "version": "1.1.4-feature-3050c0-m04ysmbf",
4
4
  "license": "MIT",
5
5
  "description": "Node-RED nodes for ProcessCube",
6
6
  "scripts": {
@@ -17,7 +17,7 @@ module.exports = function (RED) {
17
17
  let subscription;
18
18
 
19
19
  if (node.engine.isIdentityReady()) {
20
- subscription = await client.notifications.onProcessStarted(
20
+ subscription = await client.notification.onProcessStarted(
21
21
  (processNotification) => {
22
22
  // node.send({
23
23
  // payload: {
@@ -40,7 +40,7 @@ module.exports = function (RED) {
40
40
 
41
41
  currentIdentity = identity;
42
42
 
43
- subscription = await client.notifications.onProcessStarted(
43
+ subscription = await client.notification.onProcessStarted(
44
44
  (processNotification) => {
45
45
  // node.send({
46
46
  // payload: {