100% dep-injection for pure js
This commit is contained in:
parent
e5aa40c3d3
commit
7eb5d0e518
|
@ -8,7 +8,7 @@
|
|||
|
||||
module.exports.create = function (deps) {
|
||||
var NOOP=function () {}, log=NOOP;
|
||||
var request=require('request');
|
||||
var request=deps.request;
|
||||
var toStandardB64 = deps.leUtils.toStandardB64;
|
||||
var importPemPrivateKey = deps.leCrypto.importPemPrivateKey;
|
||||
var thumbprinter = deps.leCrypto.thumbprint;
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
'use strict';
|
||||
module.exports.create = function (deps) {
|
||||
var NOOP=function () {}, log=NOOP;
|
||||
var request=require('request');
|
||||
var request=deps.request;
|
||||
var importPemPrivateKey=deps.leCrypto.importPemPrivateKey;
|
||||
var Acme = deps.Acme;
|
||||
|
||||
|
|
Loading…
Reference in New Issue