From f26aa1467f38310ed51a0cf8e57039c1c46a25b6 Mon Sep 17 00:00:00 2001 From: sourabhxyz Date: Mon, 5 Aug 2024 13:32:48 +0530 Subject: [PATCH] fix: set header for Maestro request as `api-key` instead of `api_key` Related to #109, #252. --- .../cardano_multiplatform_lib.generated.js | 2 +- .../cardano_multiplatform_lib_bg.wasm | Bin 2483447 -> 2483447 bytes .../cardano_multiplatform_lib.generated.js | 2 +- .../src/tx_builder_utils.rs | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/libs/cardano_multiplatform_lib/cardano_multiplatform_lib.generated.js b/src/core/libs/cardano_multiplatform_lib/cardano_multiplatform_lib.generated.js index 76c1fce7..8c437c0c 100644 --- a/src/core/libs/cardano_multiplatform_lib/cardano_multiplatform_lib.generated.js +++ b/src/core/libs/cardano_multiplatform_lib/cardano_multiplatform_lib.generated.js @@ -1,7 +1,7 @@ // @generated file from wasmbuild -- do not edit // deno-lint-ignore-file // deno-fmt-ignore-file -// source-hash: 48fbf1656de3bcfc28fa6ea7700367cc6649f4dd +// source-hash: 1ebe808cb0e2e28c65872aec3d912c4612694ba4 let wasm; const cachedTextDecoder = new TextDecoder("utf-8", { diff --git a/src/core/libs/cardano_multiplatform_lib/cardano_multiplatform_lib_bg.wasm b/src/core/libs/cardano_multiplatform_lib/cardano_multiplatform_lib_bg.wasm index 99890e29b866b611f8394fa51b8baec787d60428..1b2ea743bf794d9eed1464a4f2ca2225ff021219 100644 GIT binary patch delta 97 zcmWN=w++HT002Ne(PT`{$xzbbRel_blW6E!1c{cGiQM9ouK2w|QN9Z*s%q*Qni4H- q9bG+r14F5iv5BdfxrL>bwT-Qvy@R9EJG;ejedIAKpFerLe4l?$w;#y> delta 97 zcmWN=w++HT002Ne(PT`{$*=-m5AVg6y>|1qN=8@p()YQ r*3s3|H!zeM8Jn1znOj&|S=-p!**iEoy|Zf!w?`hc^7)g;%lG*QQl%gJ diff --git a/src/core/libs/cardano_multiplatform_lib/nodejs/cardano_multiplatform_lib.generated.js b/src/core/libs/cardano_multiplatform_lib/nodejs/cardano_multiplatform_lib.generated.js index 9733e775..27b17ba2 100644 --- a/src/core/libs/cardano_multiplatform_lib/nodejs/cardano_multiplatform_lib.generated.js +++ b/src/core/libs/cardano_multiplatform_lib/nodejs/cardano_multiplatform_lib.generated.js @@ -1,7 +1,7 @@ // @generated file from wasmbuild -- do not edit // deno-lint-ignore-file // deno-fmt-ignore-file -// source-hash: 48fbf1656de3bcfc28fa6ea7700367cc6649f4dd +// source-hash: 1ebe808cb0e2e28c65872aec3d912c4612694ba4 let imports = {}; imports["__wbindgen_placeholder__"] = module.exports; diff --git a/src/core/libs/cardano_multiplatform_lib/src/tx_builder_utils.rs b/src/core/libs/cardano_multiplatform_lib/src/tx_builder_utils.rs index e66ded47..88d6b0b5 100644 --- a/src/core/libs/cardano_multiplatform_lib/src/tx_builder_utils.rs +++ b/src/core/libs/cardano_multiplatform_lib/src/tx_builder_utils.rs @@ -285,7 +285,7 @@ pub async fn get_ex_units_maestro(tx: Transaction, ms: &Maestro) -> Result(); let resp_value = JsFuture::from(window.fetch_with_request(&request)).await?;