Skip to content

Commit

Permalink
[RELEASE] Hotfix for Faucet Response Object
Browse files Browse the repository at this point in the history
  • Loading branch information
AtelyPham committed Oct 5, 2023
1 parent 80e588b commit f7e657c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions apps/faucet/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
2 changes: 1 addition & 1 deletion apps/faucet/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@webb-tools/faucet",
"version": "0.0.10",
"version": "0.0.11",
"license": "APACHE-2.0",
"description": "Official Webb Faucet"
}
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down
2 changes: 1 addition & 1 deletion libs/dapp-config/src/chains/substrate/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f7e657c

Please sign in to comment.