libp2p 2.7.2 → 2.7.3

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 (45) hide show
  1. package/README.md +3 -3
  2. package/dist/index.min.js +15 -15
  3. package/dist/src/address-manager/index.js +8 -8
  4. package/dist/src/address-manager/index.js.map +1 -1
  5. package/dist/src/config/connection-gater.browser.d.ts +1 -1
  6. package/dist/src/config/connection-gater.browser.js +1 -1
  7. package/dist/src/connection-manager/address-sorter.js +4 -4
  8. package/dist/src/connection-manager/constants.defaults.d.ts +4 -4
  9. package/dist/src/connection-manager/constants.defaults.d.ts.map +1 -1
  10. package/dist/src/connection-manager/constants.defaults.js +4 -4
  11. package/dist/src/connection-manager/constants.defaults.js.map +1 -1
  12. package/dist/src/connection-manager/dial-queue.js +4 -4
  13. package/dist/src/connection-manager/dial-queue.js.map +1 -1
  14. package/dist/src/connection-manager/index.d.ts +8 -6
  15. package/dist/src/connection-manager/index.d.ts.map +1 -1
  16. package/dist/src/connection-manager/index.js.map +1 -1
  17. package/dist/src/errors.d.ts +3 -0
  18. package/dist/src/errors.d.ts.map +1 -1
  19. package/dist/src/errors.js +6 -0
  20. package/dist/src/errors.js.map +1 -1
  21. package/dist/src/index.d.ts +1 -1
  22. package/dist/src/libp2p.d.ts.map +1 -1
  23. package/dist/src/libp2p.js +2 -3
  24. package/dist/src/libp2p.js.map +1 -1
  25. package/dist/src/random-walk.js +2 -2
  26. package/dist/src/random-walk.js.map +1 -1
  27. package/dist/src/upgrader.d.ts +5 -11
  28. package/dist/src/upgrader.d.ts.map +1 -1
  29. package/dist/src/upgrader.js +25 -18
  30. package/dist/src/upgrader.js.map +1 -1
  31. package/dist/src/version.d.ts +1 -1
  32. package/dist/src/version.js +1 -1
  33. package/package.json +11 -11
  34. package/src/address-manager/index.ts +8 -8
  35. package/src/config/connection-gater.browser.ts +1 -1
  36. package/src/connection-manager/address-sorter.ts +4 -4
  37. package/src/connection-manager/constants.defaults.ts +4 -4
  38. package/src/connection-manager/dial-queue.ts +4 -4
  39. package/src/connection-manager/index.ts +8 -6
  40. package/src/errors.ts +7 -0
  41. package/src/index.ts +1 -1
  42. package/src/libp2p.ts +2 -3
  43. package/src/random-walk.ts +2 -2
  44. package/src/upgrader.ts +30 -28
  45. package/src/version.ts +1 -1
package/README.md CHANGED
@@ -27,7 +27,7 @@ We are in the process of writing better documentation, blog posts, tutorials and
27
27
  - Articles
28
28
  - [The overview of libp2p](https://github.com/libp2p/libp2p#description)
29
29
 
30
- To sum up, libp2p is a "network stack" -- a protocol suite -- that cleanly separates concerns, and enables sophisticated applications to only use the protocols they absolutely need, without giving up interoperability and upgradeability. libp2p grew out of IPFS, but it is built so that lots of people can use it, for lots of different projects.
30
+ To sum up, libp2p is a "network stack" -- a protocol suite -- that cleanly separates concerns, and enables sophisticated applications to only use the protocols they absolutely need, without giving up interoperability and upgradability. libp2p grew out of IPFS, but it is built so that lots of people can use it, for lots of different projects.
31
31
 
32
32
  # Roadmap
33
33
 
@@ -69,7 +69,7 @@ You can find multiple examples on the [examples repo](https://github.com/libp2p/
69
69
  ## Run unit tests
70
70
 
71
71
  ```sh
72
- # run all the unit tsts
72
+ # run all the unit tests
73
73
  > npm test
74
74
 
75
75
  # run just Node.js tests
@@ -142,7 +142,7 @@ And [many others...](https://github.com/libp2p/js-libp2p/network/dependents)
142
142
  The libp2p implementation in JavaScript is a work in progress. As such, there are a few things you can do right now to help out:
143
143
 
144
144
  - Go through the modules and **check out existing issues**. This would be especially useful for modules in active development. Some knowledge of IPFS/libp2p may be required, as well as the infrastructure behind it - for instance, you may need to read up on p2p and more complex operations like muxing to be able to help technically.
145
- - **Perform code reviews**. Most of this has been developed by @diasdavid, which means that more eyes will help a) speed the project along b) ensure quality and c) reduce possible future bugs.
145
+ - **Perform code reviews**. More eyes will help a) speed the project along b) ensure quality and c) reduce possible future bugs.
146
146
  - **Add tests**. There can never be enough tests.
147
147
 
148
148
  # API Docs