@nakafa/aksara-contracts 8.0.0 → 8.0.1

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.
@@ -18,10 +18,17 @@ export declare const MAX_ROUTE_BATCH_COUNT = 64;
18
18
  export declare const MAX_PROJECTION_BATCH_BYTES: number;
19
19
  /** Maximum canonical projections accepted by one staging transaction. */
20
20
  export declare const MAX_PROJECTION_BATCH_COUNT = 64;
21
- /** Maximum complete structured-snapshot batch accepted by publication ingress. */
21
+ /**
22
+ * Maximum complete structured-snapshot batch sent to publication ingress. Nakafa
23
+ * decodes, re-encodes, hashes and writes every row of a batch in one Convex
24
+ * mutation, which may run one second: on 16 November 2026 the 7.0.0 assessment
25
+ * rows filled 4 MiB batches and every stageSnapshotBatch timed out, so a batch
26
+ * stays a quarter of that: still one Convex document's 1 MiB, which every row
27
+ * already fits.
28
+ */
22
29
  export declare const MAX_SNAPSHOT_BATCH_BYTES: number;
23
- /** Maximum structured snapshot rows accepted by one staging transaction. */
24
- export declare const MAX_SNAPSHOT_BATCH_COUNT = 64;
30
+ /** Maximum structured snapshot rows accepted by one staging transaction, inside the same one-second mutation. */
31
+ export declare const MAX_SNAPSHOT_BATCH_COUNT = 16;
25
32
  /** Maximum complete grouped staging body below the Node action argument cap. */
26
33
  export declare const MAX_STAGE_GROUP_BYTES: number;
27
34
  /** Maximum safe staging transactions executed by one authenticated action. */
@@ -18,10 +18,17 @@ export const MAX_ROUTE_BATCH_COUNT = MAX_ITEM_BATCH_COUNT;
18
18
  export const MAX_PROJECTION_BATCH_BYTES = 4 * 1024 * 1024;
19
19
  /** Maximum canonical projections accepted by one staging transaction. */
20
20
  export const MAX_PROJECTION_BATCH_COUNT = 64;
21
- /** Maximum complete structured-snapshot batch accepted by publication ingress. */
22
- export const MAX_SNAPSHOT_BATCH_BYTES = 4 * 1024 * 1024;
23
- /** Maximum structured snapshot rows accepted by one staging transaction. */
24
- export const MAX_SNAPSHOT_BATCH_COUNT = 64;
21
+ /**
22
+ * Maximum complete structured-snapshot batch sent to publication ingress. Nakafa
23
+ * decodes, re-encodes, hashes and writes every row of a batch in one Convex
24
+ * mutation, which may run one second: on 16 November 2026 the 7.0.0 assessment
25
+ * rows filled 4 MiB batches and every stageSnapshotBatch timed out, so a batch
26
+ * stays a quarter of that: still one Convex document's 1 MiB, which every row
27
+ * already fits.
28
+ */
29
+ export const MAX_SNAPSHOT_BATCH_BYTES = 1024 * 1024;
30
+ /** Maximum structured snapshot rows accepted by one staging transaction, inside the same one-second mutation. */
31
+ export const MAX_SNAPSHOT_BATCH_COUNT = 16;
25
32
  /** Maximum complete grouped staging body below the Node action argument cap. */
26
33
  export const MAX_STAGE_GROUP_BYTES = 4 * 1024 * 1024 + 512 * 1024;
27
34
  /** Maximum safe staging transactions executed by one authenticated action. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nakafa/aksara-contracts",
3
- "version": "8.0.0",
3
+ "version": "8.0.1",
4
4
  "description": "Schemas and verification contracts for Nakafa content releases.",
5
5
  "homepage": "https://github.com/nakafaai/aksara#readme",
6
6
  "license": "SEE LICENSE IN LICENSE",