musora-content-services 1.4.10 → 1.4.11

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/CHANGELOG.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [1.4.11](https://github.com/railroadmedia/musora-content-services/compare/v1.4.10...v1.4.11) (2025-04-30)
6
+
5
7
  ### [1.4.10](https://github.com/railroadmedia/musora-content-services/compare/v1.4.9...v1.4.10) (2025-04-30)
6
8
 
7
9
  ### [1.4.9](https://github.com/railroadmedia/musora-content-services/compare/v1.4.8...v1.4.9) (2025-04-30)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "musora-content-services",
3
- "version": "1.4.10",
3
+ "version": "1.4.11",
4
4
  "description": "A package for Musoras content services ",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -55,7 +55,7 @@ export function buildImageSRC(url, options = {}) {
55
55
  export function applySanityTransformations(url, options) {
56
56
  const { width, height, quality } = options
57
57
 
58
- const sanityOptions = ['auto=format']
58
+ const sanityOptions = ['fm=webp']
59
59
 
60
60
  // Dimensions
61
61
  if (width) sanityOptions.push(`w=${width}`)
@@ -14,7 +14,7 @@ describe('imageSRCBuilder', function () {
14
14
  quality: quality,
15
15
  height: height,
16
16
  })
17
- const expected = `${url}?auto=format&w=${width}&h=${height}&q=${quality}`
17
+ const expected = `${url}?fm=webp&w=${width}&h=${height}&q=${quality}`
18
18
 
19
19
  expect(resultingURL).toStrictEqual(expected)
20
20
  })