@robotical/webapp-types 3.26.5 → 3.27.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "marty-web-app",
3
- "version": "3.26.5",
3
+ "version": "3.27.0",
4
4
  "private": true,
5
5
  "engines": {
6
6
  "node": ">=20"
@@ -15,7 +15,7 @@
15
15
  "@robotical/codewheel": "^0.1.10",
16
16
  "@robotical/cog-shooter-game": "^0.1.29",
17
17
  "@robotical/jumping-game": "^0.1.31",
18
- "@robotical/martyblocks": "^4.0.79",
18
+ "@robotical/martyblocks": "^4.0.80",
19
19
  "@robotical/martyblocksjr": "^4.5.8",
20
20
  "@robotical/maze": "^0.1.24",
21
21
  "@robotical/rc-sequencer": "^1.1.16",
@@ -123,13 +123,19 @@ var Connector = /** @class */ (function () {
123
123
  return __generator(this, function (_a) {
124
124
  switch (_a.label) {
125
125
  case 0:
126
- if (!((options === null || options === void 0 ? void 0 : options.waitForResponse) === false)) return [3 /*break*/, 2];
126
+ if (!(msg === "audio/stop")) return [3 /*break*/, 2];
127
+ return [4 /*yield*/, this.connManager.getConnector().getStreamHandler().streamCancel()];
128
+ case 1:
129
+ _a.sent();
130
+ _a.label = 2;
131
+ case 2:
132
+ if (!((options === null || options === void 0 ? void 0 : options.waitForResponse) === false)) return [3 /*break*/, 4];
127
133
  command = formatRestCommand(msg, params);
128
134
  return [4 /*yield*/, this.connManager.getConnector().getRaftMsgHandler().sendRICRESTNoResp(command, RICRESTElemCode.RICREST_ELEM_CODE_URL)];
129
- case 1:
135
+ case 3:
130
136
  sent = _a.sent();
131
137
  return [2 /*return*/, { rslt: sent ? "ok" : "fail" }];
132
- case 2: return [2 /*return*/, this.connManager.getConnector().sendRICRESTMsg(msg, params || {})];
138
+ case 4: return [2 /*return*/, this.connManager.getConnector().sendRICRESTMsg(msg, params || {})];
133
139
  }
134
140
  });
135
141
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robotical/webapp-types",
3
- "version": "3.26.5",
3
+ "version": "3.27.0",
4
4
  "description": "Type definitions for the Application Manager",
5
5
  "main": "dist/application-manager.d.ts",
6
6
  "types": "dist/application-manager.d.ts",