@calimero-network/mero-js 19.27.1 → 21.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.
@@ -546,8 +546,6 @@ export declare class AdminApiClient {
546
546
  getNetworkStatus(): Promise<unknown>;
547
547
  /** Node storage/usage stats (GET /admin-api/usage). */
548
548
  getUsage(): Promise<unknown>;
549
- /** Node TLS certificate, PEM text (GET /admin-api/certificate). */
550
- getCertificate(): Promise<string>;
551
549
  /** Create a standalone group (POST /admin-api/groups). */
552
550
  createGroup(request: CreateGroupRequest): Promise<CreateGroupResponseData>;
553
551
  /** Leave a group (POST /admin-api/groups/:group_id/leave). */
@@ -1021,10 +1021,6 @@ export class AdminApiClient {
1021
1021
  async getUsage() {
1022
1022
  return this.httpClient.get('/admin-api/usage');
1023
1023
  }
1024
- /** Node TLS certificate, PEM text (GET /admin-api/certificate). */
1025
- async getCertificate() {
1026
- return this.httpClient.get('/admin-api/certificate', { parse: 'text' });
1027
- }
1028
1024
  // ---- Group / context / namespace membership ----
1029
1025
  /** Create a standalone group (POST /admin-api/groups). */
1030
1026
  async createGroup(request) {
@@ -1134,13 +1134,16 @@ export interface GroupUpgradeStatus {
1134
1134
  initiatedBy: string;
1135
1135
  status: string;
1136
1136
  /** Contexts THIS NODE enumerated for the upgrade. Node-local; fleet progress
1137
- * is the `getMigrationStatus` rollup. */
1137
+ * is the `getMigrationStatus` rollup. The counters and `completedAt` come
1138
+ * from the upgrade propagator only: a plain group upgrade swaps each context
1139
+ * lazily, on its next execution, and reports `completed` without any of them. */
1138
1140
  localContextsTotal?: number;
1139
1141
  localContextsSwapped?: number;
1140
1142
  /** Contexts whose swap failed on this node; a non-zero value is what
1141
1143
  * `retryGroupUpgrade` picks up. */
1142
1144
  localContextsFailed?: number;
1143
- /** Unix seconds at which THIS NODE finished its own context swaps. Not fleet
1145
+ /** Unix seconds at which THIS NODE finished its own context swaps, when the
1146
+ * propagator ran them (absent on a lazy upgrade, see above). Not fleet
1144
1147
  * convergence - that is `MigrationStatus.fleetCompletedAt`. */
1145
1148
  completedAt?: number;
1146
1149
  }