musora-content-services 2.171.0 → 2.174.0

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.
@@ -1,6 +1,39 @@
1
1
  {
2
+ "permissions": {
3
+ "allow": [
4
+ "Bash(npx jest *)",
5
+ "Bash(npx tsc *)",
6
+ "Skill(counselors)",
7
+ "Bash(counselors ls *)",
8
+ "Bash(counselors groups *)",
9
+ "Bash(counselors run *)",
10
+ "Bash(npm test *)",
11
+ "Bash(gh pr *)",
12
+ "Bash(gh api *)",
13
+ "Bash(mkdir -p /tmp/pr-review-v2)",
14
+ "Read(//tmp/pr-review-v2/**)",
15
+ "Bash(cat /home/alesevero/railenvironment/applications/musora-content-services/AGENTS.md)",
16
+ "Bash(echo \"no AGENTS.md\")",
17
+ "Bash(echo \"exit=$?\")",
18
+ "Bash(git checkout *)",
19
+ "Skill(pr)",
20
+ "Skill(create-decision)",
21
+ "mcp__github__pull_request_read",
22
+ "mcp__github__push_files",
23
+ "Bash(git push *)",
24
+ "mcp__github__create_pull_request",
25
+ "mcp__github__search_pull_requests",
26
+ "Bash(git commit *)",
27
+ "Bash(git add *)",
28
+ "mcp__github__list_pull_requests",
29
+ "mcp__sanity__get_schema",
30
+ "mcp__sanity__query_documents",
31
+ "Bash(git rm *)",
32
+ "Bash(git rebase *)"
33
+ ]
34
+ },
35
+ "model": "sonnet",
2
36
  "enabledMcpjsonServers": [
3
- "1password",
4
37
  "atlassian",
5
38
  "figma",
6
39
  "google-workspace",
@@ -9,15 +42,19 @@
9
42
  "hex",
10
43
  "sanity",
11
44
  "mysql",
12
- "mysql-staging",
13
- "mysql-local",
14
45
  "slack",
15
46
  "langfuse",
16
47
  "chrome-devtools",
17
- "mobile",
18
48
  "railway",
19
49
  "github",
20
- "asana",
21
- "nightwatch"
22
- ]
50
+ "asana"
51
+ ],
52
+ "disabledMcpjsonServers": [
53
+ "nightwatch",
54
+ "1password",
55
+ "mysql-staging",
56
+ "mysql-local",
57
+ "mobile"
58
+ ],
59
+ "effortLevel": "medium"
23
60
  }
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.174.0](https://github.com/railroadmedia/musora-content-services/compare/v2.173.0...v2.174.0) (2026-08-12)
6
+
7
+
8
+ ### Features
9
+
10
+ * **MU2-1818:** Add OAuth provider list/unlink session APIs ([#1026](https://github.com/railroadmedia/musora-content-services/issues/1026)) ([9440a1a](https://github.com/railroadmedia/musora-content-services/commit/9440a1a2e5e4d459d9f889b6178c419893ece402))
11
+
12
+ ## [2.173.0](https://github.com/railroadmedia/musora-content-services/compare/v2.171.0...v2.173.0) (2026-08-12)
13
+
14
+
15
+ ### Features
16
+
17
+ * adds previous_email param to pending account creation ([#1028](https://github.com/railroadmedia/musora-content-services/issues/1028)) ([997d5ab](https://github.com/railroadmedia/musora-content-services/commit/997d5ab9883353a4a5f35000c92f9ff322e730b5))
18
+
19
+ ## [2.172.0](https://github.com/railroadmedia/musora-content-services/compare/v2.171.0...v2.172.0) (2026-08-12)
20
+
21
+
22
+ ### Features
23
+
24
+ * adds previous_email param to pending account creation ([#1028](https://github.com/railroadmedia/musora-content-services/issues/1028)) ([997d5ab](https://github.com/railroadmedia/musora-content-services/commit/997d5ab9883353a4a5f35000c92f9ff322e730b5))
25
+
5
26
  ## [2.171.0](https://github.com/railroadmedia/musora-content-services/compare/v2.170.0...v2.171.0) (2026-08-12)
6
27
 
7
28
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "musora-content-services",
3
- "version": "2.171.0",
3
+ "version": "2.174.0",
4
4
  "description": "A package for Musoras content services ",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -112,12 +112,14 @@ export async function setupAccount(props: AccountSetupProps): Promise<AccountSet
112
112
  export interface PendingAccountProps {
113
113
  email: string
114
114
  revenuecatAppUserId?: string
115
+ previousEmail?: string
115
116
  }
116
117
 
117
118
  /**
118
119
  * @param {Object} props - The parameters for creating the pending account.
119
120
  * @property {string} email - The email address for the account.
120
121
  * @property {string} [revenuecatAppUserId] - The RevenueCat App User ID for MA environments.
122
+ * @property {string} [previousEmail] - The previous email address, if this account replaces an existing one.
121
123
  *
122
124
  * @returns {Promise<AccountSetupResponse>} - A promise that resolves when the pending account is created or an HttpError if the request fails.
123
125
  * @throws {HttpError} - Throws an HttpError if the HTTP request fails.
@@ -129,6 +131,7 @@ export async function createPendingAccount(props: PendingAccountProps): Promise<
129
131
  {
130
132
  email: props.email,
131
133
  mobile_app_id: props.revenuecatAppUserId,
134
+ previous_email: props.previousEmail,
132
135
  }
133
136
  )
134
137
  }
@@ -38,3 +38,15 @@ export async function redirectToOAuthProvider(
38
38
  const httpClient = new HttpClient(globalConfig.baseUrl)
39
39
  return httpClient.get(apiUrl)
40
40
  }
41
+
42
+ export async function listOAuthProviders(): Promise<OAuthProvider[]> {
43
+ const userId = globalConfig.userId
44
+ const apiUrl = `/api/user-management-system/v1/sessions/${encodeURIComponent(userId)}/oauth`
45
+ return new HttpClient(globalConfig.baseUrl).get<OAuthProvider[]>(apiUrl)
46
+ }
47
+
48
+ export async function unlinkOAuthProvider(provider: OAuthProvider): Promise<void> {
49
+ const userId = globalConfig.userId
50
+ const apiUrl = `/api/user-management-system/v1/sessions/${encodeURIComponent(userId)}/oauth/${encodeURIComponent(provider)}`
51
+ return new HttpClient(globalConfig.baseUrl).delete(apiUrl)
52
+ }
@@ -1 +1 @@
1
- export const MCS_VERSION = '2.171.0'
1
+ export const MCS_VERSION = '2.174.0'