mezon-js 2.7.76 → 2.7.77
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/socket.d.ts +2 -0
- package/package.json +1 -1
- package/socket.ts +3 -0
package/dist/socket.d.ts
CHANGED
@@ -399,6 +399,8 @@ interface StatusUpdate {
|
|
399
399
|
}
|
400
400
|
/** A socket connection to Mezon server. */
|
401
401
|
export interface Socket {
|
402
|
+
/** Connection is Open */
|
403
|
+
isOpen(): boolean;
|
402
404
|
/** Connect to the server. */
|
403
405
|
connect(session: Session, createStatus: boolean): Promise<Session>;
|
404
406
|
/** Disconnect from the server. */
|
package/package.json
CHANGED
package/socket.ts
CHANGED
@@ -550,6 +550,9 @@ interface StatusUpdate {
|
|
550
550
|
|
551
551
|
/** A socket connection to Mezon server. */
|
552
552
|
export interface Socket {
|
553
|
+
/** Connection is Open */
|
554
|
+
isOpen(): boolean;
|
555
|
+
|
553
556
|
/** Connect to the server. */
|
554
557
|
connect(session: Session, createStatus: boolean): Promise<Session>;
|
555
558
|
|