From da2c899b25dbf5cd7d6b02f2bf86ffc1ebeb30de Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Fri, 1 Nov 2019 14:17:15 -0600 Subject: [PATCH] v3.0.23: bugfix --- greenlock.js | 7 +++---- package.json | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/greenlock.js b/greenlock.js index 5aa199a..a1090ab 100644 --- a/greenlock.js +++ b/greenlock.js @@ -72,6 +72,9 @@ G.create = function(gconf) { // greenlock.manager.remove // greenlock.manager.find require('./manager-underlay.js').wrap(greenlock, manager, gconf); + // The goal here is to reduce boilerplate, such as error checking + // and duration parsing, that a manager must implement + greenlock.sites.add = greenlock.add = greenlock.manager.add; // Exports challenges.get for Greenlock Express HTTP-01, // and whatever odd use case pops up, I suppose @@ -128,10 +131,6 @@ G.create = function(gconf) { return p; }; - // The goal here is to reduce boilerplate, such as error checking - // and duration parsing, that a manager must implement - greenlock.sites.add = greenlock.add = greenlock.manager.add; - greenlock.notify = greenlock._notify = function(ev, params) { var mng = greenlock.manager; diff --git a/package.json b/package.json index 8d07037..d20ce75 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@root/greenlock", - "version": "3.0.22", + "version": "3.0.23", "description": "The easiest Let's Encrypt client for Node.js and Browsers", "homepage": "https://rootprojects.org/greenlock/", "main": "greenlock.js",