@abtnode/certificate-manager 1.7.19 → 1.7.22
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/libs/acme-manager.js +1 -5
- package/package.json +8 -8
package/libs/acme-manager.js
CHANGED
|
@@ -92,11 +92,7 @@ class Manager extends EventEmitter {
|
|
|
92
92
|
|
|
93
93
|
getCertState(domain) {
|
|
94
94
|
const certDir = path.join(this.acme.certDir, domain);
|
|
95
|
-
|
|
96
|
-
return true;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
return true;
|
|
95
|
+
return fs.existsSync(certDir);
|
|
100
96
|
}
|
|
101
97
|
|
|
102
98
|
readCert(domain) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abtnode/certificate-manager",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.22",
|
|
4
4
|
"description": "Manage ABT Node SSL certificates",
|
|
5
5
|
"author": "polunzh <polunzh@gmail.com>",
|
|
6
6
|
"homepage": "https://github.com/ArcBlock/blocklet-server#readme",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
},
|
|
25
25
|
"scripts": {
|
|
26
26
|
"lint": "eslint libs routes sdk states validators index.js",
|
|
27
|
-
"lint:fix": "
|
|
27
|
+
"lint:fix": "npm run lint -- --fix",
|
|
28
28
|
"test": "node tools/jest.js",
|
|
29
29
|
"coverage": "npm run test -- --coverage"
|
|
30
30
|
},
|
|
@@ -32,11 +32,11 @@
|
|
|
32
32
|
"url": "https://github.com/ArcBlock/blocklet-server/issues"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@abtnode/cron": "1.7.
|
|
36
|
-
"@abtnode/db": "1.7.
|
|
37
|
-
"@abtnode/logger": "1.7.
|
|
38
|
-
"@abtnode/queue": "1.7.
|
|
39
|
-
"@abtnode/util": "1.7.
|
|
35
|
+
"@abtnode/cron": "1.7.22",
|
|
36
|
+
"@abtnode/db": "1.7.22",
|
|
37
|
+
"@abtnode/logger": "1.7.22",
|
|
38
|
+
"@abtnode/queue": "1.7.22",
|
|
39
|
+
"@abtnode/util": "1.7.22",
|
|
40
40
|
"@fidm/x509": "^1.2.1",
|
|
41
41
|
"@greenlock/manager": "^3.1.0",
|
|
42
42
|
"@nedb/core": "^1.1.0",
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"punycode": "^2.1.1",
|
|
57
57
|
"ursa-optional": "^0.10.2"
|
|
58
58
|
},
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "6190972e62b5e6b1039aa71a291b3e2c521df367"
|
|
60
60
|
}
|