Skip to content

Commit

Permalink
Switch Primus to Websockets.
Browse files Browse the repository at this point in the history
  • Loading branch information
daffl committed Feb 4, 2015
1 parent 0884651 commit b56a9b5
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -37,7 +37,7 @@
"express": "^4.0.0",
"body-parser": "^1.0.2",
"feathers-errors": ">=0.2.0",
"lodash": "^2.4.1",
"lodash": "^3.1.0",
"primus": "^2.4.0",
"primus-emitter": "^3.0.2",
"rubberduck": "^1.0.0",
@@ -55,7 +55,6 @@
"q": "^1.0.1",
"request": "^2.x",
"socket.io-client": "^1.0.0",
"sockjs": "^0.3.9",
"sockjs-client-node": "^0.1.1"
"ws": "^0.7.1"
}
}
4 changes: 2 additions & 2 deletions test/providers/primus.test.js
Original file line number Diff line number Diff line change
@@ -12,13 +12,13 @@ describe('Primus provider', function () {
var server, socket, app,
socketParams = {
user: { name: 'David' },
provider: 'sockjs'
provider: 'websockets'
};

before(function () {
app = feathers()
.configure(feathers.primus({
transformer: 'sockjs'
transformer: 'websockets'
}, function(primus) {
socket = new primus.Socket('http://localhost:7888');

0 comments on commit b56a9b5

Please sign in to comment.