node-red-contrib-mobius-flow-base 3.0.0-beta.16 → 3.0.0-beta.17

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.
@@ -119,7 +119,6 @@ const sendDirectCommand = async (apiClient, uri, cid, commandData, timeout, call
119
119
  };
120
120
  exports.sendDirectCommand = sendDirectCommand;
121
121
  const getServiceConfig = async (apiClient, uri, callback) => {
122
- console.log(uri);
123
122
  try {
124
123
  const response = await apiClient({
125
124
  method: 'get',
@@ -62,7 +62,7 @@ const getApiClient = (protocol, host, port, username, password) => {
62
62
  exports.tokens = response.data;
63
63
  exports.loggedIn = true;
64
64
  console.log('Logged in to Mobius Engine API');
65
- refreshLoop = setInterval(refresh, 1000 * 60 * 1);
65
+ refreshLoop = setInterval(refresh, 1000 * 60 * 5);
66
66
  (0, engine_websocket_1.connectToWebSocket)();
67
67
  }
68
68
  catch (e) {
@@ -77,7 +77,6 @@ const getApiClient = (protocol, host, port, username, password) => {
77
77
  return;
78
78
  }
79
79
  try {
80
- console.log(exports.tokens);
81
80
  const response = await client({
82
81
  method: 'post',
83
82
  url: '/auth/refresh',
@@ -69,7 +69,6 @@ module.exports = function (RED) {
69
69
  }
70
70
  Promise.all(promiseChain)
71
71
  .then((values) => {
72
- console.log(values);
73
72
  node.status({
74
73
  fill: 'green',
75
74
  shape: 'dot',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-red-contrib-mobius-flow-base",
3
- "version": "3.0.0-beta.16",
3
+ "version": "3.0.0-beta.17",
4
4
  "description": "Node-RED base nodes for Mobius Flow",
5
5
  "main": "index.js",
6
6
  "types": "dist/index.d.ts",