qumra-engine 2.0.79 → 2.0.80

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.
@@ -13,7 +13,7 @@ exports.default = new (class SeoExtension {
13
13
  }
14
14
  run({ env, ctx }) {
15
15
  const injectionCode = (0, globals_1.getGlobal)("injectionCode");
16
- const isIframe = (0, globals_1.getGlobal)("isIframe");
16
+ const isIframe = env.getGlobal("isIframe");
17
17
  let scripts = `
18
18
  ${injectionCode.body}
19
19
  `;
@@ -30,7 +30,6 @@ exports.default = new (class WidgetExtension {
30
30
  }
31
31
  const templates = env.getGlobal("templates");
32
32
  const widgets = templates.find((t) => t.key === templateKey)?.widgets || [];
33
- console.log("🚀 ~ run ~ widgets:", widgets);
34
33
  const renderedWidgets = [];
35
34
  for (const widget of widgets) {
36
35
  const widgetTemplatePath = (0, normalizeWidgetPath_1.normalizeWidgetPath)(widget.widget);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qumra-engine",
3
- "version": "2.0.79",
3
+ "version": "2.0.80",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {