@certd/acme-client 1.39.7 → 1.39.8
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/package.json +3 -3
- package/src/client.js +2 -1
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Simple and unopinionated ACME client",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "nmorsman",
|
|
6
|
-
"version": "1.39.
|
|
6
|
+
"version": "1.39.8",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"module": "scr/index.js",
|
|
9
9
|
"main": "src/index.js",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"types"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@certd/basic": "^1.39.
|
|
21
|
+
"@certd/basic": "^1.39.8",
|
|
22
22
|
"@peculiar/x509": "^1.11.0",
|
|
23
23
|
"asn1js": "^3.0.5",
|
|
24
24
|
"axios": "^1.9.0",
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
"bugs": {
|
|
71
71
|
"url": "https://github.com/publishlab/node-acme-client/issues"
|
|
72
72
|
},
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "de0ae14544f1c3da4923dddc6a1a3bea4db295e7"
|
|
74
74
|
}
|
package/src/client.js
CHANGED
|
@@ -588,7 +588,8 @@ class AcmeClient {
|
|
|
588
588
|
|
|
589
589
|
if (invalidStates.includes(resp.data.status)) {
|
|
590
590
|
abort();
|
|
591
|
-
|
|
591
|
+
this.log(`[${d}] : 检查状态 = ${resp.data.status} : ${JSON.stringify(resp.data)}`);
|
|
592
|
+
throw new Error("校验失败:" + util.formatResponseError(resp));
|
|
592
593
|
}
|
|
593
594
|
else if (pendingStates.includes(resp.data.status)) {
|
|
594
595
|
throw new Error(`[${d}] Operation is pending or processing(当前仍然在等待状态)`);
|