mirror of
https://github.com/fluencelabs/js-libp2p
synced 2025-06-26 15:31:34 +00:00
feat!: update libp2p interfaces (#1252)
BREAKING CHANGE: uses new single-issue libp2p interface modules
This commit is contained in:
@ -9,9 +9,9 @@ import { Key } from 'interface-datastore/key'
|
||||
import { MemoryDatastore } from 'datastore-core/memory'
|
||||
import { KeyChain, KeyChainInit, KeyInfo } from '../../src/keychain/index.js'
|
||||
import { pbkdf2 } from '@libp2p/crypto'
|
||||
import { Components } from '@libp2p/interfaces/components'
|
||||
import { Components } from '@libp2p/components'
|
||||
import type { Datastore } from 'interface-datastore'
|
||||
import type { PeerId } from '@libp2p/interfaces/peer-id'
|
||||
import type { PeerId } from '@libp2p/interface-peer-id'
|
||||
import { createFromPrivKey } from '@libp2p/peer-id-factory'
|
||||
import { unmarshalPrivateKey } from '@libp2p/crypto/keys'
|
||||
|
||||
|
Reference in New Issue
Block a user