@calimero-network/mero-js 26.2.2 → 26.4.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
@@ -2394,6 +2394,15 @@ var AdminApiClient = class {
2394
2394
  await this.httpClient.get(`/admin-api/groups/${pathSegment(namespaceId)}/cascade-status`)
2395
2395
  );
2396
2396
  }
2397
+ /** Switch this node's contexts in a namespace onto its stored upgrade target; 409 if an `expected*` guard differs. */
2398
+ async activateGroupUpgrade(namespaceId, request = {}) {
2399
+ return unwrap(
2400
+ await this.httpClient.post(
2401
+ `/admin-api/groups/${pathSegment(namespaceId)}/upgrade/activate`,
2402
+ request
2403
+ )
2404
+ );
2405
+ }
2397
2406
  async retryGroupUpgrade(groupId) {
2398
2407
  return unwrap(
2399
2408
  await this.httpClient.post(
@@ -10702,6 +10711,7 @@ var EMPTY_READS = {
10702
10711
  var NODE_ONLY = /* @__PURE__ */ new Set([
10703
10712
  "upgradeGroup",
10704
10713
  "retryGroupUpgrade",
10714
+ "activateGroupUpgrade",
10705
10715
  "abortMigration",
10706
10716
  "installApplication",
10707
10717
  "installDevApplication",