@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.
Files changed (2) hide show
  1. package/index.esm.js +1 -2
  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
- const mqttClient = new MqttClient(websocketUrl, () => console.log("Connected to MQTT Broker"));
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();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vention/machine-logic-ui-sdk",
3
- "version": "0.2.2",
3
+ "version": "0.4.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/VentionCo/machine-cloud.git"