@certd/acme-client 1.24.1 → 1.24.3

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.24.1",
6
+ "version": "1.24.3",
7
7
  "main": "src/index.js",
8
8
  "types": "types/index.d.ts",
9
9
  "license": "MIT",
@@ -59,5 +59,5 @@
59
59
  "bugs": {
60
60
  "url": "https://github.com/publishlab/node-acme-client/issues"
61
61
  },
62
- "gitHead": "bef6b981e26a010a797734e508de6822de8564f5"
62
+ "gitHead": "d65d94b784ba526c479fab9bc402960d4e805d69"
63
63
  }
package/src/index.js CHANGED
@@ -32,7 +32,7 @@ exports.directory = {
32
32
  */
33
33
 
34
34
  exports.crypto = require('./crypto');
35
- exports.forge = require('./crypto/forge');
35
+ // exports.forge = require('./crypto/forge');
36
36
 
37
37
  /**
38
38
  * Axios
package/src/verify.js CHANGED
@@ -111,7 +111,7 @@ async function verifyDnsChallenge(authz, challenge, keyAuthorization, prefix = '
111
111
  log(`DNS query finished successfully, found ${recordValues.length} TXT records`);
112
112
 
113
113
  if (!recordValues.length || !recordValues.includes(keyAuthorization)) {
114
- throw new Error(`Authorization not found in DNS TXT record: ${recordName}`);
114
+ throw new Error(`Authorization not found in DNS TXT record: ${recordName},need:${keyAuthorization},found:${recordValues}`);
115
115
  }
116
116
 
117
117
  log(`Key authorization match for ${challenge.type}/${recordName}, ACME challenge verified`);