@calimero-network/mero-js 19.19.0 → 19.20.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
@@ -1766,6 +1766,15 @@ var AdminApiClient = class {
1766
1766
  const response = await this.httpClient.get(`/admin-api/groups/${groupId}/settings/tee-admission-policy`);
1767
1767
  return response.data ?? response;
1768
1768
  }
1769
+ /**
1770
+ * Sets which admitted TEEs may author as the TEE authority. Pass
1771
+ * `{ allowedMrtd: [] }` to turn TEE authorship off. `groupId` must be a
1772
+ * namespace root; the node refuses a subgroup. The node exposes no read-back
1773
+ * route for this policy.
1774
+ */
1775
+ async setTeeAuthoringPolicy(groupId, request) {
1776
+ await this.httpClient.put(`/admin-api/groups/${groupId}/settings/tee-authoring-policy`, request);
1777
+ }
1769
1778
  // ---- Group / member / context metadata ----
1770
1779
  async setGroupMetadata(groupId, request) {
1771
1780
  await this.httpClient.put(`/admin-api/groups/${groupId}/metadata`, request);