@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.cjs
CHANGED
|
@@ -1121,38 +1121,6 @@ var AdminApiClient = class {
|
|
|
1121
1121
|
async listApplicationAliases() {
|
|
1122
1122
|
return unwrap(await this.httpClient.get("/admin-api/alias/list/application"));
|
|
1123
1123
|
}
|
|
1124
|
-
// ---- Context Identity Aliases ----
|
|
1125
|
-
async listContextIdentityAliases(contextId) {
|
|
1126
|
-
return unwrap(
|
|
1127
|
-
await this.httpClient.get(
|
|
1128
|
-
`/admin-api/alias/list/identity/${contextId}`
|
|
1129
|
-
)
|
|
1130
|
-
);
|
|
1131
|
-
}
|
|
1132
|
-
async createContextIdentityAlias(contextId, request) {
|
|
1133
|
-
return unwrap(
|
|
1134
|
-
await this.httpClient.post(
|
|
1135
|
-
`/admin-api/alias/create/identity/${contextId}`,
|
|
1136
|
-
{ alias: request.alias, identity: request.identity }
|
|
1137
|
-
)
|
|
1138
|
-
);
|
|
1139
|
-
}
|
|
1140
|
-
async lookupContextIdentityAlias(contextId, name) {
|
|
1141
|
-
return unwrap(
|
|
1142
|
-
await this.httpClient.post(
|
|
1143
|
-
`/admin-api/alias/lookup/identity/${contextId}/${encodeURIComponent(name)}`,
|
|
1144
|
-
{}
|
|
1145
|
-
)
|
|
1146
|
-
);
|
|
1147
|
-
}
|
|
1148
|
-
async deleteContextIdentityAlias(contextId, name) {
|
|
1149
|
-
return unwrap(
|
|
1150
|
-
await this.httpClient.post(
|
|
1151
|
-
`/admin-api/alias/delete/identity/${contextId}/${encodeURIComponent(name)}`,
|
|
1152
|
-
{}
|
|
1153
|
-
)
|
|
1154
|
-
);
|
|
1155
|
-
}
|
|
1156
1124
|
// ---- Namespace Management ----
|
|
1157
1125
|
async listNamespaces() {
|
|
1158
1126
|
return unwrap(await this.httpClient.get("/admin-api/namespaces"));
|