@sqlite-sync/core 0.10.1 → 0.12.0

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.
@@ -1,5 +1,5 @@
1
1
  import { c as generateId, f as quoteId, n as isNoOpCrdtEventPayload, o as createTypedEventTarget, r as TypedBroadcastChannel, s as ensureSingletonExecution, t as CRDT_EVENT_NO_OP_PAYLOAD } from "./crdt-table-schema-2w_AIpsV.js";
2
- import { c as serializeHLC, n as CrdtEventValidationError, r as validateNewCrdtEvent, s as deserializeHLC } from "./crdt-sync-remote-source-CugbiosG.js";
2
+ import { c as serializeHLC, n as CrdtEventValidationError, r as validateNewCrdtEvent, s as deserializeHLC } from "./crdt-sync-remote-source-Q6P6OiL0.js";
3
3
  import { u as createStoredValue } from "./system-schema-C2JZDv6L.js";
4
4
  import { DummyDriver, Kysely, SqliteAdapter, SqliteIntrospector, SqliteQueryCompiler, sql } from "kysely";
5
5
  import initXxhash from "xxhash-wasm";
@@ -1132,9 +1132,6 @@ function createCrdtStorage(storage) {
1132
1132
  });
1133
1133
  return enqueueEvents("local", sourceNodeId, newEvents);
1134
1134
  };
1135
- const enqueueOwnEvents = (events) => {
1136
- return enqueueEvents("own", storage.nodeId, events);
1137
- };
1138
1135
  const enqueueRemoteEvents = (events) => {
1139
1136
  return enqueueEvents("remote", "", events);
1140
1137
  };
@@ -1499,7 +1496,6 @@ where "dataset" = ? and "item_id" = ? and "payload" <> ${noOpPayloadSqlLiteral}`
1499
1496
  return {
1500
1497
  getEventsBatch,
1501
1498
  enqueueLocalEvents,
1502
- enqueueOwnEvents,
1503
1499
  enqueueRemoteEvents,
1504
1500
  applyOwnEvents,
1505
1501
  applyOwnSnapshot,
@@ -1635,4 +1631,4 @@ function createReloadRequestHandler({ resetState, broadcast, generateEpoch = gen
1635
1631
  //#endregion
1636
1632
  export { introspectDb as C, dummyKysely as D, createImportData as E, startPerformanceLogger as S, createExportData as T, formatSchemaVerificationIssues as _, createBroadcastChannels as a, createMigrator as b, isWorkerNotificationMessage as c, syncDbClientLockName as d, syncDbWorkerLockName as f, createSQLiteCrdtApplyFunction as g, createCrdtApplyFunction as h, createResetStateStore as i, isWorkerRequestMessage as l, createCrdtStorage as m, createIdbResetStore as n, isWorkerErrorResponseMessage as o, createCrdtSyncProducer as p, createReloadRequestHandler as r, isWorkerInitMessage as s, RESET_REQUEST_TTL_MS as t, isWorkerResponseMessage as u, verifySyncSchema as v, xxhash as w, SQLiteDbWrapper as x, createMigrations as y };
1637
1633
 
1638
- //# sourceMappingURL=reset-state-DNPkxGim.js.map
1634
+ //# sourceMappingURL=reset-state-BQi96NLn.js.map