@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.cjs CHANGED
@@ -1783,6 +1783,15 @@ var AdminApiClient = class {
1783
1783
  async setTeeAuthoringPolicy(groupId, request) {
1784
1784
  await this.httpClient.put(`/admin-api/groups/${groupId}/settings/tee-authoring-policy`, request);
1785
1785
  }
1786
+ /**
1787
+ * Turns TEE authorship off in the namespace: every TEE loses its authority,
1788
+ * and admitted TEEs stay members. The node applies the same op as
1789
+ * `setTeeAuthoringPolicy(groupId, { allowedMrtd: [] })`. `groupId` must be a
1790
+ * namespace root.
1791
+ */
1792
+ async disableTeeAuthoringPolicy(groupId) {
1793
+ await this.httpClient.delete(`/admin-api/groups/${groupId}/settings/tee-authoring-policy`);
1794
+ }
1786
1795
  // ---- Group / member / context metadata ----
1787
1796
  async setGroupMetadata(groupId, request) {
1788
1797
  await this.httpClient.put(`/admin-api/groups/${groupId}/metadata`, request);