musora-content-services 2.120.0 → 2.121.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.
File without changes
File without changes
package/.prettierignore CHANGED
File without changes
package/.prettierrc CHANGED
File without changes
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.121.2](https://github.com/railroadmedia/musora-content-services/compare/v2.121.1...v2.121.2) (2026-01-20)
6
+
7
+ ### [2.121.1](https://github.com/railroadmedia/musora-content-services/compare/v2.121.0...v2.121.1) (2026-01-20)
8
+
9
+ ## [2.121.0](https://github.com/railroadmedia/musora-content-services/compare/v2.119.3...v2.121.0) (2026-01-20)
10
+
11
+
12
+ ### Features
13
+
14
+ * add fetchLiveStreamData method ([aa9b704](https://github.com/railroadmedia/musora-content-services/commit/aa9b7046c7fc69e8b30c0f035577da62f8c5b5fd))
15
+ * add vimeo_live_event_id to GROQ queries ([d4fff6f](https://github.com/railroadmedia/musora-content-services/commit/d4fff6f09ca62682f6cead7e43f6979a56b86e0a))
16
+ * **TP-1060:** method data caching in mcs ([#701](https://github.com/railroadmedia/musora-content-services/issues/701)) ([25efc43](https://github.com/railroadmedia/musora-content-services/commit/25efc43b6c07172db2f20d51d5b79ac9fc204eef))
17
+ * update brand endpoint ([#719](https://github.com/railroadmedia/musora-content-services/issues/719)) ([4938b61](https://github.com/railroadmedia/musora-content-services/commit/4938b61c8526e31194b284c6daf172764b7900ed))
18
+
5
19
  ## [2.120.0](https://github.com/railroadmedia/musora-content-services/compare/v2.119.3...v2.120.0) (2026-01-19)
6
20
 
7
21
 
package/jest.config.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "musora-content-services",
3
- "version": "2.120.0",
3
+ "version": "2.121.2",
4
4
  "description": "A package for Musoras content services ",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
package/src/index.d.ts CHANGED
@@ -351,6 +351,7 @@ import {
351
351
  setUserSignature,
352
352
  toggleSignaturePrivate,
353
353
  unblockUser,
354
+ updateBrand,
354
355
  updateDisplayName,
355
356
  uploadPicture,
356
357
  uploadPictureFromS3
@@ -724,6 +725,7 @@ declare module 'musora-content-services' {
724
725
  unlockThread,
725
726
  unpinProgressRow,
726
727
  unpinThread,
728
+ updateBrand,
727
729
  updateDailySession,
728
730
  updateDisplayName,
729
731
  updateForumCategory,
package/src/index.js CHANGED
@@ -355,6 +355,7 @@ import {
355
355
  setUserSignature,
356
356
  toggleSignaturePrivate,
357
357
  unblockUser,
358
+ updateBrand,
358
359
  updateDisplayName,
359
360
  uploadPicture,
360
361
  uploadPictureFromS3
@@ -723,6 +724,7 @@ export {
723
724
  unlockThread,
724
725
  unpinProgressRow,
725
726
  unpinThread,
727
+ updateBrand,
726
728
  updateDailySession,
727
729
  updateDisplayName,
728
730
  updateForumCategory,
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @module UserManagement
3
3
  */
4
- import { GET, POST, PUT, DELETE } from '../../infrastructure/http/HttpClient.ts'
4
+ import { GET, POST, PUT, DELETE, PATCH } from '../../infrastructure/http/HttpClient.ts'
5
5
  import { globalConfig } from '../config.js'
6
6
  import './types.js'
7
7
 
@@ -131,5 +131,13 @@ export async function toggleSignaturePrivate(showSignature = true) {
131
131
  return await PUT(apiUrl, { show_signature: showSignature })
132
132
  }
133
133
 
134
-
135
-
134
+ /**
135
+ * Updates the user's brand.
136
+ *
137
+ * @param {string} brand - The brand to assign to the user.
138
+ * @returns {Promise<{ brand: string }>} - A promise that resolves with the updated brand.
139
+ */
140
+ export async function updateBrand(brand) {
141
+ const apiUrl = `/api/user-management-system/v1/user/brand`
142
+ return await PATCH(apiUrl, { brand })
143
+ }
File without changes
File without changes
package/test/log.js CHANGED
File without changes
@@ -1,19 +0,0 @@
1
- {
2
- "permissions": {
3
- "allow": [
4
- "Bash(find:*)",
5
- "Bash(docker exec:*)",
6
- "Bash(npm test:*)",
7
- "WebSearch",
8
- "WebFetch(domain:watermelondb.dev)",
9
- "WebFetch(domain:github.com)",
10
- "Bash(git checkout:*)",
11
- "Bash(npm run doc:*)",
12
- "Bash(cat:*)",
13
- "Bash(tr:*)",
14
- "Bash(npm run build-index:*)"
15
- ],
16
- "deny": [],
17
- "ask": []
18
- }
19
- }