@social-mail/social-mail-client 1.8.371 → 1.8.372

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.
@@ -17,9 +17,9 @@
17
17
  <body>
18
18
  <div id="container" style="width:100%;height:100%;border:1px solid grey; position: absolute;"></div>
19
19
  <!-- OR ANY OTHER AMD LOADER HERE INSTEAD OF loader.js -->
20
- <script src="https://cdn.jsdelivr.net/npm/monaco-editor@0.46.0/min/vs/loader.js"></script>
20
+ <script src="https://cdn.jsdelivr.net/npm/monaco-editor@0.52.2/min/vs/loader.js"></script>
21
21
  <script>
22
- require.config({ paths: { 'vs': 'https://cdn.jsdelivr.net/npm/monaco-editor@0.46.0/min/vs' }});
22
+ require.config({ paths: { 'vs': 'https://cdn.jsdelivr.net/npm/monaco-editor@0.52.2/min/vs' }});
23
23
 
24
24
  require(['vs/editor/editor.main'], function() {
25
25
 
@@ -1,4 +1,4 @@
1
- import * as monaco from 'https://cdn.jsdelivr.net/npm/monaco-editor@0.46.0/esm/vs/editor/edcore.main.js';
1
+ import * as monaco from 'https://cdn.jsdelivr.net/npm/monaco-editor@0.52.2/esm/vs/editor/edcore.main.js';
2
2
 
3
3
  self.MonacoEnvironment = {
4
4
  getWorkerUrl: function (moduleId, label) {
@@ -49871,11 +49871,16 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
49871
49871
  }
49872
49872
  logout() {
49873
49873
  return __awaiter(this, void 0, void 0, function* () {
49874
+ var _a, _b;
49874
49875
  const session = yield this.entityService.query(LoginSession, "currentUser").firstOrDefault();
49875
49876
  session.invalid = true;
49876
49877
  const cloner = this.entityService.cloner(session);
49877
49878
  yield this.entityService.save(cloner.copy);
49878
49879
  yield sleep(1000);
49880
+ if ((_b = (_a = SocialMailApp.config) === null || _a === void 0 ? void 0 : _a.links) === null || _b === void 0 ? void 0 : _b.login) {
49881
+ location.href = SocialMailApp.config.links.home;
49882
+ return;
49883
+ }
49879
49884
  location.reload();
49880
49885
  });
49881
49886
  }