File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @codebolt/codeboltjs" ,
3- "version" : " 1.1.56 " ,
3+ "version" : " 1.1.57 " ,
44 "description" : " " ,
55 "keywords" : [],
66 "author" : " " ,
Original file line number Diff line number Diff line change @@ -56,13 +56,13 @@ class cbws {
5656
5757 this . websocket . on ( 'open' , ( ) => {
5858 console . log ( 'WebSocket connected' ) ;
59- if ( this . websocket ) {
60- this . websocket . send ( JSON . stringify ( {
61- "type" : "sendMessage" ,
62- "message" : initialMessage
63- } ) ) ;
64- resolve ( this . websocket ) ;
65- }
59+ // if (this.websocket) {
60+ // this.websocket.send(JSON.stringify({
61+ // "type": "sendMessage",
62+ // "message": initialMessage
63+ // }));
64+ // resolve(this.websocket);
65+ // }
6666 } ) ;
6767
6868 this . websocket . on ( 'message' , ( data : WebSocket . Data ) => {
You can’t perform that action at this time.
0 commit comments