Skip to content

Commit 9160281

Browse files
deps: bump helia from 1.3.12 to 2.0.1 (#26)
Bumps [helia](https://github.com/ipfs/helia) from 1.3.12 to 2.0.1. - [Release notes](https://github.com/ipfs/helia/releases) - [Changelog](https://github.com/ipfs/helia/blob/main/CHANGELOG.md) - [Commits](ipfs/helia@helia-v1.3.12...helia-v2.0.1) --- updated-dependencies: - dependency-name: helia dependency-type: direct:production update-type: version-update:semver-major ... --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: achingbrain <alex@achingbrain.net>
1 parent 1af4a7a commit 9160281

File tree

10 files changed

+27
-29
lines changed

10 files changed

+27
-29
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
"generate": "aegir run generate",
3030
"build": "aegir run build",
3131
"lint": "aegir run lint",
32-
"docs": "NODE_OPTIONS=--max_old_space_size=4096 aegir docs -- --exclude packages/interop",
33-
"docs:no-publish": "npm run docs -- --publish false",
32+
"docs": "NODE_OPTIONS=--max_old_space_size=8192 aegir docs -- --exclude packages/interop",
33+
"docs:no-publish": "NODE_OPTIONS=--max_old_space_size=8192 aegir docs --publish false -- --exclude packages/interop",
3434
"dep-check": "aegir run dep-check",
3535
"release": "npm run docs:no-publish && aegir run release && npm run docs -- --exclude packages/interop"
3636
},

packages/client/package.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -129,21 +129,20 @@
129129
"release": "aegir release"
130130
},
131131
"dependencies": {
132-
"@libp2p/interface-peer-info": "^1.0.10",
133-
"@libp2p/interfaces": "^3.3.2",
134-
"@libp2p/logger": "^2.1.0",
135-
"@libp2p/peer-id": "^2.0.3",
132+
"@libp2p/interface": "^0.1.2",
133+
"@libp2p/logger": "^3.0.2",
134+
"@libp2p/peer-id": "^3.0.2",
136135
"@multiformats/multiaddr": "^12.1.3",
137136
"any-signal": "^4.1.1",
138137
"browser-readablestream-to-it": "^2.0.3",
139138
"it-all": "^3.0.2",
140139
"iterable-ndjson": "^1.1.0",
141-
"multiformats": "^11.0.2",
140+
"multiformats": "^12.1.1",
142141
"p-defer": "^4.0.0",
143142
"p-queue": "^7.3.4"
144143
},
145144
"devDependencies": {
146-
"@libp2p/peer-id-factory": "^2.0.3",
145+
"@libp2p/peer-id-factory": "^3.0.3",
147146
"aegir": "^40.0.8",
148147
"body-parser": "^1.20.2"
149148
}

packages/client/src/client.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { CodeError } from '@libp2p/interfaces/errors'
1+
import { CodeError } from '@libp2p/interface/errors'
22
import { logger } from '@libp2p/logger'
33
import { peerIdFromString } from '@libp2p/peer-id'
44
import { multiaddr } from '@multiformats/multiaddr'
@@ -9,8 +9,8 @@ import ndjson from 'iterable-ndjson'
99
import defer from 'p-defer'
1010
import PQueue from 'p-queue'
1111
import type { RoutingV1HttpApiClient, RoutingV1HttpApiClientInit } from './index.js'
12-
import type { PeerInfo } from '@libp2p/interface-peer-info'
13-
import type { AbortOptions } from '@libp2p/interfaces'
12+
import type { AbortOptions } from '@libp2p/interface'
13+
import type { PeerInfo } from '@libp2p/interface/peer-info'
1414
import type { Multiaddr } from '@multiformats/multiaddr'
1515
import type { CID } from 'multiformats'
1616

packages/client/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
*/
1919

2020
import { DefaultRoutingV1HttpApiClient } from './client.js'
21-
import type { PeerInfo } from '@libp2p/interface-peer-info'
22-
import type { AbortOptions } from '@libp2p/interfaces'
21+
import type { AbortOptions } from '@libp2p/interface'
22+
import type { PeerInfo } from '@libp2p/interface/peer-info'
2323
import type { CID } from 'multiformats/cid'
2424

