@5minds/node-red-contrib-processcube 1.5.2-debug-38bc89-m35vzrqa → 1.5.2-debug-11941e-m3600onb

Sign up to get free protection for your applications and to get access to all the features.
@@ -118,10 +118,13 @@ module.exports = function (RED) {
118
118
  .then(async (externalTaskWorker) => {
119
119
  node.status({ fill: 'blue', shape: 'ring', text: 'subcribed' });
120
120
 
121
- node.log('engine_identiy777', engine.identity);
121
+ node.log('engine_identiy777');
122
+
122
123
  node.log(engine.identity);
123
124
  externalTaskWorker.identity = engine.identity;
124
125
  engine.registerOnIdentityChanged((identity) => {
126
+ node.log('changed777');
127
+ node.log(identity);
125
128
  externalTaskWorker.identity = identity;
126
129
  });
127
130
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@5minds/node-red-contrib-processcube",
3
- "version": "1.5.2-debug-38bc89-m35vzrqa",
3
+ "version": "1.5.2-debug-11941e-m3600onb",
4
4
  "license": "MIT",
5
5
  "description": "Node-RED nodes for ProcessCube",
6
6
  "scripts": {
@@ -143,7 +143,7 @@ async function startRefreshingIdentityCycle(clientId, clientSecret, authorityUrl
143
143
  configNode.setIdentity(freshIdentity);
144
144
 
145
145
  retries = 5;
146
- setTimeout(refresh, 2000);
146
+ setTimeout(refresh, delay);
147
147
  } catch (error) {
148
148
  if (retries === 0) {
149
149
  console.error(