@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/admin-api/admin-client.d.ts +7 -0
- package/dist/admin-api/admin-client.js +9 -0
- package/dist/index.browser.mjs +1 -1
- package/dist/index.browser.mjs.map +2 -2
- package/dist/index.cjs +9 -0
- package/dist/index.cjs.map +2 -2
- package/dist/index.mjs +9 -0
- package/dist/index.mjs.map +2 -2
- package/package.json +1 -1
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);
|