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
ipfs.block
Here is what I've noticed:
ipfs.block.get
Block
Uint8Array
preload
ipfs.block.put
cid
The text was updated successfully, but these errors were encountered:
@matheus23 mind opening PR with updated docs (make docs match the latest implementation)? 🙏
docs are missing the preload option
which docs? (it is js-ipfs only feature)
The options parameter for ipfs.block.get is missing an optional preload: boolean parameter.
preload: boolean
Ack. It also should be added to the docs you linked.
The return of ipfs.block.get has been fixed in #3990. @lidel I can help to fix the rest, if you want.
Here is what I've noticed:
ipfs.block.getBlock, but it returns aUint8Arraypreloadoptionipfs.block.putBlockas a parameter, but it can only be aUint8Arraycidas an option, but the implementation ignores such a parameterBlock, but it's just aUint8ArrayThe text was updated successfully, but these errors were encountered: