@libp2p/kad-dht 6.1.1 → 7.0.1
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 +2 -11
- package/dist/index.min.js +41 -19
- package/dist/src/content-fetching/index.js +4 -4
- package/dist/src/content-fetching/index.js.map +1 -1
- package/dist/src/dual-kad-dht.js +6 -6
- package/dist/src/dual-kad-dht.js.map +1 -1
- package/dist/src/network.js +2 -2
- package/dist/src/network.js.map +1 -1
- package/dist/src/peer-routing/index.js +7 -7
- package/dist/src/peer-routing/index.js.map +1 -1
- package/dist/src/providers.d.ts.map +1 -1
- package/dist/src/providers.js +5 -0
- package/dist/src/providers.js.map +1 -1
- package/dist/src/query/query-path.js +2 -2
- package/dist/src/query/query-path.js.map +1 -1
- package/dist/src/routing-table/index.d.ts +1 -1
- package/dist/src/routing-table/index.d.ts.map +1 -1
- package/dist/src/rpc/handlers/add-provider.js +3 -3
- package/dist/src/rpc/handlers/add-provider.js.map +1 -1
- package/dist/src/rpc/handlers/get-providers.js +2 -2
- package/dist/src/rpc/handlers/get-providers.js.map +1 -1
- package/dist/src/rpc/handlers/get-value.js +4 -4
- package/dist/src/rpc/handlers/get-value.js.map +1 -1
- package/dist/src/rpc/handlers/put-value.js +2 -2
- package/dist/src/rpc/handlers/put-value.js.map +1 -1
- package/dist/typedoc-urls.json +45 -0
- package/package.json +12 -13
- package/src/content-fetching/index.ts +4 -4
- package/src/dual-kad-dht.ts +6 -6
- package/src/network.ts +2 -2
- package/src/peer-routing/index.ts +7 -7
- package/src/providers.ts +5 -0
- package/src/query/query-path.ts +2 -2
- package/src/routing-table/index.ts +1 -1
- package/src/rpc/handlers/add-provider.ts +3 -3
- package/src/rpc/handlers/get-providers.ts +2 -2
- package/src/rpc/handlers/get-value.ts +4 -4
- package/src/rpc/handlers/put-value.ts +2 -2
package/README.md
CHANGED
|
@@ -18,10 +18,9 @@
|
|
|
18
18
|
- [Content Routing](#content-routing)
|
|
19
19
|
- [Peer Discovery](#peer-discovery)
|
|
20
20
|
- [Spec](#spec)
|
|
21
|
-
- [Contribute](#contribute)
|
|
22
21
|
- [API Docs](#api-docs)
|
|
23
22
|
- [License](#license)
|
|
24
|
-
- [
|
|
23
|
+
- [Contribution](#contribution)
|
|
25
24
|
|
|
26
25
|
## Install
|
|
27
26
|
|
|
@@ -88,14 +87,6 @@ Note that you may want to supply your own peer discovery function and datastore
|
|
|
88
87
|
|
|
89
88
|
js-libp2p-kad-dht follows the [libp2p/kad-dht spec](https://github.com/libp2p/specs/tree/master/kad-dht) and implements the algorithms described in the [IPFS DHT documentation](https://docs.ipfs.io/concepts/dht/).
|
|
90
89
|
|
|
91
|
-
## Contribute
|
|
92
|
-
|
|
93
|
-
Feel free to join in. All welcome. Open an [issue](https://github.com/libp2p/js-libp2p-kad-dht/issues)!
|
|
94
|
-
|
|
95
|
-
This repository falls under the IPFS [Code of Conduct](https://github.com/ipfs/community/blob/master/code-of-conduct.md).
|
|
96
|
-
|
|
97
|
-
[](https://github.com/ipfs/community/blob/master/CONTRIBUTING.md)
|
|
98
|
-
|
|
99
90
|
## API Docs
|
|
100
91
|
|
|
101
92
|
- <https://libp2p.github.io/js-libp2p-kad-dht>
|
|
@@ -107,6 +98,6 @@ Licensed under either of
|
|
|
107
98
|
- Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / <http://www.apache.org/licenses/LICENSE-2.0>)
|
|
108
99
|
- MIT ([LICENSE-MIT](LICENSE-MIT) / <http://opensource.org/licenses/MIT>)
|
|
109
100
|
|
|
110
|
-
##
|
|
101
|
+
## Contribution
|
|
111
102
|
|
|
112
103
|
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.
|