This commit is contained in:
Pierre
2026-01-08 15:12:08 +01:00
parent 08c7479a1a
commit 1f0412d220
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -14,6 +14,6 @@ export default async function computeCIDs({filePath, algorithms}: {
filePath: string;
algorithms: CID_ALGORITHM_NAMES[]
}): Promise<string[]> {
const stream = Readable.toWeb(fs.createReadStream(filePath));
const stream = Readable.toWeb(fs.createReadStream(filePath)) as ReadableStream<Uint8Array>;
return computeCIDsInternal({stream, algorithms, createHasher});
}