@cmts-dev/carmentis-sdk-core 1.2.28 → 1.2.29
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.
|
@@ -9401,7 +9401,7 @@ var Sy = oy.exports, Cy = /* @__PURE__ */ ay(Sy), wy = class {
|
|
|
9401
9401
|
if (!e.ok) throw Error(`Failed to fetch public key with id ${this.keyId} at ${this.options.host}: ${e.statusText}.`);
|
|
9402
9402
|
let t = (await e.json()).publicKey;
|
|
9403
9403
|
if (t === void 0) throw Error("Failed to fetch public key: no \"publicKey\" field found in response body.");
|
|
9404
|
-
return new
|
|
9404
|
+
return new Gv(new Uint8Array(Bg.from(t, "base64")));
|
|
9405
9405
|
}
|
|
9406
9406
|
getScheme() {
|
|
9407
9407
|
return new Wv();
|