catchup-library-web 1.14.6 → 1.14.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/dist/index.js CHANGED
@@ -2506,6 +2506,7 @@ var findBestFitActivity = (activity, individualModelList, outcomeModelList) => {
2506
2506
  } else if (type === "TRUE_FALSE") {
2507
2507
  currentDifficulty = difficultyMap["trueFalseDifficulty"];
2508
2508
  }
2509
+ currentDifficulty = currentDifficulty.toLowerCase();
2509
2510
  const currentDifficultyScore = foundModel[currentDifficulty];
2510
2511
  const splittedTypeList = type.split("_");
2511
2512
  let activityTemplateString = "";
package/dist/index.mjs CHANGED
@@ -2297,6 +2297,7 @@ var findBestFitActivity = (activity, individualModelList, outcomeModelList) => {
2297
2297
  } else if (type === "TRUE_FALSE") {
2298
2298
  currentDifficulty = difficultyMap["trueFalseDifficulty"];
2299
2299
  }
2300
+ currentDifficulty = currentDifficulty.toLowerCase();
2300
2301
  const currentDifficultyScore = foundModel[currentDifficulty];
2301
2302
  const splittedTypeList = type.split("_");
2302
2303
  let activityTemplateString = "";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "catchup-library-web",
3
- "version": "1.14.6",
3
+ "version": "1.14.7",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -1498,6 +1498,7 @@ export const findBestFitActivity = (
1498
1498
  } else if (type === "TRUE_FALSE") {
1499
1499
  currentDifficulty = difficultyMap["trueFalseDifficulty"];
1500
1500
  }
1501
+ currentDifficulty = currentDifficulty.toLowerCase();
1501
1502
 
1502
1503
  const currentDifficultyScore = foundModel[currentDifficulty];
1503
1504
  const splittedTypeList = type.split("_");