@certd/acme-client 1.37.0 → 1.37.2

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 CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Simple and unopinionated ACME client",
4
4
  "private": false,
5
5
  "author": "nmorsman",
6
- "version": "1.37.0",
6
+ "version": "1.37.2",
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.37.0",
21
+ "@certd/basic": "^1.37.2",
22
22
  "@peculiar/x509": "^1.11.0",
23
23
  "asn1js": "^3.0.5",
24
24
  "axios": "^1.7.2",
@@ -52,7 +52,8 @@
52
52
  "lint-types": "tsd",
53
53
  "prepublishOnly": "npm run build-docs",
54
54
  "test": "mocha -t 60000 \"test/setup.js\" \"test/**/*.spec.js\"",
55
- "pub": "npm publish"
55
+ "pub": "npm publish",
56
+ "compile": "tsc --skipLibCheck --watch"
56
57
  },
57
58
  "repository": {
58
59
  "type": "git",
@@ -69,5 +70,5 @@
69
70
  "bugs": {
70
71
  "url": "https://github.com/publishlab/node-acme-client/issues"
71
72
  },
72
- "gitHead": "e17cd1f298a72595f01e466b5e5c8971828c6bd9"
73
+ "gitHead": "e1daaf07ce2fda6ce44998d65f8a989fc6af88db"
73
74
  }
package/src/auto.js CHANGED
@@ -255,7 +255,7 @@ export default async (client, userOpts) => {
255
255
  await wait(waitDnsDiffuseTime * 1000)
256
256
  }
257
257
 
258
- log("开始向提供商请求挑战验证");
258
+ log("开始向提供商请求检查验证");
259
259
  await runPromisePa(completeChallengeTasks, 1000);
260
260
  } catch (e) {
261
261
  log(`证书申请失败${e.message}`);
package/src/client.js CHANGED
@@ -502,7 +502,7 @@ class AcmeClient {
502
502
  await verify[challenge.type](authz, challenge, keyAuthorization);
503
503
  };
504
504
 
505
- log('Waiting for ACME challenge verification(等待ACME挑战验证)');
505
+ log('Waiting for ACME challenge verification(等待ACME检查验证)');
506
506
  return util.retry(verifyFn, this.backoffOpts);
507
507
  }
508
508
 
@@ -570,7 +570,7 @@ class AcmeClient {
570
570
  const resp = await this.api.apiRequest(item.url, null, [200]);
571
571
 
572
572
  /* Verify status */
573
- log(`[${d}] Item has status(挑战状态): ${resp.data.status}`);
573
+ log(`[${d}] Item has status(检查状态): ${resp.data.status}`);
574
574
 
575
575
  if (invalidStates.includes(resp.data.status)) {
576
576
  abort();