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/CHANGELOG.md +6 -0
- package/Easemob-chat.d.ts +36 -5
- package/Easemob-chat.js +1 -1
- package/chatroom/chatroom.d.ts +14 -0
- package/chatroom/chatroom.js +1 -1
- package/contact/contact.d.ts +2 -0
- package/contact/contact.js +1 -1
- package/group/group.d.ts +3 -3
- package/miniCore/miniCore.d.ts +2 -2
- package/miniCore/miniCore.js +1 -1
- package/miniProgram/Easemob-chat.js +1 -1
- package/package.json +1 -1
- package/types/chatRoomApi.d.ts +8 -0
- package/types/message.d.ts +1 -0
- package/uniApp/Easemob-chat.js +1 -1
package/package.json
CHANGED
package/types/chatRoomApi.d.ts
CHANGED
|
@@ -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
|
};
|