diff --git a/packages/bitswap/package.json b/packages/bitswap/package.json index 2fedf54b7..ddbe6884a 100644 --- a/packages/bitswap/package.json +++ b/packages/bitswap/package.json @@ -150,7 +150,7 @@ "dependencies": { "@helia/interface": "^4.3.1", "@helia/utils": "^0.3.3", - "@libp2p/interface": "^1.1.2", + "@libp2p/interface": "^1.1.4", "@libp2p/logger": "^4.0.5", "@libp2p/peer-collections": "^5.1.6", "@libp2p/utils": "^5.2.3", diff --git a/packages/car/package.json b/packages/car/package.json index 62b8297cc..cee0fb05a 100644 --- a/packages/car/package.json +++ b/packages/car/package.json @@ -141,7 +141,7 @@ "dependencies": { "@helia/interface": "^4.3.1", "@ipld/car": "^5.3.0", - "@libp2p/interfaces": "^3.3.2", + "@libp2p/interface": "^1.1.4", "@libp2p/utils": "^5.4.6", "interface-blockstore": "^5.2.10", "it-drain": "^3.0.5", diff --git a/packages/car/src/index.ts b/packages/car/src/index.ts index 23b247be0..f23e1375f 100644 --- a/packages/car/src/index.ts +++ b/packages/car/src/index.ts @@ -66,7 +66,7 @@ import PQueue from 'p-queue' import type { DAGWalker } from '@helia/interface' import type { GetBlockProgressEvents, PutManyBlocksProgressEvents } from '@helia/interface/blocks' import type { CarReader } from '@ipld/car' -import type { AbortOptions } from '@libp2p/interfaces' +import type { AbortOptions } from '@libp2p/interface' import type { Filter } from '@libp2p/utils/filters' import type { Blockstore } from 'interface-blockstore' import type { CID } from 'multiformats/cid' diff --git a/packages/dag-cbor/package.json b/packages/dag-cbor/package.json index e63106eaf..1fe7fab3d 100644 --- a/packages/dag-cbor/package.json +++ b/packages/dag-cbor/package.json @@ -142,7 +142,7 @@ "dependencies": { "@helia/interface": "^4.3.1", "@ipld/dag-cbor": "^9.2.0", - "@libp2p/interfaces": "^3.3.2", + "@libp2p/interface": "^1.1.4", "interface-blockstore": "^5.2.10", "multiformats": "^13.1.0", "progress-events": "^1.0.0" diff --git a/packages/dag-cbor/src/index.ts b/packages/dag-cbor/src/index.ts index 12cf8c63c..f262baa97 100644 --- a/packages/dag-cbor/src/index.ts +++ b/packages/dag-cbor/src/index.ts @@ -27,7 +27,7 @@ import * as codec from '@ipld/dag-cbor' import { CID } from 'multiformats/cid' import { sha256 } from 'multiformats/hashes/sha2' import type { GetBlockProgressEvents, PutBlockProgressEvents } from '@helia/interface/blocks' -import type { AbortOptions } from '@libp2p/interfaces' +import type { AbortOptions } from '@libp2p/interface' import type { Blockstore } from 'interface-blockstore' import type { BlockCodec } from 'multiformats/codecs/interface' import type { MultihashHasher } from 'multiformats/hashes/interface' diff --git a/packages/dag-json/package.json b/packages/dag-json/package.json index 56b0e3134..0dea28ab9 100644 --- a/packages/dag-json/package.json +++ b/packages/dag-json/package.json @@ -141,7 +141,7 @@ "dependencies": { "@helia/interface": "^4.3.1", "@ipld/dag-json": "^10.2.0", - "@libp2p/interfaces": "^3.3.2", + "@libp2p/interface": "^1.1.4", "interface-blockstore": "^5.2.10", "multiformats": "^13.1.0", "progress-events": "^1.0.0" diff --git a/packages/dag-json/src/index.ts b/packages/dag-json/src/index.ts index 83fe4eeab..9d218be61 100644 --- a/packages/dag-json/src/index.ts +++ b/packages/dag-json/src/index.ts @@ -27,7 +27,7 @@ import * as codec from '@ipld/dag-json' import { CID } from 'multiformats/cid' import { sha256 } from 'multiformats/hashes/sha2' import type { GetBlockProgressEvents, PutBlockProgressEvents } from '@helia/interface/blocks' -import type { AbortOptions } from '@libp2p/interfaces' +import type { AbortOptions } from '@libp2p/interface' import type { Blockstore } from 'interface-blockstore' import type { BlockCodec } from 'multiformats/codecs/interface' import type { MultihashHasher } from 'multiformats/hashes/interface' diff --git a/packages/json/package.json b/packages/json/package.json index 26874bd3a..e3972d7f9 100644 --- a/packages/json/package.json +++ b/packages/json/package.json @@ -140,7 +140,7 @@ }, "dependencies": { "@helia/interface": "^4.3.1", - "@libp2p/interfaces": "^3.3.2", + "@libp2p/interface": "^1.1.4", "interface-blockstore": "^5.2.10", "multiformats": "^13.1.0", "progress-events": "^1.0.0" diff --git a/packages/json/src/index.ts b/packages/json/src/index.ts index 09fcc2358..3d1432b9a 100644 --- a/packages/json/src/index.ts +++ b/packages/json/src/index.ts @@ -27,7 +27,7 @@ import { CID } from 'multiformats/cid' import * as jsonCodec from 'multiformats/codecs/json' import { sha256 } from 'multiformats/hashes/sha2' import type { GetBlockProgressEvents, PutBlockProgressEvents } from '@helia/interface/blocks' -import type { AbortOptions } from '@libp2p/interfaces' +import type { AbortOptions } from '@libp2p/interface' import type { Blockstore } from 'interface-blockstore' import type { BlockCodec } from 'multiformats/codecs/interface' import type { MultihashHasher } from 'multiformats/hashes/interface' diff --git a/packages/mfs/package.json b/packages/mfs/package.json index 4c4d829d2..73f2b582c 100644 --- a/packages/mfs/package.json +++ b/packages/mfs/package.json @@ -140,7 +140,7 @@ }, "dependencies": { "@helia/unixfs": "^3.0.7", - "@libp2p/interfaces": "^3.3.2", + "@libp2p/interface": "^1.1.4", "@libp2p/logger": "^4.0.7", "interface-blockstore": "^5.2.10", "interface-datastore": "^8.2.11", diff --git a/packages/mfs/src/index.ts b/packages/mfs/src/index.ts index 78b65d475..887988f57 100644 --- a/packages/mfs/src/index.ts +++ b/packages/mfs/src/index.ts @@ -37,7 +37,7 @@ import { UnixFS as IPFSUnixFS, type Mtime } from 'ipfs-unixfs' import { CID } from 'multiformats/cid' import { basename } from './utils/basename.js' import type { AddOptions, CatOptions, ChmodOptions, CpOptions, LsOptions, MkdirOptions as UnixFsMkdirOptions, RmOptions as UnixFsRmOptions, StatOptions, TouchOptions, UnixFS, UnixFSStats } from '@helia/unixfs' -import type { AbortOptions } from '@libp2p/interfaces' +import type { AbortOptions } from '@libp2p/interface' import type { Blockstore } from 'interface-blockstore' import type { Datastore } from 'interface-datastore' import type { UnixFSEntry } from 'ipfs-unixfs-exporter' diff --git a/packages/strings/package.json b/packages/strings/package.json index b716c9623..9e08b27c3 100644 --- a/packages/strings/package.json +++ b/packages/strings/package.json @@ -142,7 +142,7 @@ }, "dependencies": { "@helia/interface": "^4.3.1", - "@libp2p/interfaces": "^3.3.2", + "@libp2p/interface": "^1.1.4", "interface-blockstore": "^5.2.10", "multiformats": "^13.1.0", "progress-events": "^1.0.0", diff --git a/packages/strings/src/index.ts b/packages/strings/src/index.ts index 228d04cbf..8b022209f 100644 --- a/packages/strings/src/index.ts +++ b/packages/strings/src/index.ts @@ -27,7 +27,7 @@ import { sha256 } from 'multiformats/hashes/sha2' import { fromString as uint8ArrayFromString } from 'uint8arrays/from-string' import { toString as uint8ArrayToString } from 'uint8arrays/to-string' import type { GetBlockProgressEvents, PutBlockProgressEvents } from '@helia/interface/blocks' -import type { AbortOptions } from '@libp2p/interfaces' +import type { AbortOptions } from '@libp2p/interface' import type { Blockstore } from 'interface-blockstore' import type { BlockCodec } from 'multiformats/codecs/interface' import type { MultihashHasher } from 'multiformats/hashes/interface'