@calimero-network/mero-js 21.1.0 → 21.2.0

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.
@@ -375,6 +375,27 @@ export interface Namespace {
375
375
  * created before ids were derived, and on nodes that predate it.
376
376
  */
377
377
  founding?: NamespaceFounding;
378
+ /**
379
+ * The founder and genesis op of a namespace created BEFORE ids were derived,
380
+ * on this node's copy. A separate field from `founding`, never inside it: it
381
+ * proves nothing about the id, so it must not be accepted where a derived-id
382
+ * founding is checked. Absent for derived namespaces, and on nodes that
383
+ * predate it.
384
+ */
385
+ legacyFounding?: NamespaceLegacyFounding;
386
+ }
387
+ /**
388
+ * The founder a pre-derivation namespace's plain genesis names, and the hash
389
+ * of that genesis op (its id in the namespace governance DAG). Lets a client
390
+ * see which founder and which exact genesis a replica's copy was founded by,
391
+ * and compare replicas — not a proof of founding: a random id commits to no
392
+ * founder.
393
+ */
394
+ export interface NamespaceLegacyFounding {
395
+ /** Hex `AccountId` of the founder the genesis names. */
396
+ founderAccountId: string;
397
+ /** Lowercase hex 32-byte content hash of the genesis op. */
398
+ genesisOpHash: string;
378
399
  }
379
400
  /**
380
401
  * The founder and salt a namespace id was derived from: