From fcc366ffe2f60e9c20d9b62b2321a96f7e9445d6 Mon Sep 17 00:00:00 2001 From: Calvin Metcalf Date: Mon, 5 Jan 2015 11:03:50 -0500 Subject: [PATCH] aliases for sign and verify --- inject.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inject.js b/inject.js index 25393b3..5e816f7 100644 --- a/inject.js +++ b/inject.js @@ -5,12 +5,12 @@ var inherits = require('inherits'); var algos = require('./algos'); 'use strict'; module.exports = function (exports, crypto) { - exports.createSign = createSign; + exports.createSign = exports.Sign = createSign; function createSign(algorithm) { return new Sign(algorithm, crypto); } - exports.createVerify = createVerify; + exports.createVerify = exports.Verify = createVerify; function createVerify(algorithm) { return new Verify(algorithm, crypto); }