From c91d9b61c87dfa029799a55f9a2cfd9246413d3d Mon Sep 17 00:00:00 2001 From: Friedel Ziegelmayer Date: Tue, 7 Feb 2017 17:51:43 +0100 Subject: [PATCH] feat: expose protobuf this allows other modules to reuse the protobuf definition --- src/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/index.js b/src/index.js index 6f1ad0b..380ecdd 100644 --- a/src/index.js +++ b/src/index.js @@ -5,6 +5,8 @@ const protobuf = require('protocol-buffers') const pbm = protobuf(require('./crypto.proto')) const c = require('./crypto') +exports.protobuf = pbm + exports.hmac = c.hmac exports.aes = c.aes exports.webcrypto = c.webcrypto