@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.
- package/dist/index.native.d.mts +1 -0
- package/dist/index.native.d.ts +1 -0
- package/dist/index.native.js +1 -1
- package/dist/index.native.js.map +1 -1
- package/dist/index.native.mjs +1 -1
- package/dist/index.native.mjs.map +1 -1
- package/dist/index.web.d.mts +1 -0
- package/dist/index.web.js +1 -1
- package/dist/index.web.js.map +1 -1
- package/package.json +1 -1
package/dist/index.native.d.mts
CHANGED
package/dist/index.native.d.ts
CHANGED
package/dist/index.native.js
CHANGED
|
@@ -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: [
|