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.

6 lines (5 loc) 303 B
import { ChecksumConstructor, HashConstructor } from "@smithy/types"; /** * A function that, given a hash constructor and a string, calculates the hash of the string. */ export declare const stringHasher: (checksumAlgorithmFn: ChecksumConstructor | HashConstructor, body: any) => Promise<Uint8Array>;