@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/index.mjs CHANGED
@@ -10741,7 +10741,7 @@ function createAccountAdmin(input, deps = {}) {
10741
10741
  return { namespaceId, haEnabled, ...haError !== void 0 ? { haError } : {} };
10742
10742
  },
10743
10743
  async createGroupInNamespace(namespaceId, req = {}) {
10744
- const { op } = await subgroupCreation({ parentId: namespaceId, restricted: req.visibility !== "open", admin: s.account });
10744
+ const { op } = await subgroupCreation({ parentId: namespaceId, restricted: req.visibility === "restricted", admin: s.account });
10745
10745
  const { groupId } = await root(s, namespaceId, op);
10746
10746
  rememberGroupNamespace(s.account, groupId, namespaceId);
10747
10747
  if (req.groupName) await group(s, groupId, groupMetadataSetOp({ name: req.groupName }));