FRE-651: CEO coordination notes for founder bio/headshot assets
This commit is contained in:
24
node_modules/standardwebhooks/dist/index.d.ts
generated
vendored
Normal file
24
node_modules/standardwebhooks/dist/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
/// <reference types="node" />
|
||||
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<string, string>): unknown;
|
||||
sign(msgId: string, timestamp: Date, payload: string | Buffer): string;
|
||||
private verifyTimestamp;
|
||||
}
|
||||
export {};
|
||||
Reference in New Issue
Block a user