Skip to content
This repository has been archived by the owner on Jan 1, 2025. It is now read-only.

storage:v1.0.12

Compare
Choose a tag to compare
@shomix shomix released this 12 Apr 10:31
· 58 commits to main since this release
b97d2eb

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 to getIPNSNamesForUpload