@rongcloud/engine 4.6.0-beem.2 → 4.6.0-beem.3
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 +23 -4
- 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 - v4.6.0-beem.
|
|
3
|
-
* CommitId -
|
|
4
|
-
*
|
|
2
|
+
* RCEngine - v4.6.0-beem.3
|
|
3
|
+
* CommitId - 4d8902d56507c194e9555a4aadf89076191979c7
|
|
4
|
+
* Wed Mar 09 2022 16:28:00 GMT+0800 (China Standard Time)
|
|
5
5
|
* ©2020 RongCloud, Inc. All rights reserved.
|
|
6
6
|
*/
|
|
7
7
|
/**
|
|
@@ -2881,6 +2881,10 @@ declare enum MessageType {
|
|
|
2881
2881
|
* 消息送达报告,仅单聊
|
|
2882
2882
|
*/
|
|
2883
2883
|
DELIVERED = "RC:Delivered",
|
|
2884
|
+
/**
|
|
2885
|
+
* 消息送达状态报告,仅群聊
|
|
2886
|
+
*/
|
|
2887
|
+
DELIVERED_MSG = "RC:DRMsg",
|
|
2884
2888
|
CHATROOM_JOIN = "RC:ChrmJoinNtf",
|
|
2885
2889
|
/**
|
|
2886
2890
|
* 用户退出聊天室
|
|
@@ -3243,6 +3247,14 @@ interface IMessageDeliver {
|
|
|
3243
3247
|
conversationType: ConversationType;
|
|
3244
3248
|
targetId: string;
|
|
3245
3249
|
}
|
|
3250
|
+
interface IGroupMessageDeliveredStatusInfo {
|
|
3251
|
+
MessageUId: string;
|
|
3252
|
+
deliveryCount: number;
|
|
3253
|
+
}
|
|
3254
|
+
interface IGroupMessageDeliverStatus {
|
|
3255
|
+
totalCount: number;
|
|
3256
|
+
list: IGroupMessageDeliveredStatusInfo[];
|
|
3257
|
+
}
|
|
3246
3258
|
|
|
3247
3259
|
/**
|
|
3248
3260
|
* engine 基本接口定义,用于约束 Electron 下主进程、渲染进程、JSEngine 的编码一致性
|
|
@@ -3799,6 +3811,7 @@ declare type ITagListener = () => void;
|
|
|
3799
3811
|
declare type IConversationTagListener = () => void;
|
|
3800
3812
|
declare type ItypingStateListener = (data: ITypingMessage[]) => void;
|
|
3801
3813
|
declare type IMessageDeliveredListener = (data: IMessageDeliver[]) => void;
|
|
3814
|
+
declare type IGroupMessageDeliveredStatusListener = (data: IGroupMessageDeliverStatus) => void;
|
|
3802
3815
|
declare type IMessageBlockedListener = (data: IBlockedMessageInfo) => void;
|
|
3803
3816
|
interface ISendExMsgOptions {
|
|
3804
3817
|
channelId: string;
|
|
@@ -3863,6 +3876,10 @@ interface IWatcher {
|
|
|
3863
3876
|
* 单聊消息送达通知
|
|
3864
3877
|
*/
|
|
3865
3878
|
messageDelivered?: IMessageDeliveredListener;
|
|
3879
|
+
/**
|
|
3880
|
+
* 群聊消息送达状态通知
|
|
3881
|
+
*/
|
|
3882
|
+
groupMessageDeliveredStatus?: IGroupMessageDeliveredStatusListener;
|
|
3866
3883
|
messageBlocked?: IMessageBlockedListener;
|
|
3867
3884
|
}
|
|
3868
3885
|
interface IPluginGenerator<API, InitOption> {
|
|
@@ -4019,6 +4036,7 @@ declare class APIContext {
|
|
|
4019
4036
|
private _typingStatusListener;
|
|
4020
4037
|
private _pullFinishedListener;
|
|
4021
4038
|
private _messageDeliveredListerer;
|
|
4039
|
+
private _groupMessageDeliveredStatusListerer;
|
|
4022
4040
|
private _MessageBlockedListener;
|
|
4023
4041
|
private _callInfoListener;
|
|
4024
4042
|
/**
|
|
@@ -4684,6 +4702,7 @@ interface IEngineWatcher {
|
|
|
4684
4702
|
onRTCDataChange: (data: IServerRTCRoomEntry[], roomId?: string) => void;
|
|
4685
4703
|
pullFinished: () => void;
|
|
4686
4704
|
messageDelivered: (data: IMessageDeliver[]) => void;
|
|
4705
|
+
groupMessageDeliveredStatus: (data: IGroupMessageDeliverStatus) => void;
|
|
4687
4706
|
callInfo: (data: string) => void;
|
|
4688
4707
|
}
|
|
4689
4708
|
/**
|
|
@@ -5695,4 +5714,4 @@ declare enum CONNECTION_TYPE {
|
|
|
5695
5714
|
*/
|
|
5696
5715
|
declare const version: string;
|
|
5697
5716
|
|
|
5698
|
-
export { AEngine, ANavi, APIContext, AppStorage, AssertRules, CONNECTION_TYPE, CPP_PROTOCAL_MSGTYPE_OPTION, CallLibMsgType, ChatroomEntryType, ChatroomUserChangeType as ChatroomMemberChangeType, CometChannel, ConnectResultCode, ConnectionStatus, ConversationType, DelayTimer, ErrorCode, EventEmitter, FileType, HttpMethod, IAPIContextOption, IAsyncRes, IBlockedMessageInfo, IChatroomEntries, IChatroomEntry, IChatroomInfo, IChatroomListener, IChatroomListenerData, IChrmKVEntries, IChrmKVEntry, IConnectResult, IConnectionStatusListener, IConversationOption, IConversationStateListener, IConversationTag, IConversationTagListener, IDataChannelWatcher, IDeletedExpansion, IDeliveredUser, IEngine, IEngineWatcher, IExpansionListener, IExpansionListenerData, IExpansionMsgContent, IExtraMethod, IGroupMessageDeliverInfo, IInsertMsgOptions, IJoinRTCRoomData, ILocalReadReceiptInfo, ILocalTagStatus, IM_COMET_PULLMSG_TIMEOUT, IM_PING_INTERVAL_TIME, IM_PING_MIN_TIMEOUT, IM_PING_TIMEOUT, IM_SIGNAL_TIMEOUT, IMessageBlockedListener, IMessageDeliver, IMessageDeliveredListener, IMessageListnenr, IMessageReader, IMessageReaderResponse, IMetionedData, INaviInfo, IPluginGenerator, IPromiseResult, IPushConfig, IRTCInnerListener, IRTCJoinedInfo, IRTCRoomInfo, IRTCUsers, IReadReceiptInfo, IRecallMsgOptions, IReceivedConversation, IReceivedConversationByTag, IReceivedMessage, IRemoveChatRoomEntriesOption, IRemoveChatRoomEntryOption, IRequest, IResponse, IRtcTokenData, IRuntime, ISendExMsgOptions, ISendMsgOptions, IServerConversationStatus, IServerRTCRoomEntry, IServerUserSetting, ISetConversationStatusOptions, IStorage, ITagInfo, ITagListener, ITagParam, ITagStatus, ITypingInfo, ITypingMessage, ITypingUser, IUpdatedConversation, IUpdatedExpansion, IUploadAuth, IUserProfile, IWatcher, IWebSocket, ItypingStateListener, KVString, LiveRole, LiveType, LogLevel, LogType, Logger, MAX_MESSAGE_CONTENT_BYTES, MINI_COMET_CONNECT_URIS, MINI_SOCKET_CONNECT_URIS, MentionedType, MessageBlockType, MessageDirection, MessageType, NAVI_CACHE_DURATION, NAVI_REQ_TIMEOUT, NotificationStatus, PING_REQ_TIMEOUT, PUBLIC_CLOUD_NAVI_URIS, PluginContext, RCAssertError, RTCApiType, RTCIdentityChangeType, RTCJoinType, RTCMode, RTCPluginContext, ReceivedStatus, SEND_MESSAGE_TYPE_OPTION, STATUS_MESSAGE, STORAGE_ROOT_KEY, TagChangeType, UploadMethod, VersionManage, WEB_SOCKET_TIMEOUT, WebSocketChannel, appendUrl, assert, cloneByJSON, forEach, formatConnectResponseCode, getBrowser, getMimeKey, getUploadFileName, indexOf, isArray, isArrayBuffer, isBoolean, isFunction, isHttpUrl, isInObject, isInclude, isNull, isNumber, isObject, isString, isUndefined, isValidChrmEntryKey, isValidChrmEntryValue, isValidConversationType, isValidFileType, map, notEmptyArray, notEmptyObject, notEmptyString, pushConfigsToJSON, pushJSONToConfigs, todo, usingCppEngine, validate, version };
|
|
5717
|
+
export { AEngine, ANavi, APIContext, AppStorage, AssertRules, CONNECTION_TYPE, CPP_PROTOCAL_MSGTYPE_OPTION, CallLibMsgType, ChatroomEntryType, ChatroomUserChangeType as ChatroomMemberChangeType, CometChannel, ConnectResultCode, ConnectionStatus, ConversationType, DelayTimer, ErrorCode, EventEmitter, FileType, HttpMethod, IAPIContextOption, IAsyncRes, IBlockedMessageInfo, IChatroomEntries, IChatroomEntry, IChatroomInfo, IChatroomListener, IChatroomListenerData, IChrmKVEntries, IChrmKVEntry, IConnectResult, IConnectionStatusListener, IConversationOption, IConversationStateListener, IConversationTag, IConversationTagListener, IDataChannelWatcher, IDeletedExpansion, IDeliveredUser, IEngine, IEngineWatcher, IExpansionListener, IExpansionListenerData, IExpansionMsgContent, IExtraMethod, IGroupMessageDeliverInfo, IGroupMessageDeliverStatus, IGroupMessageDeliveredStatusListener, IInsertMsgOptions, IJoinRTCRoomData, ILocalReadReceiptInfo, ILocalTagStatus, IM_COMET_PULLMSG_TIMEOUT, IM_PING_INTERVAL_TIME, IM_PING_MIN_TIMEOUT, IM_PING_TIMEOUT, IM_SIGNAL_TIMEOUT, IMessageBlockedListener, IMessageDeliver, IMessageDeliveredListener, IMessageListnenr, IMessageReader, IMessageReaderResponse, IMetionedData, INaviInfo, IPluginGenerator, IPromiseResult, IPushConfig, IRTCInnerListener, IRTCJoinedInfo, IRTCRoomInfo, IRTCUsers, IReadReceiptInfo, IRecallMsgOptions, IReceivedConversation, IReceivedConversationByTag, IReceivedMessage, IRemoveChatRoomEntriesOption, IRemoveChatRoomEntryOption, IRequest, IResponse, IRtcTokenData, IRuntime, ISendExMsgOptions, ISendMsgOptions, IServerConversationStatus, IServerRTCRoomEntry, IServerUserSetting, ISetConversationStatusOptions, IStorage, ITagInfo, ITagListener, ITagParam, ITagStatus, ITypingInfo, ITypingMessage, ITypingUser, IUpdatedConversation, IUpdatedExpansion, IUploadAuth, IUserProfile, IWatcher, IWebSocket, ItypingStateListener, KVString, LiveRole, LiveType, LogLevel, LogType, Logger, MAX_MESSAGE_CONTENT_BYTES, MINI_COMET_CONNECT_URIS, MINI_SOCKET_CONNECT_URIS, MentionedType, MessageBlockType, MessageDirection, MessageType, NAVI_CACHE_DURATION, NAVI_REQ_TIMEOUT, NotificationStatus, PING_REQ_TIMEOUT, PUBLIC_CLOUD_NAVI_URIS, PluginContext, RCAssertError, RTCApiType, RTCIdentityChangeType, RTCJoinType, RTCMode, RTCPluginContext, ReceivedStatus, SEND_MESSAGE_TYPE_OPTION, STATUS_MESSAGE, STORAGE_ROOT_KEY, TagChangeType, UploadMethod, VersionManage, WEB_SOCKET_TIMEOUT, WebSocketChannel, appendUrl, assert, cloneByJSON, forEach, formatConnectResponseCode, getBrowser, getMimeKey, getUploadFileName, indexOf, isArray, isArrayBuffer, isBoolean, isFunction, isHttpUrl, isInObject, isInclude, isNull, isNumber, isObject, isString, isUndefined, isValidChrmEntryKey, isValidChrmEntryValue, isValidConversationType, isValidFileType, map, notEmptyArray, notEmptyObject, notEmptyString, pushConfigsToJSON, pushJSONToConfigs, todo, usingCppEngine, validate, version };
|