musora-content-services 2.158.1 → 2.158.3

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,20 @@
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.158.3](https://github.com/railroadmedia/musora-content-services/compare/v2.158.2...v2.158.3) (2026-05-07)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * pass collection to resumetime fetchers ([#959](https://github.com/railroadmedia/musora-content-services/issues/959)) ([cf61471](https://github.com/railroadmedia/musora-content-services/commit/cf6147117767e8f42dd5a3b1aa6a120173844150))
11
+
12
+ ### [2.158.2](https://github.com/railroadmedia/musora-content-services/compare/v2.158.1...v2.158.2) (2026-05-07)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * revert recordWatchSesssion signature ([#958](https://github.com/railroadmedia/musora-content-services/issues/958)) ([569b9d2](https://github.com/railroadmedia/musora-content-services/commit/569b9d244042d2857989c686fd8ec6b3d0269cd2))
18
+
5
19
  ### [2.158.1](https://github.com/railroadmedia/musora-content-services/compare/v2.158.0...v2.158.1) (2026-05-07)
6
20
 
7
21
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "musora-content-services",
3
- "version": "2.158.1",
3
+ "version": "2.158.3",
4
4
  "description": "A package for Musoras content services ",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -101,7 +101,7 @@ export async function addContextToContent(dataPromise, ...dataArgs) {
101
101
  addProgressPercentage || addProgressStatus || addProgressTimestamp
102
102
  ? getProgressDataByIds(ids, collection) : Promise.resolve(null),
103
103
  addIsLiked ? isContentLikedByIds(ids) : Promise.resolve(null),
104
- addResumeTimeSeconds ? getResumeTimeSecondsByIds(ids) : Promise.resolve(null),
104
+ addResumeTimeSeconds ? getResumeTimeSecondsByIds(ids, collection) : Promise.resolve(null),
105
105
  addNavigateTo ? getNavigateTo(items) : Promise.resolve(null),
106
106
  addAwards ? getContentAwardsByIds(ids) : Promise.resolve(null),
107
107
  ])
@@ -444,6 +444,7 @@ export async function recordWatchSession(
444
444
  mediaLengthSeconds,
445
445
  currentSeconds,
446
446
  secondsPlayed,
447
+ _prevSesssion = null,
447
448
  instrumentId = null,
448
449
  categoryId = null,
449
450
  isLivestream = false,