musora-content-services 2.93.2 → 2.94.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,30 @@
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.94.2](https://github.com/railroadmedia/musora-content-services/compare/v2.94.1...v2.94.2) (2025-12-03)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * bad import ([#611](https://github.com/railroadmedia/musora-content-services/issues/611)) ([ac9ee7b](https://github.com/railroadmedia/musora-content-services/commit/ac9ee7bb8d9617e319dcdedb47c5d7e3c7973732))
11
+
12
+ ### [2.94.1](https://github.com/railroadmedia/musora-content-services/compare/v2.94.0...v2.94.1) (2025-12-03)
13
+
14
+ ## [2.94.0](https://github.com/railroadmedia/musora-content-services/compare/v2.92.6...v2.94.0) (2025-12-03)
15
+
16
+
17
+ ### Features
18
+
19
+ * **BEH-1192:** revise fetchLearningPathProgressCheckLessons ([#604](https://github.com/railroadmedia/musora-content-services/issues/604)) ([db8cb70](https://github.com/railroadmedia/musora-content-services/commit/db8cb70ed70f4341fdd4651cdd3fea2b8047dc21))
20
+
21
+
22
+ ### Bug Fixes
23
+
24
+ * **agi:** make brand parameter less strict for now ([#603](https://github.com/railroadmedia/musora-content-services/issues/603)) ([b440b92](https://github.com/railroadmedia/musora-content-services/commit/b440b92ae1b4aab80d7e5ac5238c1e386cf09db8))
25
+ * method progress card subtitle ([#608](https://github.com/railroadmedia/musora-content-services/issues/608)) ([3bbfb56](https://github.com/railroadmedia/musora-content-services/commit/3bbfb56fce08e0753e7708bdf2d1356000b1c398))
26
+ * progress fixes and features with watermelon ([#607](https://github.com/railroadmedia/musora-content-services/issues/607)) ([005403c](https://github.com/railroadmedia/musora-content-services/commit/005403c9bbaeebe8c5ecb5315754de4448bcbf43))
27
+ * Pull in permission_v2 ([#602](https://github.com/railroadmedia/musora-content-services/issues/602)) ([289e32d](https://github.com/railroadmedia/musora-content-services/commit/289e32d08bd3a6448191b9f6034801e4cf8d40e5))
28
+
5
29
  ### [2.93.2](https://github.com/railroadmedia/musora-content-services/compare/v2.93.1...v2.93.2) (2025-12-02)
6
30
 
7
31
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "musora-content-services",
3
- "version": "2.93.2",
3
+ "version": "2.94.2",
4
4
  "description": "A package for Musoras content services ",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -12,7 +12,7 @@ export let globalConfig = {
12
12
  localStorage: null,
13
13
  isMA: false,
14
14
  localTimezoneString: null, // In format: America/Vancouver
15
- permissionsVersion: 'v1', // 'v1' or 'v2'
15
+ permissionsVersion: 'v2', // 'v1' or 'v2'
16
16
  }
17
17
 
18
18
  /**
@@ -6,7 +6,7 @@ import { getActivePath, fetchLearningPathLessons } from '../content-org/learning
6
6
  import { getToday } from '../dateUtils.js'
7
7
  import { fetchMethodV2IntroVideo } from '../sanity'
8
8
  import { getProgressState } from '../contentProgress'
9
- import {COLLECTION_TYPE} from "../sync/models/ContentProgress.js";
9
+ import { COLLECTION_TYPE } from '../sync/models/ContentProgress'
10
10
 
11
11
  export async function getMethodCard(brand) {
12
12
  const introVideo = await fetchMethodV2IntroVideo(brand)
@@ -299,6 +299,7 @@ export async function fetchNewReleases(
299
299
  "image": thumbnail.asset->url,
300
300
  "thumbnail": thumbnail.asset->url,
301
301
  ${artistOrInstructorName()},
302
+ "instructor": ${instructorField},
302
303
  "artists": instructor[]->name,
303
304
  difficulty,
304
305
  difficulty_string,
@@ -337,6 +338,7 @@ export async function fetchUpcomingEvents(brand, { page = 1, limit = 10 } = {})
337
338
  "thumbnail": thumbnail.asset->url,
338
339
  ${artistOrInstructorName()},
339
340
  "artists": instructor[]->name,
341
+ "instructor": ${instructorField},
340
342
  difficulty,
341
343
  difficulty_string,
342
344
  length_in_seconds,
@@ -388,6 +390,7 @@ export async function fetchScheduledReleases(brand, { page = 1, limit = 10 }) {
388
390
  "image": thumbnail.asset->url,
389
391
  "thumbnail": thumbnail.asset->url,
390
392
  ${artistOrInstructorName()},
393
+ "instructor": ${instructorField},
391
394
  "artists": instructor[]->name,
392
395
  difficulty,
393
396
  difficulty_string,
@@ -40,7 +40,7 @@ import dayjs from 'dayjs'
40
40
  import { addContextToContent } from './contentAggregator.js'
41
41
  import { getMethodCard } from './progress-row/method-card.js'
42
42
  import { db, Q } from './sync'
43
- import {COLLECTION_TYPE} from "./sync/models/ContentProgress.js";
43
+ import {COLLECTION_TYPE} from "./sync/models/ContentProgress";
44
44
 
45
45
  const DATA_KEY_PRACTICES = 'practices'
46
46