import * as reader from '../reader' import {Input} from './types/input' const readerParams = (input: any) => ({ path: input.path, onProgress: input.onProgress, position: 0 }) export const makePayload: any = (input: Input) => 'path' in input ? reader.make(readerParams(input)) : input.sha256 export {Input} export {Signature} from './types/signature'