laravel-echo
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -270,3 +270,5 @@ var classCallCheck = function (instance, Constructor) { | ||
this.on('presence:subscribed', function (members) { | ||
callback(members, _this2.channel); | ||
callback(members.map(function (m) { | ||
return m.user_info; | ||
}), _this2.channel); | ||
}); | ||
@@ -281,3 +283,3 @@ return this; | ||
this.on('presence:joining', function (member) { | ||
callback(member, _this3.channel); | ||
callback(member.user_info, _this3.channel); | ||
}); | ||
@@ -292,3 +294,3 @@ return this; | ||
this.on('presence:leaving', function (member) { | ||
callback(member, _this4.channel); | ||
callback(member.user_info, _this4.channel); | ||
}); | ||
@@ -295,0 +297,0 @@ return this; |
{ | ||
"name": "laravel-echo", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Laravel Echo library for beautiful Pusher integration", | ||
@@ -5,0 +5,0 @@ "main": "dist/echo.js", |
122179
2770