libp2p 0.40.0-fed012d → 0.41.0-19e96cc
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.
- package/README.md +17 -4
- package/dist/index.min.js +50 -0
- package/dist/src/address-manager/index.d.ts.map +1 -1
- package/dist/src/address-manager/index.js +1 -1
- package/dist/src/address-manager/index.js.map +1 -1
- package/dist/src/connection/index.d.ts +83 -0
- package/dist/src/connection/index.d.ts.map +1 -0
- package/dist/src/connection/index.js +96 -0
- package/dist/src/connection/index.js.map +1 -0
- package/dist/src/connection-manager/dialer/index.d.ts +12 -12
- package/dist/src/connection-manager/dialer/index.d.ts.map +1 -1
- package/dist/src/connection-manager/dialer/index.js +79 -54
- package/dist/src/connection-manager/dialer/index.js.map +1 -1
- package/dist/src/connection-manager/index.d.ts +7 -107
- package/dist/src/connection-manager/index.d.ts.map +1 -1
- package/dist/src/connection-manager/index.js +15 -7
- package/dist/src/connection-manager/index.js.map +1 -1
- package/dist/src/fetch/index.d.ts +14 -0
- package/dist/src/fetch/index.d.ts.map +1 -1
- package/dist/src/fetch/index.js +14 -0
- package/dist/src/fetch/index.js.map +1 -1
- package/dist/src/get-peer.d.ts +2 -2
- package/dist/src/get-peer.d.ts.map +1 -1
- package/dist/src/get-peer.js +2 -5
- package/dist/src/get-peer.js.map +1 -1
- package/dist/src/index.d.ts +191 -76
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +41 -1
- package/dist/src/index.js.map +1 -1
- package/dist/src/insecure/index.d.ts +23 -0
- package/dist/src/insecure/index.d.ts.map +1 -1
- package/dist/src/insecure/index.js +23 -0
- package/dist/src/insecure/index.js.map +1 -1
- package/dist/src/keychain/index.d.ts +1 -1
- package/dist/src/keychain/index.d.ts.map +1 -1
- package/dist/src/libp2p.d.ts +3 -3
- package/dist/src/libp2p.d.ts.map +1 -1
- package/dist/src/libp2p.js.map +1 -1
- package/dist/src/nat-manager.d.ts.map +1 -1
- package/dist/src/nat-manager.js +5 -1
- package/dist/src/nat-manager.js.map +1 -1
- package/dist/src/pnet/index.d.ts +23 -0
- package/dist/src/pnet/index.d.ts.map +1 -1
- package/dist/src/pnet/index.js +23 -0
- package/dist/src/pnet/index.js.map +1 -1
- package/dist/src/pnet/key-generator.d.ts +3 -2
- package/dist/src/pnet/key-generator.d.ts.map +1 -1
- package/dist/src/pnet/key-generator.js +7 -10
- package/dist/src/pnet/key-generator.js.map +1 -1
- package/dist/src/registrar.d.ts +5 -0
- package/dist/src/registrar.d.ts.map +1 -1
- package/dist/src/registrar.js +25 -0
- package/dist/src/registrar.js.map +1 -1
- package/dist/src/upgrader.d.ts +1 -1
- package/dist/src/upgrader.d.ts.map +1 -1
- package/dist/src/upgrader.js +42 -23
- package/dist/src/upgrader.js.map +1 -1
- package/package.json +8 -6
- package/src/address-manager/index.ts +3 -2
- package/src/connection/index.ts +171 -0
- package/src/connection-manager/dialer/index.ts +96 -64
- package/src/connection-manager/index.ts +23 -137
- package/src/fetch/README.md +7 -2
- package/src/fetch/index.ts +14 -0
- package/src/get-peer.ts +3 -7
- package/src/index.ts +223 -82
- package/src/insecure/index.ts +24 -0
- package/src/keychain/index.ts +1 -1
- package/src/libp2p.ts +3 -3
- package/src/nat-manager.ts +6 -1
- package/src/pnet/README.md +31 -29
- package/src/pnet/index.ts +24 -0
- package/src/pnet/key-generator.ts +7 -12
- package/src/registrar.ts +29 -2
- package/src/upgrader.ts +44 -22
- package/src/version.ts +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<h1 align="center">
|
|
2
|
-
<a href="libp2p.io"><img width="250" src="https://github.com/libp2p/libp2p/blob/master/
|
|
2
|
+
<a href="libp2p.io"><img width="250" src="https://github.com/libp2p/js-libp2p/blob/master/img/libp2p.png?raw=true" alt="libp2p hex logo" /></a>
|
|
3
3
|
</h1>
|
|
4
4
|
|
|
5
5
|
<h3 align="center">The JavaScript implementation of the libp2p Networking Stack.</h3>
|
|
@@ -45,13 +45,14 @@ If you are looking for the documentation of the latest release, you can view the
|
|
|
45
45
|
- [Usage](#usage)
|
|
46
46
|
- [Configuration](#configuration)
|
|
47
47
|
- [Limits](#limits)
|
|
48
|
-
- [API](#api)
|
|
48
|
+
- [API Docs](#api-docs)
|
|
49
49
|
- [Getting started](#getting-started)
|
|
50
50
|
- [Tutorials and Examples](#tutorials-and-examples)
|
|
51
51
|
- [Development](#development)
|
|
52
52
|
- [Tests](#tests)
|
|
53
53
|
- [Run unit tests](#run-unit-tests)
|
|
54
54
|
- [Packages](#packages)
|
|
55
|
+
- [Used by](#used-by)
|
|
55
56
|
- [Contribute](#contribute)
|
|
56
57
|
- [License](#license)
|
|
57
58
|
- [Contribution](#contribution)
|
|
@@ -97,9 +98,9 @@ For all the information on how you can configure libp2p see [CONFIGURATION.md](.
|
|
|
97
98
|
|
|
98
99
|
For help configuring your node to resist malicious network peers, see [LIMITS.md](./doc/LIMITS.md)
|
|
99
100
|
|
|
100
|
-
### API
|
|
101
|
+
### API Docs
|
|
101
102
|
|
|
102
|
-
|
|
103
|
+
- <https://libp2p.github.io/js-libp2p>
|
|
103
104
|
|
|
104
105
|
### Getting started
|
|
105
106
|
|
|
@@ -182,6 +183,18 @@ List of packages currently in existence for libp2p
|
|
|
182
183
|
| [`libp2p-nat-mgnr`](//github.com/libp2p/js-libp2p-nat-mgnr) | [](//github.com/libp2p/js-libp2p-nat-mgnr/releases) | [](https://david-dm.org/libp2p/js-libp2p-nat-mgnr) | [](https://travis-ci.com/libp2p/js-libp2p-nat-mgnr) | [](https://codecov.io/gh/libp2p/js-libp2p-nat-mgnr) | N/A |
|
|
183
184
|
| [`libp2p-utils`](//github.com/libp2p/js-libp2p-utils) | [](//github.com/libp2p/js-libp2p-utils/releases) | [](https://david-dm.org/libp2p/js-libp2p-utils) | [](https://travis-ci.com/libp2p/js-libp2p-utils) | [](https://codecov.io/gh/libp2p/js-libp2p-utils) | [Vasco Santos](mailto:santos.vasco10@gmail.com) |
|
|
184
185
|
|
|
186
|
+
## Used by
|
|
187
|
+
|
|
188
|
+
<div style="padding: 20px">
|
|
189
|
+
<p align="middle">
|
|
190
|
+
<a href="https://lodestar.chainsafe.io/"><img width="300" src="https://github.com/ChainSafe/lodestar/blob/unstable/assets/lodestar_icon_text_black_stroke.png?raw=true"></a>
|
|
191
|
+
<a href="https://hoprnet.org/"><img width="150" src="https://github.com/hoprnet/hopr-assets/blob/master/v1/logo/hopr_logo_padded.png?raw=true" alt="HOPR Logo">
|
|
192
|
+
<a href="https:/https://js.ipfs.io/"><img src="https://ipfs.io/ipfs/Qme6KJdKcp85TYbLxuLV7oQzMiLremD7HMoXLZEmgo6Rnh/js-ipfs-sticker.png" alt="IPFS in JavaScript logo" width="150" /></a>
|
|
193
|
+
</p>
|
|
194
|
+
</div>
|
|
195
|
+
|
|
196
|
+
And [many others...](https://github.com/libp2p/js-libp2p/network/dependents)
|
|
197
|
+
|
|
185
198
|
## Contribute
|
|
186
199
|
|
|
187
200
|
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:
|