dep: update helia

This commit is contained in:
Derrick Hammer 2023-10-18 15:16:55 -04:00
parent 861a8229d4
commit 3f3e581ce2
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
3 changed files with 13 additions and 10 deletions

17
npm-shrinkwrap.json generated
View File

@ -26,7 +26,7 @@
"blockstore-idb": "^1.1.1", "blockstore-idb": "^1.1.1",
"datastore-core": "^9.2.0", "datastore-core": "^9.2.0",
"datastore-idb": "^2.1.2", "datastore-idb": "^2.1.2",
"helia": "^2.0.3", "helia": "^2.0.3-43932a5",
"ipfs-http-client": "^60.0.1", "ipfs-http-client": "^60.0.1",
"ipns": "^7.0.1", "ipns": "^7.0.1",
"multiformats": "^12.0.1", "multiformats": "^12.0.1",
@ -10404,14 +10404,14 @@
"integrity": "sha512-0cMsjjIC8I+D3M44pOQdsy0OHXGLVz6Z0beRuufhKa0KfaD2wGwAev6jILzXsd3/vpnNQJmWyZtIILqM1N+n5A==" "integrity": "sha512-0cMsjjIC8I+D3M44pOQdsy0OHXGLVz6Z0beRuufhKa0KfaD2wGwAev6jILzXsd3/vpnNQJmWyZtIILqM1N+n5A=="
}, },
"node_modules/helia": { "node_modules/helia": {
"version": "2.0.3", "version": "2.0.3-43932a5",
"resolved": "https://registry.npmjs.org/helia/-/helia-2.0.3.tgz", "resolved": "https://registry.npmjs.org/helia/-/helia-2.0.3-43932a5.tgz",
"integrity": "sha512-8Uze/U48R9p3013+oh5Eg29RwkzRXpCHDYyKxf7yU1S5GGnVguaWrmEHYJ2pKMMYMCgNasmCvfouurKIQvM+cg==", "integrity": "sha512-B6f1+fOlKh4UW1OGuAvT447lCI2KJn8oq8jYsD2ADinQMPBa1e352Pvt6RVZ6RJiBQGqEVCl7h4EIqgQMjrLCw==",
"dependencies": { "dependencies": {
"@chainsafe/libp2p-gossipsub": "^10.0.0", "@chainsafe/libp2p-gossipsub": "^10.0.0",
"@chainsafe/libp2p-noise": "^13.0.0", "@chainsafe/libp2p-noise": "^13.0.0",
"@chainsafe/libp2p-yamux": "^5.0.0", "@chainsafe/libp2p-yamux": "^5.0.0",
"@helia/interface": "^2.0.0", "@helia/interface": "2.0.0-43932a5",
"@ipld/dag-cbor": "^9.0.0", "@ipld/dag-cbor": "^9.0.0",
"@ipld/dag-json": "^10.0.1", "@ipld/dag-json": "^10.0.1",
"@ipld/dag-pb": "^4.0.3", "@ipld/dag-pb": "^4.0.3",
@ -10426,6 +10426,7 @@
"@libp2p/webrtc": "^3.1.3", "@libp2p/webrtc": "^3.1.3",
"@libp2p/websockets": "^7.0.2", "@libp2p/websockets": "^7.0.2",
"@libp2p/webtransport": "^3.0.3", "@libp2p/webtransport": "^3.0.3",
"any-signal": "^4.1.1",
"blockstore-core": "^4.0.0", "blockstore-core": "^4.0.0",
"cborg": "^4.0.1", "cborg": "^4.0.1",
"datastore-core": "^9.0.0", "datastore-core": "^9.0.0",
@ -10448,9 +10449,9 @@
} }
}, },
"node_modules/helia/node_modules/@helia/interface": { "node_modules/helia/node_modules/@helia/interface": {
"version": "2.0.0", "version": "2.0.0-43932a5",
"resolved": "https://registry.npmjs.org/@helia/interface/-/interface-2.0.0.tgz", "resolved": "https://registry.npmjs.org/@helia/interface/-/interface-2.0.0-43932a5.tgz",
"integrity": "sha512-LW8iRyits8/Tyi6KkZy6I8VydJZvdmeI5kxLanbLNgcCKrgE9bgrlUjR1cQXV5N+CDV8Rn9FRp6I7tYEYnTC0Q==", "integrity": "sha512-P17jg5QVBHqsn6ySg49txURjtGS1xG2MeTrhaRwt9SuQKmkj258CSGsgt/p6L2bXYKEPVa2aKSG27cQ2N+oLHw==",
"dependencies": { "dependencies": {
"@libp2p/interface": "^0.1.1", "@libp2p/interface": "^0.1.1",
"interface-blockstore": "^5.0.0", "interface-blockstore": "^5.0.0",

View File

@ -31,7 +31,7 @@
"blockstore-idb": "^1.1.1", "blockstore-idb": "^1.1.1",
"datastore-core": "^9.2.0", "datastore-core": "^9.2.0",
"datastore-idb": "^2.1.2", "datastore-idb": "^2.1.2",
"helia": "^2.0.3", "helia": "^2.0.3-43932a5",
"ipfs-http-client": "^60.0.1", "ipfs-http-client": "^60.0.1",
"ipns": "^7.0.1", "ipns": "^7.0.1",
"multiformats": "^12.0.1", "multiformats": "^12.0.1",
@ -53,6 +53,7 @@
"@libp2p/mplex": "^9.0.2", "@libp2p/mplex": "^9.0.2",
"@libp2p/bootstrap": "^9.0.2", "@libp2p/bootstrap": "^9.0.2",
"@chainsafe/libp2p-gossipsub": "^10.0.0", "@chainsafe/libp2p-gossipsub": "^10.0.0",
"@libp2p/interface-datastore": "^8.0.0" "@libp2p/interface-datastore": "^8.0.0",
"@libp2p/interface-blockstore": "^5.0.0"
} }
} }

View File

@ -83,6 +83,7 @@ async function handlePresentKey() {
await blockstore.open(); await blockstore.open();
await datastore.open(); await datastore.open();
// @ts-ignore
ipfs = await createHelia({ ipfs = await createHelia({
blockstore, blockstore,
// @ts-ignore // @ts-ignore