@mocanvas/sync · constant
declare const PROTOCOL_VERSION = 3Bumped when the wire format changes incompatibly.
2: diff carries a StampedDiff (per-field Lamport stamps) instead of a
plain RecordsDiff, snapshot carries the CRDT state next to the
records, and every message carries version.
3: a put carries base, the stamp its whole record body is current as of,
and a record kept alive by an edit that outranks a delete is re-claimed
whole under a fresh stamp. A version 2 peer merges the same messages to a
different answer, so the two must not share a room.
Mentioned here
mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.