diff --git a/device/lib/ws.js b/device/lib/ws.js index 387c2b7..d09d434 100644 --- a/device/lib/ws.js +++ b/device/lib/ws.js @@ -16,7 +16,7 @@ //node.js deps //npm deps -var websocket = require('websocket-stream'); +var websocket = require('@httptoolkit/websocket-stream'); //app deps diff --git a/package.json b/package.json index f100de7..0f494a4 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "crypto-js": "4.2.0", "minimist": "1.2.6", "mqtt": "4.2.8", - "websocket-stream": "^5.5.2" + "@httptoolkit/websocket-stream": "^6.0.1" }, "devDependencies": { "gulp": "^3.9.0",