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

@ -6,7 +6,7 @@ import { NOISE } from '@chainsafe/libp2p-noise'
import { createLibp2p, Libp2pOptions } from '../../src/index.js'
import { codes as ErrorCodes } from '../../src/errors.js'
import { createPeerId } from '../utils/creators/peer.js'
import type { PeerId } from '@libp2p/interfaces/peer-id'
import type { PeerId } from '@libp2p/interface-peer-id'
describe('Connection encryption configuration', () => {
let peerId: PeerId