@magic-xpa/engine 4.901.0-dev491.311 → 4.901.0-dev491.314
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/esm2020/src/CurrentClientVersion.mjs +2 -2
- package/esm2020/src/remote/RemoteCommandsProcessor.mjs +12 -2
- package/fesm2015/magic-xpa-engine.mjs +12 -2
- package/fesm2015/magic-xpa-engine.mjs.map +1 -1
- package/fesm2020/magic-xpa-engine.mjs +12 -2
- package/fesm2020/magic-xpa-engine.mjs.map +1 -1
- package/package.json +4 -4
- package/src/remote/RemoteCommandsProcessor.d.ts +1 -0
|
@@ -5525,11 +5525,21 @@ class RemoteCommandsProcessor extends CommandsProcessorBase {
|
|
|
5525
5525
|
}
|
|
5526
5526
|
}
|
|
5527
5527
|
}
|
|
5528
|
-
|
|
5528
|
+
this.clearLocalStorage();
|
|
5529
5529
|
throw ex;
|
|
5530
5530
|
}
|
|
5531
5531
|
return response;
|
|
5532
5532
|
}
|
|
5533
|
+
clearLocalStorage() {
|
|
5534
|
+
window.localStorage.removeItem(ConstInterface.LAST_ROUTE_EVENT);
|
|
5535
|
+
window.localStorage.removeItem(ConstInterface.LAST_ROUTE_EVENT_SRC_TSK);
|
|
5536
|
+
window.localStorage.removeItem(ConstInterface.LAST_ROUTE_EVENT_ARG_LIST);
|
|
5537
|
+
window.localStorage.removeItem(ConstInterface.IS_SESSION_REINITIALIZING);
|
|
5538
|
+
window.localStorage.removeItem(ConstInterface.MAIN_PROG_VIEW);
|
|
5539
|
+
window.localStorage.removeItem(ConstInterface.GLOBAL_PARAM_LIST);
|
|
5540
|
+
window.localStorage.removeItem(ConstInterface.LAST_EXCEPTION);
|
|
5541
|
+
window.localStorage.removeItem(ConstInterface.CTX_REMOVED_FROM_SRVR);
|
|
5542
|
+
}
|
|
5533
5543
|
HandleErrorResponse(response) {
|
|
5534
5544
|
try {
|
|
5535
5545
|
Logger.Instance.WriteServerMessagesToLog("MESSAGE FROM SERVER: " + response);
|
|
@@ -29525,7 +29535,7 @@ class CommandsTable {
|
|
|
29525
29535
|
}
|
|
29526
29536
|
}
|
|
29527
29537
|
|
|
29528
|
-
let CurrentClientVersion = '4.901.0-dev491.
|
|
29538
|
+
let CurrentClientVersion = '4.901.0-dev491.314';
|
|
29529
29539
|
|
|
29530
29540
|
class ClientManager {
|
|
29531
29541
|
constructor() {
|