@calimero-network/mero-js 19.23.0 → 19.24.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
@@ -1677,6 +1677,15 @@ var AdminApiClient = class {
1677
1677
  async setTeeAuthoringPolicy(groupId, request) {
1678
1678
  await this.httpClient.put(`/admin-api/groups/${groupId}/settings/tee-authoring-policy`, request);
1679
1679
  }
1680
+ /**
1681
+ * Turns TEE authorship off in the namespace: every TEE loses its authority,
1682
+ * and admitted TEEs stay members. The node applies the same op as
1683
+ * `setTeeAuthoringPolicy(groupId, { allowedMrtd: [] })`. `groupId` must be a
1684
+ * namespace root.
1685
+ */
1686
+ async disableTeeAuthoringPolicy(groupId) {
1687
+ await this.httpClient.delete(`/admin-api/groups/${groupId}/settings/tee-authoring-policy`);
1688
+ }
1680
1689
  // ---- Group / member / context metadata ----
1681
1690
  async setGroupMetadata(groupId, request) {
1682
1691
  await this.httpClient.put(`/admin-api/groups/${groupId}/metadata`, request);