0.2.27 fix initial success handler that had the old event
parent
ba112c484e
commit
d7fc89cafb
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@uci/socket",
|
||||
"version": "0.2.26",
|
||||
"version": "0.2.27",
|
||||
"description": "JSON packet intra(named)/inter(TCP) host communication over socket",
|
||||
"main": "src",
|
||||
"scripts": {
|
||||
|
|
|
@ -119,7 +119,7 @@ class SocketConsumer extends Socket {
|
|||
console.log('initial success', ev.state)
|
||||
if (ev.state === 'connected') {
|
||||
clearTimeout(initTimeout)
|
||||
this.removeListener('connection',successHandler)
|
||||
this.removeListener('connection:socket',successHandler)
|
||||
this.log('info','initial connection successfull')
|
||||
resolve({opts: this.opts, msg: 'initial connection successfull'})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue