easemob-websdk 4.6.0 → 4.7.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easemob-websdk",
3
- "version": "4.6.0",
3
+ "version": "4.7.0",
4
4
  "description": "Easemob chat websdk",
5
5
  "main": "Easemob-chat",
6
6
  "scripts": {
@@ -21,6 +21,12 @@ declare type BaseMembers =
21
21
  | {
22
22
  owner: string;
23
23
  };
24
+ type JoinedChatRoomInfo = Pick<
25
+ GetChatRoomDetailsResult,
26
+ 'id' | 'name' | 'owner' | 'created' | 'description' | 'maxusers'
27
+ >;
28
+
29
+ type JoinedChatRoomsResult = JoinedChatRoomInfo[];
24
30
  interface GetChatRoomDetailsResult {
25
31
  /** The list of existing members. */
26
32
  affiliations: BaseMembers[];
@@ -195,4 +201,6 @@ export type {
195
201
  BaseMembers,
196
202
  GetChatroomAttributesResult,
197
203
  ChatroomAttributes,
204
+ JoinedChatRoomInfo,
205
+ JoinedChatRoomsResult,
198
206
  };
@@ -685,6 +685,7 @@ interface RecallMsgBody {
685
685
  from: string;
686
686
  to: string;
687
687
  mid: string;
688
+ ext: string;
688
689
  }
689
690
  interface ModifiedMsgInfo {
690
691
  /** Gets the user ID of the operator that modified the message last time. */