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 # 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)
+2 -2
View File
@@ -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
View File
@@ -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",
+6 -4
View File
@@ -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