@libp2p/peer-store 8.2.1 → 9.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/README.md +3 -3
  2. package/dist/index.min.js +10 -10
  3. package/dist/src/errors.d.ts.map +1 -1
  4. package/dist/src/errors.js.map +1 -1
  5. package/dist/src/index.d.ts +4 -4
  6. package/dist/src/index.d.ts.map +1 -1
  7. package/dist/src/store.d.ts +3 -3
  8. package/dist/src/store.d.ts.map +1 -1
  9. package/dist/src/store.js +2 -2
  10. package/dist/src/store.js.map +1 -1
  11. package/dist/src/utils/bytes-to-peer.d.ts +2 -2
  12. package/dist/src/utils/dedupe-addresses.d.ts +2 -2
  13. package/dist/src/utils/dedupe-addresses.js +1 -1
  14. package/dist/src/utils/dedupe-addresses.js.map +1 -1
  15. package/dist/src/utils/peer-data-to-datastore-peer.d.ts +2 -2
  16. package/dist/src/utils/peer-data-to-datastore-peer.d.ts.map +1 -1
  17. package/dist/src/utils/peer-data-to-datastore-peer.js +1 -1
  18. package/dist/src/utils/peer-data-to-datastore-peer.js.map +1 -1
  19. package/dist/src/utils/peer-id-to-datastore-key.d.ts +1 -1
  20. package/dist/src/utils/peer-id-to-datastore-key.d.ts.map +1 -1
  21. package/dist/src/utils/peer-id-to-datastore-key.js +2 -2
  22. package/dist/src/utils/peer-id-to-datastore-key.js.map +1 -1
  23. package/dist/src/utils/to-peer-pb.d.ts +2 -2
  24. package/dist/src/utils/to-peer-pb.js +1 -1
  25. package/dist/src/utils/to-peer-pb.js.map +1 -1
  26. package/package.json +21 -115
  27. package/src/errors.ts +0 -1
  28. package/src/index.ts +4 -4
  29. package/src/store.ts +4 -4
  30. package/src/utils/bytes-to-peer.ts +2 -2
  31. package/src/utils/dedupe-addresses.ts +3 -3
  32. package/src/utils/peer-data-to-datastore-peer.ts +3 -4
  33. package/src/utils/peer-id-to-datastore-key.ts +2 -2
  34. package/src/utils/to-peer-pb.ts +3 -3
  35. package/dist/typedoc-urls.json +0 -16
package/README.md CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  [![libp2p.io](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](http://libp2p.io/)
4
4
  [![Discuss](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg?style=flat-square)](https://discuss.libp2p.io)
5
- [![codecov](https://img.shields.io/codecov/c/github/libp2p/js-libp2p-peer-store.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p-peer-store)
6
- [![CI](https://img.shields.io/github/actions/workflow/status/libp2p/js-libp2p-peer-store/js-test-and-release.yml?branch=master\&style=flat-square)](https://github.com/libp2p/js-libp2p-peer-store/actions/workflows/js-test-and-release.yml?query=branch%3Amaster)
5
+ [![codecov](https://img.shields.io/codecov/c/github/libp2p/js-libp2p.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p)
6
+ [![CI](https://img.shields.io/github/actions/workflow/status/libp2p/js-libp2p/main.yml?branch=master\&style=flat-square)](https://github.com/libp2p/js-libp2p/actions/workflows/main.yml?query=branch%3Amaster)
7
7
 
8
8
  > Stores information about peers libp2p knows on the network
9
9
 
@@ -31,7 +31,7 @@ Loading this module through a script tag will make it's exports available as `Li
31
31
 
32
32
  ## API Docs
33
33
 
34
- - <https://libp2p.github.io/js-libp2p-peer-store>
34
+ - <https://libp2p.github.io/js-libp2p/modules/_libp2p_peer_store.html>
35
35
 
36
36
  ## License
37
37