forked from root/acme.js
v3.0.7: private notify function
This commit is contained in:
parent
86068fe015
commit
333605d9b8
11
acme.js
11
acme.js
|
@ -474,7 +474,7 @@ ACME._dryRun = function(me, realOptions, zonenames) {
|
|||
var selected = [];
|
||||
noopts.order._claims = claims.slice(0);
|
||||
noopts.notify = function(ev, params) {
|
||||
if ('challenge_select' === ev) {
|
||||
if ('_challenge_select' === ev) {
|
||||
selected.push(params.challenge);
|
||||
}
|
||||
};
|
||||
|
@ -893,6 +893,15 @@ ACME._setChallenges = function(me, options, order) {
|
|||
placed.push(selected);
|
||||
ACME._notify(me, options, 'challenge_select', {
|
||||
// API-locked
|
||||
altname: ACME._untame(
|
||||
claim.identifier.value,
|
||||
claim.wildcard
|
||||
),
|
||||
type: selected.type,
|
||||
dnsHost: selected.dnsHost,
|
||||
keyAuthorization: selected.keyAuthorization
|
||||
});
|
||||
ACME._notify(me, options, '_challenge_select', {
|
||||
altname: ACME._untame(
|
||||
claim.identifier.value,
|
||||
claim.wildcard
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@root/acme",
|
||||
"version": "3.0.6",
|
||||
"version": "3.0.7",
|
||||
"description": "Free SSL certificates for Node.js and Browsers. Issued via Let's Encrypt",
|
||||
"homepage": "https://rootprojects.org/acme/",
|
||||
"main": "acme.js",
|
||||
|
|
Loading…
Reference in New Issue