roster-server 2.1.26 → 2.1.27
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/index.js +5 -5
- package/package.json +1 -1
- package/vendor/acme-dns-01-cli-wrapper.js +1 -1
package/index.js
CHANGED
|
@@ -258,7 +258,7 @@ class Roster {
|
|
|
258
258
|
provided.module = defaultDnsChallengeModule;
|
|
259
259
|
}
|
|
260
260
|
if (provided.propagationDelay === undefined) {
|
|
261
|
-
provided.propagationDelay =
|
|
261
|
+
provided.propagationDelay = 60000;
|
|
262
262
|
}
|
|
263
263
|
if (provided.autoContinue === undefined) {
|
|
264
264
|
provided.autoContinue = false;
|
|
@@ -270,9 +270,9 @@ class Roster {
|
|
|
270
270
|
} else {
|
|
271
271
|
this.dnsChallenge = {
|
|
272
272
|
module: defaultDnsChallengeModule,
|
|
273
|
-
propagationDelay:
|
|
273
|
+
propagationDelay: 60000,
|
|
274
274
|
autoContinue: false,
|
|
275
|
-
dryRunDelay:
|
|
275
|
+
dryRunDelay: 60000
|
|
276
276
|
};
|
|
277
277
|
}
|
|
278
278
|
}
|
|
@@ -392,7 +392,7 @@ class Roster {
|
|
|
392
392
|
};
|
|
393
393
|
if (shouldCombineWildcard) {
|
|
394
394
|
const dns01 = { ...this.dnsChallenge };
|
|
395
|
-
if (dns01.propagationDelay === undefined) dns01.propagationDelay =
|
|
395
|
+
if (dns01.propagationDelay === undefined) dns01.propagationDelay = 60000;
|
|
396
396
|
if (dns01.autoContinue === undefined) dns01.autoContinue = false;
|
|
397
397
|
if (dns01.dryRunDelay === undefined) dns01.dryRunDelay = dns01.propagationDelay;
|
|
398
398
|
primarySite.challenges = { 'dns-01': dns01 };
|
|
@@ -408,7 +408,7 @@ class Roster {
|
|
|
408
408
|
const wildcardSubject = `*.${domain}`;
|
|
409
409
|
const dns01 = { ...this.dnsChallenge };
|
|
410
410
|
if (dns01.propagationDelay === undefined) {
|
|
411
|
-
dns01.propagationDelay =
|
|
411
|
+
dns01.propagationDelay = 60000; // 120s default for manual DNS (acme-dns-01-cli)
|
|
412
412
|
}
|
|
413
413
|
if (dns01.autoContinue === undefined) {
|
|
414
414
|
dns01.autoContinue = false;
|
package/package.json
CHANGED
|
@@ -44,7 +44,7 @@ module.exports.create = function create(config = {}) {
|
|
|
44
44
|
const challenger = legacyCli.create(config);
|
|
45
45
|
const propagationDelay = Number.isFinite(config.propagationDelay)
|
|
46
46
|
? config.propagationDelay
|
|
47
|
-
:
|
|
47
|
+
: 60000;
|
|
48
48
|
const envAutoContinue = process.env.ROSTER_DNS_AUTO_CONTINUE;
|
|
49
49
|
const parseAutoContinue = (value, fallback) => {
|
|
50
50
|
if (value === undefined || value === null || value === '') return fallback;
|