libp2p 2.3.1-bc90b4fd5 → 2.3.1-d19974d93

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 (38) hide show
  1. package/README.md +9 -25
  2. package/dist/index.min.js +15 -15
  3. package/dist/src/address-manager/dns-mappings.d.ts +19 -0
  4. package/dist/src/address-manager/dns-mappings.d.ts.map +1 -0
  5. package/dist/src/address-manager/dns-mappings.js +121 -0
  6. package/dist/src/address-manager/dns-mappings.js.map +1 -0
  7. package/dist/src/{address-manager.d.ts → address-manager/index.d.ts} +20 -5
  8. package/dist/src/address-manager/index.d.ts.map +1 -0
  9. package/dist/src/address-manager/index.js +242 -0
  10. package/dist/src/address-manager/index.js.map +1 -0
  11. package/dist/src/address-manager/ip-mappings.d.ts +17 -0
  12. package/dist/src/address-manager/ip-mappings.d.ts.map +1 -0
  13. package/dist/src/address-manager/ip-mappings.js +122 -0
  14. package/dist/src/address-manager/ip-mappings.js.map +1 -0
  15. package/dist/src/address-manager/observed-addresses.d.ts +19 -0
  16. package/dist/src/address-manager/observed-addresses.d.ts.map +1 -0
  17. package/dist/src/address-manager/observed-addresses.js +65 -0
  18. package/dist/src/address-manager/observed-addresses.js.map +1 -0
  19. package/dist/src/index.d.ts +1 -1
  20. package/dist/src/index.d.ts.map +1 -1
  21. package/dist/src/libp2p.js +1 -1
  22. package/dist/src/libp2p.js.map +1 -1
  23. package/dist/src/version.d.ts +2 -2
  24. package/dist/src/version.d.ts.map +1 -1
  25. package/dist/src/version.js +2 -2
  26. package/dist/src/version.js.map +1 -1
  27. package/package.json +26 -25
  28. package/src/address-manager/dns-mappings.ts +159 -0
  29. package/src/{address-manager.ts → address-manager/index.ts} +152 -190
  30. package/src/address-manager/ip-mappings.ts +164 -0
  31. package/src/address-manager/observed-addresses.ts +86 -0
  32. package/src/index.ts +1 -1
  33. package/src/libp2p.ts +1 -1
  34. package/src/version.ts +2 -2
  35. package/LICENSE +0 -4
  36. package/dist/src/address-manager.d.ts.map +0 -1
  37. package/dist/src/address-manager.js +0 -282
  38. package/dist/src/address-manager.js.map +0 -1
package/README.md CHANGED
@@ -2,31 +2,15 @@
2
2
  <a href="https://libp2p.io"><img width="250" src="https://github.com/libp2p/js-libp2p/blob/main/img/libp2p.png?raw=true" alt="libp2p hex logo" /></a>
3
3
  </h1>
4
4
 
5
- <h3 align="center">The JavaScript implementation of the libp2p Networking Stack.</h3>
6
-
7
- <p align="center">
8
- <a href="http://protocol.ai"><img src="https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square" /></a>
9
- <a href="http://libp2p.io/"><img src="https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square" /></a>
10
- <a href="http://webchat.freenode.net/?channels=%23libp2p"><img src="https://img.shields.io/badge/freenode-%23libp2p-yellow.svg?style=flat-square" /></a>
11
- <a href="https://riot.im/app/#/room/#libp2p:matrix.org"><img src="https://img.shields.io/badge/matrix-%23libp2p%3Apermaweb.io-blue.svg?style=flat-square" /> </a>
12
- <a href="https://discord.gg/ipfs"><img src="https://img.shields.io/discord/806902334369824788?color=blueviolet&label=discord&style=flat-square" /></a>
13
- <a href="https://discuss.libp2p.io"><img src="https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg" /></a>
14
- <a href="https://www.npmjs.com/package/libp2p"><img src="https://img.shields.io/npm/dm/libp2p.svg" /></a>
15
- <a href="https://www.jsdelivr.com/package/npm/libp2p"><img src="https://data.jsdelivr.com/v1/package/npm/libp2p/badge"/></a>
16
- </p>
17
-
18
- <p align="center">
19
- <a href="https://github.com/libp2p/js-libp2p/actions?query=branch%3Amaster+workflow%3Aci+"><img src="https://img.shields.io/github/actions/workflow/status/libp2p/js-libp2p/main.yml?branch=main&label=ci&style=flat-square" /></a>
20
- <a href="https://codecov.io/gh/libp2p/js-libp2p"><img src="https://img.shields.io/codecov/c/github/libp2p/js-libp2p/master.svg?style=flat-square"></a>
21
- <br>
22
- <a href="https://github.com/feross/standard"><img src="https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square"></a>
23
- <a href="https://github.com/RichardLitt/standard-readme"><img src="https://img.shields.io/badge/standard--readme-OK-green.svg?style=flat-square" /></a>
24
- <a href=""><img src="https://img.shields.io/badge/npm-%3E%3D7.0.0-orange.svg?style=flat-square" /></a>
25
- <a href=""><img src="https://img.shields.io/badge/Node.js-%3E%3D15.0.0-orange.svg?style=flat-square" /></a>
26
- <br>
27
- </p>
28
-
29
- > JavaScript implementation of libp2p, a modular peer to peer network stack
5
+ <h3 align="center">The JavaScript implementation of the libp2p Networking Stack</h3>
6
+
7
+ [![libp2p.io](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](http://libp2p.io/)
8
+ [![npm](https://img.shields.io/npm/dm/libp2p.svg?style=flat-square)](https://www.npmjs.com/package/libp2p)
9
+ [![Discuss](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg?style=flat-square)](https://discuss.libp2p.io)
10
+ [![Matrix](https://img.shields.io/badge/matrix-%23libp2p--implementers%3Aipfs.io-blue.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p)
11
+ [![Discord](https://img.shields.io/discord/806902334369824788?color=blueviolet&label=discord&style=flat-square)](https://discord.com/invite/Ae4TbahHaT)
12
+ [![codecov](https://img.shields.io/codecov/c/github/libp2p/js-libp2p.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p)
13
+ [![CI](https://img.shields.io/github/actions/workflow/status/libp2p/js-libp2p/main.yml?branch=main\&style=flat-square)](https://github.com/libp2p/js-libp2p/actions/workflows/main.yml?query=branch%3Amain)
30
14
 
31
15
  # About
32
16