@vue-skuilder/db 0.3.2 → 0.3.3

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.cjs CHANGED
@@ -3659,7 +3659,7 @@ var FRAMEWORK_VERSION, hostAppVersion, DEFAULT_STRATEGY_HASH;
3659
3659
  var init_versionStamps = __esm({
3660
3660
  "src/core/versionStamps.ts"() {
3661
3661
  "use strict";
3662
- FRAMEWORK_VERSION = true ? "0.3.2" : "dev";
3662
+ FRAMEWORK_VERSION = true ? "0.3.3" : "dev";
3663
3663
  DEFAULT_STRATEGY_HASH = "default";
3664
3664
  }
3665
3665
  });
@@ -4131,7 +4131,13 @@ function recordTagPresentations(userElo, perf, records, cardId, at) {
4131
4131
  if (tag === "_global") continue;
4132
4132
  if (typeof score !== "number") continue;
4133
4133
  const rank = userElo.tags[tag] ?? { score: userElo.global.score, count: 0 };
4134
- const entry = { at, ok, perf: score, card: cardId };
4134
+ const entry = {
4135
+ at,
4136
+ ok,
4137
+ tagOk: score > import_common7.TAG_OK_MIN_PERF,
4138
+ perf: score,
4139
+ card: cardId
4140
+ };
4135
4141
  userElo.tags[tag] = (0, import_common7.pushTagPresentation)(rank, entry);
4136
4142
  written.push(tag);
4137
4143
  }