@abtnode/core 1.8.44 → 1.8.46
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/blocklet.js +6 -8
- package/package.json +17 -17
package/lib/util/blocklet.js
CHANGED
|
@@ -677,14 +677,12 @@ const getProcessInfo = (processId) =>
|
|
|
677
677
|
|
|
678
678
|
const deleteProcess = (processId) =>
|
|
679
679
|
new Promise((resolve, reject) => {
|
|
680
|
-
pm2.
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
return resolve();
|
|
687
|
-
});
|
|
680
|
+
pm2.delete(processId, async (err) => {
|
|
681
|
+
if (isUsefulError(err)) {
|
|
682
|
+
logger.error('blocklet process delete failed', { error: err });
|
|
683
|
+
return reject(err);
|
|
684
|
+
}
|
|
685
|
+
return resolve();
|
|
688
686
|
});
|
|
689
687
|
});
|
|
690
688
|
|
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.46",
|
|
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.46",
|
|
23
|
+
"@abtnode/certificate-manager": "1.8.46",
|
|
24
|
+
"@abtnode/constant": "1.8.46",
|
|
25
|
+
"@abtnode/cron": "1.8.46",
|
|
26
|
+
"@abtnode/db": "1.8.46",
|
|
27
|
+
"@abtnode/logger": "1.8.46",
|
|
28
|
+
"@abtnode/queue": "1.8.46",
|
|
29
|
+
"@abtnode/rbac": "1.8.46",
|
|
30
|
+
"@abtnode/router-provider": "1.8.46",
|
|
31
|
+
"@abtnode/static-server": "1.8.46",
|
|
32
|
+
"@abtnode/timemachine": "1.8.46",
|
|
33
|
+
"@abtnode/util": "1.8.46",
|
|
34
34
|
"@arcblock/did": "1.18.31",
|
|
35
35
|
"@arcblock/did-motif": "^1.1.10",
|
|
36
36
|
"@arcblock/did-util": "1.18.31",
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
"@arcblock/jwt": "^1.18.31",
|
|
39
39
|
"@arcblock/pm2-events": "^0.0.5",
|
|
40
40
|
"@arcblock/vc": "1.18.31",
|
|
41
|
-
"@blocklet/constant": "1.8.
|
|
42
|
-
"@blocklet/meta": "1.8.
|
|
43
|
-
"@blocklet/sdk": "1.8.
|
|
41
|
+
"@blocklet/constant": "1.8.46",
|
|
42
|
+
"@blocklet/meta": "1.8.46",
|
|
43
|
+
"@blocklet/sdk": "1.8.46",
|
|
44
44
|
"@fidm/x509": "^1.2.1",
|
|
45
45
|
"@ocap/mcrypto": "1.18.31",
|
|
46
46
|
"@ocap/util": "1.18.31",
|
|
@@ -82,5 +82,5 @@
|
|
|
82
82
|
"express": "^4.18.2",
|
|
83
83
|
"jest": "^27.5.1"
|
|
84
84
|
},
|
|
85
|
-
"gitHead": "
|
|
85
|
+
"gitHead": "6b6ea0378d4334b808ec0102cd00e8e59833fb52"
|
|
86
86
|
}
|