basalt / webhooks/src / deriveDeliveryId
Function: deriveDeliveryId()
> deriveDeliveryId(idempotencyKey, endpointId): string
Defined in: webhooks/src/deliver.ts:28
Derives a deterministic delivery id (UUID-shaped) from an idempotency key and the endpoint id, so every re-delivery of the same logical event to the same endpoint — including outbox retries across flushes and restarts — carries the same id the receiver dedupes on.
Parameters
idempotencyKey
string
endpointId
string
Returns
string