Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
fix: update car dependency for CARv2 read support (#4085)
Browse files Browse the repository at this point in the history
4.x adds basic CARv2 read support, so you could `ipfs dag import` a CARv2 with this; also with https://explore.ipld.io/ getting CAR support, this would allow importing and inspection of a CARv2 there.

The breakage was in the return type definition of `CarReader#header()` which I don't believe is touched in js-ipfs, which only cares about `getRoots()` in the header which remains the same.
  • Loading branch information
rvagg committed Apr 20, 2022
1 parent e90b8f1 commit c367840
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/interface-ipfs-core/package.json
Expand Up @@ -60,7 +60,7 @@
],
"license": "MIT",
"dependencies": {
"@ipld/car": "^3.1.6",
"@ipld/car": "^4.1.0",
"@ipld/dag-cbor": "^7.0.0",
"@ipld/dag-pb": "^2.1.3",
"@types/pako": "^1.0.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/ipfs-core/package.json
Expand Up @@ -67,7 +67,7 @@
},
"dependencies": {
"@chainsafe/libp2p-noise": "^5.0.0",
"@ipld/car": "^3.1.0",
"@ipld/car": "^4.1.0",
"@ipld/dag-cbor": "^7.0.0",
"@ipld/dag-json": "^8.0.1",
"@ipld/dag-pb": "^2.1.3",
Expand Down

0 comments on commit c367840

Please sign in to comment.