/opt/canhelp/node_modules/standardwebhooks/dist
NameSizeModeActions
index.d.ts8080644editdlrm
index.js42810644editdlrm
index.js.map38000644editdlrm
timing_safe_equal.d.ts1480644editdlrm
timing_safe_equal.js8410644editdlrm
timing_safe_equal.js.map11350644editdlrm
Edit: /opt/canhelp/node_modules/standardwebhooks/dist/index.d.ts (808B)
/// declare class ExtendableError extends Error { constructor(message: any); } export declare class WebhookVerificationError extends ExtendableError { constructor(message: string); } export interface WebhookUnbrandedRequiredHeaders { "webhook-id": string; "webhook-timestamp": string; "webhook-signature": string; } export interface WebhookOptions { format?: "raw"; } export declare class Webhook { private static prefix; private readonly key; constructor(secret: string | Uint8Array, options?: WebhookOptions); verify(payload: string | Buffer, headers_: WebhookUnbrandedRequiredHeaders | Record): unknown; sign(msgId: string, timestamp: Date, payload: string | Buffer): string; private verifyTimestamp; } export {};