@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.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);
|