feat: expose protobuf

this allows other modules to reuse the protobuf definition
This commit is contained in:
Friedel Ziegelmayer 2017-02-07 17:51:43 +01:00
parent 76eeb5aa18
commit c91d9b61c8

View File

@ -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