@wix/entity-advanced-permissions 1.1164.0 → 1.1166.0

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.
@@ -58933,8 +58933,9 @@ function getPlaceholder(fittingType, src, target, options = {}) {
58933
58933
  if (!isValidRequest(fittingType, src, target)) {
58934
58934
  return emptyData;
58935
58935
  }
58936
- const { autoEncode = true, isSEOBot, shouldLoadHQImage, hasAnimation, allowWEBPTransform, } = options;
58937
- const canTransformImage = isImageTransformApplicable(src.id, hasAnimation, allowWEBPTransform);
58936
+ const { autoEncode = true, isSEOBot, shouldLoadHQImage, hasAnimation, } = options;
58937
+ const alwaysAllowWEBPTransform = true;
58938
+ const canTransformImage = isImageTransformApplicable(src.id, hasAnimation, alwaysAllowWEBPTransform);
58938
58939
  if (!canTransformImage || shouldLoadHQImage) {
58939
58940
  /* Either:
58940
58941
  * 1. Transform isn't applicable so target is original size applied with fluid CSS
@@ -58965,7 +58966,7 @@ function getPlaceholder(fittingType, src, target, options = {}) {
58965
58966
  autoEncode,
58966
58967
  filters: blur ? { blur } : {},
58967
58968
  hasAnimation,
58968
- allowWEBPTransform,
58969
+ allowWEBPTransform: alwaysAllowWEBPTransform,
58969
58970
  });
58970
58971
  const { attr = {}, css } = getData(fittingType, src, {
58971
58972
  ...newTarget,