@loro-dev/flock 4.4.3 → 4.4.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loro-dev/flock",
3
- "version": "4.4.3",
3
+ "version": "4.4.4",
4
4
  "description": "TypeScript bindings for the Flock CRDT with mergeable export/import utilities.",
5
5
  "exports": {
6
6
  ".": {
package/src/index.ts CHANGED
@@ -997,8 +997,11 @@ export class Flock {
997
997
  }
998
998
 
999
999
  /**
1000
- * Returns the exclusive version vector, which only includes peers that have
1001
- * at least one entry in the current state.
1000
+ * Returns the exclusive/visible version vector.
1001
+ *
1002
+ * Only peers that currently own at least one visible entry are included.
1003
+ * This vector is consistent with current visible state and is the correct
1004
+ * baseline for incremental export/replication.
1002
1005
  *
1003
1006
  * Complexity: O(M + V log M + R (log L + log S)).
1004
1007
  * - M = memtablePeerCount
@@ -1015,10 +1018,13 @@ export class Flock {
1015
1018
  }
1016
1019
 
1017
1020
  /**
1018
- * Returns the inclusive version vector, which includes all peers ever seen,
1019
- * even if their entries have been overridden by other peers.
1021
+ * Returns the inclusive/max-seen version vector.
1022
+ *
1023
+ * Tracks max seen clocks per peer for this process lifetime
1024
+ * (open/import/local writes), including peers that may no longer own visible
1025
+ * entries.
1020
1026
  *
1021
- * Use this version when checking if you have received all data from another peer.
1027
+ * Use this version for completeness checks, not incremental export baselines.
1022
1028
  */
1023
1029
  inclusiveVersion(): VersionVector {
1024
1030
  return decodeVersionVectorFromRaw(inclusiveVersion_ffi(this.inner));