Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add service capabilities definition #429

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

achingbrain
Copy link
Collaborator

The latest libp2p release allows services to declare their capabilities (what they provide to the node) and their dependencies (the capabilities they require other services to provide for the config to be "valid").

Adds the serviceCapabilities symbol property that says Noise provides the @libp2p/connection-encryption capability and also that it provides noise encryption as some transports (WebTransport, WebRTC) now require this module to be configured alongside them.

The latest libp2p release allows services to declare their
capabilities (what they provide to the node) and their
dependencies (the capabilities they require other services to
provide for the config to be "valid").

Adds the `serviceCapabilities` symbol property that says Noise
provides the `@libp2p/connection-encryption` capability and also
that it provides noise encryption as some transports (WebTransport,
WebRTC) now require this module to be configured alongside them.
@achingbrain achingbrain requested a review from a team as a code owner June 19, 2024 17:17
@wemeetagain wemeetagain merged commit a3b517b into master Jun 20, 2024
10 of 13 checks passed
@wemeetagain wemeetagain deleted the feat/add-service-capabilities branch June 20, 2024 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants