mirror of
https://github.com/fluencelabs/js-libp2p-crypto
synced 2025-05-07 14:02:39 +00:00
feat: expose protobuf
this allows other modules to reuse the protobuf definition
This commit is contained in:
parent
76eeb5aa18
commit
c91d9b61c8
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user