@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/admin-api/admin-client.d.ts +8 -1
- package/dist/admin-api/admin-client.js +9 -0
- package/dist/admin-api/admin-types.d.ts +11 -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
|
@@ -1668,6 +1668,15 @@ var AdminApiClient = class {
|
|
|
1668
1668
|
const response = await this.httpClient.get(`/admin-api/groups/${groupId}/settings/tee-admission-policy`);
|
|
1669
1669
|
return response.data ?? response;
|
|
1670
1670
|
}
|
|
1671
|
+
/**
|
|
1672
|
+
* Sets which admitted TEEs may author as the TEE authority. Pass
|
|
1673
|
+
* `{ allowedMrtd: [] }` to turn TEE authorship off. `groupId` must be a
|
|
1674
|
+
* namespace root; the node refuses a subgroup. The node exposes no read-back
|
|
1675
|
+
* route for this policy.
|
|
1676
|
+
*/
|
|
1677
|
+
async setTeeAuthoringPolicy(groupId, request) {
|
|
1678
|
+
await this.httpClient.put(`/admin-api/groups/${groupId}/settings/tee-authoring-policy`, request);
|
|
1679
|
+
}
|
|
1671
1680
|
// ---- Group / member / context metadata ----
|
|
1672
1681
|
async setGroupMetadata(groupId, request) {
|
|
1673
1682
|
await this.httpClient.put(`/admin-api/groups/${groupId}/metadata`, request);
|