@gem-sdk/pages 1.58.0-dev.56 → 1.58.0-dev.60

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.
@@ -14,7 +14,7 @@ const StaticPageV2 = ({ components, builderData, sectionData, themeStyle, fontSt
14
14
  useTrackingView.useTrackingView(shopToken, pageHandle);
15
15
  return /*#__PURE__*/ jsxRuntime.jsxs(jsxRuntime.Fragment, {
16
16
  children: [
17
- parseHtml.parseHtml(customCodeHeader, true),
17
+ parseHtml.parseHtml(customCodeHeader),
18
18
  themeStyle && /*#__PURE__*/ jsxRuntime.jsx("style", {
19
19
  "data-id": "global-style",
20
20
  type: "text/css",
@@ -73,6 +73,7 @@ const StaticPageV2 = ({ components, builderData, sectionData, themeStyle, fontSt
73
73
  }),
74
74
  /*#__PURE__*/ jsxRuntime.jsx(Script, {
75
75
  defer: true,
76
+ strategy: "lazyOnload",
76
77
  src: `${baseAssetURL}/assets-v2/gp-flow-action-lip.js`
77
78
  })
78
79
  ]
@@ -12,7 +12,7 @@ const StaticPageV2 = ({ components, builderData, sectionData, themeStyle, fontSt
12
12
  useTrackingView(shopToken, pageHandle);
13
13
  return /*#__PURE__*/ jsxs(Fragment, {
14
14
  children: [
15
- parseHtml(customCodeHeader, true),
15
+ parseHtml(customCodeHeader),
16
16
  themeStyle && /*#__PURE__*/ jsx("style", {
17
17
  "data-id": "global-style",
18
18
  type: "text/css",
@@ -71,6 +71,7 @@ const StaticPageV2 = ({ components, builderData, sectionData, themeStyle, fontSt
71
71
  }),
72
72
  /*#__PURE__*/ jsx(Script, {
73
73
  defer: true,
74
+ strategy: "lazyOnload",
74
75
  src: `${baseAssetURL}/assets-v2/gp-flow-action-lip.js`
75
76
  })
76
77
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/pages",
3
- "version": "1.58.0-dev.56",
3
+ "version": "1.58.0-dev.60",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",
@@ -26,7 +26,7 @@
26
26
  "next": "latest"
27
27
  },
28
28
  "devDependencies": {
29
- "@gem-sdk/core": "1.58.0-dev.54",
29
+ "@gem-sdk/core": "1.58.0-dev.60",
30
30
  "@gem-sdk/plugin-cookie-bar": "1.58.0-dev.53",
31
31
  "@gem-sdk/plugin-quick-view": "1.58.0-dev.53",
32
32
  "@gem-sdk/plugin-sticky-add-to-cart": "1.58.0-dev.53"