fix: update interfaces (#1207)

Update to the latest interfaces version
This commit is contained in:
Alex Potsides
2022-05-04 16:03:43 +01:00
committed by GitHub
parent a15254fdd4
commit da3d19b309
35 changed files with 69 additions and 57 deletions

View File

@ -13,7 +13,7 @@ import { createBaseOptions } from '../utils/base-options.js'
import { createPeerId } from '../utils/creators/peer.js'
import type { PeerId } from '@libp2p/interfaces/peer-id'
import { createLibp2pNode, Libp2pNode } from '../../src/libp2p.js'
import { CustomEvent } from '@libp2p/interfaces'
import { CustomEvent } from '@libp2p/interfaces/events'
import type { PeerInfo } from '@libp2p/interfaces/peer-info'
const listenAddr = new Multiaddr('/ip4/127.0.0.1/tcp/0')