@speakableio/core 0.1.97 → 0.1.99

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.
@@ -1100,7 +1100,7 @@ async function clearScore(params) {
1100
1100
  var _a, _b, _c, _d, _e;
1101
1101
  const update = {
1102
1102
  [`cards.${params.cardId}`]: {
1103
- attempts: (_a = params.cardScores.attempts) != null ? _a : 1,
1103
+ attempts: ((_a = params.cardScores.attempts) != null ? _a : 1) + 1,
1104
1104
  correct: (_b = params.cardScores.correct) != null ? _b : 0,
1105
1105
  // save old score history
1106
1106
  history: [