@pylonsync/sync 0.3.312 → 0.3.314

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.d.ts CHANGED
@@ -1004,6 +1004,10 @@ export declare const LAST_CRDT_FRAMES_MAX = 64;
1004
1004
  * [type: u8] [entity_len: u16 BE] [entity utf8]
1005
1005
  * [row_id_len: u16 BE] [row_id utf8] [payload]
1006
1006
  *
1007
+ * The layout is defined canonically in crates/router/src/lib.rs
1008
+ * (CRDT_FRAME_SNAPSHOT / encode_crdt_frame) — if it changes there,
1009
+ * this parser and the Swift one change with it.
1010
+ *
1007
1011
  * The engine still treats the PAYLOAD as opaque — this reads only the
1008
1012
  * routing header so the follower-catch-up cache can be keyed per row.
1009
1013
  */
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "0.3.312",
6
+ "version": "0.3.314",
7
7
  "type": "module",
8
8
  "main": "./src/index.ts",
9
9
  "types": "./dist/index.d.ts",
package/src/index.ts CHANGED
@@ -3547,6 +3547,10 @@ export const LAST_CRDT_FRAMES_MAX = 64;
3547
3547
  * [type: u8] [entity_len: u16 BE] [entity utf8]
3548
3548
  * [row_id_len: u16 BE] [row_id utf8] [payload]
3549
3549
  *
3550
+ * The layout is defined canonically in crates/router/src/lib.rs
3551
+ * (CRDT_FRAME_SNAPSHOT / encode_crdt_frame) — if it changes there,
3552
+ * this parser and the Swift one change with it.
3553
+ *
3550
3554
  * The engine still treats the PAYLOAD as opaque — this reads only the
3551
3555
  * routing header so the follower-catch-up cache can be keyed per row.
3552
3556
  */