vani-meeting-client 1.8.8 → 1.9.0

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.
@@ -11,7 +11,7 @@ export declare class MeetingHandler {
11
11
  private websocketCallHandler?;
12
12
  private communicationHandler?;
13
13
  private userMediaHandler?;
14
- meetingStartRequestObject(roomId: string, userId: string, appId: string, wssUrl: string): MeetingStartRequest;
14
+ meetingStartRequestObject(roomId: string, userId: string, appId: string, wssUrl: string, shouldIgnoreCaseForRoomId?: boolean): MeetingStartRequest;
15
15
  endAndDestory(): void;
16
16
  requestToCloseTheRoom: () => void;
17
17
  init(): Promise<void>;
@@ -88,12 +88,13 @@ var MeetingHandler = /** @class */ (function () {
88
88
  });
89
89
  }); };
90
90
  }
91
- MeetingHandler.prototype.meetingStartRequestObject = function (roomId, userId, appId, wssUrl) {
91
+ MeetingHandler.prototype.meetingStartRequestObject = function (roomId, userId, appId, wssUrl, shouldIgnoreCaseForRoomId) {
92
+ if (shouldIgnoreCaseForRoomId === void 0) { shouldIgnoreCaseForRoomId = false; }
92
93
  if (!this.meetingStartRequest) {
93
94
  if (roomId === userId) {
94
95
  roomId = roomId + "-r";
95
96
  }
96
- this.meetingStartRequest = new MeetingStartRequest(roomId, userId, appId, wssUrl);
97
+ this.meetingStartRequest = new MeetingStartRequest(roomId, userId, appId, wssUrl, shouldIgnoreCaseForRoomId);
97
98
  }
98
99
  return this.meetingStartRequest;
99
100
  };
@@ -51,5 +51,5 @@ export declare class MeetingStartRequest {
51
51
  shouldKeepTryToReconnect: boolean;
52
52
  shouldIgnoreCaseForRoomId: boolean;
53
53
  urlToCheckInternetPresent: string;
54
- constructor(_roomId: string, _userId: string, _appId: string, _wssUrl: string);
54
+ constructor(_roomId: string, _userId: string, _appId: string, _wssUrl: string, _shouldIgnoreCaseForRoomId?: boolean);
55
55
  }
@@ -20,7 +20,8 @@ export var LogLevel;
20
20
  LogLevel["Debug"] = "Debug";
21
21
  })(LogLevel || (LogLevel = {}));
22
22
  var MeetingStartRequest = /** @class */ (function () {
23
- function MeetingStartRequest(_roomId, _userId, _appId, _wssUrl) {
23
+ function MeetingStartRequest(_roomId, _userId, _appId, _wssUrl, _shouldIgnoreCaseForRoomId) {
24
+ if (_shouldIgnoreCaseForRoomId === void 0) { _shouldIgnoreCaseForRoomId = false; }
24
25
  this.videoCaptureWidth = 0;
25
26
  this.videoCaptureHeight = 0;
26
27
  this.defaultWhiteboardEditEnable = true;
@@ -48,6 +49,7 @@ var MeetingStartRequest = /** @class */ (function () {
48
49
  this.shouldKeepTryToReconnect = false;
49
50
  this.shouldIgnoreCaseForRoomId = false;
50
51
  this.urlToCheckInternetPresent = "https://en.wikipedia.org/w/api.php?format=json&action=query&prop=extracts&exintro&explaintext&redirects=1&titles=Stack%20Overflow";
52
+ this.shouldIgnoreCaseForRoomId = _shouldIgnoreCaseForRoomId;
51
53
  if (this.shouldIgnoreCaseForRoomId) {
52
54
  this.roomId = _roomId;
53
55
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vani-meeting-client",
3
- "version": "1.8.8",
3
+ "version": "1.9.0",
4
4
  "description": "Vani Meeting Clinet SDK",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",