colyseus.js
Advanced tools
Comparing version 0.15.26 to 0.15.27
@@ -1,2 +0,2 @@ | ||
// colyseus.js@0.15.26 | ||
// colyseus.js@0.15.27 | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// colyseus.js@0.15.26 | ||
// colyseus.js@0.15.27 | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// colyseus.js@0.15.26 | ||
// colyseus.js@0.15.27 | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// colyseus.js@0.15.26 | ||
// colyseus.js@0.15.27 | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// colyseus.js@0.15.26 | ||
// colyseus.js@0.15.27 | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// colyseus.js@0.15.26 | ||
// colyseus.js@0.15.27 | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// colyseus.js@0.15.26 | ||
// colyseus.js@0.15.27 | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// colyseus.js@0.15.26 | ||
// colyseus.js@0.15.27 | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// colyseus.js@0.15.26 | ||
// colyseus.js@0.15.27 | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// colyseus.js@0.15.26 | ||
// colyseus.js@0.15.27 | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// colyseus.js@0.15.26 | ||
// colyseus.js@0.15.27 | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// colyseus.js@0.15.26 | ||
// colyseus.js@0.15.27 | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// colyseus.js@0.15.26 | ||
// colyseus.js@0.15.27 | ||
'use strict'; | ||
@@ -58,3 +58,3 @@ | ||
else { | ||
room.onLeave.invoke(e.code); | ||
room.onLeave.invoke(e.code, e.reason); | ||
room.destroy(); | ||
@@ -61,0 +61,0 @@ } |
@@ -1,2 +0,2 @@ | ||
// colyseus.js@0.15.26 | ||
// colyseus.js@0.15.27 | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// colyseus.js@0.15.26 | ||
// colyseus.js@0.15.27 | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// colyseus.js@0.15.26 | ||
// colyseus.js@0.15.27 | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// colyseus.js@0.15.26 | ||
// colyseus.js@0.15.27 | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// colyseus.js@0.15.26 | ||
// colyseus.js@0.15.27 | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ |
@@ -33,8 +33,8 @@ import { Connection } from './Connection'; | ||
onLeave: { | ||
once: (cb: (code: number) => void) => void; | ||
remove: (cb: (code: number) => void) => void; | ||
invoke: (code: number) => void; | ||
invokeAsync: (code: number) => Promise<any[]>; | ||
once: (cb: (code: number, reason?: string) => void) => void; | ||
remove: (cb: (code: number, reason?: string) => void) => void; | ||
invoke: (code: number, reason?: string) => void; | ||
invokeAsync: (code: number, reason?: string) => Promise<any[]>; | ||
clear: () => void; | ||
} & ((this: any, cb: (code: number) => void) => import("./core/signal").EventEmitter<(code: number) => void>); | ||
} & ((this: any, cb: (code: number, reason?: string) => void) => import("./core/signal").EventEmitter<(code: number, reason?: string) => void>); | ||
protected onJoin: { | ||
@@ -41,0 +41,0 @@ once: (cb: (...args: any[]) => void | Promise<any>) => void; |
@@ -74,3 +74,3 @@ "use strict"; | ||
else { | ||
room.onLeave.invoke(e.code); | ||
room.onLeave.invoke(e.code, e.reason); | ||
room.destroy(); | ||
@@ -77,0 +77,0 @@ } |
{ | ||
"name": "colyseus.js", | ||
"version": "0.15.26", | ||
"version": "0.15.27", | ||
"description": "Colyseus Multiplayer SDK for JavaScript/TypeScript", | ||
@@ -5,0 +5,0 @@ "author": "Endel Dreyer", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
2230825
142