@bitcobblers/wod-wiki-engine 0.56.2208 → 0.57.2213
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/agent.cjs +2 -2
- package/dist/agent.cjs.map +1 -1
- package/dist/agent.d.cts +1 -1
- package/dist/agent.d.ts +1 -1
- package/dist/agent.mjs +2 -2
- package/dist/agent.mjs.map +1 -1
- package/dist/{chunk-LJN2KIFL.mjs → chunk-RSRZKD7M.mjs} +14 -8
- package/dist/chunk-RSRZKD7M.mjs.map +1 -0
- package/dist/index.cjs +12 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.mjs +1 -1
- package/package.json +5 -5
- package/dist/chunk-LJN2KIFL.mjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -940,13 +940,13 @@ function csvToTelemetryBundle(csv) {
|
|
|
940
940
|
}
|
|
941
941
|
|
|
942
942
|
// src/version.ts
|
|
943
|
-
var VERSION = "0.
|
|
944
|
-
var GIT_SHA = "
|
|
945
|
-
var BUILD_TIME = "2026-11-
|
|
943
|
+
var VERSION = "0.57.2213";
|
|
944
|
+
var GIT_SHA = "567cd1e";
|
|
945
|
+
var BUILD_TIME = "2026-11-12T22:26:23.724Z";
|
|
946
946
|
var SEMVER = {
|
|
947
|
-
version: "0.
|
|
948
|
-
gitSha: "
|
|
949
|
-
buildTime: "2026-11-
|
|
947
|
+
version: "0.57.2213",
|
|
948
|
+
gitSha: "567cd1e",
|
|
949
|
+
buildTime: "2026-11-12T22:26:23.724Z"
|
|
950
950
|
};
|
|
951
951
|
var SEED_SCHEMA = 9;
|
|
952
952
|
var SEED_REGISTERED_WIDGETS = wodWikiCore.KNOWN_SECTION_WIDGETS;
|
|
@@ -1789,10 +1789,15 @@ async function applySeedChunk(storage, write) {
|
|
|
1789
1789
|
if (!prior || prior.isStatic === true) blocks.push(projection);
|
|
1790
1790
|
}
|
|
1791
1791
|
const resolvedSessions = /* @__PURE__ */ new Map();
|
|
1792
|
+
const userRecordedSessions = /* @__PURE__ */ new Set();
|
|
1792
1793
|
for (const compiled of row.telemetry?.sessions ?? []) {
|
|
1793
1794
|
if (compiledById.get(compiled.blockId)?.dataType !== "wod") throw new Error("Orphan seed session pin");
|
|
1794
1795
|
const prior = existingTelemetrySessions.get(compiled.id);
|
|
1795
1796
|
if (prior && prior.noteId !== id) throw new Error(`Seed session ${compiled.id} belongs to another note`);
|
|
1797
|
+
if (prior?.origin) {
|
|
1798
|
+
userRecordedSessions.add(compiled.id);
|
|
1799
|
+
continue;
|
|
1800
|
+
}
|
|
1796
1801
|
const blockId = prior?.blockId ?? remap.get(compiled.blockId);
|
|
1797
1802
|
if (!blockId) throw new Error("Orphan seed session pin");
|
|
1798
1803
|
const block = map[blockId];
|
|
@@ -1808,6 +1813,7 @@ async function applySeedChunk(storage, write) {
|
|
|
1808
1813
|
resolvedSessions.set(session.id, session);
|
|
1809
1814
|
}
|
|
1810
1815
|
for (const compiled of row.telemetry?.events ?? []) {
|
|
1816
|
+
if (userRecordedSessions.has(compiled.resultId)) continue;
|
|
1811
1817
|
const session = resolvedSessions.get(compiled.resultId);
|
|
1812
1818
|
if (!session) throw new Error("Orphan seed event result");
|
|
1813
1819
|
events.push({
|