Skip to content

Commit 8f92779

Browse files
committed
fix: update import to use multiformats
1 parent af5233c commit 8f92779

File tree

5 files changed

+7
-8
lines changed

5 files changed

+7
-8
lines changed

packages/client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@
144144
"it-first": "^3.0.6",
145145
"it-map": "^3.1.1",
146146
"it-ndjson": "^1.0.7",
147-
"multiformats": "^13.2.3",
147+
"multiformats": "^13.3.0",
148148
"p-defer": "^4.0.1",
149149
"p-queue": "^8.0.1",
150150
"uint8arrays": "^5.1.0"

packages/interop/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@
116116
"test:node": "aegir test -t node --cov"
117117
},
118118
"devDependencies": {
119-
"@helia/delegated-routing-v1-http-api-client": "^3.0.0",
120-
"@helia/delegated-routing-v1-http-api-server": "^3.0.0",
119+
"@helia/delegated-routing-v1-http-api-client": "^4.0.0",
120+
"@helia/delegated-routing-v1-http-api-server": "^4.0.0",
121121
"@helia/ipns": "next",
122122
"@libp2p/crypto": "^5.0.1",
123123
"@libp2p/identify": "^3.0.1",
@@ -128,7 +128,7 @@
128128
"helia": "next",
129129
"ipns": "^10.0.0",
130130
"it-first": "^3.0.6",
131-
"multiformats": "^13.2.3"
131+
"multiformats": "^13.3.0"
132132
},
133133
"private": true
134134
}

packages/server/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,12 +156,11 @@
156156
"dependencies": {
157157
"@fastify/cors": "^9.0.1",
158158
"@helia/interface": "next",
159-
"@helia/utils": "next",
160159
"@libp2p/interface": "^2.0.1",
161160
"@libp2p/peer-id": "^5.0.1",
162161
"fastify": "^4.28.1",
163162
"ipns": "^10.0.0",
164-
"multiformats": "^13.2.3",
163+
"multiformats": "^13.3.0",
165164
"raw-body": "^3.0.0"
166165
},
167166
"devDependencies": {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { hasCode } from '@helia/utils'
21
import { setMaxListeners } from '@libp2p/interface'
32
import { multihashToIPNSRoutingKey } from 'ipns'
43
import { CID } from 'multiformats/cid'
4+
import { hasCode } from 'multiformats/hashes/digest'
55
import { LIBP2P_KEY_CODEC } from '../../../../constants.js'
66
import type { Helia } from '@helia/interface'
77
import type { FastifyInstance } from 'fastify'

packages/server/src/routes/routing/v1/ipns/put.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import { hasCode } from '@helia/utils'
21
import { setMaxListeners } from '@libp2p/interface'
32
import { multihashToIPNSRoutingKey } from 'ipns'
43
import { ipnsValidator } from 'ipns/validator'
54
import { CID } from 'multiformats/cid'
5+
import { hasCode } from 'multiformats/hashes/digest'
66
import getRawBody from 'raw-body'
77
import { LIBP2P_KEY_CODEC } from '../../../../constants.js'
88
import type { Helia } from '@helia/interface'

0 commit comments

Comments
 (0)