@certd/acme-client 1.39.7 → 1.39.9

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.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. 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.7",
6
+ "version": "1.39.9",
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.7",
21
+ "@certd/basic": "^1.39.9",
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": "adc3e6118b941818926705c3536babfca117c247"
73
+ "gitHead": "1c634a702af9298d25542acc270d68f71d9b1049"
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
- throw new Error(util.formatResponseError(resp));
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(当前仍然在等待状态)`);