From 3a735a756ce90013e94cb0c802c19ec125cd178b Mon Sep 17 00:00:00 2001 From: Nadeem Date: Tue, 2 Apr 2024 21:25:16 +0530 Subject: [PATCH 1/2] Fix signed-mint url --- packages/heartbit-core/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/heartbit-core/src/index.ts b/packages/heartbit-core/src/index.ts index ac80ea3..c2f427d 100644 --- a/packages/heartbit-core/src/index.ts +++ b/packages/heartbit-core/src/index.ts @@ -35,7 +35,7 @@ export class HeartBitCore { } async mintHeartBit(opts: MintHeartBitArgs) { - const response = await fetch(this.#relayerUrl, { + const response = await fetch(`${this.#relayerUrl}/signed-mint`, { method: "POST", headers: { "Content-Type": "application/json", From f69bd740e0cccce460798e77114289dea4e75995 Mon Sep 17 00:00:00 2001 From: Nadeem Date: Tue, 2 Apr 2024 21:26:08 +0530 Subject: [PATCH 2/2] changeset --- .changeset/lazy-grapes-remain.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/lazy-grapes-remain.md diff --git a/.changeset/lazy-grapes-remain.md b/.changeset/lazy-grapes-remain.md new file mode 100644 index 0000000..44b6bf3 --- /dev/null +++ b/.changeset/lazy-grapes-remain.md @@ -0,0 +1,5 @@ +--- +"@fileverse/heartbit-core": minor +--- + +Bug Fix - Fixes Relayer URL for signed mints