@social-mail/social-mail-client 1.2.557 → 1.2.559

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.
@@ -28411,8 +28411,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/ent
28411
28411
  return __awaiter(this, void 0, void 0, function* () {
28412
28412
  if (!window.caches) {
28413
28413
  const text = yield FetchBuilder.get(url).responseAsText();
28414
- email.htmlBody = text;
28415
- return text;
28414
+ return email.htmlBody = text;
28416
28415
  }
28417
28416
  const cache = yield window.caches.open("email-content-cache");
28418
28417
  const cacheKey = new URL(url, location.href);
@@ -28797,6 +28796,10 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
28797
28796
  CommonEvents.onThreadMarkedAsRead.dispatchEvent(thread);
28798
28797
  }, console.error);
28799
28798
  }
28799
+ if (window.previewMode) {
28800
+ e.appendChild(container);
28801
+ return;
28802
+ }
28800
28803
  const shadow = e.attachShadow({
28801
28804
  mode: "open"
28802
28805
  });