Documentation does not match type definition

in type definition put: (...) => Promise<CID> , but docs Promise<Block>

Which type is correct?

I also noticed some inconsistencies between ipfs-http-client, ipfs-core-types and js-ipfs.

The returned value of ipfs-http-client's ipfs.commands doesn’t match the typing at all

1 Like

Method put, return CID object.