musora-content-services 2.111.5 → 2.112.1

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,15 @@
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
+ ### [2.112.1](https://github.com/railroadmedia/musora-content-services/compare/v2.112.0...v2.112.1) (2026-01-07)
6
+
7
+ ## [2.112.0](https://github.com/railroadmedia/musora-content-services/compare/v2.111.5...v2.112.0) (2026-01-07)
8
+
9
+
10
+ ### Features
11
+
12
+ * **T3PS-1413:** homepage progress row learning path lessons need need_access flag ([#688](https://github.com/railroadmedia/musora-content-services/issues/688)) ([cde7359](https://github.com/railroadmedia/musora-content-services/commit/cde73595c76c634b711e580497e291fa074b3d51))
13
+
5
14
  ### [2.111.5](https://github.com/railroadmedia/musora-content-services/compare/v2.111.4...v2.111.5) (2026-01-07)
6
15
 
7
16
  ### [2.111.4](https://github.com/railroadmedia/musora-content-services/compare/v2.111.3...v2.111.4) (2026-01-07)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "musora-content-services",
3
- "version": "2.111.5",
3
+ "version": "2.112.1",
4
4
  "description": "A package for Musoras content services ",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -1515,7 +1515,6 @@ export async function fetchSanity(
1515
1515
  ])
1516
1516
  const response = promisesResult[0]
1517
1517
  const userPermissions = promisesResult[1]
1518
-
1519
1518
  if (!response.ok) {
1520
1519
  throw new Error(`Sanity API error: ${response.status} - ${response.statusText}`)
1521
1520
  }
@@ -1573,6 +1572,11 @@ function contentResultsDecorator(results, fieldName, callback) {
1573
1572
  })
1574
1573
  } else {
1575
1574
  results[fieldName] = callback(results)
1575
+ if (results.children && Array.isArray(results.children)) {
1576
+ results.children.forEach((result) => {
1577
+ result[fieldName] = callback(result)
1578
+ })
1579
+ }
1576
1580
  }
1577
1581
 
1578
1582
  return results