vani-meeting-client 1.3.0 → 1.3.2

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.
@@ -376,11 +376,11 @@ var SFUHandler = /** @class */ (function (_super) {
376
376
  var _this = this;
377
377
  return __generator(this, function (_a) {
378
378
  this.device.observer.on("newtransport", function (transport) {
379
- transport.on("connect", function (dtlsParameters, _callback, errback) { return __awaiter(_this, void 0, void 0, function () {
379
+ transport.on("connect", function (transportLocalParameters, _callback, errback) { return __awaiter(_this, void 0, void 0, function () {
380
380
  var messageJson;
381
381
  return __generator(this, function (_a) {
382
382
  this.transportCallBacks[transport.id] = _callback;
383
- messageJson = { to: "self", type: SFUMessageType.OnTransportConnect, message: { type: transport.appData.type, transportId: transport.id, dtlsParameters: dtlsParameters } };
383
+ messageJson = { to: "self", type: SFUMessageType.OnTransportConnect, message: { type: transport.appData.type, transportId: transport.id, dtlsParameters: transportLocalParameters.dtlsParameters } };
384
384
  this.sendSFUMessageToSocket(messageJson);
385
385
  return [2 /*return*/];
386
386
  });
@@ -660,7 +660,6 @@ var SFUHandler = /** @class */ (function (_super) {
660
660
  };
661
661
  SFUHandler.prototype.onAudioVolumeChanged = function (data) {
662
662
  var _a, _b;
663
- console.log("onAudioVolumeChanged", data);
664
663
  if (data && data.message && data.message.userId) {
665
664
  var speakerId = data.message.userId;
666
665
  var participant = (_a = this.communicationHandler) === null || _a === void 0 ? void 0 : _a.participantByUserId(speakerId);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vani-meeting-client",
3
- "version": "1.3.0",
3
+ "version": "1.3.2",
4
4
  "description": "Vani Meeting Clinet SDK",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -35,7 +35,7 @@
35
35
  },
36
36
  "homepage": "https://vanimeetings.com/",
37
37
  "devDependencies": {
38
- "@types/node": "^18.14.4",
38
+ "@types/node": "^16.11.11",
39
39
 
40
40
  "prettier": "^2.5.0",
41
41
  "tslint": "^6.1.3",
@@ -49,5 +49,6 @@
49
49
  "loglevel": "^1.8.0",
50
50
  "mediasoup-client": "^3.6.68",
51
51
  "react-native-google-analytics-bridge": "^7.1.0"
52
- }
52
+ },
53
+ "optionalDependencies": {}
53
54
  }