libsignal
Version:
Open Whisper Systems' libsignal for Node.js
12 lines (8 loc) • 320 B
JavaScript
const protobuf = require('protobufjs');
const protodir = __dirname + '/../protos/';
const p = protobuf.loadSync(protodir + 'WhisperTextProtocol.proto').lookup('textsecure');
module.exports = {
WhisperMessage: p.lookup('WhisperMessage'),
PreKeyWhisperMessage: p.lookup('PreKeyWhisperMessage')
};
;