@calimero-network/mero-js 23.9.0 → 24.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/account/account-admin.js +3 -1
- package/dist/admin-api/admin-types.d.ts +6 -1
- package/dist/index.browser.mjs +1 -1
- package/dist/index.browser.mjs.map +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +2 -2
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +2 -2
- package/dist/warrant/governance-op.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -11023,7 +11023,7 @@ function createAccountAdmin(input, deps = {}) {
|
|
|
11023
11023
|
return { namespaceId, haEnabled, ...haError !== void 0 ? { haError } : {} };
|
|
11024
11024
|
},
|
|
11025
11025
|
async createGroupInNamespace(namespaceId, req = {}) {
|
|
11026
|
-
const { op } = await subgroupCreation({ parentId: namespaceId, restricted: req.visibility
|
|
11026
|
+
const { op } = await subgroupCreation({ parentId: namespaceId, restricted: req.visibility === "restricted", admin: s.account });
|
|
11027
11027
|
const { groupId } = await root(s, namespaceId, op);
|
|
11028
11028
|
rememberGroupNamespace(s.account, groupId, namespaceId);
|
|
11029
11029
|
if (req.groupName) await group(s, groupId, groupMetadataSetOp({ name: req.groupName }));
|