Skip to content

Commit

Permalink
Switched back to main repo of WS module
Browse files Browse the repository at this point in the history
  • Loading branch information
jondubois committed Jan 13, 2016
1 parent 9d7f085 commit 64da3eb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion lib/sctransport.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
var WebSocket = require('sc-ws');
var WS = require('ws');
var SCEmitter = require('sc-emitter').SCEmitter;
var formatter = require('sc-formatter');
var Response = require('./response').Response;
var querystring = require('querystring');
var WebSocket = global.WebSocket || global.MozWebSocket || WS;

var scErrors = require('sc-errors');
var TimeoutError = scErrors.TimeoutError;


var SCTransport = function (authEngine, options) {
this.state = this.CLOSED;
this.auth = authEngine;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"sc-emitter": "1.0.x",
"sc-errors": "1.0.x",
"sc-formatter": "1.0.x",
"sc-ws": "0.8.0"
"ws": "1.0.1"
},
"readmeFilename": "README.md"
}

0 comments on commit 64da3eb

Please sign in to comment.