mafintosh / simple-hypercore-protocol

Hypercore protocol state machine
MIT License
26 stars 13 forks source link

Lock noise-protocol at 3.0.1 to avoid breaking change. #10

Open hackergrrl opened 11 months ago

hackergrrl commented 11 months ago

noise-protocol@3.0.2 changed the module.exports of some of its inner modules from objects to functions. Since this module relies on those internals being objects, the patch release of noise-protocol caused this module to break.

This fix just locks the dependency at the last working version.

This would be helpful to be merged and published as a patch release, so that we (Cabal) don't need to remember to keep pinning noise-protocol at 3.0.1 as a top-level dependency. Thanks!