@rongcloud/engine 4.6.0-beem.10 → 4.6.0-beem.11
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 +8 -5
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- 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.11
|
|
3
|
+
* CommitId - dc5878afdcc5cfd598d431d47b48c4af5528ebfe
|
|
4
|
+
* Tue Jun 28 2022 10:49:18 GMT+0800 (China Standard Time)
|
|
5
5
|
* ©2020 RongCloud, Inc. All rights reserved.
|
|
6
6
|
*/
|
|
7
7
|
/**
|
|
@@ -3296,6 +3296,10 @@ interface IEngine {
|
|
|
3296
3296
|
* @param checkCA
|
|
3297
3297
|
*/
|
|
3298
3298
|
getNaviInfo(uris: string[], appkey: string, token: string, checkCA?: boolean): Promise<INaviInfo | null>;
|
|
3299
|
+
/**
|
|
3300
|
+
* 从缓存获取navi
|
|
3301
|
+
*/
|
|
3302
|
+
getNaviInfoFromCache(): INaviInfo | null;
|
|
3299
3303
|
/**
|
|
3300
3304
|
* 上报版本信息
|
|
3301
3305
|
* @param version
|
|
@@ -4749,7 +4753,6 @@ declare abstract class AEngine implements IEngine {
|
|
|
4749
4753
|
protected readonly _appkey: string;
|
|
4750
4754
|
protected readonly _apiVer: string;
|
|
4751
4755
|
protected readonly _apiVersion: string;
|
|
4752
|
-
protected _naviInfo: INaviInfo | null;
|
|
4753
4756
|
/**
|
|
4754
4757
|
* 引擎初始化
|
|
4755
4758
|
* @param _appkey
|
|
@@ -4769,7 +4772,7 @@ declare abstract class AEngine implements IEngine {
|
|
|
4769
4772
|
*/
|
|
4770
4773
|
getInfo(token: string, dynamicUris: string[], force: boolean, checkCA?: boolean): Promise<INaviInfo | null>;
|
|
4771
4774
|
protected setNaviInfo2Cache(token: string, naviInfo: INaviInfo): void;
|
|
4772
|
-
|
|
4775
|
+
abstract getNaviInfoFromCache(): INaviInfo | null;
|
|
4773
4776
|
/**
|
|
4774
4777
|
* 清空导航数据:内存数据、缓存数据
|
|
4775
4778
|
*/
|