@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.mjs
CHANGED
|
@@ -1169,11 +1169,14 @@ var AdminApiClient = class {
|
|
|
1169
1169
|
)
|
|
1170
1170
|
);
|
|
1171
1171
|
}
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1172
|
+
/** Move `childGroupId` under `request.newParentId`. */
|
|
1173
|
+
async reparentGroup(childGroupId, request) {
|
|
1174
|
+
return unwrap(
|
|
1175
|
+
await this.httpClient.post(
|
|
1176
|
+
`/admin-api/groups/${childGroupId}/reparent`,
|
|
1177
|
+
request
|
|
1178
|
+
)
|
|
1179
|
+
);
|
|
1177
1180
|
}
|
|
1178
1181
|
async listSubgroups(groupId) {
|
|
1179
1182
|
const response = await this.httpClient.get(
|