Allow callers to optionally specify the prologue
John-LittleBearLabs opened this issue · comments
John Turpish commented
While it's certainly nice to be allowed to let it default, it could also be useful to be able to specify it.
This came up as I was working on an implementation for a new transport. I'd like to use this library, but the draft spec calls for a specific prologue. We could probably work around it downstream, but it seems cleaner and nicer to me to land a fix here that others can use.
Marin Petrunić commented
resolved via #182
Marin Petrunić commented
🤖 Release is at https://github.com/ChainSafe/js-libp2p-noise/releases/tag/v8.0.0 🌻