@pylonsync/sync 0.2.5 → 0.2.8

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.ts +5 -4
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "0.2.5",
6
+ "version": "0.2.8",
7
7
  "type": "module",
8
8
  "main": "src/index.ts",
9
9
  "types": "src/index.ts",
package/src/index.ts CHANGED
@@ -1,10 +1,11 @@
1
1
  // ---------------------------------------------------------------------------
2
2
  // pylon sync client
3
3
  //
4
- // Server-authoritative sync with optimistic mutations and an offline write
5
- // queue. Field-level LWW on update; tombstones on delete. NOT CRDT-backed;
6
- // see docs/SYNC.md for convergence semantics and what this is/isn't good
7
- // for. Concurrent same-field writes resolve by server arrival order.
4
+ // JSON live-query sync with optimistic mutations and an offline write queue.
5
+ // CRDT-mode rows travel through the same WebSocket as binary Loro frames,
6
+ // but this package intentionally keeps binary payloads opaque and routes
7
+ // them to consumers such as @pylonsync/loro. See docs/SYNC.md for the full
8
+ // projection + convergence model.
8
9
  // ---------------------------------------------------------------------------
9
10
 
10
11
  export { IndexedDBPersistence, persistChange } from "./persistence";