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.
package/dist/engine-api-calls.js
CHANGED
|
@@ -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 *
|
|
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',
|