UNPKG

@octokit/webhooks

Version:

GitHub webhook events toolset for Node.js

5 lines (4 loc) 305 B
import { EmitterWebhookEventWithStringPayloadAndSignature, EmitterWebhookEventWithSignature, State } from "./types"; export declare function verifyAndReceive(state: State & { secret: string; }, event: EmitterWebhookEventWithStringPayloadAndSignature | EmitterWebhookEventWithSignature): Promise<any>;