@speakableio/core 1.0.17 → 1.0.18

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