@xtandard/flags/hooks/webhook
Webhook hook: createWebhookHook POSTs admin mutation events to an HTTP
endpoint, optionally HMAC-SHA256 signed, with retries and backoff. Best-effort:
a failed delivery never fails the mutation. No dependencies.
Entry point for the @xtandard/flags/hooks/webhook subpath export.
import { … } from "@xtandard/flags/hooks/webhook";Functions
Section titled “Functions”| Name | Summary |
|---|---|
createWebhookHook |
Build a webhook delivery hook. Signs (if secret set), retries with exponential backoff, and throws after the final failed attempt so the failure surfaces via onHookError. |
Interfaces
Section titled “Interfaces”| Name | Summary |
|---|---|
WebhookHookOptions |
Options for createWebhookHook. |