@calimero-network/mero-js 21.2.1 → 21.3.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/README.md +7 -0
- package/dist/admin-api/admin-client.d.ts +24 -0
- package/dist/admin-api/admin-client.js +29 -0
- package/dist/admin-api/index.d.ts +1 -0
- package/dist/admin-api/index.js +1 -0
- package/dist/admin-api/redeem-invitation.d.ts +94 -0
- package/dist/admin-api/redeem-invitation.js +131 -0
- package/dist/errors/classify.d.ts +65 -0
- package/dist/errors/classify.js +121 -0
- package/dist/errors/index.d.ts +2 -0
- package/dist/errors/index.js +1 -0
- package/dist/http-client/web-client.d.ts +6 -0
- package/dist/http-client/web-client.js +1 -0
- package/dist/index.browser.mjs +2 -2
- package/dist/index.browser.mjs.map +4 -4
- package/dist/index.cjs +179 -1
- package/dist/index.cjs.map +3 -3
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -0
- package/dist/index.mjs +179 -1
- package/dist/index.mjs.map +3 -3
- package/dist/namespace-op/namespace-op.d.ts +1 -1
- package/dist/namespace-op/namespace-op.js +1 -1
- package/package.json +1 -1
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import type { SignedGroupOpenInvitation } from '../admin-api/admin-types.js';
|
|
17
17
|
/** Core's `SIGNED_NAMESPACE_OP_SCHEMA_VERSION`. A node refuses any other value. */
|
|
18
|
-
export declare const SIGNED_NAMESPACE_OP_SCHEMA_VERSION =
|
|
18
|
+
export declare const SIGNED_NAMESPACE_OP_SCHEMA_VERSION = 9;
|
|
19
19
|
/**
|
|
20
20
|
* Borsh-encode a `SignedGroupOpenInvitation`.
|
|
21
21
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { concat, derivePublicKey, fromHex, hex, importSigningKey, u32le, u64le, } from '../crypto/internal.js';
|
|
2
2
|
/** Core's `SIGNED_NAMESPACE_OP_SCHEMA_VERSION`. A node refuses any other value. */
|
|
3
|
-
export const SIGNED_NAMESPACE_OP_SCHEMA_VERSION =
|
|
3
|
+
export const SIGNED_NAMESPACE_OP_SCHEMA_VERSION = 9;
|
|
4
4
|
/** Domain prefixed to the signable bytes; core's `NAMESPACE_GOVERNANCE_SIGN_DOMAIN`. */
|
|
5
5
|
const NAMESPACE_SIGN_DOMAIN = new TextEncoder().encode('calimero.namespace.v1');
|
|
6
6
|
/** `NamespaceOp::Root` is the first variant. */
|