@stackfactor/client-api 1.1.5 → 1.1.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.
@@ -82,15 +82,18 @@ export const discardLearningContentChanges = (id, token) => {
82
82
  * Generate the learning activity content
83
83
  * @param {String} skillId
84
84
  * @param {String} microSkillId
85
+ * @param {Object} learningActivity
85
86
  * @param {List<String>} sections
86
87
  */
87
88
  export const generateLearningActivityContent = (
88
89
  skillId,
89
90
  microSkillId,
91
+ learningActivity,
90
92
  sections
91
93
  ) => {
92
94
  return new Promise(function (resolve, reject) {
93
95
  const data = {
96
+ learningActivity: learningActivity,
94
97
  microSkillId: microSkillId,
95
98
  sections: sections,
96
99
  };
@@ -333,6 +336,7 @@ const learningContent = {
333
336
  deleteLearningContent,
334
337
  discardLearningContentChanges,
335
338
  getLearningContentInformationById,
339
+ generateLearningActivityContent,
336
340
  getLearningContentList,
337
341
  publishLearningContent,
338
342
  setLearningActivityInformation,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stackfactor/client-api",
3
- "version": "1.1.5",
3
+ "version": "1.1.7",
4
4
  "description": "Node.js library for the StackFactor API",
5
5
  "main": "index.js",
6
6
  "exports": {