musora-content-services 2.33.1 → 2.33.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,8 @@
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.33.2](https://github.com/railroadmedia/musora-content-services/compare/v2.33.1...v2.33.2) (2025-09-03)
6
+
5
7
  ### [2.33.1](https://github.com/railroadmedia/musora-content-services/compare/v2.33.0...v2.33.1) (2025-08-27)
6
8
 
7
9
  ## [2.33.0](https://github.com/railroadmedia/musora-content-services/compare/v2.32.0...v2.33.0) (2025-08-27)
package/link_mcs.sh CHANGED
@@ -10,6 +10,7 @@ MUSORA_PLATFORM_FE_DIR="../musora-platform-frontend"
10
10
  # Navigate to the musora-content-services directory and create a symlink
11
11
  echo "Linking musora-content-services..."
12
12
  cd "$MUSORA_CONTENT_SERVICES_DIR" || { echo "Directory not found: $MUSORA_CONTENT_SERVICES_DIR"; exit 1; }
13
+ npm install
13
14
  npm link
14
15
 
15
16
  # Navigate to the musora-platform-frontend directory and link the package
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "musora-content-services",
3
- "version": "2.33.1",
3
+ "version": "2.33.2",
4
4
  "description": "A package for Musoras content services ",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -89,6 +89,7 @@ export class HttpClient {
89
89
  const options: RequestOptions = {
90
90
  method,
91
91
  headers,
92
+ credentials: 'include',
92
93
  }
93
94
 
94
95
  // Add body for non-GET requests
@@ -1,5 +1,6 @@
1
1
  export interface RequestOptions {
2
2
  method: string
3
3
  headers: Record<string, string>
4
+ credentials?: "omit" | "same-origin" | "include"
4
5
  body?: string
5
6
  }
@@ -73,6 +73,7 @@ export async function fetchHandler(
73
73
  const options = {
74
74
  method,
75
75
  headers: reqHeaders,
76
+ credentials: 'include',
76
77
  }
77
78
  if (body) options.body = body
78
79
  if (token) options.headers['Authorization'] = `Bearer ${token}`
@@ -15,7 +15,7 @@ export async function getActiveDiscussions(brand, { page = 1, limit = 10 } = {})
15
15
  author: {
16
16
  id: 123,
17
17
  name: 'Zucconi',
18
- avatar: 'https://www.musora.com/cdn-cgi/image/quality=75,width=250,height=250,metadata=none/https://d3fzm1tzeyr5n3.cloudfront.net/profile_picture_url/BE9F40FC-61C8-48FB-BC79-6E5A7100638F-1710514476-612136.jpg'
18
+ avatar: 'https://d3fzm1tzeyr5n3.cloudfront.net/profile_picture_url/BE9F40FC-61C8-48FB-BC79-6E5A7100638F-1710514476-612136.jpg'
19
19
  }
20
20
  },
21
21
  {
@@ -26,7 +26,7 @@ export async function getActiveDiscussions(brand, { page = 1, limit = 10 } = {})
26
26
  author: {
27
27
  id: 124,
28
28
  name: 'Abyssic Wizard',
29
- avatar: 'https://www.musora.com/cdn-cgi/image/quality=75,width=250,height=250,metadata=none/https://d3fzm1tzeyr5n3.cloudfront.net/profile_picture_url/32F50623-BC25-429A-B480-B4A6A0E037D7-1748730048-844311.jpg'
29
+ avatar: 'https://d3fzm1tzeyr5n3.cloudfront.net/profile_picture_url/32F50623-BC25-429A-B480-B4A6A0E037D7-1748730048-844311.jpg'
30
30
  }
31
31
  },
32
32
  {
@@ -37,7 +37,7 @@ export async function getActiveDiscussions(brand, { page = 1, limit = 10 } = {})
37
37
  author: {
38
38
  id: 125,
39
39
  name: 'Rwogie',
40
- avatar: 'https://www.musora.com/cdn-cgi/image/quality=75,width=250,height=250,metadata=none/https://d3fzm1tzeyr5n3.cloudfront.net/profile_picture_url/user-profile-picture-1752520294-843602.jpg'
40
+ avatar: 'https://d3fzm1tzeyr5n3.cloudfront.net/profile_picture_url/user-profile-picture-1752520294-843602.jpg'
41
41
  }
42
42
  },
43
43
  {
@@ -48,7 +48,7 @@ export async function getActiveDiscussions(brand, { page = 1, limit = 10 } = {})
48
48
  author: {
49
49
  id: 126,
50
50
  name: 'Ale',
51
- avatar: 'https://www.musora.com/cdn-cgi/image/quality=75,width=250,height=250,metadata=none/https://d3fzm1tzeyr5n3.cloudfront.net/profile_picture_url/user-profile-picture-1728402676-577074.jpg'
51
+ avatar: 'https://d3fzm1tzeyr5n3.cloudfront.net/profile_picture_url/user-profile-picture-1728402676-577074.jpg'
52
52
  }
53
53
  },
54
54
  {
@@ -59,7 +59,7 @@ export async function getActiveDiscussions(brand, { page = 1, limit = 10 } = {})
59
59
  author: {
60
60
  id: 127,
61
61
  name: 'Peter Neumann',
62
- avatar: 'https://www.musora.com/cdn-cgi/image/quality=75,width=250,height=250,metadata=none/https://d3fzm1tzeyr5n3.cloudfront.net/profile_picture_url/user-profile-picture-1725633212-597725.jpg'
62
+ avatar: 'https://d3fzm1tzeyr5n3.cloudfront.net/profile_picture_url/user-profile-picture-1725633212-597725.jpg'
63
63
  }
64
64
  },
65
65
  {
@@ -70,7 +70,7 @@ export async function getActiveDiscussions(brand, { page = 1, limit = 10 } = {})
70
70
  author: {
71
71
  id: 128,
72
72
  name: 'Stidger (Musora Mod)',
73
- avatar: 'https://www.musora.com/cdn-cgi/image/quality=75,width=250,height=250,metadata=none/https://dzryyo1we6bm3.cloudfront.net/avatars/6A09AFCB-B242-4278-A8B3-0013A650206A-1644690552-495979.jpg'
73
+ avatar: 'https://dzryyo1we6bm3.cloudfront.net/avatars/6A09AFCB-B242-4278-A8B3-0013A650206A-1644690552-495979.jpg'
74
74
  }
75
75
  }
76
76
  ]