@stackfactor/client-api 1.1.65 → 1.1.66

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.
@@ -83,6 +83,7 @@ const discardLearningContentChanges = (id, token) => {
83
83
  * @param {String} skillId
84
84
  * @param {String} microSkillId
85
85
  * @param {Object} learningActivity
86
+ * @param {List<String>} otherLearningActivities
86
87
  * @param {List<String>} sections
87
88
  * @param {String} token
88
89
  */
@@ -90,6 +91,7 @@ const generateLearningActivityContent = (
90
91
  skillId,
91
92
  microSkillId,
92
93
  learningActivity,
94
+ otherLearningActivities,
93
95
  sections,
94
96
  token
95
97
  ) => {
@@ -99,6 +101,9 @@ const generateLearningActivityContent = (
99
101
  microSkillId: microSkillId,
100
102
  sections: sections,
101
103
  };
104
+ if (otherLearningActivities) {
105
+ requestData.otherLearningActivities = otherLearningActivities;
106
+ }
102
107
  const request = client.post(
103
108
  `api/v1/learningcontent/generatelearningactivitycontent/${skillId}`,
104
109
  requestData,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stackfactor/client-api",
3
- "version": "1.1.65",
3
+ "version": "1.1.66",
4
4
  "description": "Node.js library for the StackFactor API",
5
5
  "main": "index.js",
6
6
  "exports": {