@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.
- package/dist/index.browser.mjs +1 -1
- package/dist/index.browser.mjs.map +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +2 -2
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +2 -2
- package/dist/namespace-op/namespace-op.d.ts +5 -1
- package/dist/namespace-op/namespace-op.js +5 -1
- package/package.json +1 -1
|
@@ -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 =
|
|
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 =
|
|
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. */
|