in type definition put: (...) => Promise<CID>
, but docs Promise<Block>
Which type is correct?
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
Method put
, return CID
object.