easemob-websdk 4.8.0 → 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 +5 -0
- package/Easemob-chat.d.ts +2 -0
- package/miniCore/miniCore.d.ts +2 -0
- package/miniProgram/Easemob-chat.js +1 -1
- package/package.json +1 -1
- package/uniApp/Easemob-chat.js +1 -1
package/CHANGELOG.md
CHANGED
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
|
|
package/miniCore/miniCore.d.ts
CHANGED
|
@@ -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: {
|