@rongcloud/engine 5.6.2-beem-alpha.3 → 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 +2 -4
- package/index.esm.js +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -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
|
*/
|