@kindgi/sdk/webhooks
@kindgi/sdk/webhooks — receiving Kindgi's webhooks. Server only: it
uses node:crypto, so it stays out of /client (browser-safe) and the
flat barrel.
Re-exports the Standard Webhooks helpers from @kindgi/crypto:
verifyWebhook for a receiver, generateWebhookSecret for the secret an
app registers by name, and signWebhook / webhookHeaders to test a
receiver. parseEvent reads the typed event from a verified body
(WebhookEvent; a run's id is a RunId, for client.runs.get).
Interfaces
Section titled “Interfaces”Type Aliases
Section titled “Type Aliases”- ApprovalRequestedEvent
- FinishedRun
- ImproveRunFinishedEvent
- ParseWebhookEventFailure
- ParseWebhookEventResult
- RequestedApproval
- RunFinishedEvent
- VerifyWebhookFailure
- VerifyWebhookResult
- WebhookEvent
- WebhookRequestHeaders
- WebhookTestEvent