diff --git a/lib/client.js b/lib/client.js index 682bea9..ee9167f 100644 --- a/lib/client.js +++ b/lib/client.js @@ -7,9 +7,9 @@ 'use strict'; -exports.Acme = require('acme-client'); -exports.registerNewAccount = require('register-new-account'); -exports.getCertificate = require('get-certificate'); +exports.Acme = require('./acme-client'); +exports.registerNewAccount = require('./register-new-account'); +exports.getCertificate = require('./get-certificate'); exports.getCert=function (options, cb) { exports.registerNewAccount(options, function () { exports.getCertificate(options, cb); diff --git a/lib/get-certificate.js b/lib/get-certificate.js index 9a56ae8..ae4e185 100644 --- a/lib/get-certificate.js +++ b/lib/get-certificate.js @@ -11,7 +11,6 @@ var NOOP=function () {}, log=NOOP; var request=require('request'); var util=require('./acme-util'); var cryptoUtil=require('./crypto-util'); - var Acme = require('./acme-client'); function getCert(options, cb) {