File tree Expand file tree Collapse file tree 5 files changed +7
-8
lines changed
src/routes/routing/v1/ipns Expand file tree Collapse file tree 5 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 144
144
"it-first" : " ^3.0.6" ,
145
145
"it-map" : " ^3.1.1" ,
146
146
"it-ndjson" : " ^1.0.7" ,
147
- "multiformats" : " ^13.2.3 " ,
147
+ "multiformats" : " ^13.3.0 " ,
148
148
"p-defer" : " ^4.0.1" ,
149
149
"p-queue" : " ^8.0.1" ,
150
150
"uint8arrays" : " ^5.1.0"
Original file line number Diff line number Diff line change 116
116
"test:node" : " aegir test -t node --cov"
117
117
},
118
118
"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" ,
121
121
"@helia/ipns" : " next" ,
122
122
"@libp2p/crypto" : " ^5.0.1" ,
123
123
"@libp2p/identify" : " ^3.0.1" ,
128
128
"helia" : " next" ,
129
129
"ipns" : " ^10.0.0" ,
130
130
"it-first" : " ^3.0.6" ,
131
- "multiformats" : " ^13.2.3 "
131
+ "multiformats" : " ^13.3.0 "
132
132
},
133
133
"private" : true
134
134
}
Original file line number Diff line number Diff line change 156
156
"dependencies" : {
157
157
"@fastify/cors" : " ^9.0.1" ,
158
158
"@helia/interface" : " next" ,
159
- "@helia/utils" : " next" ,
160
159
"@libp2p/interface" : " ^2.0.1" ,
161
160
"@libp2p/peer-id" : " ^5.0.1" ,
162
161
"fastify" : " ^4.28.1" ,
163
162
"ipns" : " ^10.0.0" ,
164
- "multiformats" : " ^13.2.3 " ,
163
+ "multiformats" : " ^13.3.0 " ,
165
164
"raw-body" : " ^3.0.0"
166
165
},
167
166
"devDependencies" : {
Original file line number Diff line number Diff line change 1
- import { hasCode } from '@helia/utils'
2
1
import { setMaxListeners } from '@libp2p/interface'
3
2
import { multihashToIPNSRoutingKey } from 'ipns'
4
3
import { CID } from 'multiformats/cid'
4
+ import { hasCode } from 'multiformats/hashes/digest'
5
5
import { LIBP2P_KEY_CODEC } from '../../../../constants.js'
6
6
import type { Helia } from '@helia/interface'
7
7
import type { FastifyInstance } from 'fastify'
Original file line number Diff line number Diff line change 1
- import { hasCode } from '@helia/utils'
2
1
import { setMaxListeners } from '@libp2p/interface'
3
2
import { multihashToIPNSRoutingKey } from 'ipns'
4
3
import { ipnsValidator } from 'ipns/validator'
5
4
import { CID } from 'multiformats/cid'
5
+ import { hasCode } from 'multiformats/hashes/digest'
6
6
import getRawBody from 'raw-body'
7
7
import { LIBP2P_KEY_CODEC } from '../../../../constants.js'
8
8
import type { Helia } from '@helia/interface'
You can’t perform that action at this time.
0 commit comments