vani-meeting-client 1.4.8 → 1.4.9

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.
@@ -381,6 +381,7 @@ var WebsocketHandler = /** @class */ (function (_super) {
381
381
  WebsocketHandler.prototype.onMessage = function (message) {
382
382
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
383
383
  this.lastPingTimeStamp = new Date().getTime();
384
+ console.log("lastPingTimeStamp time ", this.lastPingTimeStamp);
384
385
  var messagejson = JSON.parse(message);
385
386
  if (messagejson.type && messagejson.data) {
386
387
  var type = messagejson.type;
@@ -482,6 +483,7 @@ var WebsocketHandler = /** @class */ (function (_super) {
482
483
  if (this.isWebScoketConnected()) {
483
484
  if ((this.lastPingTimeStamp + (40 * 1000)) < new Date().getTime()) {
484
485
  this.pingCheckTimeout = undefined;
486
+ console.log("checkIfPingIsRunning", this.lastPingTimeStamp);
485
487
  //Discounted
486
488
  (_a = this.communicationHandler) === null || _a === void 0 ? void 0 : _a.onIceCandidateDisconnected();
487
489
  (_b = this.communicationHandler) === null || _b === void 0 ? void 0 : _b.emitMessageToSource(VaniEvent.OnNotReachable, {});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vani-meeting-client",
3
- "version": "1.4.8",
3
+ "version": "1.4.9",
4
4
  "description": "Vani Meeting Clinet SDK",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",