@calimero-network/mero-js 26.10.0 → 26.11.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.mjs CHANGED
@@ -2499,6 +2499,11 @@ var AdminApiClient = class {
2499
2499
  await this.httpClient.get(`/admin-api/groups/${pathSegment(groupId)}/upgrade/status`)
2500
2500
  );
2501
2501
  }
2502
+ /** Releases to install before activating the upgrade, in list order (oldest first). An older server returns []. */
2503
+ async getGroupMissingReleases(groupId) {
2504
+ const res = await this.httpClient.get(`/admin-api/groups/${pathSegment(groupId)}/upgrade/status`);
2505
+ return res.missingReleases ?? [];
2506
+ }
2502
2507
  /**
2503
2508
  * The operator-facing "have all peers migrated?" rollup for a namespace.
2504
2509
  * The handler serializes the payload directly, so there is no `{ data }`