@rongcloud/engine 5.1.0-custom-qihoo.1 → 5.1.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/dist/index.d.ts +9 -7
- package/dist/index.esm.js +2 -2
- package/dist/index.js +2 -2
- package/dist/index.umd.js +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* RCEngine - v5.1.
|
|
3
|
-
* CommitId -
|
|
4
|
-
*
|
|
2
|
+
* RCEngine - v5.1.1
|
|
3
|
+
* CommitId - 41dbe38d1b376ca0a791b23ed94be291e3f92e81
|
|
4
|
+
* Mon Jan 17 2022 19:48:11 GMT+0800 (China Standard Time)
|
|
5
5
|
* ©2020 RongCloud, Inc. All rights reserved.
|
|
6
6
|
*/
|
|
7
7
|
/**
|
|
@@ -980,6 +980,10 @@ declare enum ErrorCode {
|
|
|
980
980
|
EXTRA_METHOD_UNDEFINED = -4,
|
|
981
981
|
/** 主进程内方法错误 */
|
|
982
982
|
MAIN_PROCESS_ERROR = -5,
|
|
983
|
+
/**
|
|
984
|
+
* 参数变更
|
|
985
|
+
*/
|
|
986
|
+
PARAMETER_CHANGED = -6,
|
|
983
987
|
/**
|
|
984
988
|
* 成功
|
|
985
989
|
*/
|
|
@@ -3974,10 +3978,8 @@ interface IWatcher {
|
|
|
3974
3978
|
onDisconnect?: () => void;
|
|
3975
3979
|
onSuspend?: () => void;
|
|
3976
3980
|
readReceiptReceived?: (conversation: IConversationOption, messageUId: string, sentTime: number) => void;
|
|
3977
|
-
messageReceiptRequest?: (conversation: IConversationOption, messageUId: string) => void;
|
|
3978
|
-
messageReceiptResponse?: (conversation: IConversationOption,
|
|
3979
|
-
[responseUserIdList: string]: number;
|
|
3980
|
-
}) => void;
|
|
3981
|
+
messageReceiptRequest?: (conversation: IConversationOption, messageUId: string, senderUserId: string) => void;
|
|
3982
|
+
messageReceiptResponse?: (conversation: IConversationOption, receivedUserId: string, messageUIdList: string[]) => void;
|
|
3981
3983
|
/**
|
|
3982
3984
|
* 敏感词被拦截监听
|
|
3983
3985
|
*/
|