File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " jderobot-commsmanager" ,
3- "version" : " 1.0.15 " ,
3+ "version" : " 1.0.16 " ,
44 "main" : " dist/main.js" ,
55 "typings" : " dist/index.d.ts" ,
66 "scripts" : {
Original file line number Diff line number Diff line change @@ -31,6 +31,8 @@ export default class CommsManager {
3131 command : "" ,
3232 data : { state : "idle" } ,
3333 } ) ;
34+ CommsManager . hostData = undefined ;
35+ CommsManager . universe = undefined ;
3436 this . subscribe ( events . STATE_CHANGED , this . setManagerState ) ;
3537 this . subscribeOnce ( events . INTROSPECTION , this . setHostData ) ;
3638
@@ -131,7 +133,6 @@ export default class CommsManager {
131133 // Send messages and manage promises
132134 public async send ( message : string , data ?: Object ) : Promise < any > {
133135 const id = uuidv4 ( ) ;
134- console . warn ( "Sending message" , this . ws )
135136
136137 // Reject with an Error directly if unable to connect
137138 if ( ! this . ws || this . ws . readyState !== WebSocket . OPEN ) {
You can’t perform that action at this time.
0 commit comments