catchup-library-web 2.2.12 → 2.2.13

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
@@ -7052,7 +7052,7 @@ var TrueFalseActivityContent = ({
7052
7052
  if (foundFalseIndex !== -1) {
7053
7053
  answerMap2.falseList.splice(foundFalseIndex, 1);
7054
7054
  }
7055
- const foundTrueIndex = answerMap2.falseList.findIndex(
7055
+ const foundTrueIndex = answerMap2.trueList.findIndex(
7056
7056
  (item) => item === value
7057
7057
  );
7058
7058
  if (foundTrueIndex === -1) {
package/dist/index.mjs CHANGED
@@ -6829,7 +6829,7 @@ var TrueFalseActivityContent = ({
6829
6829
  if (foundFalseIndex !== -1) {
6830
6830
  answerMap2.falseList.splice(foundFalseIndex, 1);
6831
6831
  }
6832
- const foundTrueIndex = answerMap2.falseList.findIndex(
6832
+ const foundTrueIndex = answerMap2.trueList.findIndex(
6833
6833
  (item) => item === value
6834
6834
  );
6835
6835
  if (foundTrueIndex === -1) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "catchup-library-web",
3
- "version": "2.2.12",
3
+ "version": "2.2.13",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -35,7 +35,7 @@ const TrueFalseActivityContent = ({
35
35
  if (foundFalseIndex !== -1) {
36
36
  answerMap.falseList.splice(foundFalseIndex, 1);
37
37
  }
38
- const foundTrueIndex = answerMap.falseList.findIndex(
38
+ const foundTrueIndex = answerMap.trueList.findIndex(
39
39
  (item: string) => item === value
40
40
  );
41
41
  if (foundTrueIndex === -1) {