@starkeep/storage-sqlite 0.6.2 → 0.6.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.js CHANGED
@@ -808,6 +808,7 @@ var SqliteAppSyncableNamespaceStore = class {
808
808
  // src/app-syncable/apply.ts
809
809
  import { sql as sql2 } from "kysely";
810
810
  import { serializeHLC as serializeHLC3, deserializeHLC as deserializeHLC3 } from "@starkeep/protocol-primitives";
811
+ import { requireWellFormedFileIndexRow } from "@starkeep/shared-space-api";
811
812
  import {
812
813
  buildAppAggregateQuery as buildAppAggregateQuery2,
813
814
  buildAppRowQuery as buildAppRowQuery2,
@@ -848,6 +849,7 @@ var SqliteAppSyncableApplier = class {
848
849
  `SqliteAppSyncableApplier: table "${entry.table}" not declared for app "${entry.appId}"`
849
850
  );
850
851
  }
852
+ requireWellFormedFileIndexRow(entry);
851
853
  const fullName = appSyncableTableName(entry.appId, entry.table);
852
854
  const { pkColumns } = tableInfo;
853
855
  if (entry.op === "insert") {