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

fix: update car dependency for CARv2 read support #4085

Merged
merged 1 commit into from
Apr 20, 2022

Conversation

rvagg
Copy link
Member

@rvagg rvagg commented Apr 20, 2022

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.

@achingbrain
Copy link
Member

Thanks!

@achingbrain achingbrain changed the title chore: update car dependency for CARv2 read support fix: update car dependency for CARv2 read support Apr 20, 2022
@achingbrain achingbrain merged commit c367840 into master Apr 20, 2022
@achingbrain achingbrain deleted the rvagg/upgrade-car branch April 20, 2022 12:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants