@speakableio/core 1.0.18 → 1.0.19
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.mjs
CHANGED
|
@@ -1345,11 +1345,6 @@ function useUpdateCardScore({
|
|
|
1345
1345
|
cardIds,
|
|
1346
1346
|
weights
|
|
1347
1347
|
});
|
|
1348
|
-
console.log("updates", {
|
|
1349
|
-
cardScore: updatedCardScore,
|
|
1350
|
-
progress,
|
|
1351
|
-
score
|
|
1352
|
-
});
|
|
1353
1348
|
await updateCardScore({
|
|
1354
1349
|
userId,
|
|
1355
1350
|
cardId,
|
|
@@ -1416,9 +1411,7 @@ var getScoreUpdated = ({
|
|
|
1416
1411
|
[cardId]: newCardScore
|
|
1417
1412
|
}
|
|
1418
1413
|
};
|
|
1419
|
-
console.log("newScores", newScores, cardIds, weights);
|
|
1420
1414
|
const { score, progress } = calculateScoreAndProgress_default(newScores, cardIds, weights);
|
|
1421
|
-
console.log("score and progress", score, progress);
|
|
1422
1415
|
return {
|
|
1423
1416
|
newScoreUpdated: newScores,
|
|
1424
1417
|
updatedCardScore: cardScore,
|