@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.js
CHANGED
|
@@ -1451,11 +1451,6 @@ function useUpdateCardScore({
|
|
|
1451
1451
|
cardIds,
|
|
1452
1452
|
weights
|
|
1453
1453
|
});
|
|
1454
|
-
console.log("updates", {
|
|
1455
|
-
cardScore: updatedCardScore,
|
|
1456
|
-
progress,
|
|
1457
|
-
score
|
|
1458
|
-
});
|
|
1459
1454
|
await updateCardScore({
|
|
1460
1455
|
userId,
|
|
1461
1456
|
cardId,
|
|
@@ -1522,9 +1517,7 @@ var getScoreUpdated = ({
|
|
|
1522
1517
|
[cardId]: newCardScore
|
|
1523
1518
|
}
|
|
1524
1519
|
};
|
|
1525
|
-
console.log("newScores", newScores, cardIds, weights);
|
|
1526
1520
|
const { score, progress } = calculateScoreAndProgress_default(newScores, cardIds, weights);
|
|
1527
|
-
console.log("score and progress", score, progress);
|
|
1528
1521
|
return {
|
|
1529
1522
|
newScoreUpdated: newScores,
|
|
1530
1523
|
updatedCardScore: cardScore,
|