vani-meeting-client 1.6.5 → 1.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.
@@ -385,9 +385,16 @@ var WebsocketHandler = /** @class */ (function (_super) {
385
385
  this.sendSocketMessage(WebSocketBasicEvents.IsSetupDone, checkIfSetupDone);
386
386
  log.info("Vani setupDone asked");
387
387
  window.setTimeout(function () {
388
- var _a;
389
- if (_this.isSetUpDone || _this.setUpTry > 15) {
390
- (_a = _this.communicationHandler) === null || _a === void 0 ? void 0 : _a.emitMessageToSource(VaniEvent.OnSocketError, {});
388
+ if (_this.isSetUpDone) {
389
+ return;
390
+ }
391
+ else if (_this.setUpTry > 15) {
392
+ setTimeout(function () {
393
+ var _a;
394
+ if (!_this.isSetUpDone) {
395
+ (_a = _this.communicationHandler) === null || _a === void 0 ? void 0 : _a.emitMessageToSource(VaniEvent.OnSocketError, {});
396
+ }
397
+ }, 10000);
391
398
  return;
392
399
  }
393
400
  _this.askIfSetupDone();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vani-meeting-client",
3
- "version": "1.6.5",
3
+ "version": "1.6.6",
4
4
  "description": "Vani Meeting Clinet SDK",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",