@quintype/framework 7.28.4-image-below-fold.2 → 7.28.4-image-below-fold.3

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": "@quintype/framework",
3
- "version": "7.28.4-image-below-fold.2",
3
+ "version": "7.28.4-image-below-fold.3",
4
4
  "description": "Libraries to help build Quintype Node.js apps",
5
5
  "main": "index.js",
6
6
  "engines": {
@@ -201,7 +201,7 @@ function createStoreFromResult(url, result, opts = {}) {
201
201
  currentHostUrl: result.currentHostUrl,
202
202
  primaryHostUrl: result.primaryHostUrl,
203
203
  isBotRequest: isBotRequest,
204
- belowFoldImgMargin: opts.belowFoldImgMargin,
204
+ lazyLoadImageMargin: opts.lazyLoadImageMargin,
205
205
  };
206
206
  return createBasicStore(result, qt, opts);
207
207
  }
@@ -464,7 +464,7 @@ exports.handleIsomorphicRoute = function handleIsomorphicRoute(
464
464
  ampPageBasePath,
465
465
  externalIdPattern,
466
466
  enableExternalStories,
467
- belowFoldImgMargin,
467
+ lazyLoadImageMargin,
468
468
  }
469
469
  ) {
470
470
  const url = urlLib.parse(req.url, true);
@@ -488,7 +488,7 @@ exports.handleIsomorphicRoute = function handleIsomorphicRoute(
488
488
 
489
489
  const store = createStoreFromResult(url, result, {
490
490
  disableIsomorphicComponent: statusCode != 200,
491
- belowFoldImgMargin,
491
+ lazyLoadImageMargin,
492
492
  });
493
493
 
494
494
  if (lightPages) {
package/server/routes.js CHANGED
@@ -355,7 +355,7 @@ exports.isomorphicRoutes = function isomorphicRoutes(
355
355
  webengageConfig = {},
356
356
  externalIdPattern = "",
357
357
  enableExternalStories = false,
358
- belowFoldImgMargin,
358
+ lazyLoadImageMargin,
359
359
  }
360
360
  ) {
361
361
  const withConfig = withConfigPartial(getClient, logError, publisherConfig, configWrapper);
@@ -548,7 +548,7 @@ exports.isomorphicRoutes = function isomorphicRoutes(
548
548
  ampPageBasePath,
549
549
  externalIdPattern,
550
550
  enableExternalStories,
551
- belowFoldImgMargin,
551
+ lazyLoadImageMargin,
552
552
  })
553
553
  );
554
554