@calimero-network/mero-js 24.4.1 → 24.5.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.
- 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 +6 -1
- package/dist/namespace-op/namespace-op.js +6 -1
- package/package.json +1 -1
|
@@ -65,8 +65,13 @@ import { type Signer } from '../signer/signer.js';
|
|
|
65
65
|
* (calimero-network/core#4265). Neither is an op this module signs, so only
|
|
66
66
|
* the version byte moves. Core signs and checks at 23 from 0.11.0-rc.81, the
|
|
67
67
|
* first release with both 22 and 23.
|
|
68
|
+
*
|
|
69
|
+
* 24: no layout change. Only a subgroup's creator may open it - flip it to
|
|
70
|
+
* `Open` (calimero-network/core#4522) - an apply-time rule older peers
|
|
71
|
+
* disagree on, since they let any of its admins open it. A UI that offers
|
|
72
|
+
* "make public" should offer it to the creator alone.
|
|
68
73
|
*/
|
|
69
|
-
export declare const SIGNED_NAMESPACE_OP_SCHEMA_VERSION =
|
|
74
|
+
export declare const SIGNED_NAMESPACE_OP_SCHEMA_VERSION = 24;
|
|
70
75
|
/**
|
|
71
76
|
* Borsh-encode a `SignedGroupOpenInvitation`.
|
|
72
77
|
*
|
|
@@ -51,8 +51,13 @@ import { resolveSigner } from '../signer/signer.js';
|
|
|
51
51
|
* (calimero-network/core#4265). Neither is an op this module signs, so only
|
|
52
52
|
* the version byte moves. Core signs and checks at 23 from 0.11.0-rc.81, the
|
|
53
53
|
* first release with both 22 and 23.
|
|
54
|
+
*
|
|
55
|
+
* 24: no layout change. Only a subgroup's creator may open it - flip it to
|
|
56
|
+
* `Open` (calimero-network/core#4522) - an apply-time rule older peers
|
|
57
|
+
* disagree on, since they let any of its admins open it. A UI that offers
|
|
58
|
+
* "make public" should offer it to the creator alone.
|
|
54
59
|
*/
|
|
55
|
-
export const SIGNED_NAMESPACE_OP_SCHEMA_VERSION =
|
|
60
|
+
export const SIGNED_NAMESPACE_OP_SCHEMA_VERSION = 24;
|
|
56
61
|
/** Domain prefixed to the signable bytes; core's `NAMESPACE_GOVERNANCE_SIGN_DOMAIN`. */
|
|
57
62
|
const NAMESPACE_SIGN_DOMAIN = new TextEncoder().encode('calimero.namespace.v1');
|
|
58
63
|
/** `NamespaceOp::Root` is the first variant. */
|