Skip to content

Commit

Permalink
release/2.15.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Bishop authored and Simon Bishop committed Sep 21, 2016
1 parent 111f0d5 commit 7152e57
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -338,4 +338,9 @@

- fixed encrypted payload error login

2.15.2 2016-10-20
------------------------

- fixed protocol heading on client file


2 changes: 1 addition & 1 deletion lib/middleware/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ ClientMiddleware.prototype.process = function (req, res, next) {
var clientScript = buf.toString().replace('{{protocol}}', protocol);//set the protocol here

_this.cached = '\/\/happn client v' + require('../../package.json').version + '\r\n' +
'protocol v' + protocol + '\r\n' +
'\/\/protocol v' + protocol + '\r\n' +
clientScript;

res.end(_this.cached);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "happn",
"description": "pub/sub api as a service using primus and mongo & redis or nedb, can work as cluster, single process or embedded using nedb, use in production at your own risk",
"version": "2.15.1",
"version": "2.15.2",
"main": "./lib/index",
"protocol":"1.1.0",
"scripts": {
Expand Down

0 comments on commit 7152e57

Please sign in to comment.