Skip to content

Commit

Permalink
chore: update project
Browse files Browse the repository at this point in the history
  • Loading branch information
achingbrain committed Jan 9, 2024
1 parent 4ddd3ee commit 889086d
Show file tree
Hide file tree
Showing 12 changed files with 59 additions and 35 deletions.
2 changes: 1 addition & 1 deletion packages/car/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/dag-cbor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packages/dag-json/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
12 changes: 6 additions & 6 deletions packages/helia/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down
32 changes: 25 additions & 7 deletions packages/http/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -52,16 +50,36 @@ Loading this module through a script tag will make it's exports available as `He
- <https://ipfs.github.io/helia/modules/http.html> -->

## License
# Install

```console
$ npm i @helia/http
```

## Browser `<script>` tag

Loading this module through a script tag will make it's exports available as `HeliaHttp` in the global namespace.

```html
<script src="https://unpkg.com/@helia/http/dist/index.min.js"></script>
```

# Helia-http

# API Docs

- <https://ipfs.github.io/helia/modules/_helia_http.html>

# License

Licensed under either of

- Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / <http://www.apache.org/licenses/LICENSE-2.0>)
- MIT ([LICENSE-MIT](LICENSE-MIT) / <http://opensource.org/licenses/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.

Expand Down
22 changes: 11 additions & 11 deletions packages/http/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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"
Expand Down
8 changes: 8 additions & 0 deletions packages/http/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,13 @@
"include": [
"src",
"packages/http/test"
],
"references": [
{
"path": "../block-brokers"
},
{
"path": "../interface"
}
]
}
6 changes: 2 additions & 4 deletions packages/http/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{
"entryPoints": [
"./src/index.ts",
"./src/utils/default-hashers.ts"
],
"includeVersion": true
"./src/index.ts"
]
}
2 changes: 1 addition & 1 deletion packages/interface/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/ipns/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/mfs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/unixfs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 889086d

Please sign in to comment.