Skip to content
This repository has been archived by the owner on Jun 26, 2023. It is now read-only.

feat!: add libp2p events #373

Merged
merged 9 commits into from
Apr 21, 2023
Merged

feat!: add libp2p events #373

merged 9 commits into from
Apr 21, 2023

Conversation

achingbrain
Copy link
Member

@achingbrain achingbrain commented Apr 16, 2023

Removes events from some internal components and adds them to the event bus.

Decouples internal components from each other since they can listen to the bus for events rather than having to know about the component that dispatches them.

Refs: libp2p/js-libp2p#1693

@achingbrain achingbrain marked this pull request as draft April 16, 2023 16:01
@achingbrain achingbrain changed the title feat: add libp2p events feat!: add libp2p events Apr 20, 2023
@achingbrain achingbrain marked this pull request as ready for review April 21, 2023 12:16
@achingbrain achingbrain merged commit 071c718 into master Apr 21, 2023
@achingbrain achingbrain deleted the feat/add-libp2p-events branch April 21, 2023 13:08
github-actions bot pushed a commit that referenced this pull request Apr 21, 2023
## [@libp2p/interface-connection-manager-v3.0.0](https://github.com/libp2p/js-libp2p-interfaces/compare/@libp2p/interface-connection-manager-v2.1.1...@libp2p/interface-connection-manager-v3.0.0) (2023-04-21)

### ⚠ BREAKING CHANGES

* add libp2p events (#373)

### Features

* add libp2p events ([#373](#373)) ([071c718](071c718))
@github-actions
Copy link

🎉 This PR is included in version @libp2p/interface-connection-manager-v3.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

github-actions bot pushed a commit that referenced this pull request Apr 21, 2023
## [@libp2p/interface-transport-v4.0.0](https://github.com/libp2p/js-libp2p-interfaces/compare/@libp2p/interface-transport-v3.0.0...@libp2p/interface-transport-v4.0.0) (2023-04-21)

### ⚠ BREAKING CHANGES

* add libp2p events (#373)

### Features

* add libp2p events ([#373](#373)) ([071c718](071c718))
@github-actions
Copy link

🎉 This PR is included in version @libp2p/interface-transport-v4.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

github-actions bot pushed a commit that referenced this pull request Apr 21, 2023
## [@libp2p/interface-libp2p-v2.0.0](https://github.com/libp2p/js-libp2p-interfaces/compare/@libp2p/interface-libp2p-v1.3.2...@libp2p/interface-libp2p-v2.0.0) (2023-04-21)

### ⚠ BREAKING CHANGES

* add libp2p events (#373)

### Features

* add libp2p events ([#373](#373)) ([071c718](071c718))

### Dependencies

* update sibling dependencies ([17ed429](17ed429))
* update sibling dependencies ([4421374](4421374))
@github-actions
Copy link

🎉 This PR is included in version @libp2p/interface-libp2p-v2.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

github-actions bot pushed a commit that referenced this pull request Apr 21, 2023
## [@libp2p/interface-mocks-v11.0.0](https://github.com/libp2p/js-libp2p-interfaces/compare/@libp2p/interface-mocks-v10.0.3...@libp2p/interface-mocks-v11.0.0) (2023-04-21)

### ⚠ BREAKING CHANGES

* add libp2p events (#373)

### Features

* add libp2p events ([#373](#373)) ([071c718](071c718))

### Dependencies

* update sibling dependencies ([a1b72f9](a1b72f9))
* update sibling dependencies ([17ed429](17ed429))
* update sibling dependencies ([6c18790](6c18790))
@github-actions
Copy link

🎉 This PR is included in version @libp2p/interface-mocks-v11.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

github-actions bot pushed a commit that referenced this pull request Apr 21, 2023
## [@libp2p/interface-address-manager-v3.0.0](https://github.com/libp2p/js-libp2p-interfaces/compare/@libp2p/interface-address-manager-v2.0.5...@libp2p/interface-address-manager-v3.0.0) (2023-04-21)

### ⚠ BREAKING CHANGES

* add libp2p events (#373)

### Features

* add libp2p events ([#373](#373)) ([071c718](071c718))
@github-actions
Copy link

🎉 This PR is included in version @libp2p/interface-address-manager-v3.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

github-actions bot pushed a commit that referenced this pull request Apr 21, 2023
## [@libp2p/interface-transport-compliance-tests-v4.0.0](https://github.com/libp2p/js-libp2p-interfaces/compare/@libp2p/interface-transport-compliance-tests-v3.0.13...@libp2p/interface-transport-compliance-tests-v4.0.0) (2023-04-21)

### ⚠ BREAKING CHANGES

* add libp2p events (#373)

### Features

* add libp2p events ([#373](#373)) ([071c718](071c718))

### Dependencies

* update sibling dependencies ([74f82d5](74f82d5))
* update sibling dependencies ([17ed429](17ed429))
@github-actions
Copy link

🎉 This PR is included in version @libp2p/interface-transport-compliance-tests-v4.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant