libp2p / js-libp2p-interfaces

Contains test suites and interfaces you can use to implement the various components of js libp2p.
Other
75 stars 28 forks source link

peerStore.save has a confusing example that uses "set" method #396

Closed TimDaub closed 1 year ago

TimDaub commented 1 year ago
Screenshot 2023-05-04 at 16 10 43

https://libp2p.github.io/js-libp2p-interfaces/interfaces/_libp2p_interface_libp2p._internal_.PeerStore.html#save

achingbrain commented 1 year ago

Good catch, thanks!

That part of the docs is generated from this comment - would you like to submit a quick PR to update it?

TimDaub commented 1 year ago

given that there is libp2p/js-libp2p#1737, I think someone with more knowledge has to do it

github-actions[bot] commented 1 year ago

:tada: This issue has been resolved in version @libp2p/interface-peer-store-v2.0.3 :tada:

The release is available on:

Your semantic-release bot :package::rocket: