@calimero-network/mero-js 7.1.1 → 7.2.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/index.mjs CHANGED
@@ -821,6 +821,18 @@ var AdminApiClient = class {
821
821
  await this.httpClient.get(`/admin-api/applications/${applicationId}/versions`)
822
822
  );
823
823
  }
824
+ /**
825
+ * The application's embedded `wasm-abi/1` manifest. Omit `serviceName` for
826
+ * single-service apps; core 400s if the ABI is absent or the name is ambiguous.
827
+ */
828
+ async getApplicationAbi(applicationId, serviceName) {
829
+ const query = serviceName ? `?service_name=${encodeURIComponent(serviceName)}` : "";
830
+ return unwrap(
831
+ await this.httpClient.get(
832
+ `/admin-api/applications/${applicationId}/abi${query}`
833
+ )
834
+ );
835
+ }
824
836
  // ---- Package Management ----
825
837
  async listPackages() {
826
838
  const r = await this.httpClient.get(