From 8cf4829f590ed09c573748a38c579458f3f61101 Mon Sep 17 00:00:00 2001 From: Gabriele De Rosa Date: Sun, 30 Aug 2020 23:01:51 +0200 Subject: [PATCH 1/2] Fix --- daemon/routes/socket.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/routes/socket.js b/daemon/routes/socket.js index 81a9410..61a61f7 100644 --- a/daemon/routes/socket.js +++ b/daemon/routes/socket.js @@ -37,7 +37,7 @@ module.exports = function(db, io, app, config) { var historical_data = db.get('cryptocurrencies').find(cryptocurrency).value().data; - io.emit('historical-data', fix(cryptocurrency, historical_data)); + client.emit('historical-data', fix(cryptocurrency, historical_data)); } From 584f83667d399a0e641884685df5776d215affde Mon Sep 17 00:00:00 2001 From: Gabriele De Rosa Date: Sun, 30 Aug 2020 23:11:01 +0200 Subject: [PATCH 2/2] Versioning --- daemon/package.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon/package.json b/daemon/package.json index 753ff33..e8ff70a 100644 --- a/daemon/package.json +++ b/daemon/package.json @@ -1,6 +1,6 @@ { "name": "coingraph-daemon", - "version": "1.1.3", + "version": "1.1.4", "author": "derogab", "description": "A daemon for coingraph", "license": "MIT", diff --git a/package.json b/package.json index 6931299..85801d0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coingraph", - "version": "1.1.3", + "version": "1.1.4", "author": "derogab", "description": "A real-time graph for cryptocurrencies", "license": "MIT",