@speakableio/core 0.1.97 → 0.1.98

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.
@@ -1205,7 +1205,7 @@ async function clearScore(params) {
1205
1205
  var _a, _b, _c, _d, _e;
1206
1206
  const update = {
1207
1207
  [`cards.${params.cardId}`]: {
1208
- attempts: (_a = params.cardScores.attempts) != null ? _a : 1,
1208
+ attempts: ((_a = params.cardScores.attempts) != null ? _a : 1) + 1,
1209
1209
  correct: (_b = params.cardScores.correct) != null ? _b : 0,
1210
1210
  // save old score history
1211
1211
  history: [