Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/server / / createDeliveryCommentarySanitizer

Function: createDeliveryCommentarySanitizer()

ts
function createDeliveryCommentarySanitizer(config?): DeliveryCommentarySanitizer;

Defined in: packages/server/src/commentary/sanitizer.ts:70

Build a stateless delivery-layer sanitizer. Tests can swap the sink for an in-memory recorder; production wires the @graphorin/security/audit appendAudit helper.

Parameters

ParameterType
configDeliveryCommentaryConfig

Returns

DeliveryCommentarySanitizer

Stable