feat!: update libp2p interfaces (#1252)

BREAKING CHANGE: uses new single-issue libp2p interface modules
This commit is contained in:
Alex Potsides
2022-06-15 18:30:39 +01:00
committed by GitHub
parent 13d95b413c
commit d4dd664071
81 changed files with 370 additions and 330 deletions

View File

@ -240,7 +240,7 @@ libp2p.pubsub.off('my-topic', handler)
**After**
```js
import type { Message } from '@libp2p/interfaces/pubsub'
import type { Message } from '@libp2p/interface-pubsub'
const handler = (event: CustomEvent<Message>) => {
const message = event.detail