v2.7.16: minor updates and dep updates for v3
This commit is contained in:
parent
f4cdbe7a47
commit
0d14db1f1c
2
index.js
2
index.js
|
@ -28,7 +28,7 @@ function promisifyAllStore(obj) {
|
||||||
if ('function' !== typeof obj[key] || /Async$/.test(key)) { return; }
|
if ('function' !== typeof obj[key] || /Async$/.test(key)) { return; }
|
||||||
|
|
||||||
var p;
|
var p;
|
||||||
if (1 === obj[key].length) {
|
if (0 === obj[key].length || 1 === obj[key].length) {
|
||||||
// wrap just in case it's synchronous (or improperly throws)
|
// wrap just in case it's synchronous (or improperly throws)
|
||||||
p = function (opts) { return PromiseA.resolve().then(function () { return obj[key](opts); }); };
|
p = function (opts) { return PromiseA.resolve().then(function () { return obj[key](opts); }); };
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -152,6 +152,7 @@ module.exports.create = function (gl) {
|
||||||
|
|
||||||
var accountKeypairPromise;
|
var accountKeypairPromise;
|
||||||
args.keypair = keypair;
|
args.keypair = keypair;
|
||||||
|
args.receipt = receipt;
|
||||||
if (newAccountKeypair) {
|
if (newAccountKeypair) {
|
||||||
accountKeypairPromise = gl.store.accounts.setKeypairAsync(args, keypair);
|
accountKeypairPromise = gl.store.accounts.setKeypairAsync(args, keypair);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "greenlock",
|
"name": "greenlock",
|
||||||
"version": "2.7.14",
|
"version": "2.7.15",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -18,9 +18,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"acme-v2": {
|
"acme-v2": {
|
||||||
"version": "1.7.6",
|
"version": "1.7.7",
|
||||||
"resolved": "https://registry.npmjs.org/acme-v2/-/acme-v2-1.7.6.tgz",
|
"resolved": "https://registry.npmjs.org/acme-v2/-/acme-v2-1.7.7.tgz",
|
||||||
"integrity": "sha512-k4ZlTI8txU7AweKny2MK9EAJTSCSu9ueodrv3v91r2NckTuHRu8ELzN3LbP5zlTrb2coNFay4uLcA3u4ona67A==",
|
"integrity": "sha512-Pg0EQ45h8N2e4K2goYedutCgWxAmtcruwDHr6hgPBgAWEORVb5SQEdXjtEhCrn+APtr7MyFPryyzXpYpDD5ecA==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"@coolaj86/urequest": "^1.3.6",
|
"@coolaj86/urequest": "^1.3.6",
|
||||||
"rsa-compat": "^2.0.6"
|
"rsa-compat": "^2.0.6"
|
||||||
|
@ -74,9 +74,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"le-store-fs": {
|
"le-store-fs": {
|
||||||
"version": "1.0.2",
|
"version": "1.0.3",
|
||||||
"resolved": "https://registry.npmjs.org/le-store-fs/-/le-store-fs-1.0.2.tgz",
|
"resolved": "https://registry.npmjs.org/le-store-fs/-/le-store-fs-1.0.3.tgz",
|
||||||
"integrity": "sha512-9Xm9Lro0qCJMSdsR2496lqu+VjjRUC0Rz3BYGpgVbWb+9+4wyLk+Gq76q3nI3UzrpDxcqhR+Jh1FDxsRowKmmg==",
|
"integrity": "sha512-JdnYvfBiJwgjNFQ55Qw5bgWd+MsnE466AgBMWw6dMzORTQ0F2a35u0l8VvZ9qRBeSoAv6Kt/y5saATzjNltcqQ==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"mkdirp": "^0.5.1",
|
"mkdirp": "^0.5.1",
|
||||||
"safe-replace": "^1.1.0"
|
"safe-replace": "^1.1.0"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "greenlock",
|
"name": "greenlock",
|
||||||
"version": "2.7.15",
|
"version": "2.7.16",
|
||||||
"description": "Let's Encrypt for node.js on npm",
|
"description": "Let's Encrypt for node.js on npm",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"files": [
|
"files": [
|
||||||
|
@ -39,14 +39,14 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"acme": "^1.3.0",
|
"acme": "^1.3.0",
|
||||||
"acme-v2": "^1.7.6",
|
"acme-v2": "^1.7.7",
|
||||||
"cert-info": "^1.5.1",
|
"cert-info": "^1.5.1",
|
||||||
"keypairs": "^1.2.14",
|
"keypairs": "^1.2.14",
|
||||||
"le-challenge-dns": "^3.0.3",
|
"le-challenge-dns": "^3.0.3",
|
||||||
"le-challenge-fs": "^2.0.2",
|
"le-challenge-fs": "^2.0.2",
|
||||||
"le-sni-auto": "^2.1.8",
|
"le-sni-auto": "^2.1.8",
|
||||||
"le-store-certbot": "^2.2.2",
|
"le-store-certbot": "^2.2.2",
|
||||||
"le-store-fs": "^1.0.2",
|
"le-store-fs": "^1.0.3",
|
||||||
"rsa-compat": "^2.0.6"
|
"rsa-compat": "^2.0.6"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
|
|
Loading…
Reference in New Issue