vani-meeting-client 0.2.2 → 0.2.3

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.
@@ -425,13 +425,14 @@ var WebsocketHandler = /** @class */ (function (_super) {
425
425
  };
426
426
  WebsocketHandler.prototype.checkIfPingIsRunning = function () {
427
427
  var _this = this;
428
- var _a;
428
+ var _a, _b;
429
429
  console.log("checkIfPingIsRunning");
430
430
  if (this.isWebScoketConnected()) {
431
431
  if ((this.lastPingTimeStamp + (40 * 1000)) < new Date().getTime()) {
432
432
  this.pingCheckTimeout = undefined;
433
433
  //Discounted
434
434
  (_a = this.communicationHandler) === null || _a === void 0 ? void 0 : _a.onIceCandidateDisconnected();
435
+ (_b = this.communicationHandler) === null || _b === void 0 ? void 0 : _b.emitMessageToSource(VaniEvent.OnNotReachable, {});
435
436
  }
436
437
  else {
437
438
  this.pingCheckTimeout = window.setTimeout(function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vani-meeting-client",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "Vani Meeting Clinet SDK",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",