From ccb8ac857330e1ad3aee37b340e5c6e242ac1dd6 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sat, 4 Feb 2017 00:34:31 +0100 Subject: Make the streaming API also handle websockets (because trying to get the browser EventSource interface to work flawlessly was a nightmare). WARNING: This commit makes the web UI connect to the streaming API instead of ActionCable like before. This means that if you are upgrading, you should set that up beforehand. --- package.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'package.json') diff --git a/package.json b/package.json index 9685f07a4..def42f596 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,7 @@ "babelify": "^7.3.0", "browserify": "^13.1.0", "browserify-incremental": "^3.1.1", + "bufferutil": "^2.0.0", "chai": "^3.5.0", "chai-enzyme": "^0.5.2", "css-loader": "^0.26.1", @@ -64,6 +65,9 @@ "sass-loader": "^4.0.2", "sinon": "^1.17.6", "style-loader": "^0.13.1", - "webpack": "^1.14.0" + "utf-8-validate": "^3.0.0", + "webpack": "^1.14.0", + "websocket.js": "^0.1.7", + "ws": "^2.0.2" } } -- cgit