@calimero-network/mero-js 26.3.0 → 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/account/account-admin.js +1 -1
- package/dist/admin-api/admin-client.d.ts +3 -1
- package/dist/admin-api/admin-client.js +4 -0
- package/dist/admin-api/admin-types.d.ts +22 -0
- package/dist/index.browser.mjs +2 -2
- package/dist/index.browser.mjs.map +2 -2
- package/dist/index.cjs +10 -0
- package/dist/index.cjs.map +2 -2
- package/dist/index.mjs +10 -0
- package/dist/index.mjs.map +2 -2
- package/package.json +1 -1
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",
|