@vention/machine-logic-ui-sdk 0.2.2 → 0.4.0
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/index.esm.js +1 -2
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -2492,8 +2492,7 @@ const getMqttWsUrl = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
|
2492
2492
|
});
|
|
2493
2493
|
const connectToMqttAndGetClient = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
2494
2494
|
const websocketUrl = yield getMqttWsUrl();
|
|
2495
|
-
|
|
2496
|
-
return mqttClient;
|
|
2495
|
+
return new MqttClient(websocketUrl, () => console.log("Connected to MQTT Broker"));
|
|
2497
2496
|
});
|
|
2498
2497
|
const getMachineCodeProcessHttpUrl = processName => {
|
|
2499
2498
|
const executionEngineHttpUrl = getExecutionEngineHttpUrl();
|