chore: update Helia.

This commit is contained in:
Hayden Young 2024-01-16 11:14:41 +00:00
parent ebc8955a18
commit 3cca7779a8
3 changed files with 487 additions and 443 deletions

925
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -30,12 +30,13 @@
},
"devDependencies": {
"@chainsafe/libp2p-yamux": "^6.0.1",
"@helia/block-brokers": "^1.0.0",
"@libp2p/circuit-relay-v2": "^1.0.10",
"blockstore-level": "^1.1.7",
"c8": "^8.0.1",
"cross-env": "^7.0.3",
"fs-extra": "^11.2.0",
"helia": "^3.0.0",
"helia": "^3.0.1",
"it-all": "^3.0.4",
"jsdoc": "^4.0.2",
"mocha": "^10.2.0",

View File

@ -1,5 +1,5 @@
import { createHelia } from 'helia'
import { bitswap } from 'helia/block-brokers'
import { bitswap } from '@helia/block-brokers'
import { createLibp2p } from 'libp2p'
import { MemoryBlockstore } from 'blockstore-core'
// import { LevelBlockstore } from 'blockstore-level'