This repository has been archived by the owner on Jan 1, 2025. It is now read-only.
storage:v1.0.12
Added
- Added two new methods for converting CID from V0 to V1, and vice verse.
import { ipfs } from "@spheron/storage";
const cid = <CID_VALUE>;
const v1 = ipfs.utils.toV1(cid);
console.log("CID V1", v1);
const v0 = ipfs.utils.toV0(cid);
console.log("CID V0", v0);
- Added an IPNS example
Changed
- renamed method
getIPNSNamesForDeployment
togetIPNSNamesForUpload