Problem: There are modules like simple-hypercore-protocol which, unfortunately, reach into the dh object to access these functions, which caused #18.
Solution: This commit exposes them as part of the API proper, hopefully reducing the likelihood of future breakages.
Thanks! If this lands as a minor semver, my next action would be to submit a patch to simple-hypercore-protocol to use this new API. This will unbreak multifeed. 😵💫
Hi @emilbayes!
Problem: There are modules like simple-hypercore-protocol which, unfortunately, reach into the
dh
object to access these functions, which caused #18.Solution: This commit exposes them as part of the API proper, hopefully reducing the likelihood of future breakages.
Thanks! If this lands as a minor semver, my next action would be to submit a patch to simple-hypercore-protocol to use this new API. This will unbreak multifeed. 😵💫