@libp2p/peer-store 9.0.7 → 9.0.8
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 +5 -19
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
# @libp2p/peer-store <!-- omit in toc -->
|
|
2
|
-
|
|
3
1
|
[](http://libp2p.io/)
|
|
4
2
|
[](https://discuss.libp2p.io)
|
|
5
3
|
[](https://codecov.io/gh/libp2p/js-libp2p)
|
|
@@ -7,21 +5,13 @@
|
|
|
7
5
|
|
|
8
6
|
> Stores information about peers libp2p knows on the network
|
|
9
7
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
- [Install](#install)
|
|
13
|
-
- [Browser `<script>` tag](#browser-script-tag)
|
|
14
|
-
- [API Docs](#api-docs)
|
|
15
|
-
- [License](#license)
|
|
16
|
-
- [Contribution](#contribution)
|
|
17
|
-
|
|
18
|
-
## Install
|
|
8
|
+
# Install
|
|
19
9
|
|
|
20
10
|
```console
|
|
21
11
|
$ npm i @libp2p/peer-store
|
|
22
12
|
```
|
|
23
13
|
|
|
24
|
-
|
|
14
|
+
## Browser `<script>` tag
|
|
25
15
|
|
|
26
16
|
Loading this module through a script tag will make it's exports available as `Libp2pPeerStore` in the global namespace.
|
|
27
17
|
|
|
@@ -29,21 +19,17 @@ Loading this module through a script tag will make it's exports available as `Li
|
|
|
29
19
|
<script src="https://unpkg.com/@libp2p/peer-store/dist/index.min.js"></script>
|
|
30
20
|
```
|
|
31
21
|
|
|
32
|
-
|
|
22
|
+
# API Docs
|
|
33
23
|
|
|
34
24
|
- <https://libp2p.github.io/js-libp2p/modules/_libp2p_peer_store.html>
|
|
35
25
|
|
|
36
|
-
|
|
26
|
+
# License
|
|
37
27
|
|
|
38
28
|
Licensed under either of
|
|
39
29
|
|
|
40
30
|
- Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / <http://www.apache.org/licenses/LICENSE-2.0>)
|
|
41
31
|
- MIT ([LICENSE-MIT](LICENSE-MIT) / <http://opensource.org/licenses/MIT>)
|
|
42
32
|
|
|
43
|
-
|
|
33
|
+
# Contribution
|
|
44
34
|
|
|
45
35
|
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
|
|
46
|
-
|
|
47
|
-
[peer-id]: https://github.com/libp2p/js-peer-id
|
|
48
|
-
|
|
49
|
-
[peer-store-events]: [https://github.com/libp2p/js-libp2p/blob/master/doc/API.md#libp2ppeerStore]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@libp2p/peer-store",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.8",
|
|
4
4
|
"description": "Stores information about peers libp2p knows on the network",
|
|
5
5
|
"license": "Apache-2.0 OR MIT",
|
|
6
6
|
"homepage": "https://github.com/libp2p/js-libp2p/tree/master/packages/peer-store#readme",
|
|
@@ -54,12 +54,12 @@
|
|
|
54
54
|
"test:electron-main": "aegir test -t electron-main"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@libp2p/interface": "^0.1.
|
|
58
|
-
"@libp2p/logger": "^3.0.
|
|
59
|
-
"@libp2p/peer-collections": "^4.0.
|
|
60
|
-
"@libp2p/peer-id": "^3.0.
|
|
61
|
-
"@libp2p/peer-id-factory": "^3.0.
|
|
62
|
-
"@libp2p/peer-record": "^6.0.
|
|
57
|
+
"@libp2p/interface": "^0.1.5",
|
|
58
|
+
"@libp2p/logger": "^3.0.5",
|
|
59
|
+
"@libp2p/peer-collections": "^4.0.7",
|
|
60
|
+
"@libp2p/peer-id": "^3.0.5",
|
|
61
|
+
"@libp2p/peer-id-factory": "^3.0.7",
|
|
62
|
+
"@libp2p/peer-record": "^6.0.8",
|
|
63
63
|
"@multiformats/multiaddr": "^12.1.5",
|
|
64
64
|
"interface-datastore": "^8.2.0",
|
|
65
65
|
"it-all": "^3.0.2",
|