Skip to content

Commit

Permalink
deps: bump helia from 1.3.12 to 2.0.1 (#26)
Browse files Browse the repository at this point in the history
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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: achingbrain <[email protected]>
  • Loading branch information
dependabot[bot] and achingbrain authored Sep 14, 2023
1 parent 1af4a7a commit 9160281
Show file tree
Hide file tree
Showing 10 changed files with 27 additions and 29 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
"generate": "aegir run generate",
"build": "aegir run build",
"lint": "aegir run lint",
"docs": "NODE_OPTIONS=--max_old_space_size=4096 aegir docs -- --exclude packages/interop",
"docs:no-publish": "npm run docs -- --publish false",
"docs": "NODE_OPTIONS=--max_old_space_size=8192 aegir docs -- --exclude packages/interop",
"docs:no-publish": "NODE_OPTIONS=--max_old_space_size=8192 aegir docs --publish false -- --exclude packages/interop",
"dep-check": "aegir run dep-check",
"release": "npm run docs:no-publish && aegir run release && npm run docs -- --exclude packages/interop"
},
Expand Down
11 changes: 5 additions & 6 deletions packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,21 +129,20 @@
"release": "aegir release"
},
"dependencies": {
"@libp2p/interface-peer-info": "^1.0.10",
"@libp2p/interfaces": "^3.3.2",
"@libp2p/logger": "^2.1.0",
"@libp2p/peer-id": "^2.0.3",
"@libp2p/interface": "^0.1.2",
"@libp2p/logger": "^3.0.2",
"@libp2p/peer-id": "^3.0.2",
"@multiformats/multiaddr": "^12.1.3",
"any-signal": "^4.1.1",
"browser-readablestream-to-it": "^2.0.3",
"it-all": "^3.0.2",
"iterable-ndjson": "^1.1.0",
"multiformats": "^11.0.2",
"multiformats": "^12.1.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.3",
"aegir": "^40.0.8",
"body-parser": "^1.20.2"
}
Expand Down
6 changes: 3 additions & 3 deletions packages/client/src/client.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 @@ -9,8 +9,8 @@ import ndjson from 'iterable-ndjson'
import defer from 'p-defer'
import PQueue from 'p-queue'
import type { RoutingV1HttpApiClient, RoutingV1HttpApiClientInit } from './index.js'
import type { PeerInfo } from '@libp2p/interface-peer-info'
import type { AbortOptions } from '@libp2p/interfaces'
import type { AbortOptions } from '@libp2p/interface'
import type { PeerInfo } from '@libp2p/interface/peer-info'
import type { Multiaddr } from '@multiformats/multiaddr'
import type { CID } from 'multiformats'

Expand Down
4 changes: 2 additions & 2 deletions packages/client/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
*/

import { DefaultRoutingV1HttpApiClient } from './client.js'
import type { PeerInfo } from '@libp2p/interface-peer-info'
import type { AbortOptions } from '@libp2p/interfaces'
import type { AbortOptions } from '@libp2p/interface'
import type { PeerInfo } from '@libp2p/interface/peer-info'
import type { CID } from 'multiformats/cid'

export interface RoutingV1HttpApiClientInit {
Expand Down
12 changes: 6 additions & 6 deletions packages/interop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,16 @@
"dependencies": {
"@helia/routing-v1-http-api-client": "^1.0.0",
"@helia/routing-v1-http-api-server": "^1.0.0",
"helia": "^1.2.0"
"helia": "^2.0.1"
},
"devDependencies": {
"@helia/interface": "^1.1.1",
"@libp2p/interface-libp2p": "^3.2.0",
"@libp2p/kad-dht": "^9.3.6",
"@helia/interface": "^2.0.0",
"@libp2p/interface": "^0.1.2",
"@libp2p/kad-dht": "^10.0.6",
"aegir": "^40.0.8",
"fastify": "^4.17.0",
"libp2p": "^0.45.4",
"multiformats": "^11.0.2"
"libp2p": "^0.46.10",
"multiformats": "^12.1.1"
},
"private": true
}
2 changes: 1 addition & 1 deletion packages/interop/test/fixtures/create-helia.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { kadDHT } from '@libp2p/kad-dht'
import { createHelia as createNode, type HeliaInit } from 'helia'
import { identifyService } from 'libp2p/identify'
import type { Helia } from '@helia/interface'
import type { Libp2p } from '@libp2p/interface-libp2p'
import type { Libp2p } from '@libp2p/interface'
import type { KadDHT } from '@libp2p/kad-dht'

export async function createHelia (init?: Partial<HeliaInit>): Promise<Helia<Libp2p<{ dht: KadDHT, identify: unknown }>>> {
Expand Down
2 changes: 1 addition & 1 deletion packages/interop/test/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { sha256 } from 'multiformats/hashes/sha2'
import { createHelia } from './fixtures/create-helia.js'
import type { Helia } from '@helia/interface'
import type { RoutingV1HttpApiClient } from '@helia/routing-v1-http-api-client'
import type { Libp2p } from '@libp2p/interface-libp2p'
import type { Libp2p } from '@libp2p/interface'
import type { KadDHT } from '@libp2p/kad-dht'
import type { FastifyInstance } from 'fastify'

Expand Down
11 changes: 5 additions & 6 deletions packages/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,18 +150,17 @@
},
"dependencies": {
"@fastify/cors": "^8.3.0",
"@helia/interface": "^1.1.1",
"@libp2p/interfaces": "^3.3.2",
"@helia/interface": "^2.0.0",
"@libp2p/interface": "^0.1.2",
"fastify": "^4.17.0",
"multiformats": "^11.0.2"
"multiformats": "^12.1.1"
},
"devDependencies": {
"@libp2p/interface-peer-info": "^1.0.10",
"@libp2p/peer-id-factory": "^2.0.3",
"@libp2p/peer-id-factory": "^3.0.3",
"@multiformats/multiaddr": "^12.1.3",
"@types/sinon": "^10.0.15",
"aegir": "^40.0.8",
"sinon": "^15.1.0",
"sinon": "^16.0.0",
"sinon-ts": "^1.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/server/src/routes/routing/v1/providers/get.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { PassThrough } from 'node:stream'
import { CID } from 'multiformats/cid'
import type { Helia } from '@helia/interface'
import type { AbortOptions } from '@libp2p/interfaces'
import type { AbortOptions } from '@libp2p/interface'
import type { FastifyInstance } from 'fastify'

interface Params {
Expand Down
2 changes: 1 addition & 1 deletion packages/server/test/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { expect } from 'aegir/chai'
import { stubInterface } from 'sinon-ts'
import { createRoutingV1HttpApiServer } from '../src/index.js'
import type { Helia } from '@helia/interface'
import type { PeerInfo } from '@libp2p/interface-peer-info'
import type { PeerInfo } from '@libp2p/interface/peer-info'
import type { FastifyInstance } from 'fastify'
import type { StubbedInstance } from 'sinon-ts'

Expand Down

0 comments on commit 9160281

Please sign in to comment.