qumra-engine 2.0.131 → 2.0.133

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.
@@ -35,9 +35,11 @@ exports.default = new (class SeoExtension {
35
35
  }
36
36
  </style>
37
37
  `;
38
+ console.log("🚀 ~ run ~ isIframesssss:", isIframe);
38
39
  if (isIframe) {
39
- scripts += `https://cdn.qumra.cloud/lib/bridge/1.0.0/qumra-bridge.js`;
40
+ scripts += `<script src="https://cdn.qumra.cloud/lib/bridge/1.0.0/qumra-bridge.js" defer></script>`;
40
41
  }
42
+ console.log("🚀 ~ run ~ scripts:", scripts);
41
43
  return new nunjucks_1.runtime.SafeString(scripts);
42
44
  }
43
45
  })();
@@ -17,9 +17,11 @@ exports.default = new (class SeoExtension {
17
17
  let scripts = `
18
18
  ${injectionCode.body}
19
19
  `;
20
+ console.log("🚀 ~ run ~ qqqqqqqqqqqqq:", isIframe);
20
21
  if (isIframe) {
21
22
  scripts += `<qumra-selector></qumra-selector>`;
22
23
  }
24
+ console.log("🚀 ~ run ~ scripts:", scripts);
23
25
  return new nunjucks_1.runtime.SafeString(scripts);
24
26
  }
25
27
  })();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qumra-engine",
3
- "version": "2.0.131",
3
+ "version": "2.0.133",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {