libsignal-protocol-javascript icon indicating copy to clipboard operation
libsignal-protocol-javascript copied to clipboard

Does not seem work in Node

Open rmst opened this issue 3 years ago • 0 comments

Importing/requiring dist/libsignal-protocol.js in Node fails even though the line

  var ENVIRONMENT_IS_NODE = typeof process === 'object' && typeof require === 'function';

suggests the authors intended it to work with Node.

In addition to that, in answers to previous issues it was said that the Electron/Node-based Signal desktop client was based on this repository. How did they get it to work? I tried find out myself by checking the Signal Desktop code but found it quite confusing.

rmst avatar May 29 '21 23:05 rmst