vani-meeting-client 2.2.1-beta1 → 2.2.1-beta3

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.
@@ -259,6 +259,12 @@ var WebsocketHandler = /** @class */ (function (_super) {
259
259
  if (!url_1 && ((_a = this.meetingStartRequest) === null || _a === void 0 ? void 0 : _a.wssUrl) && this.meetingStartRequest.wssUrl !== null) {
260
260
  url_1 = this.meetingStartRequest.wssUrl;
261
261
  }
262
+ if (!url_1 && this.websocketConnectionUrl) {
263
+ url_1 = this.websocketConnectionUrl;
264
+ }
265
+ if (!url_1) {
266
+ return [2 /*return*/];
267
+ }
262
268
  if (url_1 !== this.websocketConnectionUrl) {
263
269
  if (this.wss) {
264
270
  this.wss.close();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vani-meeting-client",
3
- "version": "2.2.1beta1",
3
+ "version": "2.2.1beta3",
4
4
  "description": "Vani Meeting Clinet SDK",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",