musora-content-services 2.155.1 → 2.155.2

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.155.2](https://github.com/railroadmedia/musora-content-services/compare/v2.155.1...v2.155.2) (2026-04-22)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * remove prevSession args ([#937](https://github.com/railroadmedia/musora-content-services/issues/937)) ([2fe1dc2](https://github.com/railroadmedia/musora-content-services/commit/2fe1dc280a21e060b15567afe60a4cf959cecc90))
11
+
5
12
  ### [2.155.1](https://github.com/railroadmedia/musora-content-services/compare/v2.155.0...v2.155.1) (2026-04-22)
6
13
 
7
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "musora-content-services",
3
- "version": "2.155.1",
3
+ "version": "2.155.2",
4
4
  "description": "A package for Musoras content services ",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -434,7 +434,6 @@ async function _getAllStartedOrCompleted({
434
434
  * @param {int} mediaLengthSeconds - total length of video media || live event duration if livestream
435
435
  * @param {int} currentSeconds - seconds timestamp relative to beginning of video
436
436
  * @param {int} secondsPlayed - seconds played in this watch session (since last pause)
437
- * @param {string|null} prevSession - This function records a sessionId to pass into future updates to progress on the same video
438
437
  * @param {int|null} instrumentId - enum value of instrument id
439
438
  * @param {int|null} categoryId - enum value of category id
440
439
  * @param {boolean|null} isLivestream - determines livestream-specific progress handling
@@ -456,7 +455,6 @@ export async function recordWatchSession(
456
455
  secondsPlayed,
457
456
  {
458
457
  collection,
459
- prevSession,
460
458
  instrumentId,
461
459
  categoryId,
462
460
  isLivestream,
@@ -473,7 +471,6 @@ export async function recordWatchSession(
473
471
  * @param {int} mediaLengthSeconds - total length of video media || live event duration if livestream
474
472
  * @param {int} currentSeconds - seconds timestamp relative to beginning of video
475
473
  * @param {int} secondsPlayed - seconds played in this watch session (since last pause)
476
- * @param {string|null} prevSession - This function records a sessionId to pass into future updates to progress on the same video
477
474
  * @param {int|null} instrumentId - enum value of instrument id
478
475
  * @param {int|null} categoryId - enum value of category id
479
476
  * @param {boolean|null} isLivestream - determines livestream-specific progress handling
@@ -488,7 +485,6 @@ export async function _recordWatchSession(
488
485
  secondsPlayed,
489
486
  {
490
487
  collection = null,
491
- prevSession = null,
492
488
  instrumentId = null,
493
489
  categoryId = null,
494
490
  isLivestream = false,
@@ -23,7 +23,6 @@ interface HierarchyParameter {
23
23
  * @param secondsPlayed - Seconds actively watched in this session
24
24
  * @param hierarchy - Content hierarchy used to update parent progress offline
25
25
  * @param options.collection - Collection context; defaults to self
26
- * @param options.prevSession - Previous session identifier for continuity
27
26
  * @param options.instrumentId - Instrument filter for the session
28
27
  * @param options.categoryId - Category filter for the session
29
28
  */
@@ -35,12 +34,10 @@ export async function recordWatchSessionOffline(
35
34
  hierarchy: HierarchyParameter,
36
35
  {
37
36
  collection = null,
38
- prevSession = null,
39
37
  instrumentId = null,
40
38
  categoryId = null,
41
39
  }: {
42
40
  collection?: CollectionParameter|null,
43
- prevSession?: string|null,
44
41
  instrumentId?: number|null,
45
42
  categoryId?: number|null
46
43
  } = {}
@@ -52,7 +49,6 @@ export async function recordWatchSessionOffline(
52
49
  secondsPlayed,
53
50
  {
54
51
  collection,
55
- prevSession,
56
52
  instrumentId,
57
53
  categoryId,
58
54
  isOffline: true,
@@ -1,10 +0,0 @@
1
- {
2
- "permissions": {
3
- "allow": [
4
- "Bash(rg:*)",
5
- "Bash(npm run lint:*)",
6
- "Bash(ls:*)"
7
- ],
8
- "deny": []
9
- }
10
- }