vani-meeting-client-native 0.2.0 → 0.2.1

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.
@@ -201,7 +201,9 @@ var CommunicationHandler = /** @class */ (function () {
201
201
  userId = participant.userId.split("-").at(0);
202
202
  }
203
203
  catch (err) { }
204
- participant.userId = userId + "_" + new Date().getTime();
204
+ if (this.meetingStartRequest && this.meetingStartRequest && this.meetingStartRequest.renewUserIdOnEveryReconnection) {
205
+ participant.userId = userId + "_" + new Date().getTime();
206
+ }
205
207
  };
206
208
  CommunicationHandler.prototype.getSelfParticipant = function () {
207
209
  var _a;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vani-meeting-client-native",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Vani Meeting Clinet SDK",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",