UNPKG

serverless-spy

Version:

CDK-based library for writing elegant integration tests on AWS serverless architecture and an additional web console to monitor events in real time.

7 lines (6 loc) 353 B
import { ChecksumConstructor, Encoder, HashConstructor } from "@smithy/types"; export interface GetChecksumDigestOptions { checksumAlgorithmFn: ChecksumConstructor | HashConstructor; base64Encoder: Encoder; } export declare const getChecksum: (body: unknown, { checksumAlgorithmFn, base64Encoder }: GetChecksumDigestOptions) => Promise<string>;