@wix/entity-advanced-permissions 1.1358.0 → 1.1360.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.
@@ -63007,7 +63007,7 @@ populateGlobalFeatureSupport();
63007
63007
 
63008
63008
  const getResponsiveImageProps = (imageProps, targetWidth, targetHeight) => {
63009
63009
  const { displayMode, uri, width, height, name, crop, focalPoint, alignType, quality, upscaleMethod, hasAnimation, allowAnimatedTransform, encoding, } = imageProps;
63010
- const { srcset, css } = getData(displayMode, { id: uri, width, height, name, crop, focalPoint }, {
63010
+ const { srcset, css, uri: src, } = getData(displayMode, { id: uri, width, height, name, crop, focalPoint }, {
63011
63011
  width: targetWidth,
63012
63012
  height: targetHeight,
63013
63013
  alignment: alignType,
@@ -63022,7 +63022,7 @@ const getResponsiveImageProps = (imageProps, targetWidth, targetHeight) => {
63022
63022
  encoding,
63023
63023
  });
63024
63024
  const srcsetWithPrefix = srcset?.dpr?.map((s) => /^[a-z]+:/.test(s) ? s : `${STATIC_MEDIA_URL}${s}`);
63025
- const fallbackSrc = srcsetWithPrefix?.[0];
63025
+ const fallbackSrc = `${STATIC_MEDIA_URL}${src}`;
63026
63026
  const srcsetString = srcsetWithPrefix?.join(', ');
63027
63027
  return {
63028
63028
  fallbackSrc,