@bitcobblers/wod-wiki-engine 0.44.2156 → 0.44.2159

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
@@ -617,13 +617,13 @@ function csvToSessionRows(csv) {
617
617
  }
618
618
 
619
619
  // src/version.ts
620
- var VERSION = "0.44.2156";
621
- var GIT_SHA = "35e3c00";
622
- var BUILD_TIME = "2026-10-24T21:01:52.101Z";
620
+ var VERSION = "0.44.2159";
621
+ var GIT_SHA = "30e43c7";
622
+ var BUILD_TIME = "2026-10-24T23:07:22.311Z";
623
623
  var SEMVER = {
624
- version: "0.44.2156",
625
- gitSha: "35e3c00",
626
- buildTime: "2026-10-24T21:01:52.101Z"
624
+ version: "0.44.2159",
625
+ gitSha: "30e43c7",
626
+ buildTime: "2026-10-24T23:07:22.311Z"
627
627
  };
628
628
  var SEED_SCHEMA = 9;
629
629
  var SEED_REGISTERED_WIDGETS = wodWikiCore.KNOWN_SECTION_WIDGETS;
@@ -910,7 +910,7 @@ async function applySeedChunk(storage, write) {
910
910
  if (write.meta.schema !== SEED_SCHEMA || write.manifest.schema !== SEED_SCHEMA) throw new Error("Incompatible seed schema; recreate artifacts");
911
911
  const noteStore = tx.readwrite("notes");
912
912
  const priorIds = write.chunkId ? write.expectedMeta?.chunks[write.chunkId]?.noteIds ?? [] : [];
913
- const declared = new Set(ids);
913
+ const declared = new Set((write.chunkId ? write.meta.chunks[write.chunkId]?.noteIds : void 0) ?? ids);
914
914
  const goneIds = priorIds.filter((id) => !declared.has(id));
915
915
  const allIds = [.../* @__PURE__ */ new Set([...ids, ...goneIds])];
916
916
  const stored = await noteStore.getMany(allIds);