musora-content-services 2.117.6 → 2.117.7

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,13 @@
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.117.7](https://github.com/railroadmedia/musora-content-services/compare/v2.117.6...v2.117.7) (2026-01-13)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * **auth:** login data ([a1b72d8](https://github.com/railroadmedia/musora-content-services/commit/a1b72d8145e230cfc850e208f147080c7ef8c6df))
11
+
5
12
  ### [2.117.6](https://github.com/railroadmedia/musora-content-services/compare/v2.117.5...v2.117.6) (2026-01-13)
6
13
 
7
14
  ### [2.117.5](https://github.com/railroadmedia/musora-content-services/compare/v2.117.4...v2.117.5) (2026-01-13)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "musora-content-services",
3
- "version": "2.117.6",
3
+ "version": "2.117.7",
4
4
  "description": "A package for Musoras content services ",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -46,16 +46,17 @@ export async function login(email, password, deviceName, deviceToken, platform)
46
46
  }),
47
47
  })
48
48
 
49
+ const data = await res.json()
50
+
49
51
  // TODO: refactor this. I don't think this is the place for it but we need it fixed for the system test
50
52
  if (res.ok) {
51
- const user = await res.json()
52
-
53
53
  globalConfig.localStorage.setItem(
54
54
  USER_PIN_PROGRESS_KEY,
55
- JSON.stringify(user.pinned_progress_rows || {})
55
+ JSON.stringify(data.pinned_progress_rows || {})
56
56
  )
57
57
  }
58
- return res
58
+
59
+ return data
59
60
  }
60
61
  //Removing 3rdParty OAuth2 for now => https://musora.atlassian.net/browse/BEH-624?focusedCommentId=21492
61
62
  /*export async function loginWithProvider(provider, providerIdToken, deviceToken, deviceName, platform) {