@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.cjs
CHANGED
|
@@ -2689,6 +2689,15 @@ var AdminApiClient = class {
|
|
|
2689
2689
|
await this.httpClient.get(`/admin-api/groups/${pathSegment(namespaceId)}/cascade-status`)
|
|
2690
2690
|
);
|
|
2691
2691
|
}
|
|
2692
|
+
/** Switch this node's contexts in a namespace onto its stored upgrade target; 409 if an `expected*` guard differs. */
|
|
2693
|
+
async activateGroupUpgrade(namespaceId, request = {}) {
|
|
2694
|
+
return unwrap(
|
|
2695
|
+
await this.httpClient.post(
|
|
2696
|
+
`/admin-api/groups/${pathSegment(namespaceId)}/upgrade/activate`,
|
|
2697
|
+
request
|
|
2698
|
+
)
|
|
2699
|
+
);
|
|
2700
|
+
}
|
|
2692
2701
|
async retryGroupUpgrade(groupId) {
|
|
2693
2702
|
return unwrap(
|
|
2694
2703
|
await this.httpClient.post(
|
|
@@ -10997,6 +11006,7 @@ var EMPTY_READS = {
|
|
|
10997
11006
|
var NODE_ONLY = /* @__PURE__ */ new Set([
|
|
10998
11007
|
"upgradeGroup",
|
|
10999
11008
|
"retryGroupUpgrade",
|
|
11009
|
+
"activateGroupUpgrade",
|
|
11000
11010
|
"abortMigration",
|
|
11001
11011
|
"installApplication",
|
|
11002
11012
|
"installDevApplication",
|