@pisell/core 1.1.5 → 1.1.6
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/es/indexDB/index.d.ts +2 -2
- package/es/indexDB/index.js +620 -569
- package/es/routes/index.d.ts +1 -1
- package/es/socket/monitor.js +2 -0
- package/es/socket/types.d.ts +3 -2
- package/lib/applicationManager/index.js +3 -1
- package/lib/indexDB/index.d.ts +2 -2
- package/lib/indexDB/index.js +184 -289
- package/lib/routes/index.d.ts +1 -1
- package/lib/socket/monitor.js +2 -0
- package/lib/socket/types.d.ts +3 -2
- package/package.json +9 -8
package/es/indexDB/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import App from "../app";
|
|
|
2
2
|
/**
|
|
3
3
|
* IndexDB 管理器模块
|
|
4
4
|
*
|
|
5
|
-
*
|
|
5
|
+
* 这个模块使用 Dexie.js 提供了对浏览器 IndexedDB 的简单封装,并在不支持 IndexedDB 的环境中
|
|
6
6
|
* 自动降级使用内存存储作为备选存储方案。
|
|
7
7
|
*/
|
|
8
8
|
/**
|
|
@@ -34,7 +34,7 @@ export interface DBOptions {
|
|
|
34
34
|
}
|
|
35
35
|
/**
|
|
36
36
|
* IndexDB 管理器类
|
|
37
|
-
* 提供对 IndexedDB
|
|
37
|
+
* 使用 Dexie.js 提供对 IndexedDB 的封装,支持自动降级到内存存储
|
|
38
38
|
* @class IndexDBManager
|
|
39
39
|
*/
|
|
40
40
|
declare class IndexDBManager {
|