@social-mail/social-mail-web-server 1.8.483 → 1.8.485

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@social-mail/social-mail-web-server",
3
- "version": "1.8.483",
3
+ "version": "1.8.485",
4
4
  "description": "## Phase 1",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -221,7 +221,7 @@ async function inlineCSS(window, document: Document){
221
221
  styles.push(`${cssName}: ${value}`);
222
222
  }
223
223
  rules.push(`.${className} {
224
- ${styles.map((s) => s.key + ":" + s.value).join(";\n")};
224
+ ${styles.join(";\n")};
225
225
  }`);
226
226
  }
227
227
  }
@@ -38,7 +38,7 @@ export default class PuppeteerService {
38
38
  }) {
39
39
 
40
40
  const pageCookies = page?.request?.cookies;
41
- let cookies = "void 0";
41
+ let cookies = "undefined";
42
42
  if (pageCookies) {
43
43
  const domain = page.request.URL.hostname;
44
44
  cookies = JSON.stringify(Object.entries(pageCookies).map(([name, value]) => ({ name, value, domain, httpOnly: true, secure: true })));