@calimero-network/mero-js 10.0.0 → 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 -5
- package/dist/admin-api/admin-client.js +0 -13
- package/dist/admin-api/admin-types.d.ts +1 -11
- package/dist/index.browser.mjs +2 -2
- package/dist/index.browser.mjs.map +2 -2
- package/dist/index.cjs +0 -32
- package/dist/index.cjs.map +2 -2
- package/dist/index.mjs +0 -32
- 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"));
|