From 889086dff07fd8b97285139d8d0f294c5810df09 Mon Sep 17 00:00:00 2001 From: achingbrain Date: Tue, 9 Jan 2024 10:39:17 +0100 Subject: [PATCH] chore: update project --- packages/car/package.json | 2 +- packages/dag-cbor/package.json | 2 +- packages/dag-json/package.json | 2 +- packages/helia/package.json | 12 ++++++------ packages/http/README.md | 32 +++++++++++++++++++++++++------- packages/http/package.json | 22 +++++++++++----------- packages/http/tsconfig.json | 8 ++++++++ packages/http/typedoc.json | 6 ++---- packages/interface/package.json | 2 +- packages/ipns/package.json | 2 +- packages/mfs/package.json | 2 +- packages/unixfs/package.json | 2 +- 12 files changed, 59 insertions(+), 35 deletions(-) diff --git a/packages/car/package.json b/packages/car/package.json index a3a461256..03419d153 100644 --- a/packages/car/package.json +++ b/packages/car/package.json @@ -141,7 +141,7 @@ "dependencies": { "@helia/interface": "^3.0.0", "@ipld/car": "^5.1.1", - "@ipld/dag-pb": "^4.0.3", + "@ipld/dag-pb": "^4.0.6", "@libp2p/interfaces": "^3.3.1", "cborg": "^4.0.3", "it-drain": "^3.0.5", diff --git a/packages/dag-cbor/package.json b/packages/dag-cbor/package.json index 432e5269d..36137cb63 100644 --- a/packages/dag-cbor/package.json +++ b/packages/dag-cbor/package.json @@ -141,7 +141,7 @@ }, "dependencies": { "@helia/interface": "^3.0.0", - "@ipld/dag-cbor": "^9.0.0", + "@ipld/dag-cbor": "^9.0.6", "@libp2p/interfaces": "^3.3.1", "multiformats": "^13.0.0", "progress-events": "^1.0.0" diff --git a/packages/dag-json/package.json b/packages/dag-json/package.json index ffe57291c..f77f61962 100644 --- a/packages/dag-json/package.json +++ b/packages/dag-json/package.json @@ -140,7 +140,7 @@ }, "dependencies": { "@helia/interface": "^3.0.0", - "@ipld/dag-json": "^10.0.1", + "@ipld/dag-json": "^10.1.5", "@libp2p/interfaces": "^3.3.1", "multiformats": "^13.0.0", "progress-events": "^1.0.0" diff --git a/packages/helia/package.json b/packages/helia/package.json index 98eb810c5..e7e29f2b8 100644 --- a/packages/helia/package.json +++ b/packages/helia/package.json @@ -60,9 +60,9 @@ "@helia/block-brokers": "~0.0.0", "@helia/delegated-routing-v1-http-api-client": "^1.1.0", "@helia/interface": "^3.0.0", - "@ipld/dag-cbor": "^9.0.0", - "@ipld/dag-json": "^10.0.1", - "@ipld/dag-pb": "^4.0.3", + "@ipld/dag-cbor": "^9.0.6", + "@ipld/dag-json": "^10.1.5", + "@ipld/dag-pb": "^4.0.6", "@libp2p/autonat": "^1.0.1", "@libp2p/bootstrap": "^10.0.2", "@libp2p/circuit-relay-v2": "^1.0.2", @@ -81,11 +81,11 @@ "@libp2p/webrtc": "^4.0.3", "@libp2p/websockets": "^8.0.2", "@libp2p/webtransport": "^4.0.3", - "blockstore-core": "^4.0.0", + "blockstore-core": "^4.3.8", "cborg": "^4.0.3", - "datastore-core": "^9.0.0", + "datastore-core": "^9.2.6", "interface-blockstore": "^5.2.7", - "interface-datastore": "^8.2.2", + "interface-datastore": "^8.2.9", "interface-store": "^5.1.5", "ipns": "^8.0.0", "it-drain": "^3.0.5", diff --git a/packages/http/README.md b/packages/http/README.md index 665fe0bcd..97667c91f 100644 --- a/packages/http/README.md +++ b/packages/http/README.md @@ -6,10 +6,8 @@ [![ipfs.tech](https://img.shields.io/badge/project-IPFS-blue.svg?style=flat-square)](https://ipfs.tech) [![Discuss](https://img.shields.io/discourse/https/discuss.ipfs.tech/posts.svg?style=flat-square)](https://discuss.ipfs.tech) -[![codecov](https://img.shields.io/codecov/c/github/meandavejustice/helia-http.svg?style=flat-square)](https://codecov.io/gh/meandavejustice/helia-http) -[![CI](https://img.shields.io/github/actions/workflow/status/meandavejustice/helia-http/main.yml?branch=main\&style=flat-square)](https://github.com/meandavejustice/helia-http/actions/workflows/main.yml?query=branch%3Amain) - -# Helia-http +[![codecov](https://img.shields.io/codecov/c/github/ipfs/helia.svg?style=flat-square)](https://codecov.io/gh/ipfs/helia) +[![CI](https://img.shields.io/github/actions/workflow/status/ipfs/helia/main.yml?branch=main\&style=flat-square)](https://github.com/ipfs/helia/actions/workflows/main.yml?query=branch%3Amain) > A lightweight implementation of IPFS over HTTP in JavaScript @@ -52,16 +50,36 @@ Loading this module through a script tag will make it's exports available as `He - --> -## License +# Install + +```console +$ npm i @helia/http +``` + +## Browser ` +``` + +# Helia-http + +# API Docs + +- + +# License Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribute +# Contribute -Contributions welcome! Please check out [the issues](https://github.com/meandavejustice/helia-http/issues). +Contributions welcome! Please check out [the issues](https://github.com/ipfs/helia/issues). Also see our [contributing document](https://github.com/ipfs/community/blob/master/CONTRIBUTING_JS.md) for more information on how we work, and about contributing in general. diff --git a/packages/http/package.json b/packages/http/package.json index b15545573..43665eb0c 100644 --- a/packages/http/package.json +++ b/packages/http/package.json @@ -3,13 +3,13 @@ "version": "0.9.0", "description": "A lightweight implementation of IPFS over HTTP in JavaScript", "license": "Apache-2.0 OR MIT", - "homepage": "https://github.com/meandavejustice/helia-http#readme", + "homepage": "https://github.com/ipfs/helia/tree/main/packages/http#readme", "repository": { "type": "git", - "url": "git+https://github.com/meandavejustice/helia-http.git" + "url": "git+https://github.com/ipfs/helia.git" }, "bugs": { - "url": "https://github.com/meandavejustice/helia-http/issues" + "url": "https://github.com/ipfs/helia/issues" }, "publishConfig": { "access": "public", @@ -53,29 +53,29 @@ "test:electron-main": "aegir test -t electron-main" }, "dependencies": { - "@helia/block-brokers": "https://gitpkg.now.sh/meandavejustice/helia/packages/block-brokers?341-breakout-block-brokers", - "@helia/interface": "https://gitpkg.now.sh/meandavejustice/helia/packages/interface?352-update-@helia/interface-for-http", + "@helia/block-brokers": "~0.0.0", + "@helia/interface": "^3.0.0", "@ipld/dag-cbor": "^9.0.6", "@ipld/dag-json": "^10.1.5", "@ipld/dag-pb": "^4.0.6", - "@libp2p/interface": "^1.0.1", - "@libp2p/logger": "^4.0.2", + "@libp2p/interface": "^1.1.1", + "@libp2p/logger": "^4.0.4", "blockstore-core": "^4.3.8", - "cborg": "^4.0.1", + "cborg": "^4.0.3", "datastore-core": "^9.2.6", "interface-blockstore": "^5.2.7", "interface-datastore": "^8.2.9", "interface-store": "^5.1.5", "it-drain": "^3.0.5", - "multiformats": "^12.1.3", + "multiformats": "^13.0.0", "p-defer": "^4.0.0", "p-queue": "^8.0.1", "progress-events": "^1.0.0", - "uint8arrays": "^5.0.0" + "uint8arrays": "^5.0.1" }, "devDependencies": { "@types/sinon": "^17.0.2", - "aegir": "^41.0.0", + "aegir": "^42.1.0", "delay": "^6.0.0", "it-all": "^3.0.4", "mortice": "^3.0.4" diff --git a/packages/http/tsconfig.json b/packages/http/tsconfig.json index 469bd9d32..4fe957b40 100644 --- a/packages/http/tsconfig.json +++ b/packages/http/tsconfig.json @@ -6,5 +6,13 @@ "include": [ "src", "packages/http/test" + ], + "references": [ + { + "path": "../block-brokers" + }, + { + "path": "../interface" + } ] } diff --git a/packages/http/typedoc.json b/packages/http/typedoc.json index ab96e602b..f599dc728 100644 --- a/packages/http/typedoc.json +++ b/packages/http/typedoc.json @@ -1,7 +1,5 @@ { "entryPoints": [ - "./src/index.ts", - "./src/utils/default-hashers.ts" - ], - "includeVersion": true + "./src/index.ts" + ] } diff --git a/packages/interface/package.json b/packages/interface/package.json index e3d343c76..591dc8a43 100644 --- a/packages/interface/package.json +++ b/packages/interface/package.json @@ -72,7 +72,7 @@ "dependencies": { "@libp2p/interface": "^1.1.1", "interface-blockstore": "^5.2.7", - "interface-datastore": "^8.2.2", + "interface-datastore": "^8.2.9", "interface-store": "^5.1.5", "ipfs-bitswap": "^20.0.0", "multiformats": "^13.0.0", diff --git a/packages/ipns/package.json b/packages/ipns/package.json index 0f3865ef4..929657ef9 100644 --- a/packages/ipns/package.json +++ b/packages/ipns/package.json @@ -170,7 +170,7 @@ "dns-over-http-resolver": "^3.0.0", "dns-packet": "^5.6.0", "hashlru": "^2.3.0", - "interface-datastore": "^8.2.2", + "interface-datastore": "^8.2.9", "ipns": "^8.0.0", "is-ipfs": "^8.0.1", "multiformats": "^13.0.0", diff --git a/packages/mfs/package.json b/packages/mfs/package.json index 18aba991a..bc01a1359 100644 --- a/packages/mfs/package.json +++ b/packages/mfs/package.json @@ -143,7 +143,7 @@ "@helia/unixfs": "^2.0.0", "@libp2p/interfaces": "^3.3.1", "@libp2p/logger": "^4.0.4", - "interface-datastore": "^8.2.2", + "interface-datastore": "^8.2.9", "ipfs-unixfs": "^11.0.0", "ipfs-unixfs-exporter": "^13.1.0", "ipfs-unixfs-importer": "^15.1.0", diff --git a/packages/unixfs/package.json b/packages/unixfs/package.json index f38d6a33d..078a59c76 100644 --- a/packages/unixfs/package.json +++ b/packages/unixfs/package.json @@ -160,7 +160,7 @@ }, "dependencies": { "@helia/interface": "^3.0.0", - "@ipld/dag-pb": "^4.0.3", + "@ipld/dag-pb": "^4.0.6", "@libp2p/interface": "^1.1.1", "@libp2p/logger": "^4.0.4", "@multiformats/murmur3": "^2.1.2",