@calimero-network/mero-js 23.4.1 → 23.4.2

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.
@@ -47,8 +47,15 @@ import { type Signer } from '../signer/signer.js';
47
47
  * the namespace root now seats that TEE in the new subgroup
48
48
  * (calimero-network/core#4276), an apply-time rule older peers disagree on.
49
49
  * Core signs and checks at 20, so every op this module signs must too.
50
+ *
51
+ * 21: no layout change. An op concurrent with its signer's removal is void
52
+ * (calimero-network/core#4275), an apply-time rule older peers disagree on.
53
+ * Core signs and checks at 21 from 0.11.0-rc.75. 23.4.0 and 23.4.1 still sign
54
+ * at 20, so against rc.75 every namespace op an account signs with them (a
55
+ * join, a create, any governance op) is refused "schema version mismatch:
56
+ * expected 21, got 20".
50
57
  */
51
- export declare const SIGNED_NAMESPACE_OP_SCHEMA_VERSION = 20;
58
+ export declare const SIGNED_NAMESPACE_OP_SCHEMA_VERSION = 21;
52
59
  /**
53
60
  * Borsh-encode a `SignedGroupOpenInvitation`.
54
61
  *
@@ -33,8 +33,15 @@ import { resolveSigner } from '../signer/signer.js';
33
33
  * the namespace root now seats that TEE in the new subgroup
34
34
  * (calimero-network/core#4276), an apply-time rule older peers disagree on.
35
35
  * Core signs and checks at 20, so every op this module signs must too.
36
+ *
37
+ * 21: no layout change. An op concurrent with its signer's removal is void
38
+ * (calimero-network/core#4275), an apply-time rule older peers disagree on.
39
+ * Core signs and checks at 21 from 0.11.0-rc.75. 23.4.0 and 23.4.1 still sign
40
+ * at 20, so against rc.75 every namespace op an account signs with them (a
41
+ * join, a create, any governance op) is refused "schema version mismatch:
42
+ * expected 21, got 20".
36
43
  */
37
- export const SIGNED_NAMESPACE_OP_SCHEMA_VERSION = 20;
44
+ export const SIGNED_NAMESPACE_OP_SCHEMA_VERSION = 21;
38
45
  /** Domain prefixed to the signable bytes; core's `NAMESPACE_GOVERNANCE_SIGN_DOMAIN`. */
39
46
  const NAMESPACE_SIGN_DOMAIN = new TextEncoder().encode('calimero.namespace.v1');
40
47
  /** `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": "23.4.1",
3
+ "version": "23.4.2",
4
4
  "description": "Pure JavaScript SDK for Calimero",
5
5
  "type": "module",
6
6
  "exports": {