@social-mail/social-mail-client 1.2.554 → 1.2.556

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.
@@ -24015,7 +24015,9 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/ent
24015
24015
  downloadFromUrl(url, email) {
24016
24016
  return __awaiter(this, void 0, void 0, function* () {
24017
24017
  if (!window.caches) {
24018
- return FetchBuilder.get(url).responseAsText();
24018
+ const text = yield FetchBuilder.get(url).responseAsText();
24019
+ email.htmlBody = text;
24020
+ return text;
24019
24021
  }
24020
24022
  const cache = yield window.caches.open("email-content-cache");
24021
24023
  const cacheKey = new URL(url, location.href);