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.

10 lines (9 loc) 279 B
import { Checksum, SourceData } from "@aws-sdk/types"; export declare class Sha1 implements Checksum { private readonly key; private toHash; constructor(secret?: SourceData); update(data: SourceData): void; digest(): Promise<Uint8Array>; reset(): void; }