only_ever_generator 0.5.4 → 0.5.5

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.
@@ -32,7 +32,7 @@ class ParseClozeCard {
32
32
  },
33
33
  concepts: data.concepts,
34
34
  facts: data.facts,
35
- bloomLevel: data.bloom_level,
35
+ explanation: data.card_content.explanation,
36
36
  };
37
37
  return this._validateCloze(clozeCardData);
38
38
  }
@@ -30,7 +30,7 @@ class ParseMatchCard {
30
30
  displayTitle: displayTitle,
31
31
  concepts: cardData.concepts,
32
32
  facts: cardData.facts,
33
- bloomLevel: cardData.bloom_level,
33
+ explanation: cardData.card_content.explanation,
34
34
  };
35
35
  return this._validateMatch(matchCard);
36
36
  }
@@ -29,7 +29,7 @@ class ParseMcqCard {
29
29
  },
30
30
  concepts: data.concepts,
31
31
  facts: data.facts,
32
- bloomLevel: data.bloom_level,
32
+ explanation: data.card_content.explanation,
33
33
  };
34
34
  // return mcqCard;
35
35
  const isValid = this._validate(mcqCard);
@@ -89,8 +89,8 @@ class ParseCardResponse {
89
89
  back_content: data.card_content.back,
90
90
  },
91
91
  concepts: data.concepts,
92
+ explanation: data.card_content.explanation,
92
93
  facts: data.facts,
93
- bloomLevel: data.bloom_level,
94
94
  };
95
95
  return flashCardData;
96
96
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "only_ever_generator",
3
- "version": "0.5.4",
3
+ "version": "0.5.5",
4
4
  "main": "dist/index.js",
5
5
  "scripts": {
6
6
  "start": "npm run build && nodemon dist/index.js",