From f7e657cb4086303b2f3d662a229aafc7385bb81a Mon Sep 17 00:00:00 2001 From: Trung-Tin Pham <60747384+AtelyPham@users.noreply.github.com> Date: Thu, 5 Oct 2023 17:05:10 +0700 Subject: [PATCH] [RELEASE] Hotfix for Faucet Response Object --- apps/faucet/CHANGELOG.md | 4 ++++ apps/faucet/package.json | 2 +- .../src/transaction/utils/getExplorerURI.ts | 2 +- libs/dapp-config/src/chains/substrate/index.tsx | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/apps/faucet/CHANGELOG.md b/apps/faucet/CHANGELOG.md index aa41e6e49c..3106481d23 100644 --- a/apps/faucet/CHANGELOG.md +++ b/apps/faucet/CHANGELOG.md @@ -95,3 +95,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [0.0.10] - 2023-10-04 - Substrate Support on Faucet [#1735](https://github.com/webb-tools/webb-dapp/pull/1735) + +## [0.0.11] - 2023-10-05 + +- Hotfix the faucet respone object. diff --git a/apps/faucet/package.json b/apps/faucet/package.json index 1b2f9b2320..93c68ee169 100644 --- a/apps/faucet/package.json +++ b/apps/faucet/package.json @@ -1,6 +1,6 @@ { "name": "@webb-tools/faucet", - "version": "0.0.10", + "version": "0.0.11", "license": "APACHE-2.0", "description": "Official Webb Faucet" } diff --git a/libs/api-provider-environment/src/transaction/utils/getExplorerURI.ts b/libs/api-provider-environment/src/transaction/utils/getExplorerURI.ts index a1b2708364..fb7005659f 100644 --- a/libs/api-provider-environment/src/transaction/utils/getExplorerURI.ts +++ b/libs/api-provider-environment/src/transaction/utils/getExplorerURI.ts @@ -11,7 +11,7 @@ export const getExplorerURI = ( return new URL(`${variant}/${addOrTxHash}`, explorerUri); case 'polkadot': { - const path = variant === 'tx' ? `explorer/query/${addOrTxHash}` : ''; + const path = variant === 'tx' ? `#/explorer/query/${addOrTxHash}` : ''; return new URL(`${path}`, explorerUri); } diff --git a/libs/dapp-config/src/chains/substrate/index.tsx b/libs/dapp-config/src/chains/substrate/index.tsx index 2fda5df933..7dac5f82a1 100644 --- a/libs/dapp-config/src/chains/substrate/index.tsx +++ b/libs/dapp-config/src/chains/substrate/index.tsx @@ -10,7 +10,7 @@ function populateBlockExplorerStub(connString: string): string { `?${params.toString()}`, 'https://polkadot.js.org/apps/' ).toString(); - return url + '#'; + return url; } // All substrate chains temporary use in `development` environment now