From 5325cd9184c2045bcb969ab2f6f389cfaf907175 Mon Sep 17 00:00:00 2001 From: latv Date: Mon, 11 Jun 2018 11:41:27 +0300 Subject: [PATCH] switch back to 'ws' (issue #129) --- package.json | 2 +- sip.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 0159cd1..14ed1f6 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "node": ">=0.2.2" }, "dependencies": { - "uws": "*" + "ws": "*" }, "devDependencies": { "coffee-script": "~1.6.2" diff --git a/sip.js b/sip.js index 173e0e3..e3f345f 100644 --- a/sip.js +++ b/sip.js @@ -6,7 +6,7 @@ var dgram = require('dgram'); var tls = require('tls'); var os = require('os'); var crypto = require('crypto'); -var WebSocket = require('uws'); +var WebSocket = require('ws'); function debug(e) { if(e.stack) {