@rongcloud/engine 5.6.2-beem-alpha.2 → 5.6.2-beem-alpha.4
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/index.d.ts +8 -10
- package/index.esm.js +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1515,7 +1515,6 @@ declare enum LogTagId {
|
|
|
1515
1515
|
L_DESTROY_O = "L_DESTROY_O",
|
|
1516
1516
|
A_CONNECT_T = "A-connect-T",
|
|
1517
1517
|
A_CONNECT_R = "A-connect-R",
|
|
1518
|
-
A_CONNECT_S = "A-connect-S",
|
|
1519
1518
|
A_DISCONNECT_O = "A-disconnect-O",
|
|
1520
1519
|
A_RECONNECT_T = "A-reconnect-T",
|
|
1521
1520
|
A_RECONNECT_R = "A_RECONNECT_R",
|
|
@@ -1559,10 +1558,6 @@ declare enum LogTagId {
|
|
|
1559
1558
|
* 接收到直发消息
|
|
1560
1559
|
*/
|
|
1561
1560
|
L_RECV_S_MSG_O = "L-recv_s_msg-O",
|
|
1562
|
-
/**
|
|
1563
|
-
* 接收到消息,包括通知拉取、直发、多端同步
|
|
1564
|
-
*/
|
|
1565
|
-
L_RECV_MSG_O = "L-recv_msg-O",
|
|
1566
1561
|
A_DELETE_MESSAGES_S = "A-delete_messages-S",
|
|
1567
1562
|
P_DELETE_MSG_S = "P-delete_msg-S",
|
|
1568
1563
|
L_PULL_CONVERSATION_S = "L-pull_conversation-S",
|
|
@@ -1625,7 +1620,12 @@ declare enum LogTagId {
|
|
|
1625
1620
|
/** 版本号上报 */
|
|
1626
1621
|
L_VER_REPORT_T = "L-VER_REPORT-T",
|
|
1627
1622
|
/** 版本号上报结果 */
|
|
1628
|
-
L_VER_REPORT_R = "L-VER_REPORT-R"
|
|
1623
|
+
L_VER_REPORT_R = "L-VER_REPORT-R",
|
|
1624
|
+
/** 跨进程阻塞调用 */
|
|
1625
|
+
L_CALL_MAIN_SYNC_O = "L_CALL_MAIN_SYNC_O",
|
|
1626
|
+
/** 未知的通知 */
|
|
1627
|
+
L_UNSUPPORT_NTF_FROM_MAIN_E = "L_UNSUPPORT_NTF_FROM_MAIN_E",
|
|
1628
|
+
A_SET_MSG_CONTENT_O = "A_SET_MSG_CONTENT_O"
|
|
1629
1629
|
}
|
|
1630
1630
|
|
|
1631
1631
|
/**
|
|
@@ -3466,7 +3466,6 @@ interface IEngine {
|
|
|
3466
3466
|
*/
|
|
3467
3467
|
connect(token: string, naviInfo: INaviInfo, reconnectKickEnable?: boolean): Promise<ErrorCode>;
|
|
3468
3468
|
requestNaviInfo(uris: string[], appkey: string, token: string, checkCA?: boolean): Promise<INaviInfo | null>;
|
|
3469
|
-
getNaviInfoFromCache(): INaviInfo | null;
|
|
3470
3469
|
/**
|
|
3471
3470
|
* 上报版本信息
|
|
3472
3471
|
* @param version
|
|
@@ -4396,7 +4395,7 @@ declare class IndexDBReporter extends BasicReporter {
|
|
|
4396
4395
|
* 初始化 DB 模块,按 APPKEY 分库,后续需要将日志与业务数据库也分开
|
|
4397
4396
|
* @param appkey
|
|
4398
4397
|
* @param logger
|
|
4399
|
-
* @param expireTime 日志有效期,单位 `h`,默认为 `
|
|
4398
|
+
* @param expireTime 日志有效期,单位 `h`,默认为 `168h`
|
|
4400
4399
|
*/
|
|
4401
4400
|
declare const initLogDB: (appkey: string, logger: ILogger, expireTime?: number) => void;
|
|
4402
4401
|
/**
|
|
@@ -5104,7 +5103,7 @@ interface IAPIContextOption {
|
|
|
5104
5103
|
*/
|
|
5105
5104
|
__reportLogLevel?: EnableLogL;
|
|
5106
5105
|
/**
|
|
5107
|
-
* IndexDB
|
|
5106
|
+
* IndexDB 数据库内的日志有效期,单位为小时,有效值为 `24` - `168`,默认 IndexDB 内日志数据有效期 168 小时
|
|
5108
5107
|
*/
|
|
5109
5108
|
logExpireTime?: number;
|
|
5110
5109
|
}
|
|
@@ -6370,7 +6369,6 @@ declare abstract class AEngine implements IEngine {
|
|
|
6370
6369
|
*/
|
|
6371
6370
|
registerRTCSignalingListener(listener: ((buffer: Uint8Array) => void) | undefined): void;
|
|
6372
6371
|
abstract requestNaviInfo(uris: string[], appkey: string, token: string, checkCA?: boolean): Promise<INaviInfo | null>;
|
|
6373
|
-
abstract updateNaviInfo(naviInfo: INaviInfo): void;
|
|
6374
6372
|
/**
|
|
6375
6373
|
* 为非 engine 包创建 logger 工具实例
|
|
6376
6374
|
*/
|