updated script and healthService error

This commit is contained in:
anonpenguin 2025-04-08 14:32:04 +03:00
parent bc66822c8b
commit 2c11acaeca
3 changed files with 2 additions and 3 deletions

View File

@ -1,7 +1,7 @@
{
"name": "@debros/node",
"type": "module",
"version": "0.0.17-alpha",
"version": "0.0.18-alpha",
"description": "DeBros Node",
"main": "dist/index.js",
"bin": "dist/cli.js",

View File

@ -422,7 +422,6 @@ log "${CYAN}please rerun this script after rebooting to finish the installation.
log "${BLUE}==================================================${NOCOLOR}"
# Information about the DeBros CLI
log "${BLUE}==================================================${NOCOLOR}"
log "${GREEN}DeBros CLI Information:${NOCOLOR}"
log "${CYAN}The DeBros CLI is a tool that runs on your local development machine,${NOCOLOR}"
log "${CYAN}not on the node itself. To install it on your development machine, run:${NOCOLOR}"

View File

@ -42,7 +42,7 @@ export const startStatusReporting = (interval = 600000) => {
console.log('CONNECTED PEERS:');
connectedPeers.forEach((peer, i) => {
// Adjust based on your peer structure from the new @debros/network
const peerId = peer.id || peer.toString();
const peerId = peer.fingerprint || peer.toString();
const load = peer.load || 'unknown';
console.log(`${i + 1}. ${peerId.substring(0, 15)}... - Load: ${load}%`);
});