vani-meeting-client 0.6.5 → 0.6.6

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.
@@ -137,6 +137,7 @@ var WebsocketHandler = /** @class */ (function (_super) {
137
137
  if (this.wss) {
138
138
  this.wss.close();
139
139
  this.wss = undefined;
140
+ console.log("this.wss undefined cleanup ");
140
141
  }
141
142
  if (this.socketCheckTimeout) {
142
143
  window.clearTimeout(this.socketCheckTimeout);
@@ -231,6 +232,7 @@ var WebsocketHandler = /** @class */ (function (_super) {
231
232
  };
232
233
  this.wss.onerror = function (event) {
233
234
  var _a;
235
+ console.log("wss error", event);
234
236
  _this.isWebSocketConnectionInProgress = false;
235
237
  (_a = _this.communicationHandler) === null || _a === void 0 ? void 0 : _a.emitMessageToSource(VaniEvent.OnSocketError, event);
236
238
  if (_this.wss) {
@@ -257,7 +259,7 @@ var WebsocketHandler = /** @class */ (function (_super) {
257
259
  if (this.wss && this.wss.readyState === 1) {
258
260
  return true;
259
261
  }
260
- console.log("this.wss.readyState", (_a = this.wss) === null || _a === void 0 ? void 0 : _a.readyState);
262
+ console.log("this.wss.readyState", this.wss, (_a = this.wss) === null || _a === void 0 ? void 0 : _a.readyState);
261
263
  return false;
262
264
  };
263
265
  WebsocketHandler.prototype.sendSocketMessage = function (type, data) {
@@ -274,6 +276,7 @@ var WebsocketHandler = /** @class */ (function (_super) {
274
276
  (_a = this.communicationHandler) === null || _a === void 0 ? void 0 : _a.emitMessageToSource(VaniEvent.OnReconecting, {});
275
277
  this.wss.close(3005);
276
278
  this.wss = undefined;
279
+ console.log("this.wss undefined reconnectOnInternetFailur ");
277
280
  this.connection = ConnectionType.reconnect;
278
281
  this.connect(true);
279
282
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vani-meeting-client",
3
- "version": "0.6.5",
3
+ "version": "0.6.6",
4
4
  "description": "Vani Meeting Clinet SDK",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",