Closed st3b1t closed 2 weeks ago
Thanks for opening this. The @libp2p/peer-id-factory
module was removed in the recent 2.x.x release.
The createFromJSON
function itself was only used to load test fixtures. It's not used here any more, if you need this in your own project you can define it there.
if exists an
createFromJSON()
method we need of anexportToJSON()
that use same encoding