@terminal3/t3n-sdk 4.0.2 → 4.0.3

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
@@ -2507,7 +2507,17 @@ type WriteDataInput = (WriteDataInputBase & {
2507
2507
  clientSeqNo?: number;
2508
2508
  }) | (WriteDataInputBase & {
2509
2509
  entryId?: never;
2510
- /** Client-supplied monotonic counter for ID derivation. */
2510
+ /**
2511
+ * Client-supplied counter used to derive the entry ID. A non-negative
2512
+ * integer (`u64` on the wire). Required in this arm (when `entryId` is
2513
+ * omitted) — the contract rejects the write with `MissingClientSeqNo` if
2514
+ * neither is supplied. It feeds the SHA-256 derivation of the entry ID
2515
+ * from `(orgDid, scope, writerDid, clientSeqNo)`, so a value that
2516
+ * resolves to an already-existing entry fails with
2517
+ * `DerivedEntryIdCollision`; bump to the next value to retry.
2518
+ * Monotonicity is a usage convention — neither the SDK nor the contract
2519
+ * enforces it.
2520
+ */
2511
2521
  clientSeqNo: number;
2512
2522
  });
2513
2523
  interface DeleteDataInput {