@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/lib/socket/types.d.ts
CHANGED
|
@@ -38,13 +38,14 @@ export declare enum SocketStatus {
|
|
|
38
38
|
/**
|
|
39
39
|
* Socket消息格式
|
|
40
40
|
*/
|
|
41
|
-
export interface SocketMessage
|
|
41
|
+
export interface SocketMessage {
|
|
42
42
|
/** 事件类型 */
|
|
43
43
|
type: string;
|
|
44
44
|
/** 消息数据 */
|
|
45
|
-
data?:
|
|
45
|
+
data?: any;
|
|
46
46
|
/** 消息ID */
|
|
47
47
|
id?: string;
|
|
48
|
+
event?: any;
|
|
48
49
|
}
|
|
49
50
|
/**
|
|
50
51
|
* 心跳配置选项
|
package/package.json
CHANGED
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/core",
|
|
3
|
-
"version": "1.1.
|
|
4
|
-
"scripts": {
|
|
5
|
-
"build": "father build",
|
|
6
|
-
"dev": "father dev",
|
|
7
|
-
"build:types": "tsc --project tsconfig.types.json",
|
|
8
|
-
"publish:types": "npm run build:types && cd types && cp ../types-package.json package.json && npm publish"
|
|
9
|
-
},
|
|
3
|
+
"version": "1.1.6",
|
|
10
4
|
"sideEffects": false,
|
|
11
5
|
"main": "./lib/index.js",
|
|
12
6
|
"module": "./es/index.js",
|
|
@@ -34,7 +28,8 @@
|
|
|
34
28
|
"dva-core": "^2.0.4",
|
|
35
29
|
"js-md5": "^0.8.3",
|
|
36
30
|
"axios": "^1.7.2",
|
|
37
|
-
"@aws-sdk/client-s3": "^3.456.0"
|
|
31
|
+
"@aws-sdk/client-s3": "^3.456.0",
|
|
32
|
+
"dexie": "^4.2.1"
|
|
38
33
|
},
|
|
39
34
|
"files": [
|
|
40
35
|
"es",
|
|
@@ -44,5 +39,11 @@
|
|
|
44
39
|
],
|
|
45
40
|
"publishConfig": {
|
|
46
41
|
"access": "public"
|
|
42
|
+
},
|
|
43
|
+
"scripts": {
|
|
44
|
+
"build": "father build",
|
|
45
|
+
"dev": "father dev",
|
|
46
|
+
"build:types": "tsc --project tsconfig.types.json",
|
|
47
|
+
"publish:types": "npm run build:types && cd types && cp ../types-package.json package.json && npm publish"
|
|
47
48
|
}
|
|
48
49
|
}
|