Compare commits

...

2 Commits

Author SHA1 Message Date
bee-worker a00ca77b3e chore(master): release 0.26.2 (#663) 2024-06-05 06:56:12 +02:00
Cafe137 cae90c1a82 fix: merge version and health check (#662) 2024-06-05 06:55:40 +02:00
4 changed files with 16 additions and 7 deletions
+7
View File
@@ -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)
+2 -2
View File
@@ -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
View File
@@ -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",
+6 -4
View File
@@ -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