@calimero-network/mero-js 5.0.0 → 6.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.
- package/dist/admin-api/admin-client.d.ts +3 -3
- package/dist/admin-api/admin-client.d.ts.map +1 -1
- package/dist/admin-api/admin-client.js +3 -5
- package/dist/admin-api/admin-client.js.map +1 -1
- package/dist/admin-api/admin-types.d.ts +7 -8
- package/dist/admin-api/admin-types.d.ts.map +1 -1
- package/dist/index.browser.mjs +1 -1
- package/dist/index.browser.mjs.map +3 -3
- package/dist/index.cjs +8 -5
- package/dist/index.cjs.map +2 -2
- package/dist/index.mjs +8 -5
- package/dist/index.mjs.map +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1229,11 +1229,14 @@ var AdminApiClient = class {
|
|
|
1229
1229
|
)
|
|
1230
1230
|
);
|
|
1231
1231
|
}
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1232
|
+
/** Move `childGroupId` under `request.newParentId`. */
|
|
1233
|
+
async reparentGroup(childGroupId, request) {
|
|
1234
|
+
return unwrap(
|
|
1235
|
+
await this.httpClient.post(
|
|
1236
|
+
`/admin-api/groups/${childGroupId}/reparent`,
|
|
1237
|
+
request
|
|
1238
|
+
)
|
|
1239
|
+
);
|
|
1237
1240
|
}
|
|
1238
1241
|
async listSubgroups(groupId) {
|
|
1239
1242
|
const response = await this.httpClient.get(
|