vani-meeting-server 1.3.1 → 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.
@@ -81,11 +81,17 @@ class RedisHandler {
81
81
  async removeParticipantForRoom(roomId, participant) {
82
82
  const participantKey = RedisKeyType.Participants + ":" + participant.userId;
83
83
  await this.redisClient.hDel(roomId, participantKey);
84
+ console.log("removeParticipantForRoom =====");
85
+ console.log(await this.getAllParticipants(roomId));
86
+ console.log("removeParticipantForRoom +++++");
84
87
  this.updateRoomCleanupTimeOut(roomId);
85
88
  }
86
89
  async addUpdateParticipantForRoom(roomId, participant) {
87
90
  const participantKey = RedisKeyType.Participants + ":" + participant.userId;
88
91
  await this.redisClient.hSet(roomId, participantKey, JSON.stringify(participant));
92
+ console.log("addUpdateParticipantForRoom =====");
93
+ console.log(await this.getAllParticipants(roomId));
94
+ console.log("addUpdateParticipantForRoom +++++");
89
95
  this.updateRoomCleanupTimeOut(roomId);
90
96
  }
91
97
  async getParticipantByUserId(roomId, userId) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vani-meeting-server",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "description": "Vani Meeting Server SDK",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",