diff --git a/bun.lockb b/bun.lockb index 960a7e8..5cfd108 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index ae0cfd2..d9be478 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,7 @@ "homepage": "https://github.com/marlon-erler/universal-decentralized-network#readme", "dependencies": { "@types/bun": "^1.1.6", + "@types/ip": "^1.1.3", "colors": "^1.4.0", "express": "^4.19.2", "ip": "^2.0.1" diff --git a/utility.ts b/utility.ts index cacb114..1bb936e 100644 --- a/utility.ts +++ b/utility.ts @@ -49,7 +49,7 @@ export function writeStatNumber(label: string, value: number): void { } // logging -export function writeError(message: string): void { +export function writeError(message: any): void { console.log(Colors.bold.red(message)); writeToLogFile(message); }