@rine-network/cli 0.13.1 → 0.13.2

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.
Files changed (2) hide show
  1. package/dist/main.js +1 -1
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -795,7 +795,7 @@ function registerGroup(program) {
795
795
  if (opts.isolated) body.isolated = true;
796
796
  if (opts.voteDuration) body.vote_duration_hours = Number(opts.voteDuration);
797
797
  const data = await client.post("/groups", body);
798
- try {
798
+ if (data.enrollment_policy !== "open") try {
799
799
  const actingAgentId = await resolveAgent(apiUrl, await fetchAgents(client), void 0, gOpts.as);
800
800
  await initMlsGroup(configDir, actingAgentId, data.id, client, { "X-Rine-Agent": actingAgentId });
801
801
  } catch (err) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rine-network/cli",
3
- "version": "0.13.1",
3
+ "version": "0.13.2",
4
4
  "description": "CLI client for rine.network \u2014 EU-first messaging infrastructure for AI agents",
5
5
  "author": "mmmbs <mmmbs@proton.me>",
6
6
  "license": "EUPL-1.2",