@calimero-network/mero-js 9.0.2 → 11.0.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 +1 -6
- package/dist/admin-api/admin-client.js +0 -16
- package/dist/admin-api/admin-types.d.ts +1 -17
- package/dist/index.browser.mjs +2 -2
- package/dist/index.browser.mjs.map +2 -2
- package/dist/index.cjs +0 -40
- package/dist/index.cjs.map +2 -2
- package/dist/index.mjs +0 -40
- package/dist/index.mjs.map +2 -2
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1055,38 +1055,6 @@ var AdminApiClient = class {
|
|
|
1055
1055
|
async listApplicationAliases() {
|
|
1056
1056
|
return unwrap(await this.httpClient.get("/admin-api/alias/list/application"));
|
|
1057
1057
|
}
|
|
1058
|
-
// ---- Context Identity Aliases ----
|
|
1059
|
-
async listContextIdentityAliases(contextId) {
|
|
1060
|
-
return unwrap(
|
|
1061
|
-
await this.httpClient.get(
|
|
1062
|
-
`/admin-api/alias/list/identity/${contextId}`
|
|
1063
|
-
)
|
|
1064
|
-
);
|
|
1065
|
-
}
|
|
1066
|
-
async createContextIdentityAlias(contextId, request) {
|
|
1067
|
-
return unwrap(
|
|
1068
|
-
await this.httpClient.post(
|
|
1069
|
-
`/admin-api/alias/create/identity/${contextId}`,
|
|
1070
|
-
{ alias: request.alias, identity: request.identity }
|
|
1071
|
-
)
|
|
1072
|
-
);
|
|
1073
|
-
}
|
|
1074
|
-
async lookupContextIdentityAlias(contextId, name) {
|
|
1075
|
-
return unwrap(
|
|
1076
|
-
await this.httpClient.post(
|
|
1077
|
-
`/admin-api/alias/lookup/identity/${contextId}/${encodeURIComponent(name)}`,
|
|
1078
|
-
{}
|
|
1079
|
-
)
|
|
1080
|
-
);
|
|
1081
|
-
}
|
|
1082
|
-
async deleteContextIdentityAlias(contextId, name) {
|
|
1083
|
-
return unwrap(
|
|
1084
|
-
await this.httpClient.post(
|
|
1085
|
-
`/admin-api/alias/delete/identity/${contextId}/${encodeURIComponent(name)}`,
|
|
1086
|
-
{}
|
|
1087
|
-
)
|
|
1088
|
-
);
|
|
1089
|
-
}
|
|
1090
1058
|
// ---- Namespace Management ----
|
|
1091
1059
|
async listNamespaces() {
|
|
1092
1060
|
return unwrap(await this.httpClient.get("/admin-api/namespaces"));
|
|
@@ -1263,14 +1231,6 @@ var AdminApiClient = class {
|
|
|
1263
1231
|
async syncGroup(groupId, request) {
|
|
1264
1232
|
return unwrap(await this.httpClient.post(`/admin-api/groups/${groupId}/sync`, request ?? {}));
|
|
1265
1233
|
}
|
|
1266
|
-
async registerGroupSigningKey(groupId, request) {
|
|
1267
|
-
return unwrap(
|
|
1268
|
-
await this.httpClient.post(
|
|
1269
|
-
`/admin-api/groups/${groupId}/signing-key`,
|
|
1270
|
-
request
|
|
1271
|
-
)
|
|
1272
|
-
);
|
|
1273
|
-
}
|
|
1274
1234
|
async upgradeGroup(groupId, request) {
|
|
1275
1235
|
return unwrap(await this.httpClient.post(`/admin-api/groups/${groupId}/upgrade`, request));
|
|
1276
1236
|
}
|