From e67b4f977e58cbb8a77cd9549b2ecdfe69ce2931 Mon Sep 17 00:00:00 2001 From: Stephen Akinyemi Date: Thu, 31 Mar 2022 15:20:57 +0100 Subject: [PATCH] Unexport attemptPin --- src/ipfs/basic.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/ipfs/basic.ts b/src/ipfs/basic.ts index cbd12d488..f7f197dfa 100644 --- a/src/ipfs/basic.ts +++ b/src/ipfs/basic.ts @@ -116,9 +116,7 @@ export const size = async (cid: CID): Promise => { return stat.cumulativeSize } -export const attemptPin = async (cid: CID): Promise => { - typeCheckCID(cid) - +const attemptPin = async (cid: CID): Promise => { if (!setup.shouldPin) return const ipfs = await getIpfs()