feat: add webhooks (#334)

This commit is contained in:
KM Koushik
2026-01-18 20:50:54 +11:00
committed by GitHub
parent f40a311cc9
commit 8676965019
58 changed files with 5334 additions and 245 deletions
+14
View File
@@ -1,3 +1,17 @@
export { UseSend } from "./src/usesend";
export { UseSend as Unsend } from "./src/usesend"; // deprecated alias
export { Campaigns } from "./src/campaign";
export {
Webhooks,
WebhookVerificationError,
WEBHOOK_EVENT_HEADER,
WEBHOOK_CALL_HEADER,
WEBHOOK_SIGNATURE_HEADER,
WEBHOOK_TIMESTAMP_HEADER,
} from "./src/webhooks";
export type {
WebhookEvent,
WebhookEventData,
WebhookEventPayloadMap,
WebhookEventType,
} from "./src/webhooks";