@calimero-network/mero-js 22.5.0 → 22.5.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.
@@ -24,8 +24,12 @@ import type { SignedGroupOpenInvitation } from '../admin-api/admin-types.js';
24
24
  * governance through a relay. None of these changes a layout this module
25
25
  * signs; the version moves with core's so nodes on different versions never
26
26
  * share a namespace.
27
+ *
28
+ * 16: a namespace can be founded through a relay (a delegated
29
+ * `NamespaceCreatedV2`), and `GroupOp::FoundingRelayAttested` lets that relay
30
+ * admit itself as the namespace's first TEE. Again no layout this module signs.
27
31
  */
28
- export declare const SIGNED_NAMESPACE_OP_SCHEMA_VERSION = 15;
32
+ export declare const SIGNED_NAMESPACE_OP_SCHEMA_VERSION = 16;
29
33
  /**
30
34
  * Borsh-encode a `SignedGroupOpenInvitation`.
31
35
  *
@@ -9,8 +9,12 @@ import { concat, derivePublicKey, fromHex, hex, importSigningKey, u32le, u64le,
9
9
  * governance through a relay. None of these changes a layout this module
10
10
  * signs; the version moves with core's so nodes on different versions never
11
11
  * share a namespace.
12
+ *
13
+ * 16: a namespace can be founded through a relay (a delegated
14
+ * `NamespaceCreatedV2`), and `GroupOp::FoundingRelayAttested` lets that relay
15
+ * admit itself as the namespace's first TEE. Again no layout this module signs.
12
16
  */
13
- export const SIGNED_NAMESPACE_OP_SCHEMA_VERSION = 15;
17
+ export const SIGNED_NAMESPACE_OP_SCHEMA_VERSION = 16;
14
18
  /** Domain prefixed to the signable bytes; core's `NAMESPACE_GOVERNANCE_SIGN_DOMAIN`. */
15
19
  const NAMESPACE_SIGN_DOMAIN = new TextEncoder().encode('calimero.namespace.v1');
16
20
  /** `NamespaceOp::Root` is the first variant. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@calimero-network/mero-js",
3
- "version": "22.5.0",
3
+ "version": "22.5.1",
4
4
  "description": "Pure JavaScript SDK for Calimero",
5
5
  "type": "module",
6
6
  "exports": {