Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a00ca77b3e | |||
| cae90c1a82 |
@@ -1,5 +1,12 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## [0.26.2](https://github.com/ethersphere/bee-dashboard/compare/v0.26.1...v0.26.2) (2024-06-05)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* merge version and health check ([#662](https://github.com/ethersphere/bee-dashboard/issues/662)) ([cae90c1](https://github.com/ethersphere/bee-dashboard/commit/cae90c1a82e16ee8c7908c43e2fd17f7130eb89d))
|
||||||
|
|
||||||
## [0.26.1](https://github.com/ethersphere/bee-dashboard/compare/v0.26.0...v0.26.1) (2024-06-03)
|
## [0.26.1](https://github.com/ethersphere/bee-dashboard/compare/v0.26.0...v0.26.1) (2024-06-03)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "@ethersphere/bee-dashboard",
|
"name": "@ethersphere/bee-dashboard",
|
||||||
"version": "0.26.1",
|
"version": "0.26.2",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@ethersphere/bee-dashboard",
|
"name": "@ethersphere/bee-dashboard",
|
||||||
"version": "0.26.1",
|
"version": "0.26.2",
|
||||||
"license": "BSD-3-Clause",
|
"license": "BSD-3-Clause",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@ethersphere/bee-js": "^7.0.0",
|
"@ethersphere/bee-js": "^7.0.0",
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@ethersphere/bee-dashboard",
|
"name": "@ethersphere/bee-dashboard",
|
||||||
"version": "0.26.1",
|
"version": "0.26.2",
|
||||||
"description": "An app which helps users to setup their Bee node and do actions like cash out cheques",
|
"description": "An app which helps users to setup their Bee node and do actions like cash out cheques",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"bee",
|
"bee",
|
||||||
|
|||||||
@@ -265,13 +265,15 @@ export function Provider({ children }: Props): ReactElement {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const promises = [
|
const promises = [
|
||||||
|
// API health
|
||||||
beeApi
|
beeApi
|
||||||
.getHealth({ timeout: TIMEOUT })
|
.getHealth({ timeout: TIMEOUT })
|
||||||
.then(response => setBeeVersion(response.version))
|
.then(response => setBeeVersion(response.version))
|
||||||
.catch(() => setBeeVersion(null)),
|
.then(() => setApiHealth(true))
|
||||||
|
.catch(() => {
|
||||||
// API health
|
setBeeVersion(null)
|
||||||
beeApi.isConnected({ timeout: TIMEOUT }).catch(() => setApiHealth(false)),
|
setApiHealth(false)
|
||||||
|
}),
|
||||||
|
|
||||||
// Node Addresses
|
// Node Addresses
|
||||||
beeApi
|
beeApi
|
||||||
|
|||||||
Reference in New Issue
Block a user