Skip to content

Commit

Permalink
[chore] Bump socket.io-adapter to version 1.0.0 (#2867)
Browse files Browse the repository at this point in the history
  • Loading branch information
darrachequesne committed Feb 17, 2017
1 parent 4d8f68c commit 5ae06e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/index.js
Expand Up @@ -49,11 +49,11 @@ function Server(srv, opts){
this.nsps = {};
this.path(opts.path || '/socket.io');
this.serveClient(false !== opts.serveClient);
this.parser = opts.parser || parser;
this.encoder = new this.parser.Encoder();
this.adapter(opts.adapter || Adapter);
this.origins(opts.origins || '*:*');
this.sockets = this.of('/');
this.parser = opts.parser || parser;
this.encoder = new this.parser.Encoder();
if (srv) this.attach(srv, opts);
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -28,7 +28,7 @@
"engine.io": "2.0.2",
"has-binary": "0.1.7",
"object-assign": "4.1.0",
"socket.io-adapter": "0.5.0",
"socket.io-adapter": "1.0.0",
"socket.io-client": "socketio/socket.io-client",
"socket.io-parser": "2.3.1"
},
Expand Down

0 comments on commit 5ae06e6

Please sign in to comment.