@robotical/webapp-types 3.26.4 → 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.
package/dist-types/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "marty-web-app",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.27.0",
|
|
4
4
|
"private": true,
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=20"
|
|
@@ -13,17 +13,17 @@
|
|
|
13
13
|
"@robotical/appv2-analytics-types": "^1.2.17",
|
|
14
14
|
"@robotical/appv2-warranty-service-lib": "^1.2.19",
|
|
15
15
|
"@robotical/codewheel": "^0.1.10",
|
|
16
|
-
"@robotical/cog-shooter-game": "^0.1.
|
|
17
|
-
"@robotical/jumping-game": "^0.1.
|
|
18
|
-
"@robotical/martyblocks": "^4.0.
|
|
16
|
+
"@robotical/cog-shooter-game": "^0.1.29",
|
|
17
|
+
"@robotical/jumping-game": "^0.1.31",
|
|
18
|
+
"@robotical/martyblocks": "^4.0.80",
|
|
19
19
|
"@robotical/martyblocksjr": "^4.5.8",
|
|
20
|
-
"@robotical/maze": "^0.1.
|
|
20
|
+
"@robotical/maze": "^0.1.24",
|
|
21
21
|
"@robotical/rc-sequencer": "^1.1.16",
|
|
22
22
|
"@robotical/ricjs-robotical-addons": "^1.2.8",
|
|
23
|
-
"@robotical/robofly-game": "^0.1.
|
|
23
|
+
"@robotical/robofly-game": "^0.1.27",
|
|
24
24
|
"@robotical/roboticaljs": "^1.1.28",
|
|
25
25
|
"@robotical/sensors-dashboard": "^2.2.4",
|
|
26
|
-
"@robotical/skiing-game": "^0.1.
|
|
26
|
+
"@robotical/skiing-game": "^0.1.31",
|
|
27
27
|
"@robotical/space-shooter-game": "^0.1.15",
|
|
28
28
|
"@sentry/react": "^8.55.2",
|
|
29
29
|
"@yudiel/react-qr-scanner": "2.6.0",
|
|
@@ -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 (!(
|
|
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
|
|
135
|
+
case 3:
|
|
130
136
|
sent = _a.sent();
|
|
131
137
|
return [2 /*return*/, { rslt: sent ? "ok" : "fail" }];
|
|
132
|
-
case
|
|
138
|
+
case 4: return [2 /*return*/, this.connManager.getConnector().sendRICRESTMsg(msg, params || {})];
|
|
133
139
|
}
|
|
134
140
|
});
|
|
135
141
|
});
|