@abtnode/core 1.8.57 → 1.8.59
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/lib/util/maintain.js +2 -2
- package/package.json +17 -17
package/lib/util/maintain.js
CHANGED
|
@@ -109,12 +109,12 @@ const resumeMaintain = async (session) => {
|
|
|
109
109
|
await lock.acquire();
|
|
110
110
|
|
|
111
111
|
const sessionId = session.id;
|
|
112
|
-
const { action, from, to } = session;
|
|
112
|
+
const { action, from, to, history = [] } = session;
|
|
113
113
|
|
|
114
114
|
const goNextState = async (stage, previousSucceed) => {
|
|
115
115
|
session = await states.session.update(sessionId, {
|
|
116
116
|
stage,
|
|
117
|
-
history: [...
|
|
117
|
+
history: [...history, { stage: session.stage, succeed: previousSucceed }],
|
|
118
118
|
});
|
|
119
119
|
// Emit events so client will keep up
|
|
120
120
|
states.node.emit(EVENTS.NODE_MAINTAIN_PROGRESS, session);
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.8.
|
|
6
|
+
"version": "1.8.59",
|
|
7
7
|
"description": "",
|
|
8
8
|
"main": "lib/index.js",
|
|
9
9
|
"files": [
|
|
@@ -19,18 +19,18 @@
|
|
|
19
19
|
"author": "wangshijun <wangshijun2010@gmail.com> (http://github.com/wangshijun)",
|
|
20
20
|
"license": "MIT",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@abtnode/auth": "1.8.
|
|
23
|
-
"@abtnode/certificate-manager": "1.8.
|
|
24
|
-
"@abtnode/constant": "1.8.
|
|
25
|
-
"@abtnode/cron": "1.8.
|
|
26
|
-
"@abtnode/db": "1.8.
|
|
27
|
-
"@abtnode/logger": "1.8.
|
|
28
|
-
"@abtnode/queue": "1.8.
|
|
29
|
-
"@abtnode/rbac": "1.8.
|
|
30
|
-
"@abtnode/router-provider": "1.8.
|
|
31
|
-
"@abtnode/static-server": "1.8.
|
|
32
|
-
"@abtnode/timemachine": "1.8.
|
|
33
|
-
"@abtnode/util": "1.8.
|
|
22
|
+
"@abtnode/auth": "1.8.59",
|
|
23
|
+
"@abtnode/certificate-manager": "1.8.59",
|
|
24
|
+
"@abtnode/constant": "1.8.59",
|
|
25
|
+
"@abtnode/cron": "1.8.59",
|
|
26
|
+
"@abtnode/db": "1.8.59",
|
|
27
|
+
"@abtnode/logger": "1.8.59",
|
|
28
|
+
"@abtnode/queue": "1.8.59",
|
|
29
|
+
"@abtnode/rbac": "1.8.59",
|
|
30
|
+
"@abtnode/router-provider": "1.8.59",
|
|
31
|
+
"@abtnode/static-server": "1.8.59",
|
|
32
|
+
"@abtnode/timemachine": "1.8.59",
|
|
33
|
+
"@abtnode/util": "1.8.59",
|
|
34
34
|
"@arcblock/did": "1.18.34",
|
|
35
35
|
"@arcblock/did-motif": "^1.1.10",
|
|
36
36
|
"@arcblock/did-util": "1.18.34",
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
"@arcblock/jwt": "^1.18.34",
|
|
39
39
|
"@arcblock/pm2-events": "^0.0.5",
|
|
40
40
|
"@arcblock/vc": "1.18.34",
|
|
41
|
-
"@blocklet/constant": "1.8.
|
|
42
|
-
"@blocklet/meta": "1.8.
|
|
43
|
-
"@blocklet/sdk": "1.8.
|
|
41
|
+
"@blocklet/constant": "1.8.59",
|
|
42
|
+
"@blocklet/meta": "1.8.59",
|
|
43
|
+
"@blocklet/sdk": "1.8.59",
|
|
44
44
|
"@fidm/x509": "^1.2.1",
|
|
45
45
|
"@ocap/mcrypto": "1.18.34",
|
|
46
46
|
"@ocap/util": "1.18.34",
|
|
@@ -85,5 +85,5 @@
|
|
|
85
85
|
"express": "^4.18.2",
|
|
86
86
|
"jest": "^27.5.1"
|
|
87
87
|
},
|
|
88
|
-
"gitHead": "
|
|
88
|
+
"gitHead": "2cc84bf7f971585a6cc29b566d33c0a74d1ee94a"
|
|
89
89
|
}
|