Skip to content

Commit

Permalink
fix: update import to use multiformats
Browse files Browse the repository at this point in the history
  • Loading branch information
achingbrain committed Sep 17, 2024
1 parent af5233c commit 8f92779
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
"it-first": "^3.0.6",
"it-map": "^3.1.1",
"it-ndjson": "^1.0.7",
"multiformats": "^13.2.3",
"multiformats": "^13.3.0",
"p-defer": "^4.0.1",
"p-queue": "^8.0.1",
"uint8arrays": "^5.1.0"
Expand Down
6 changes: 3 additions & 3 deletions packages/interop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@
"test:node": "aegir test -t node --cov"
},
"devDependencies": {
"@helia/delegated-routing-v1-http-api-client": "^3.0.0",
"@helia/delegated-routing-v1-http-api-server": "^3.0.0",
"@helia/delegated-routing-v1-http-api-client": "^4.0.0",
"@helia/delegated-routing-v1-http-api-server": "^4.0.0",
"@helia/ipns": "next",
"@libp2p/crypto": "^5.0.1",
"@libp2p/identify": "^3.0.1",
Expand All @@ -128,7 +128,7 @@
"helia": "next",
"ipns": "^10.0.0",
"it-first": "^3.0.6",
"multiformats": "^13.2.3"
"multiformats": "^13.3.0"
},
"private": true
}
3 changes: 1 addition & 2 deletions packages/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -156,12 +156,11 @@
"dependencies": {
"@fastify/cors": "^9.0.1",
"@helia/interface": "next",
"@helia/utils": "next",
"@libp2p/interface": "^2.0.1",
"@libp2p/peer-id": "^5.0.1",
"fastify": "^4.28.1",
"ipns": "^10.0.0",
"multiformats": "^13.2.3",
"multiformats": "^13.3.0",
"raw-body": "^3.0.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/server/src/routes/routing/v1/ipns/get.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { hasCode } from '@helia/utils'
import { setMaxListeners } from '@libp2p/interface'
import { multihashToIPNSRoutingKey } from 'ipns'
import { CID } from 'multiformats/cid'
import { hasCode } from 'multiformats/hashes/digest'
import { LIBP2P_KEY_CODEC } from '../../../../constants.js'
import type { Helia } from '@helia/interface'
import type { FastifyInstance } from 'fastify'
Expand Down
2 changes: 1 addition & 1 deletion packages/server/src/routes/routing/v1/ipns/put.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { hasCode } from '@helia/utils'
import { setMaxListeners } from '@libp2p/interface'
import { multihashToIPNSRoutingKey } from 'ipns'
import { ipnsValidator } from 'ipns/validator'
import { CID } from 'multiformats/cid'
import { hasCode } from 'multiformats/hashes/digest'
import getRawBody from 'raw-body'
import { LIBP2P_KEY_CODEC } from '../../../../constants.js'
import type { Helia } from '@helia/interface'
Expand Down

0 comments on commit 8f92779

Please sign in to comment.