From f5e0d25c65cbb33440751c300116eefd11d2298c Mon Sep 17 00:00:00 2001 From: achingbrain Date: Sat, 5 Nov 2022 17:47:56 +0000 Subject: [PATCH] fix: update project config --- README.md | 5 ++--- lerna.json | 11 ++++++----- packages/interface-address-manager/README.md | 5 ++--- packages/interface-compliance-tests/README.md | 5 ++--- .../interface-connection-compliance-tests/README.md | 5 ++--- .../README.md | 5 ++--- packages/interface-connection-encrypter/README.md | 13 ++++++------- .../interface-connection-encrypter/package.json | 2 +- packages/interface-connection-manager/README.md | 5 ++--- packages/interface-connection/README.md | 5 ++--- packages/interface-connection/package.json | 2 +- packages/interface-content-routing/README.md | 5 ++--- packages/interface-dht/README.md | 5 ++--- packages/interface-keychain/README.md | 5 ++--- packages/interface-keys/README.md | 5 ++--- packages/interface-metrics/README.md | 7 +++---- packages/interface-metrics/tsconfig.json | 2 +- packages/interface-mocks/README.md | 5 ++--- packages/interface-mocks/package.json | 2 +- packages/interface-mocks/tsconfig.json | 3 +++ .../README.md | 5 ++--- packages/interface-peer-discovery/README.md | 5 ++--- packages/interface-peer-id/README.md | 5 ++--- packages/interface-peer-info/README.md | 5 ++--- packages/interface-peer-routing/README.md | 5 ++--- packages/interface-peer-store/README.md | 5 ++--- .../interface-pubsub-compliance-tests/README.md | 5 ++--- packages/interface-pubsub/README.md | 5 ++--- packages/interface-pubsub/package.json | 2 +- .../interface-record-compliance-tests/README.md | 5 ++--- packages/interface-record/README.md | 5 ++--- packages/interface-record/package.json | 2 +- packages/interface-registrar/README.md | 5 ++--- .../README.md | 5 ++--- packages/interface-stream-muxer/README.md | 7 +++---- .../interface-transport-compliance-tests/README.md | 5 ++--- packages/interface-transport/README.md | 5 ++--- packages/interface-transport/package.json | 2 +- packages/interface-transport/tsconfig.json | 3 +++ packages/interfaces/README.md | 5 ++--- 40 files changed, 85 insertions(+), 108 deletions(-) diff --git a/README.md b/README.md index ff1c07fb3..9fa009249 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ # js-libp2p-interfaces [![libp2p.io](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](http://libp2p.io/) -[![IRC](https://img.shields.io/badge/freenode-%23libp2p-yellow.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p) [![Discuss](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg?style=flat-square)](https://discuss.libp2p.io) [![codecov](https://img.shields.io/codecov/c/github/libp2p/js-libp2p-interfaces.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p-interfaces) [![CI](https://img.shields.io/github/workflow/status/libp2p/js-libp2p-interfaces/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/libp2p/js-libp2p-interfaces/actions/workflows/js-test-and-release.yml) @@ -12,7 +11,7 @@ - [Structure](#structure) - [License](#license) -- [Contribution](#contribution) +- [Contribute](#contribute) ## Structure @@ -53,6 +52,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribution +## Contribute 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. diff --git a/lerna.json b/lerna.json index aa6d00045..fe9f1a3ae 100644 --- a/lerna.json +++ b/lerna.json @@ -1,12 +1,13 @@ { - "lerna": "4.0.0", - "packages": [ - "packages/*" - ], + "lerna": "5.4.0", + "useWorkspaces": true, "version": "independent", "command": { "run": { "stream": true } - } + }, + "packages": [ + "packages/*" + ] } diff --git a/packages/interface-address-manager/README.md b/packages/interface-address-manager/README.md index 534da7bf2..6a1c0ab19 100644 --- a/packages/interface-address-manager/README.md +++ b/packages/interface-address-manager/README.md @@ -1,7 +1,6 @@ # @libp2p/interface-address-manager [![libp2p.io](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](http://libp2p.io/) -[![IRC](https://img.shields.io/badge/freenode-%23libp2p-yellow.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p) [![Discuss](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg?style=flat-square)](https://discuss.libp2p.io) [![codecov](https://img.shields.io/codecov/c/github/libp2p/js-libp2p-interfaces.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p-interfaces) [![CI](https://img.shields.io/github/workflow/status/libp2p/js-libp2p-interfaces/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/libp2p/js-libp2p-interfaces/actions/workflows/js-test-and-release.yml) @@ -13,7 +12,7 @@ - [Install](#install) - [Usage](#usage) - [License](#license) -- [Contribution](#contribution) +- [Contribute](#contribute) ## Install @@ -34,6 +33,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribution +## Contribute 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. diff --git a/packages/interface-compliance-tests/README.md b/packages/interface-compliance-tests/README.md index 30a12b290..f2380803a 100644 --- a/packages/interface-compliance-tests/README.md +++ b/packages/interface-compliance-tests/README.md @@ -1,7 +1,6 @@ # @libp2p/interface-compliance-tests [![libp2p.io](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](http://libp2p.io/) -[![IRC](https://img.shields.io/badge/freenode-%23libp2p-yellow.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p) [![Discuss](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg?style=flat-square)](https://discuss.libp2p.io) [![codecov](https://img.shields.io/codecov/c/github/libp2p/js-libp2p-interfaces.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p-interfaces) [![CI](https://img.shields.io/github/workflow/status/libp2p/js-libp2p-interfaces/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/libp2p/js-libp2p-interfaces/actions/workflows/js-test-and-release.yml) @@ -13,7 +12,7 @@ - [Install](#install) - [Usage](#usage) - [License](#license) -- [Contribution](#contribution) +- [Contribute](#contribute) ## Install @@ -32,6 +31,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribution +## Contribute 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. diff --git a/packages/interface-connection-compliance-tests/README.md b/packages/interface-connection-compliance-tests/README.md index e3ef8c8c8..1c7c3444e 100644 --- a/packages/interface-connection-compliance-tests/README.md +++ b/packages/interface-connection-compliance-tests/README.md @@ -1,7 +1,6 @@ # @libp2p/interface-connection-compliance-tests [![libp2p.io](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](http://libp2p.io/) -[![IRC](https://img.shields.io/badge/freenode-%23libp2p-yellow.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p) [![Discuss](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg?style=flat-square)](https://discuss.libp2p.io) [![codecov](https://img.shields.io/codecov/c/github/libp2p/js-libp2p-interfaces.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p-interfaces) [![CI](https://img.shields.io/github/workflow/status/libp2p/js-libp2p-interfaces/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/libp2p/js-libp2p-interfaces/actions/workflows/js-test-and-release.yml) @@ -13,7 +12,7 @@ - [Install](#install) - [Usage](#usage) - [License](#license) -- [Contribution](#contribution) +- [Contribute](#contribute) ## Install @@ -52,6 +51,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribution +## Contribute 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. diff --git a/packages/interface-connection-encrypter-compliance-tests/README.md b/packages/interface-connection-encrypter-compliance-tests/README.md index b62ab9689..141e4f459 100644 --- a/packages/interface-connection-encrypter-compliance-tests/README.md +++ b/packages/interface-connection-encrypter-compliance-tests/README.md @@ -1,7 +1,6 @@ # @libp2p/interface-connection-encrypter-compliance-tests [![libp2p.io](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](http://libp2p.io/) -[![IRC](https://img.shields.io/badge/freenode-%23libp2p-yellow.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p) [![Discuss](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg?style=flat-square)](https://discuss.libp2p.io) [![codecov](https://img.shields.io/codecov/c/github/libp2p/js-libp2p-interfaces.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p-interfaces) [![CI](https://img.shields.io/github/workflow/status/libp2p/js-libp2p-interfaces/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/libp2p/js-libp2p-interfaces/actions/workflows/js-test-and-release.yml) @@ -13,7 +12,7 @@ - [Install](#install) - [Usage](#usage) - [License](#license) -- [Contribution](#contribution) +- [Contribute](#contribute) ## Install @@ -45,6 +44,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribution +## Contribute 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. diff --git a/packages/interface-connection-encrypter/README.md b/packages/interface-connection-encrypter/README.md index 29e1871ac..6bbd36591 100644 --- a/packages/interface-connection-encrypter/README.md +++ b/packages/interface-connection-encrypter/README.md @@ -1,7 +1,6 @@ # @libp2p/interface-connection-encrypter [![libp2p.io](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](http://libp2p.io/) -[![IRC](https://img.shields.io/badge/freenode-%23libp2p-yellow.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p) [![Discuss](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg?style=flat-square)](https://discuss.libp2p.io) [![codecov](https://img.shields.io/codecov/c/github/libp2p/js-libp2p-interfaces.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p-interfaces) [![CI](https://img.shields.io/github/workflow/status/libp2p/js-libp2p-interfaces/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/libp2p/js-libp2p-interfaces/actions/workflows/js-test-and-release.yml) @@ -17,7 +16,7 @@ - [Crypto Errors](#crypto-errors) - [Error Types](#error-types) - [License](#license) -- [Contribution](#contribution) +- [Contribute](#contribute) ## Install @@ -73,10 +72,6 @@ Secures an outbound [streaming iterable duplex][iterable-duplex] connection. It - `conn`: An encrypted [streaming iterable duplex][iterable-duplex]. - `remotePeer`: The [PeerId][peer-id] of the remote peer. This **should** match the `remotePeer` parameter, and implementations should enforce this. -[peer-id]: https://github.com/libp2p/js-peer-id - -[iterable-duplex]: https://gist.github.com/alanshaw/591dc7dd54e4f99338a347ef568d6ee9#duplex-it - ## Crypto Errors Common crypto errors come with the interface, and can be imported directly. All Errors take an optional message. @@ -105,6 +100,10 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribution +## Contribute 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. + +[peer-id]: https://github.com/libp2p/js-peer-id + +[iterable-duplex]: https://gist.github.com/alanshaw/591dc7dd54e4f99338a347ef568d6ee9#duplex-it diff --git a/packages/interface-connection-encrypter/package.json b/packages/interface-connection-encrypter/package.json index 3caaefb45..e7c241706 100644 --- a/packages/interface-connection-encrypter/package.json +++ b/packages/interface-connection-encrypter/package.json @@ -154,7 +154,7 @@ "dependencies": { "@libp2p/interface-peer-id": "^1.0.0", "it-stream-types": "^1.0.4", - "uint8arraylist": "^2.1.1" + "uint8arraylist": "^2.1.2" }, "devDependencies": { "aegir": "^37.4.0" diff --git a/packages/interface-connection-manager/README.md b/packages/interface-connection-manager/README.md index 5a4f66736..6c7a1b544 100644 --- a/packages/interface-connection-manager/README.md +++ b/packages/interface-connection-manager/README.md @@ -1,7 +1,6 @@ # @libp2p/interface-connection-manager [![libp2p.io](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](http://libp2p.io/) -[![IRC](https://img.shields.io/badge/freenode-%23libp2p-yellow.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p) [![Discuss](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg?style=flat-square)](https://discuss.libp2p.io) [![codecov](https://img.shields.io/codecov/c/github/libp2p/js-libp2p-interfaces.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p-interfaces) [![CI](https://img.shields.io/github/workflow/status/libp2p/js-libp2p-interfaces/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/libp2p/js-libp2p-interfaces/actions/workflows/js-test-and-release.yml) @@ -13,7 +12,7 @@ - [Install](#install) - [Usage](#usage) - [License](#license) -- [Contribution](#contribution) +- [Contribute](#contribute) ## Install @@ -34,6 +33,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribution +## Contribute 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. diff --git a/packages/interface-connection/README.md b/packages/interface-connection/README.md index 09a86f354..0661df65b 100644 --- a/packages/interface-connection/README.md +++ b/packages/interface-connection/README.md @@ -1,7 +1,6 @@ # @libp2p/interface-connection [![libp2p.io](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](http://libp2p.io/) -[![IRC](https://img.shields.io/badge/freenode-%23libp2p-yellow.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p) [![Discuss](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg?style=flat-square)](https://discuss.libp2p.io) [![codecov](https://img.shields.io/codecov/c/github/libp2p/js-libp2p-interfaces.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p-interfaces) [![CI](https://img.shields.io/github/workflow/status/libp2p/js-libp2p-interfaces/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/libp2p/js-libp2p-interfaces/actions/workflows/js-test-and-release.yml) @@ -31,7 +30,7 @@ - [Stat](#stat) - [Tags](#tags) - [License](#license) -- [Contribution](#contribution) +- [Contribute](#contribute) ## Install @@ -306,6 +305,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribution +## Contribute 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. diff --git a/packages/interface-connection/package.json b/packages/interface-connection/package.json index 5f075f2ec..a76d9fd20 100644 --- a/packages/interface-connection/package.json +++ b/packages/interface-connection/package.json @@ -156,7 +156,7 @@ "@libp2p/interfaces": "^3.0.0", "@multiformats/multiaddr": "^11.0.0", "it-stream-types": "^1.0.4", - "uint8arraylist": "^2.1.1" + "uint8arraylist": "^2.1.2" }, "devDependencies": { "aegir": "^37.4.0" diff --git a/packages/interface-content-routing/README.md b/packages/interface-content-routing/README.md index da457b01b..361387553 100644 --- a/packages/interface-content-routing/README.md +++ b/packages/interface-content-routing/README.md @@ -1,7 +1,6 @@ # @libp2p/interface-content-routing [![libp2p.io](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](http://libp2p.io/) -[![IRC](https://img.shields.io/badge/freenode-%23libp2p-yellow.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p) [![Discuss](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg?style=flat-square)](https://discuss.libp2p.io) [![codecov](https://img.shields.io/codecov/c/github/libp2p/js-libp2p-interfaces.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p-interfaces) [![CI](https://img.shields.io/github/workflow/status/libp2p/js-libp2p-interfaces/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/libp2p/js-libp2p-interfaces/actions/workflows/js-test-and-release.yml) @@ -19,7 +18,7 @@ - - [findProviders](#findproviders) - [provide](#provide) - [License](#license) - - [Contribution](#contribution) + - [Contribute](#contribute) ## Install @@ -91,6 +90,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribution +## Contribute 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. diff --git a/packages/interface-dht/README.md b/packages/interface-dht/README.md index 4769e0f39..65830cd3c 100644 --- a/packages/interface-dht/README.md +++ b/packages/interface-dht/README.md @@ -1,7 +1,6 @@ # @libp2p/interface-dht [![libp2p.io](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](http://libp2p.io/) -[![IRC](https://img.shields.io/badge/freenode-%23libp2p-yellow.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p) [![Discuss](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg?style=flat-square)](https://discuss.libp2p.io) [![codecov](https://img.shields.io/codecov/c/github/libp2p/js-libp2p-interfaces.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p-interfaces) [![CI](https://img.shields.io/github/workflow/status/libp2p/js-libp2p-interfaces/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/libp2p/js-libp2p-interfaces/actions/workflows/js-test-and-release.yml) @@ -12,7 +11,7 @@ - [Install](#install) - [License](#license) -- [Contribution](#contribution) +- [Contribute](#contribute) ## Install @@ -27,6 +26,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribution +## Contribute 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. diff --git a/packages/interface-keychain/README.md b/packages/interface-keychain/README.md index 2ccce75f2..e584b20df 100644 --- a/packages/interface-keychain/README.md +++ b/packages/interface-keychain/README.md @@ -1,7 +1,6 @@ # @libp2p/interface-keychain [![libp2p.io](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](http://libp2p.io/) -[![IRC](https://img.shields.io/badge/freenode-%23libp2p-yellow.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p) [![Discuss](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg?style=flat-square)](https://discuss.libp2p.io) [![codecov](https://img.shields.io/codecov/c/github/libp2p/js-libp2p-interfaces.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p-interfaces) [![CI](https://img.shields.io/github/workflow/status/libp2p/js-libp2p-interfaces/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/libp2p/js-libp2p-interfaces/actions/workflows/js-test-and-release.yml) @@ -19,7 +18,7 @@ - - [findProviders](#findproviders) - [provide](#provide) - [License](#license) - - [Contribution](#contribution) + - [Contribute](#contribute) ## Install @@ -91,6 +90,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribution +## Contribute 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. diff --git a/packages/interface-keys/README.md b/packages/interface-keys/README.md index 39762005c..bcec976d6 100644 --- a/packages/interface-keys/README.md +++ b/packages/interface-keys/README.md @@ -1,7 +1,6 @@ # @libp2p/interface-keys [![libp2p.io](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](http://libp2p.io/) -[![IRC](https://img.shields.io/badge/freenode-%23libp2p-yellow.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p) [![Discuss](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg?style=flat-square)](https://discuss.libp2p.io) [![codecov](https://img.shields.io/codecov/c/github/libp2p/js-libp2p-interfaces.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p-interfaces) [![CI](https://img.shields.io/github/workflow/status/libp2p/js-libp2p-interfaces/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/libp2p/js-libp2p-interfaces/actions/workflows/js-test-and-release.yml) @@ -13,7 +12,7 @@ - [Install](#install) - [Using the Test Suite](#using-the-test-suite) - [License](#license) -- [Contribution](#contribution) +- [Contribute](#contribute) ## Install @@ -47,6 +46,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribution +## Contribute 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. diff --git a/packages/interface-metrics/README.md b/packages/interface-metrics/README.md index f708537da..578fe0ec6 100644 --- a/packages/interface-metrics/README.md +++ b/packages/interface-metrics/README.md @@ -1,7 +1,6 @@ # @libp2p/interface-metrics [![libp2p.io](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](http://libp2p.io/) -[![IRC](https://img.shields.io/badge/freenode-%23libp2p-yellow.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p) [![Discuss](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg?style=flat-square)](https://discuss.libp2p.io) [![codecov](https://img.shields.io/codecov/c/github/libp2p/js-libp2p-interfaces.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p-interfaces) [![CI](https://img.shields.io/github/workflow/status/libp2p/js-libp2p-interfaces/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/libp2p/js-libp2p-interfaces/actions/workflows/js-test-and-release.yml) @@ -13,7 +12,7 @@ - [Install](#install) - [Implementations](#implementations) - [License](#license) -- [Contribution](#contribution) +- [Contribute](#contribute) ## Install @@ -23,7 +22,7 @@ $ npm i @libp2p/interface-metrics ## Implementations -* [@libp2p/prometheus-metrics](https://github.com/libp2p/js-libp2p-prometheus-metrics) +- [@libp2p/prometheus-metrics](https://github.com/libp2p/js-libp2p-prometheus-metrics) ## License @@ -32,6 +31,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribution +## Contribute 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. diff --git a/packages/interface-metrics/tsconfig.json b/packages/interface-metrics/tsconfig.json index d8db0b667..01ca33094 100644 --- a/packages/interface-metrics/tsconfig.json +++ b/packages/interface-metrics/tsconfig.json @@ -8,7 +8,7 @@ ], "references": [ { - "path": "../interface-peer-id" + "path": "../interface-connection" } ] } diff --git a/packages/interface-mocks/README.md b/packages/interface-mocks/README.md index 35d8c722f..ef884d02e 100644 --- a/packages/interface-mocks/README.md +++ b/packages/interface-mocks/README.md @@ -1,7 +1,6 @@ # @libp2p/interface-mocks [![libp2p.io](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](http://libp2p.io/) -[![IRC](https://img.shields.io/badge/freenode-%23libp2p-yellow.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p) [![Discuss](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg?style=flat-square)](https://discuss.libp2p.io) [![codecov](https://img.shields.io/codecov/c/github/libp2p/js-libp2p-interfaces.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p-interfaces) [![CI](https://img.shields.io/github/workflow/status/libp2p/js-libp2p-interfaces/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/libp2p/js-libp2p-interfaces/actions/workflows/js-test-and-release.yml) @@ -13,7 +12,7 @@ - [Install](#install) - [Usage](#usage) - [License](#license) -- [Contribution](#contribution) +- [Contribute](#contribute) ## Install @@ -32,6 +31,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribution +## Contribute 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. diff --git a/packages/interface-mocks/package.json b/packages/interface-mocks/package.json index d8f0c2200..d7b71b049 100644 --- a/packages/interface-mocks/package.json +++ b/packages/interface-mocks/package.json @@ -166,7 +166,7 @@ "it-pushable": "^3.0.0", "it-stream-types": "^1.0.4", "merge-options": "^3.0.4", - "uint8arraylist": "^2.0.0", + "uint8arraylist": "^2.1.2", "uint8arrays": "^4.0.2" }, "devDependencies": { diff --git a/packages/interface-mocks/tsconfig.json b/packages/interface-mocks/tsconfig.json index 662e61b9c..41a7767a5 100644 --- a/packages/interface-mocks/tsconfig.json +++ b/packages/interface-mocks/tsconfig.json @@ -24,6 +24,9 @@ { "path": "../interface-connection-manager" }, + { + "path": "../interface-metrics" + }, { "path": "../interface-peer-discovery" }, diff --git a/packages/interface-peer-discovery-compliance-tests/README.md b/packages/interface-peer-discovery-compliance-tests/README.md index 6f5e53164..13d19dad3 100644 --- a/packages/interface-peer-discovery-compliance-tests/README.md +++ b/packages/interface-peer-discovery-compliance-tests/README.md @@ -1,7 +1,6 @@ # @libp2p/interface-peer-discovery-compliance-tests [![libp2p.io](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](http://libp2p.io/) -[![IRC](https://img.shields.io/badge/freenode-%23libp2p-yellow.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p) [![Discuss](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg?style=flat-square)](https://discuss.libp2p.io) [![codecov](https://img.shields.io/codecov/c/github/libp2p/js-libp2p-interfaces.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p-interfaces) [![CI](https://img.shields.io/github/workflow/status/libp2p/js-libp2p-interfaces/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/libp2p/js-libp2p-interfaces/actions/workflows/js-test-and-release.yml) @@ -13,7 +12,7 @@ - [Install](#install) - [Usage](#usage) - [License](#license) -- [Contribution](#contribution) +- [Contribute](#contribute) ## Install @@ -46,6 +45,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribution +## Contribute 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. diff --git a/packages/interface-peer-discovery/README.md b/packages/interface-peer-discovery/README.md index 8a08b65c6..4d93c526a 100644 --- a/packages/interface-peer-discovery/README.md +++ b/packages/interface-peer-discovery/README.md @@ -1,7 +1,6 @@ # @libp2p/interface-peer-discovery [![libp2p.io](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](http://libp2p.io/) -[![IRC](https://img.shields.io/badge/freenode-%23libp2p-yellow.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p) [![Discuss](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg?style=flat-square)](https://discuss.libp2p.io) [![codecov](https://img.shields.io/codecov/c/github/libp2p/js-libp2p-interfaces.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p-interfaces) [![CI](https://img.shields.io/github/workflow/status/libp2p/js-libp2p-interfaces/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/libp2p/js-libp2p-interfaces/actions/workflows/js-test-and-release.yml) @@ -20,7 +19,7 @@ - [`stop` the service](#stop-the-service) - [discovering peers](#discovering-peers) - [License](#license) -- [Contribution](#contribution) +- [Contribute](#contribute) ## Install @@ -109,6 +108,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribution +## Contribute 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. diff --git a/packages/interface-peer-id/README.md b/packages/interface-peer-id/README.md index b7d117163..62330388a 100644 --- a/packages/interface-peer-id/README.md +++ b/packages/interface-peer-id/README.md @@ -1,7 +1,6 @@ # @libp2p/interface-peer-id [![libp2p.io](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](http://libp2p.io/) -[![IRC](https://img.shields.io/badge/freenode-%23libp2p-yellow.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p) [![Discuss](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg?style=flat-square)](https://discuss.libp2p.io) [![codecov](https://img.shields.io/codecov/c/github/libp2p/js-libp2p-interfaces.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p-interfaces) [![CI](https://img.shields.io/github/workflow/status/libp2p/js-libp2p-interfaces/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/libp2p/js-libp2p-interfaces/actions/workflows/js-test-and-release.yml) @@ -16,7 +15,7 @@ - [Usage](#usage) - [Node.js](#nodejs) - [License](#license) -- [Contribution](#contribution) +- [Contribute](#contribute) ## Install @@ -71,6 +70,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribution +## Contribute 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. diff --git a/packages/interface-peer-info/README.md b/packages/interface-peer-info/README.md index 983bcc89a..17f3442bc 100644 --- a/packages/interface-peer-info/README.md +++ b/packages/interface-peer-info/README.md @@ -1,7 +1,6 @@ # @libp2p/interface-peer-info [![libp2p.io](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](http://libp2p.io/) -[![IRC](https://img.shields.io/badge/freenode-%23libp2p-yellow.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p) [![Discuss](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg?style=flat-square)](https://discuss.libp2p.io) [![codecov](https://img.shields.io/codecov/c/github/libp2p/js-libp2p-interfaces.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p-interfaces) [![CI](https://img.shields.io/github/workflow/status/libp2p/js-libp2p-interfaces/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/libp2p/js-libp2p-interfaces/actions/workflows/js-test-and-release.yml) @@ -12,7 +11,7 @@ - [Install](#install) - [License](#license) -- [Contribution](#contribution) +- [Contribute](#contribute) ## Install @@ -27,6 +26,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribution +## Contribute 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. diff --git a/packages/interface-peer-routing/README.md b/packages/interface-peer-routing/README.md index edf652102..5b5d1ac2b 100644 --- a/packages/interface-peer-routing/README.md +++ b/packages/interface-peer-routing/README.md @@ -1,7 +1,6 @@ # @libp2p/interface-peer-routing [![libp2p.io](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](http://libp2p.io/) -[![IRC](https://img.shields.io/badge/freenode-%23libp2p-yellow.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p) [![Discuss](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg?style=flat-square)](https://discuss.libp2p.io) [![codecov](https://img.shields.io/codecov/c/github/libp2p/js-libp2p-interfaces.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p-interfaces) [![CI](https://img.shields.io/github/workflow/status/libp2p/js-libp2p-interfaces/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/libp2p/js-libp2p-interfaces/actions/workflows/js-test-and-release.yml) @@ -18,7 +17,7 @@ - [API](#api) - - [findPeer](#findpeer) - [License](#license) - - [Contribution](#contribution) + - [Contribute](#contribute) ## Install @@ -74,6 +73,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribution +## Contribute 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. diff --git a/packages/interface-peer-store/README.md b/packages/interface-peer-store/README.md index 061853d18..665be0452 100644 --- a/packages/interface-peer-store/README.md +++ b/packages/interface-peer-store/README.md @@ -1,7 +1,6 @@ # @libp2p/interface-peer-store [![libp2p.io](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](http://libp2p.io/) -[![IRC](https://img.shields.io/badge/freenode-%23libp2p-yellow.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p) [![Discuss](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg?style=flat-square)](https://discuss.libp2p.io) [![codecov](https://img.shields.io/codecov/c/github/libp2p/js-libp2p-interfaces.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p-interfaces) [![CI](https://img.shields.io/github/workflow/status/libp2p/js-libp2p-interfaces/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/libp2p/js-libp2p-interfaces/actions/workflows/js-test-and-release.yml) @@ -14,7 +13,7 @@ - [Usage](#usage) - [Tags](#tags) - [License](#license) -- [Contribution](#contribution) +- [Contribute](#contribute) ## Install @@ -41,6 +40,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribution +## Contribute 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. diff --git a/packages/interface-pubsub-compliance-tests/README.md b/packages/interface-pubsub-compliance-tests/README.md index afd6fe1ce..31962aadf 100644 --- a/packages/interface-pubsub-compliance-tests/README.md +++ b/packages/interface-pubsub-compliance-tests/README.md @@ -1,7 +1,6 @@ # @libp2p/interface-pubsub-compliance-tests [![libp2p.io](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](http://libp2p.io/) -[![IRC](https://img.shields.io/badge/freenode-%23libp2p-yellow.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p) [![Discuss](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg?style=flat-square)](https://discuss.libp2p.io) [![codecov](https://img.shields.io/codecov/c/github/libp2p/js-libp2p-interfaces.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p-interfaces) [![CI](https://img.shields.io/github/workflow/status/libp2p/js-libp2p-interfaces/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/libp2p/js-libp2p-interfaces/actions/workflows/js-test-and-release.yml) @@ -13,7 +12,7 @@ - [Install](#install) - [Usage](#usage) - [License](#license) -- [Contribution](#contribution) +- [Contribute](#contribute) ## Install @@ -46,6 +45,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribution +## Contribute 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. diff --git a/packages/interface-pubsub/README.md b/packages/interface-pubsub/README.md index 43e535586..ff3a0813d 100644 --- a/packages/interface-pubsub/README.md +++ b/packages/interface-pubsub/README.md @@ -1,7 +1,6 @@ # @libp2p/interface-pubsub [![libp2p.io](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](http://libp2p.io/) -[![IRC](https://img.shields.io/badge/freenode-%23libp2p-yellow.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p) [![Discuss](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg?style=flat-square)](https://discuss.libp2p.io) [![codecov](https://img.shields.io/codecov/c/github/libp2p/js-libp2p-interfaces.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p-interfaces) [![CI](https://img.shields.io/github/workflow/status/libp2p/js-libp2p-interfaces/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/libp2p/js-libp2p-interfaces/actions/workflows/js-test-and-release.yml) @@ -47,7 +46,7 @@ - [Returns](#returns-3) - [Test suite usage](#test-suite-usage) - [License](#license) - - [Contribution](#contribution) + - [Contribute](#contribute) ## Install @@ -314,6 +313,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribution +## Contribute 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. diff --git a/packages/interface-pubsub/package.json b/packages/interface-pubsub/package.json index cd26ce088..9e4b46f28 100644 --- a/packages/interface-pubsub/package.json +++ b/packages/interface-pubsub/package.json @@ -136,7 +136,7 @@ "@libp2p/interface-peer-id": "^1.0.0", "@libp2p/interfaces": "^3.0.0", "it-pushable": "^3.0.0", - "uint8arraylist": "^2.0.0" + "uint8arraylist": "^2.1.2" }, "devDependencies": { "aegir": "^37.4.0" diff --git a/packages/interface-record-compliance-tests/README.md b/packages/interface-record-compliance-tests/README.md index 72973f05d..fbb1a8a7d 100644 --- a/packages/interface-record-compliance-tests/README.md +++ b/packages/interface-record-compliance-tests/README.md @@ -1,7 +1,6 @@ # @libp2p/interface-record-compliance-tests [![libp2p.io](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](http://libp2p.io/) -[![IRC](https://img.shields.io/badge/freenode-%23libp2p-yellow.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p) [![Discuss](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg?style=flat-square)](https://discuss.libp2p.io) [![codecov](https://img.shields.io/codecov/c/github/libp2p/js-libp2p-interfaces.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p-interfaces) [![CI](https://img.shields.io/github/workflow/status/libp2p/js-libp2p-interfaces/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/libp2p/js-libp2p-interfaces/actions/workflows/js-test-and-release.yml) @@ -13,7 +12,7 @@ - [Install](#install) - [Usage](#usage) - [License](#license) -- [Contribution](#contribution) +- [Contribute](#contribute) ## Install @@ -46,6 +45,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribution +## Contribute 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. diff --git a/packages/interface-record/README.md b/packages/interface-record/README.md index 4b741876c..4ee418b5d 100644 --- a/packages/interface-record/README.md +++ b/packages/interface-record/README.md @@ -1,7 +1,6 @@ # @libp2p/interface-record [![libp2p.io](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](http://libp2p.io/) -[![IRC](https://img.shields.io/badge/freenode-%23libp2p-yellow.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p) [![Discuss](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg?style=flat-square)](https://discuss.libp2p.io) [![codecov](https://img.shields.io/codecov/c/github/libp2p/js-libp2p-interfaces.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p-interfaces) [![CI](https://img.shields.io/github/workflow/status/libp2p/js-libp2p-interfaces/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/libp2p/js-libp2p-interfaces/actions/workflows/js-test-and-release.yml) @@ -17,7 +16,7 @@ - [marshal](#marshal) - [equals](#equals) - [License](#license) -- [Contribution](#contribution) +- [Contribute](#contribute) ## Install @@ -123,6 +122,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribution +## Contribute 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. diff --git a/packages/interface-record/package.json b/packages/interface-record/package.json index ba8dd08cb..1dead7424 100644 --- a/packages/interface-record/package.json +++ b/packages/interface-record/package.json @@ -133,7 +133,7 @@ }, "dependencies": { "@libp2p/interface-peer-id": "^1.0.0", - "uint8arraylist": "^2.0.0" + "uint8arraylist": "^2.1.2" }, "devDependencies": { "aegir": "^37.4.0" diff --git a/packages/interface-registrar/README.md b/packages/interface-registrar/README.md index e8128228b..6412515be 100644 --- a/packages/interface-registrar/README.md +++ b/packages/interface-registrar/README.md @@ -1,7 +1,6 @@ # @libp2p/interface-registrar [![libp2p.io](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](http://libp2p.io/) -[![IRC](https://img.shields.io/badge/freenode-%23libp2p-yellow.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p) [![Discuss](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg?style=flat-square)](https://discuss.libp2p.io) [![codecov](https://img.shields.io/codecov/c/github/libp2p/js-libp2p-interfaces.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p-interfaces) [![CI](https://img.shields.io/github/workflow/status/libp2p/js-libp2p-interfaces/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/libp2p/js-libp2p-interfaces/actions/workflows/js-test-and-release.yml) @@ -12,7 +11,7 @@ - [Install](#install) - [License](#license) -- [Contribution](#contribution) +- [Contribute](#contribute) ## Install @@ -27,6 +26,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribution +## Contribute 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. diff --git a/packages/interface-stream-muxer-compliance-tests/README.md b/packages/interface-stream-muxer-compliance-tests/README.md index d3c31132d..171eb412c 100644 --- a/packages/interface-stream-muxer-compliance-tests/README.md +++ b/packages/interface-stream-muxer-compliance-tests/README.md @@ -1,7 +1,6 @@ # @libp2p/interface-stream-muxer-compliance-tests [![libp2p.io](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](http://libp2p.io/) -[![IRC](https://img.shields.io/badge/freenode-%23libp2p-yellow.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p) [![Discuss](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg?style=flat-square)](https://discuss.libp2p.io) [![codecov](https://img.shields.io/codecov/c/github/libp2p/js-libp2p-interfaces.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p-interfaces) [![CI](https://img.shields.io/github/workflow/status/libp2p/js-libp2p-interfaces/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/libp2p/js-libp2p-interfaces/actions/workflows/js-test-and-release.yml) @@ -13,7 +12,7 @@ - [Install](#install) - [Usage](#usage) - [License](#license) -- [Contribution](#contribution) +- [Contribute](#contribute) ## Install @@ -46,6 +45,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribution +## Contribute 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. diff --git a/packages/interface-stream-muxer/README.md b/packages/interface-stream-muxer/README.md index 1b331338f..47053095d 100644 --- a/packages/interface-stream-muxer/README.md +++ b/packages/interface-stream-muxer/README.md @@ -1,7 +1,6 @@ # @libp2p/interface-stream-muxer [![libp2p.io](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](http://libp2p.io/) -[![IRC](https://img.shields.io/badge/freenode-%23libp2p-yellow.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p) [![Discuss](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg?style=flat-square)](https://discuss.libp2p.io) [![codecov](https://img.shields.io/codecov/c/github/libp2p/js-libp2p-interfaces.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p-interfaces) [![CI](https://img.shields.io/github/workflow/status/libp2p/js-libp2p-interfaces/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/libp2p/js-libp2p-interfaces/actions/workflows/js-test-and-release.yml) @@ -18,10 +17,10 @@ - [`const muxer = new Muxer([options])`](#const-muxer--new-muxeroptions) - [`muxer.onStream`](#muxeronstream) - [`muxer.onStreamEnd`](#muxeronstreamend) - - [`const stream = await muxer.newStream([options])`](#const-stream--muxernewstreamoptions) + - [`const stream = await muxer.newStream([options])`](#const-stream--await-muxernewstreamoptions) - [`const streams = muxer.streams`](#const-streams--muxerstreams) - [License](#license) -- [Contribution](#contribution) +- [Contribute](#contribute) ## Install @@ -182,6 +181,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribution +## Contribute 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. diff --git a/packages/interface-transport-compliance-tests/README.md b/packages/interface-transport-compliance-tests/README.md index b97d4208d..91b5dfc9c 100644 --- a/packages/interface-transport-compliance-tests/README.md +++ b/packages/interface-transport-compliance-tests/README.md @@ -1,7 +1,6 @@ # @libp2p/interface-transport-compliance-tests [![libp2p.io](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](http://libp2p.io/) -[![IRC](https://img.shields.io/badge/freenode-%23libp2p-yellow.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p) [![Discuss](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg?style=flat-square)](https://discuss.libp2p.io) [![codecov](https://img.shields.io/codecov/c/github/libp2p/js-libp2p-interfaces.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p-interfaces) [![CI](https://img.shields.io/github/workflow/status/libp2p/js-libp2p-interfaces/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/libp2p/js-libp2p-interfaces/actions/workflows/js-test-and-release.yml) @@ -13,7 +12,7 @@ - [Install](#install) - [Usage](#usage) - [License](#license) -- [Contribution](#contribution) +- [Contribute](#contribute) ## Install @@ -46,6 +45,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribution +## Contribute 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. diff --git a/packages/interface-transport/README.md b/packages/interface-transport/README.md index 200410ed4..209a83354 100644 --- a/packages/interface-transport/README.md +++ b/packages/interface-transport/README.md @@ -1,7 +1,6 @@ # @libp2p/interface-transport [![libp2p.io](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](http://libp2p.io/) -[![IRC](https://img.shields.io/badge/freenode-%23libp2p-yellow.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p) [![Discuss](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg?style=flat-square)](https://discuss.libp2p.io) [![codecov](https://img.shields.io/codecov/c/github/libp2p/js-libp2p-interfaces.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p-interfaces) [![CI](https://img.shields.io/github/workflow/status/libp2p/js-libp2p-interfaces/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/libp2p/js-libp2p-interfaces/actions/workflows/js-test-and-release.yml) @@ -28,7 +27,7 @@ - [Get listener addrs](#get-listener-addrs) - [Stop a listener](#stop-a-listener) - [License](#license) -- [Contribution](#contribution) +- [Contribute](#contribute) ## Install @@ -255,6 +254,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribution +## Contribute 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. diff --git a/packages/interface-transport/package.json b/packages/interface-transport/package.json index 645d19448..755345816 100644 --- a/packages/interface-transport/package.json +++ b/packages/interface-transport/package.json @@ -133,9 +133,9 @@ }, "dependencies": { "@libp2p/interface-connection": "^3.0.0", + "@libp2p/interface-stream-muxer": "^3.0.0", "@libp2p/interfaces": "^3.0.0", "@multiformats/multiaddr": "^11.0.0", - "@libp2p/interface-stream-muxer": "^3.0.0", "it-stream-types": "^1.0.4" }, "devDependencies": { diff --git a/packages/interface-transport/tsconfig.json b/packages/interface-transport/tsconfig.json index 181d553f6..28ed110a1 100644 --- a/packages/interface-transport/tsconfig.json +++ b/packages/interface-transport/tsconfig.json @@ -11,6 +11,9 @@ { "path": "../interface-connection" }, + { + "path": "../interface-stream-muxer" + }, { "path": "../interfaces" } diff --git a/packages/interfaces/README.md b/packages/interfaces/README.md index 2740f6735..70200ea9e 100644 --- a/packages/interfaces/README.md +++ b/packages/interfaces/README.md @@ -1,7 +1,6 @@ # @libp2p/interfaces [![libp2p.io](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](http://libp2p.io/) -[![IRC](https://img.shields.io/badge/freenode-%23libp2p-yellow.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p) [![Discuss](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg?style=flat-square)](https://discuss.libp2p.io) [![codecov](https://img.shields.io/codecov/c/github/libp2p/js-libp2p-interfaces.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p-interfaces) [![CI](https://img.shields.io/github/workflow/status/libp2p/js-libp2p-interfaces/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/libp2p/js-libp2p-interfaces/actions/workflows/js-test-and-release.yml) @@ -17,7 +16,7 @@ - [AbortOptions](#abortoptions) - [Startable](#startable) - [License](#license) -- [Contribution](#contribution) +- [Contribute](#contribute) ## Install @@ -92,6 +91,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribution +## Contribute 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.