mirror of
https://github.com/fluencelabs/js-libp2p-crypto
synced 2025-06-27 04:11:39 +00:00
feat: expose protobuf
this allows other modules to reuse the protobuf definition
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user