Skip to content

Commit

Permalink
feat!: add @helia/http to monorepo (#372)
Browse files Browse the repository at this point in the history
Adds code from https://github.com/meandavejustice/helia-http to the monorepo.

Fixes: #289 and #344

BREAKING CHANGE: the `libp2p` property has been removed from the `Helia` interface in `@helia/interface` - it is still present on the return type of `createHelia` from the `helia` module

---------

Co-authored-by: David Justice <work@justice.engineering>
Co-authored-by: Daniel Norman <1992255+2color@users.noreply.github.com>
Co-authored-by: Daniel N <2color@users.noreply.github.com>
  • Loading branch information
4 people authored Jan 17, 2024
1 parent 5c6a066 commit 76220cd
Show file tree
Hide file tree
Showing 95 changed files with 2,535 additions and 548 deletions.
4 changes: 0 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@
"bugs": {
"url": "https://github.com/ipfs/helia/issues"
},
"publishConfig": {
"access": "public",
"provenance": true
},
"keywords": [
"ipfs"
],
Expand Down
13 changes: 2 additions & 11 deletions packages/block-brokers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,24 +55,15 @@
"dependencies": {
"@helia/interface": "^3.0.1",
"@libp2p/interface": "^1.1.1",
"any-signal": "^4.1.1",
"interface-blockstore": "^5.2.7",
"interface-store": "^5.1.5",
"ipfs-bitswap": "^20.0.0",
"it-filter": "^3.0.4",
"it-foreach": "^2.0.6",
"multiformats": "^13.0.0",
"progress-events": "^1.0.0",
"uint8arrays": "^5.0.1"
"progress-events": "^1.0.0"
},
"devDependencies": {
"@libp2p/logger": "^4.0.1",
"@libp2p/logger": "^4.0.4",
"@types/sinon": "^17.0.2",
"aegir": "^42.1.0",
"blockstore-core": "^4.3.8",
"delay": "^6.0.0",
"it-all": "^3.0.4",
"it-drain": "^3.0.5",
"sinon": "^17.0.1",
"sinon-ts": "^2.0.0"
}
Expand Down
1 change: 0 additions & 1 deletion packages/block-brokers/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
export { bitswap } from './bitswap.js'
export { trustlessGateway } from './trustless-gateway/index.js'
export { NetworkedStorage } from './utils/networked-storage.js'
4 changes: 2 additions & 2 deletions 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.1",
"@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 All @@ -154,7 +154,7 @@
"devDependencies": {
"@helia/unixfs": "^2.0.1",
"aegir": "^42.1.0",
"blockstore-core": "^4.3.8",
"blockstore-core": "^4.3.10",
"interface-blockstore": "^5.2.9",
"ipfs-unixfs-importer": "^15.2.3",
"it-to-buffer": "^4.0.2"
Expand Down
Loading

0 comments on commit 76220cd

Please sign in to comment.