diff --git a/packages/hash-stream-node/src/fileStreamHasher.ts b/packages/hash-stream-node/src/fileStreamHasher.ts index b15a92af4a03..5accbf903cb2 100644 --- a/packages/hash-stream-node/src/fileStreamHasher.ts +++ b/packages/hash-stream-node/src/fileStreamHasher.ts @@ -4,6 +4,7 @@ import { Readable } from "stream"; import { HashCalculator } from "./HashCalculator"; +// ToDo: deprecate in favor of readableStreamHasher export const fileStreamHasher: StreamHasher = (hashCtor: HashConstructor, fileStream: Readable) => new Promise((resolve, reject) => { if (!isReadStream(fileStream)) {