chore: update dependencies and refactor import paths

- Updated package.json with latest dependency versions
- Added winston-daily-rotate-file type definitions
- Refactored import paths in tools and routes to use .js extensions
- Modified SSE routes to use getStatistics method
- Improved log rotation utility with more robust file cleanup
This commit is contained in:
jango-blockchained
2025-02-03 16:28:06 +01:00
parent 5362ed18ee
commit 5082f0d9fd
7 changed files with 52 additions and 35 deletions

View File

@@ -86,7 +86,7 @@ router.get('/subscribe', (req, res) => {
// Get SSE stats endpoint
router.get('/stats', async (req, res) => {
try {
const stats = await sseManager.getStats();
const stats = await sseManager.getStatistics();
res.json(stats);
} catch (error) {
res.status(500).json({