musora-content-services 2.117.6 → 2.117.8
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 +14 -0
- package/package.json +1 -1
- package/src/services/user/sessions.js +6 -5
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.117.8](https://github.com/railroadmedia/musora-content-services/compare/v2.117.7...v2.117.8) (2026-01-13)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **auth:** await for local storage ([69ee2ca](https://github.com/railroadmedia/musora-content-services/commit/69ee2ca780c71a707dfa452ede98240f0cfe8436))
|
|
11
|
+
|
|
12
|
+
### [2.117.7](https://github.com/railroadmedia/musora-content-services/compare/v2.117.6...v2.117.7) (2026-01-13)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* **auth:** login data ([a1b72d8](https://github.com/railroadmedia/musora-content-services/commit/a1b72d8145e230cfc850e208f147080c7ef8c6df))
|
|
18
|
+
|
|
5
19
|
### [2.117.6](https://github.com/railroadmedia/musora-content-services/compare/v2.117.5...v2.117.6) (2026-01-13)
|
|
6
20
|
|
|
7
21
|
### [2.117.5](https://github.com/railroadmedia/musora-content-services/compare/v2.117.4...v2.117.5) (2026-01-13)
|
package/package.json
CHANGED
|
@@ -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
|
-
|
|
52
|
-
|
|
53
|
-
globalConfig.localStorage.setItem(
|
|
53
|
+
await globalConfig.localStorage.setItem(
|
|
54
54
|
USER_PIN_PROGRESS_KEY,
|
|
55
|
-
JSON.stringify(
|
|
55
|
+
JSON.stringify(data.pinned_progress_rows || {})
|
|
56
56
|
)
|
|
57
57
|
}
|
|
58
|
-
|
|
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) {
|