@calimero-network/mero-js 13.2.0 → 13.2.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.
package/dist/index.cjs CHANGED
@@ -1196,13 +1196,17 @@ var AdminApiClient = class {
1196
1196
  );
1197
1197
  }
1198
1198
  async joinNamespace(namespaceId, request) {
1199
- return unwrap(
1199
+ const data = unwrap(
1200
1200
  await this.httpClient.post(
1201
1201
  `/admin-api/namespaces/${namespaceId}/join`,
1202
1202
  request,
1203
1203
  { timeoutMs: 65e3 }
1204
1204
  )
1205
1205
  );
1206
+ if (data && data.namespaceId === void 0 && data.groupId !== void 0) {
1207
+ return { ...data, namespaceId: data.groupId };
1208
+ }
1209
+ return data;
1206
1210
  }
1207
1211
  async createGroupInNamespace(namespaceId, request) {
1208
1212
  return unwrap(