mezon-js 2.7.76 → 2.7.77

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mezon-js",
3
- "version": "2.7.76",
3
+ "version": "2.7.77",
4
4
  "scripts": {
5
5
  "build": "npx tsc && npx rollup -c --bundleConfigAsCjs && node build.mjs"
6
6
  },
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