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

@ -4,7 +4,7 @@ import { createBaseOptions } from '../base-options.browser.js'
import { createEd25519PeerId, createFromJSON, createRSAPeerId } from '@libp2p/peer-id-factory'
import { createLibp2pNode, Libp2pNode } from '../../../src/libp2p.js'
import type { AddressesConfig, Libp2pOptions } from '../../../src/index.js'
import type { PeerId } from '@libp2p/interfaces/peer-id'
import type { PeerId } from '@libp2p/interface-peer-id'
const listenAddr = new Multiaddr('/ip4/127.0.0.1/tcp/0')