musora-content-services 1.0.152 → 1.0.153

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
+ ### [1.0.153](https://github.com/railroadmedia/musora-content-services/compare/v1.0.152...v1.0.153) (2024-11-05)
6
+
5
7
  ### [1.0.152](https://github.com/railroadmedia/musora-content-services/compare/v1.0.142...v1.0.152) (2024-11-05)
6
8
 
7
9
  ### [1.0.151](https://github.com/railroadmedia/musora-content-services/compare/v1.0.142...v1.0.151) (2024-11-05)
package/README.md CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "musora-content-services",
3
- "version": "1.0.152",
3
+ "version": "1.0.153",
4
4
  "description": "A package for Musoras content services ",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
File without changes
File without changes
package/src/index.d.ts CHANGED
@@ -48,12 +48,12 @@ import {
48
48
  fetchUserPlaylists,
49
49
  likePlaylist,
50
50
  postChallengesCommunityNotification,
51
+ postChallengesCompleteLesson,
51
52
  postChallengesEnroll,
52
53
  postChallengesEnrollmentNotification,
53
54
  postChallengesLeave,
54
55
  postChallengesSetStartDate,
55
56
  postChallengesUnlock,
56
- postCompleteLesson,
57
57
  postContentCompleted,
58
58
  postContentLiked,
59
59
  postContentReset,
@@ -199,12 +199,12 @@ declare module 'musora-content-services' {
199
199
  likeContent,
200
200
  likePlaylist,
201
201
  postChallengesCommunityNotification,
202
+ postChallengesCompleteLesson,
202
203
  postChallengesEnroll,
203
204
  postChallengesEnrollmentNotification,
204
205
  postChallengesLeave,
205
206
  postChallengesSetStartDate,
206
207
  postChallengesUnlock,
207
- postCompleteLesson,
208
208
  postContentCompleted,
209
209
  postContentLiked,
210
210
  postContentReset,
package/src/index.js CHANGED
@@ -48,12 +48,12 @@ import {
48
48
  fetchUserPlaylists,
49
49
  likePlaylist,
50
50
  postChallengesCommunityNotification,
51
+ postChallengesCompleteLesson,
51
52
  postChallengesEnroll,
52
53
  postChallengesEnrollmentNotification,
53
54
  postChallengesLeave,
54
55
  postChallengesSetStartDate,
55
56
  postChallengesUnlock,
56
- postCompleteLesson,
57
57
  postContentCompleted,
58
58
  postContentLiked,
59
59
  postContentReset,
@@ -198,12 +198,12 @@ export {
198
198
  likeContent,
199
199
  likePlaylist,
200
200
  postChallengesCommunityNotification,
201
+ postChallengesCompleteLesson,
201
202
  postChallengesEnroll,
202
203
  postChallengesEnrollmentNotification,
203
204
  postChallengesLeave,
204
205
  postChallengesSetStartDate,
205
206
  postChallengesUnlock,
206
- postCompleteLesson,
207
207
  postContentCompleted,
208
208
  postContentLiked,
209
209
  postContentReset,
File without changes
@@ -454,7 +454,7 @@ export async function postChallengesCommunityNotification(contentId) {
454
454
  * @param {int|string} contentId - railcontent id of the challenge
455
455
  * @returns {Promise<any|null>} - Modal data to display
456
456
  */
457
- export async function postCompleteLesson(contentId) {
457
+ export async function postChallengesCompleteLesson(contentId) {
458
458
  let url = `/challenges/complete_lesson/${contentId}`;
459
459
  return await fetchHandler(url, 'post');
460
460
  }
File without changes
package/test/log.js CHANGED
File without changes
File without changes