Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: support Uint8Array in ipfs.object.get #82

Merged
merged 2 commits into from
Mar 29, 2021
Merged

Conversation

lidel
Copy link
Member

@lidel lidel commented Mar 26, 2021

This fixes LOOKUPs with ipfs-geoip with latest JS APIs.
We need this for ipfs-webui, which is now using the latest js-ipfs-http-client.

This does not fix GENERATION of new dataset, as that requires a separate refactor,
and I want to switch from Buffer, ipfs.object and dag-pb to Uint8Array, ipfs.dag and dag-cbor, but that will take more time and don't want to block ipfs-webui on this.

BREAKING CHANGE: expects ipfs.object.get to return Uint8Array

License: MIT
Signed-off-by: Marcin Rataj <lidel@lidel.org>
License: MIT
Signed-off-by: Marcin Rataj <lidel@lidel.org>
@lidel lidel merged commit 5b85b6d into master Mar 29, 2021
@lidel lidel deleted the feat/uint8arrays branch March 29, 2021 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant