File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " @bytetrade/core" ,
3- "version" : " 0.3.83 " ,
3+ "version" : " 0.3.84 " ,
44 "description" : " didvault core module" ,
55 "main" : " ./dist/index.js" ,
66 "types" : " ./dist/index.d.ts" ,
Original file line number Diff line number Diff line change @@ -33,16 +33,16 @@ export class WebSocketBean implements IWebSocketBean {
3333 // Notify connection success or reconnection success
3434 this . reconnect . stop ( ) ;
3535
36+ // Update status to connected
37+ this . status = WebSocketStatusEnum . open ;
38+
3639 // Call lifecycle method
3740 if ( this . param . onopen ) await this . param . onopen ( ) ;
3841
3942 if ( restart && this . param . onReconnectSuccess ) {
4043 await this . param . onReconnectSuccess ( ) ;
4144 }
4245
43- // Update status to connected
44- this . status = WebSocketStatusEnum . open ;
45-
4646 // Notify to send data
4747 this . sendObj . onopen ( ) ;
4848 } ;
You can’t perform that action at this time.
0 commit comments