Skip to content

Commit

Permalink
4.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mattstyles committed Mar 29, 2016
1 parent 0566f22 commit 0487539
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
@@ -1,4 +1,8 @@

## 4.3.0 - 29.03.2016

* _add_ `socket.broadcast` helper for broadcast emit

## 4.2.0 - 29.02.2016

* _update_ patch `app.listen` [laggingreflex](https://github.com/laggingreflex)
Expand Down
2 changes: 1 addition & 1 deletion example/babelasync.js
Expand Up @@ -65,7 +65,7 @@ io.on( 'data', ( ctx, data ) => {
console.log( 'data event', data )
console.log( 'ctx:', ctx.event, ctx.data, ctx.socket.id )
console.log( 'ctx.teststring:', ctx.teststring )
ctx.io.emit( 'response', {
ctx.socket.emit( 'response', {
message: 'response from server'
})
})
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "koa-socket",
"version": "4.2.1",
"version": "4.3.0",
"description": "Koa meets socket.io connected socket",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 0487539

Please sign in to comment.