2525
export interface RoutingV1HttpApiClientInit {

packages/interop/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,16 @@
4545
"dependencies": {
4646
"@helia/routing-v1-http-api-client": "^1.0.0",
4747
"@helia/routing-v1-http-api-server": "^1.0.0",
48-
"helia": "^1.2.0"
48+
"helia": "^2.0.1"
4949
},
5050
"devDependencies": {
51-
"@helia/interface": "^1.1.1",
52-
"@libp2p/interface-libp2p": "^3.2.0",
53-
"@libp2p/kad-dht": "^9.3.6",
51+
"@helia/interface": "^2.0.0",
52+
"@libp2p/interface": "^0.1.2",
53+
"@libp2p/kad-dht": "^10.0.6",
5454
"aegir": "^40.0.8",
5555
"fastify": "^4.17.0",
56-
"libp2p": "^0.45.4",
57-
"multiformats": "^11.0.2"
56+
"libp2p": "^0.46.10",
57+
"multiformats": "^12.1.1"
5858
},
5959
"private": true
6060
}

packages/interop/test/fixtures/create-helia.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { kadDHT } from '@libp2p/kad-dht'
22
import { createHelia as createNode, type HeliaInit } from 'helia'
33
import { identifyService } from 'libp2p/identify'
44
import type { Helia } from '@helia/interface'
5-
import type { Libp2p } from '@libp2p/interface-libp2p'
5+
import type { Libp2p } from '@libp2p/interface'
66
import type { KadDHT } from '@libp2p/kad-dht'
77

88
export async function createHelia (init?: Partial<HeliaInit>): Promise<Helia<Libp2p<{ dht: KadDHT, identify: unknown }>>> {

packages/interop/test/index.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { sha256 } from 'multiformats/hashes/sha2'
99
import { createHelia } from './fixtures/create-helia.js'
1010
import type { Helia } from '@helia/interface'
1111
import type { RoutingV1HttpApiClient } from '@helia/routing-v1-http-api-client'
12-
import type { Libp2p } from '@libp2p/interface-libp2p'
12+
import type { Libp2p } from '@libp2p/interface'
1313
import type { KadDHT } from '@libp2p/kad-dht'
1414
import type { FastifyInstance } from 'fastify'
1515

packages/server/package.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -150,18 +150,17 @@
150150
},
151151
"dependencies": {
152152
"@fastify/cors": "^8.3.0",
153-
"@helia/interface": "^1.1.1",
154-
"@libp2p/interfaces": "^3.3.2",
153+
"@helia/interface": "^2.0.0",
154+
"@libp2p/interface": "^0.1.2",
155155
"fastify": "^4.17.0",
156-
"multiformats": "^11.0.2"
156+
"multiformats": "^12.1.1"
157157
},
158158
"devDependencies": {
159-
"@libp2p/interface-peer-info": "^1.0.10",
160-
"@libp2p/peer-id-factory": "^2.0.3",
159+
"@libp2p/peer-id-factory": "^3.0.3",
161160
"@multiformats/multiaddr": "^12.1.3",
162161
"@types/sinon": "^10.0.15",
163162
"aegir": "^40.0.8",
164-
"sinon": "^15.1.0",
163+
"sinon": "^16.0.0",
165164
"sinon-ts": "^1.0.0"
166165
}
167166
}

packages/server/src/routes/routing/v1/providers/get.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { PassThrough } from 'node:stream'
22
import { CID } from 'multiformats/cid'
33
import type { Helia } from '@helia/interface'
4-
import type { AbortOptions } from '@libp2p/interfaces'
4+
import type { AbortOptions } from '@libp2p/interface'
55
import type { FastifyInstance } from 'fastify'
66

77
interface Params {

packages/server/test/index.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { expect } from 'aegir/chai'
66
import { stubInterface } from 'sinon-ts'
77
import { createRoutingV1HttpApiServer } from '../src/index.js'
88
import type { Helia } from '@helia/interface'
9-
import type { PeerInfo } from '@libp2p/interface-peer-info'
9+
import type { PeerInfo } from '@libp2p/interface/peer-info'
1010
import type { FastifyInstance } from 'fastify'
1111
import type { StubbedInstance } from 'sinon-ts'
1212

0 commit comments

Comments
 (0)