easemob-websdk 4.8.0-beta → 4.8.1-beta

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 CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changes to easemob chat
2
2
 
3
+ # 4.8.1 (Jul 2, 2024)
4
+
5
+ - Fix the mini program is not able to report logs
6
+ - Fix not export types issue
7
+
3
8
  # 4.8.0 (June 28, 2024)
4
9
 
5
10
  - `onDisconnected` event add callback params to give the disconnected reason.
package/Easemob-chat.d.ts CHANGED
@@ -1559,6 +1559,8 @@ export declare namespace EasemobChat {
1559
1559
  private reconnect(): void;
1560
1560
  /** send message */
1561
1561
  send(params: MessageBody): Promise<SendMsgResult>;
1562
+ /** Set custom extensions for login information. When a multi-device login is kicked, the custom extension information will be passed to the kicked device. */
1563
+ setLoginInfoCustomExt(ext: string): void;
1562
1564
  /** Updates token. */
1563
1565
  renewToken(token: string): Promise<NewTokenResult>;
1564
1566
 
@@ -150,6 +150,8 @@ declare class MiniCore {
150
150
  isOpened(): boolean;
151
151
  open(params: OpenParams): Promise<LoginResult>;
152
152
  send(params: MessageBody): Promise<SendMsgResult>;
153
+ /** Set custom extensions for login information. When a multi-device login is kicked, the custom extension information will be passed to the kicked device. */
154
+ setLoginInfoCustomExt(ext: string): void;
153
155
  /** Closes the connection. */
154
156
  close(): void;
155
157
  registerUser(params: {