musora-content-services 2.157.0 → 2.157.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/.claude/settings.local.json +14 -0
- package/CHANGELOG.md +21 -0
- package/package.json +1 -1
- package/src/contentTypeConfig.js +1 -0
- package/src/services/sanity.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,27 @@
|
|
|
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.157.3](https://github.com/railroadmedia/musora-content-services/compare/v2.157.2...v2.157.3) (2026-05-05)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* increment sanity url version ([de73b89](https://github.com/railroadmedia/musora-content-services/commit/de73b89bbc53175ba5901c2588fdb2f47ff35069))
|
|
11
|
+
|
|
12
|
+
### [2.157.2](https://github.com/railroadmedia/musora-content-services/compare/v2.157.0...v2.157.2) (2026-04-30)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* add missing vimeo_live_event_id field to downloads field list ([#948](https://github.com/railroadmedia/musora-content-services/issues/948)) ([2b54208](https://github.com/railroadmedia/musora-content-services/commit/2b5420838f200ee061dc7af27029df8a3c38f87c))
|
|
18
|
+
|
|
19
|
+
### [2.157.1](https://github.com/railroadmedia/musora-content-services/compare/v2.157.0...v2.157.1) (2026-04-30)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Bug Fixes
|
|
23
|
+
|
|
24
|
+
* add missing vimeo_live_event_id field to downloads field list ([#948](https://github.com/railroadmedia/musora-content-services/issues/948)) ([2b54208](https://github.com/railroadmedia/musora-content-services/commit/2b5420838f200ee061dc7af27029df8a3c38f87c))
|
|
25
|
+
|
|
5
26
|
## [2.157.0](https://github.com/railroadmedia/musora-content-services/compare/v2.155.11...v2.157.0) (2026-04-29)
|
|
6
27
|
|
|
7
28
|
|
package/package.json
CHANGED
package/src/contentTypeConfig.js
CHANGED
|
@@ -149,6 +149,7 @@ export function getLiveFields(minimum = false) {
|
|
|
149
149
|
"live_event_start_time",
|
|
150
150
|
"live_event_end_time",
|
|
151
151
|
"live_event_stream_id",
|
|
152
|
+
"vimeo_live_event_id",
|
|
152
153
|
"'live_event_is_global': live_global_event == true",
|
|
153
154
|
"'videoId': coalesce(live_event_stream_id, video.external_id)",
|
|
154
155
|
]
|
package/src/services/sanity.js
CHANGED
|
@@ -1588,7 +1588,7 @@ export async function fetchSanity(
|
|
|
1588
1588
|
}
|
|
1589
1589
|
const perspective = globalConfig.sanityConfig.perspective ?? 'published'
|
|
1590
1590
|
const api = globalConfig.sanityConfig.useCachedAPI ? 'apicdn' : 'api'
|
|
1591
|
-
const baseUrl = `https://sanity.musora.com/${globalConfig.sanityConfig.projectId}/${api}/v${globalConfig.sanityConfig.version}/${globalConfig.sanityConfig.dataset}/
|
|
1591
|
+
const baseUrl = `https://sanity.musora.com/${globalConfig.sanityConfig.projectId}/${api}/v${globalConfig.sanityConfig.version}/${globalConfig.sanityConfig.dataset}/v3?perspective=${perspective}`
|
|
1592
1592
|
|
|
1593
1593
|
try {
|
|
1594
1594
|
const encodedQuery = encodeURIComponent(query)
|