Skip to content

Commit

Permalink
fix: use typed event emitter classes
Browse files Browse the repository at this point in the history
The typed `EventEmitter` class from `@libp2p/interface/events` has
been renamed `TypedEventEmitter` along with a `TypedEventTarget`
interface.

The old name is still exported so it's a backwards compatible change
but it will be removed in a future version of `@libp2p/interface`
so this change future-proofs `@chainsafe/libp2p-gossipsub` against
that upcoming release.
  • Loading branch information
achingbrain committed Nov 15, 2023
1 parent a39115c commit 7e2fbe0
Show file tree
Hide file tree
Showing 6 changed files with 1,984 additions and 2,296 deletions.
Loading

0 comments on commit 7e2fbe0

Please sign in to comment.