@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.mjs CHANGED
@@ -1125,13 +1125,17 @@ var AdminApiClient = class {
1125
1125
  );
1126
1126
  }
1127
1127
  async joinNamespace(namespaceId, request) {
1128
- return unwrap(
1128
+ const data = unwrap(
1129
1129
  await this.httpClient.post(
1130
1130
  `/admin-api/namespaces/${namespaceId}/join`,
1131
1131
  request,
1132
1132
  { timeoutMs: 65e3 }
1133
1133
  )
1134
1134
  );
1135
+ if (data && data.namespaceId === void 0 && data.groupId !== void 0) {
1136
+ return { ...data, namespaceId: data.groupId };
1137
+ }
1138
+ return data;
1135
1139
  }
1136
1140
  async createGroupInNamespace(namespaceId, request) {
1137
1141
  return unwrap(