Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a00ca77b3e | |||
| cae90c1a82 |
@@ -1,5 +1,12 @@
|
||||
# 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)
|
||||
|
||||
|
||||
|
||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@ethersphere/bee-dashboard",
|
||||
"version": "0.26.1",
|
||||
"version": "0.26.2",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@ethersphere/bee-dashboard",
|
||||
"version": "0.26.1",
|
||||
"version": "0.26.2",
|
||||
"license": "BSD-3-Clause",
|
||||
"dependencies": {
|
||||
"@ethersphere/bee-js": "^7.0.0",
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"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",
|
||||
"keywords": [
|
||||
"bee",
|
||||
|
||||
@@ -265,13 +265,15 @@ export function Provider({ children }: Props): ReactElement {
|
||||
}
|
||||
|
||||
const promises = [
|
||||
// API health
|
||||
beeApi
|
||||
.getHealth({ timeout: TIMEOUT })
|
||||
.then(response => setBeeVersion(response.version))
|
||||
.catch(() => setBeeVersion(null)),
|
||||
|
||||
// API health
|
||||
beeApi.isConnected({ timeout: TIMEOUT }).catch(() => setApiHealth(false)),
|
||||
.then(() => setApiHealth(true))
|
||||
.catch(() => {
|
||||
setBeeVersion(null)
|
||||
setApiHealth(false)
|
||||
}),
|
||||
|
||||
// Node Addresses
|
||||
beeApi
|
||||
|
||||
Reference in New Issue
Block a user