This repository was archived by the owner on Feb 12, 2024. It is now read-only.
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
[Types] DAGAPI get requires CID but should also be string|Uint8Array
? #3637
Closed
Description
Ref: ceramicnetwork/js-ceramic#1194 (comment)
->
js-ipfs/packages/ipfs-core/src/components/dag/get.js
Lines 14 to 21 in 63b11e5
But toCidAndPath()
still allows string
and Uint8Array
:
js-ipfs/packages/ipfs-core-utils/src/to-cid-and-path.js
Lines 8 to 12 in 63b11e5