@calimero-network/mero-js 31.0.2 → 32.0.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.
@@ -2448,7 +2448,7 @@ export interface paths {
2448
2448
  put?: never;
2449
2449
  /**
2450
2450
  * Give apps app teams, or open or close one
2451
- * @description The owner or an admin; `keep` names who stays when a team closes. `412` first.
2451
+ * @description The owner or an admin; `keep` names who stays when a team closes; `childTeams` says whether the app team's members make restricted teams below it (private channels), adding or removing `CREATE_CHILD_TEAM` (absent: as they are). Naming `join` or `childTeams` on any package leaves `shared` unset to mean no other team. `412` first.
2452
2452
  *
2453
2453
  * **Who:** a passkey session (an API key is refused). **Step-up:** answers `412 CONFIRM_REQUIRED` first; send the same request again with `confirm`, a passkey assertion over `details.challenge`.
2454
2454
  */
@@ -10269,7 +10269,21 @@ export interface operations {
10269
10269
  };
10270
10270
  content: {
10271
10271
  "application/json": {
10272
- status: string;
10272
+ status: {
10273
+ /** Format: int64 */
10274
+ group: number;
10275
+ /** Format: int64 */
10276
+ leader: number | null;
10277
+ is_leader: boolean;
10278
+ /** Format: int64 */
10279
+ term: number;
10280
+ /** Format: int64 */
10281
+ last_log: number | null;
10282
+ /** Format: int64 */
10283
+ applied: number;
10284
+ voters: number[];
10285
+ learners: number[];
10286
+ };
10273
10287
  };
10274
10288
  };
10275
10289
  };
@@ -11985,6 +11999,7 @@ export interface operations {
11985
11999
  instances?: string[];
11986
12000
  join?: components["schemas"]["TeamJoin"];
11987
12001
  keep?: string[];
12002
+ childTeams?: boolean;
11988
12003
  }[];
11989
12004
  shared?: boolean;
11990
12005
  confirm?: components["schemas"]["Confirm"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@calimero-network/mero-js",
3
- "version": "31.0.2",
3
+ "version": "32.0.0",
4
4
  "description": "JavaScript client for Calimero 1.0: attested TEE nodes, a sealed channel, passkeys and API keys",
5
5
  "type": "module",
6
6
  "exports": {