@sovereignbase/sequencer 0.0.1 → 0.0.2

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.cts CHANGED
@@ -17,8 +17,10 @@ type Acknowledgement = U32List;
17
17
  type Gossip<T> = ReadonlyArray<Acknowledgement | Insertion<T>>;
18
18
  /**
19
19
  * One structural array and one JS-owned content array.
20
- * `words[0]` is the start of the six-word insertion records. Before that:
21
- * `[frontiersEnd, acknowledgementLength, ...acknowledgement, ...]`.
20
+ * Small snapshots use six-word insertion records after length-prefixed ACKs;
21
+ * `words[0]` locates those records. Large snapshots begin with
22
+ * `[0, frontiersEnd, insertionCount]` and omit predictable coordinate fields.
23
+ * Both layouts retain complete coordinates and acknowledgements.
22
24
  * Positive insertion diffs consume successive spans of `footage`.
23
25
  * `[[], []]` is an empty Sequence. Both numeric arrays and typed views are accepted.
24
26
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../src/typescript/types/type.ts","../src/typescript/class.ts"],"mappings":";;;KACY,UAAU,cAAc;;;;;;;;KASxB,iBAAiB;;KAGjB,UAAU,KAAK,UACxB,OAAO,gBAAgB,UAAU,cAAc;;KAItC,kBAAkB;KAElB,OAAO,KAAK,cAAc,kBAAkB,UAAU;;;;;;;;KAStD,SAAS,KAAK,UACvB,OAAO,SAAS,SAAS,cAAc;KAG9B,OAAO,KAAK,UACrB,iBAAiB,iBAAiB,SAAS,cAAc;KAGhD,OAAO,KAAK,cAAc,OAAO;KACjC,OAAO,KAAK,UAAU,QAAQ,OAAO,IAAI,SAAS,OAAO;;;;qBCjCxD,WAAW;WAIJ;UAHV;EAGU,YAAA,iBAChB;EAKF,MAAM,kBAAkB,OAAO;EAI/B,OAAO,QAAQ,MAAM,IAAI,aAAa,OAAO;EAI7C;EAIA,MAAM,oBAAoB,OAAO;EAIjC,OAAO,kBAAkB,mBAAmB,OAAO;EAInD,QAAQ,YAAY,MAAM,IAAI,kBAAkB,mBAAmB,OAAO;EAU1E,OAAO;EAIP,YAAY,SAAS;EAIrB,MAAM,aAAa;EAInB,OAAO,kBAAkB,mBAAmB,MAAM;EAIlD"}
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../src/typescript/types/type.ts","../src/typescript/class.ts"],"mappings":";;;KACY,UAAU,cAAc;;;;;;;;KASxB,iBAAiB;;KAGjB,UAAU,KAAK,UACxB,OAAO,gBAAgB,UAAU,cAAc;;KAItC,kBAAkB;KAElB,OAAO,KAAK,cAAc,kBAAkB,UAAU;;;;;;;;;;KAWtD,SAAS,KAAK,UACvB,OAAO,SAAS,SAAS,cAAc;KAG9B,OAAO,KAAK,UACrB,iBAAiB,iBAAiB,SAAS,cAAc;KAGhD,OAAO,KAAK,cAAc,OAAO;KACjC,OAAO,KAAK,UAAU,QAAQ,OAAO,IAAI,SAAS,OAAO;;;;qBCnCxD,WAAW;WAIJ;UAHV;EAGU,YAAA,iBAChB;EAKF,MAAM,kBAAkB,OAAO;EAI/B,OAAO,QAAQ,MAAM,IAAI,aAAa,OAAO;EAI7C;EAIA,MAAM,oBAAoB,OAAO;EAIjC,OAAO,kBAAkB,mBAAmB,OAAO;EAInD,QAAQ,YAAY,MAAM,IAAI,kBAAkB,mBAAmB,OAAO;EAU1E,OAAO;EAIP,YAAY,SAAS;EAIrB,MAAM,aAAa;EAInB,OAAO,kBAAkB,mBAAmB,MAAM;EAIlD"}
package/dist/index.d.ts CHANGED
@@ -17,8 +17,10 @@ type Acknowledgement = U32List;
17
17
  type Gossip<T> = ReadonlyArray<Acknowledgement | Insertion<T>>;
18
18
  /**
19
19
  * One structural array and one JS-owned content array.
20
- * `words[0]` is the start of the six-word insertion records. Before that:
21
- * `[frontiersEnd, acknowledgementLength, ...acknowledgement, ...]`.
20
+ * Small snapshots use six-word insertion records after length-prefixed ACKs;
21
+ * `words[0]` locates those records. Large snapshots begin with
22
+ * `[0, frontiersEnd, insertionCount]` and omit predictable coordinate fields.
23
+ * Both layouts retain complete coordinates and acknowledgements.
22
24
  * Positive insertion diffs consume successive spans of `footage`.
23
25
  * `[[], []]` is an empty Sequence. Both numeric arrays and typed views are accepted.
24
26
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../src/typescript/types/type.ts","../src/typescript/class.ts"],"mappings":";;;KACY,UAAU,cAAc;;;;;;;;KASxB,iBAAiB;;KAGjB,UAAU,KAAK,UACxB,OAAO,gBAAgB,UAAU,cAAc;;KAItC,kBAAkB;KAElB,OAAO,KAAK,cAAc,kBAAkB,UAAU;;;;;;;;KAStD,SAAS,KAAK,UACvB,OAAO,SAAS,SAAS,cAAc;KAG9B,OAAO,KAAK,UACrB,iBAAiB,iBAAiB,SAAS,cAAc;KAGhD,OAAO,KAAK,cAAc,OAAO;KACjC,OAAO,KAAK,UAAU,QAAQ,OAAO,IAAI,SAAS,OAAO;;;;qBCjCxD,WAAW;WAIJ;UAHV;EAGU,YAAA,iBAChB;EAKF,MAAM,kBAAkB,OAAO;EAI/B,OAAO,QAAQ,MAAM,IAAI,aAAa,OAAO;EAI7C;EAIA,MAAM,oBAAoB,OAAO;EAIjC,OAAO,kBAAkB,mBAAmB,OAAO;EAInD,QAAQ,YAAY,MAAM,IAAI,kBAAkB,mBAAmB,OAAO;EAU1E,OAAO;EAIP,YAAY,SAAS;EAIrB,MAAM,aAAa;EAInB,OAAO,kBAAkB,mBAAmB,MAAM;EAIlD"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../src/typescript/types/type.ts","../src/typescript/class.ts"],"mappings":";;;KACY,UAAU,cAAc;;;;;;;;KASxB,iBAAiB;;KAGjB,UAAU,KAAK,UACxB,OAAO,gBAAgB,UAAU,cAAc;;KAItC,kBAAkB;KAElB,OAAO,KAAK,cAAc,kBAAkB,UAAU;;;;;;;;;;KAWtD,SAAS,KAAK,UACvB,OAAO,SAAS,SAAS,cAAc;KAG9B,OAAO,KAAK,UACrB,iBAAiB,iBAAiB,SAAS,cAAc;KA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