musora-content-services 2.74.0 → 2.74.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,13 @@
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.74.1](https://github.com/railroadmedia/musora-content-services/compare/v2.74.0...v2.74.1) (2025-11-07)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * fetch learning path lessons ([69ac2e1](https://github.com/railroadmedia/musora-content-services/commit/69ac2e1e0982289b26e7148cc17d19f1ba389484))
11
+
5
12
  ## [2.74.0](https://github.com/railroadmedia/musora-content-services/compare/v2.73.0...v2.74.0) (2025-11-07)
6
13
 
7
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "musora-content-services",
3
- "version": "2.74.0",
3
+ "version": "2.74.1",
4
4
  "description": "A package for Musoras content services ",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -106,6 +106,7 @@ export async function fetchLearningPathLessons(
106
106
  const nextContentIds = dailySession.daily_session[1]?.content_ids || []
107
107
  const completedLessons = []
108
108
  let todaysLessons = []
109
+ let nextLPLessons = []
109
110
  const upcomingLessons = []
110
111
 
111
112
  manipulatedLessons.forEach((lesson: any) => {
@@ -119,7 +120,7 @@ export async function fetchLearningPathLessons(
119
120
  })
120
121
 
121
122
  let previousLearnigPathTodays = []
122
- if (todaysLessons.length == 0 && nextLPLessons.length > 0) {
123
+ if (todaysLessons.length == 0) {
123
124
  // Daily sessions first lessons are not part of the active learning path, but next lessons are
124
125
  // load todays lessons from previous learning path
125
126
  previousLearnigPathTodays = await addContextToContent(