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

@ -14,7 +14,7 @@ import { logger } from '@libp2p/logger'
import { Mplex } from '@libp2p/mplex'
import fs from 'fs'
import { unmarshalPrivateKey } from '@libp2p/crypto/keys'
import type { PeerId } from '@libp2p/interfaces/peer-id'
import type { PeerId } from '@libp2p/interface-peer-id'
import { peerIdFromKeys } from '@libp2p/peer-id'
import { FloodSub } from '@libp2p/floodsub'