Adds the afterRead hook factory for per-collection opt-in automatic VIEW audit entry emission. Fire-and-forget design ensures failing sinks never propagate to the user-facing read. Includes sentinel IP/UA fallbacks, truncateIp /24 integration, shouldSkip predicate, and system actor resolution. All 6 TDD test cases pass; both barrels updated. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
9 lines
197 B
TypeScript
9 lines
197 B
TypeScript
export {
|
|
createAuditErasureHook,
|
|
type AuditErasureHookOpts,
|
|
} from "./audit-erasure-hook";
|
|
export {
|
|
createAuditAfterReadHook,
|
|
type AuditAfterReadHookOpts,
|
|
} from "./audit-after-read-hook";
|