Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

Commit

Permalink
deps!: update deps to libp2p@0.46.x (#23)
Browse files Browse the repository at this point in the history
libp2p@0.46.x consolidated a lot of modules so update deps to the
latest versions.

BREAKING CHANGE: requires libp2p@0.46.x
  • Loading branch information
achingbrain committed Aug 5, 2023
1 parent e5a1670 commit 4b51ef9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
12 changes: 5 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,21 +136,19 @@
"docs": "aegir docs"
},
"dependencies": {
"@libp2p/interface-content-routing": "^2.0.2",
"@libp2p/interface-peer-info": "^1.0.9",
"@libp2p/interfaces": "^3.3.1",
"@libp2p/logger": "^2.0.7",
"@libp2p/peer-id": "^2.0.3",
"@libp2p/interface": "^0.1.1",
"@libp2p/logger": "^3.0.1",
"@libp2p/peer-id": "^3.0.1",
"@multiformats/multiaddr": "^12.1.2",
"any-signal": "^4.1.1",
"browser-readablestream-to-it": "^2.0.2",
"iterable-ndjson": "^1.1.0",
"multiformats": "^11.0.2",
"multiformats": "^12.0.1",
"p-defer": "^4.0.0",
"p-queue": "^7.3.4"
},
"devDependencies": {
"@libp2p/peer-id-factory": "^2.0.3",
"@libp2p/peer-id-factory": "^3.0.2",
"aegir": "^40.0.8",
"body-parser": "^1.20.2",
"it-all": "^3.0.1"
Expand Down
10 changes: 5 additions & 5 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { CodeError } from '@libp2p/interfaces/errors'
import { CodeError } from '@libp2p/interface/errors'
import { logger } from '@libp2p/logger'
import { peerIdFromString } from '@libp2p/peer-id'
import { multiaddr } from '@multiformats/multiaddr'
Expand All @@ -8,10 +8,10 @@ import toIt from 'browser-readablestream-to-it'
import ndjson from 'iterable-ndjson'
import defer from 'p-defer'
import PQueue from 'p-queue'
import type { ContentRouting } from '@libp2p/interface-content-routing'
import type { PeerInfo } from '@libp2p/interface-peer-info'
import type { AbortOptions } from '@libp2p/interfaces'
import type { Startable } from '@libp2p/interfaces/startable'
import type { AbortOptions } from '@libp2p/interface'
import type { ContentRouting } from '@libp2p/interface/content-routing'
import type { PeerInfo } from '@libp2p/interface/peer-info'
import type { Startable } from '@libp2p/interface/startable'
import type { Multiaddr } from '@multiformats/multiaddr'
import type { CID } from 'multiformats/cid'

Expand Down

0 comments on commit 4b51ef9

Please sign in to comment.