easemob-websdk 4.5.0 → 4.5.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easemob-websdk",
3
- "version": "4.5.0",
3
+ "version": "4.5.1",
4
4
  "description": "Easemob chat websdk",
5
5
  "main": "Easemob-chat",
6
6
  "scripts": {
@@ -177,6 +177,8 @@ export interface ChatroomEvent {
177
177
  | {
178
178
  [key: string]: string;
179
179
  };
180
+ /** The member count. For a chat room with more than 2000 members, `memberCount` will not be returned. */
181
+ memberCount?: number;
180
182
  }
181
183
  export interface GroupEvent {
182
184
  /** The type of operation. <br/>
@@ -247,6 +249,8 @@ export interface GroupEvent {
247
249
  name?: string;
248
250
  /** The modified group info. */
249
251
  detail?: GroupModifyInfo;
252
+ /** The member count. */
253
+ memberCount?: number;
250
254
  }
251
255
  interface EventHandlerType {
252
256
  /** @hidden */