mirror of
https://github.com/hanzoai/ui.git
synced 2026-11-21 00:18:41 +00:00
Records the DOM with rrweb and POSTs raw eventWithTime batches to POST /v1/replay, attributed by a publishable pk- key. Masking happens at capture time, in the browser, and reuses @hanzo/observe's RedactionPolicy rather than defining a second one: isPrivate() for subtree exclusion (selector plus node-level, so a custom privateAttribute is honored), sensitiveKey() for field identity. Password and cc-* fields are blocked outright; URLs on Meta/snapshot/mutation events go through @hanzo/event's redactSecrets; the recorder refuses to run on /callback and /login/oauth/device and stops if the app routes onto one. Orthogonal to @hanzo/observe: semantic capture there, DOM movie here. Co-authored-by: Hanzo Dev <[email protected]>
27 lines
729 B
JSON
27 lines
729 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2020",
|
|
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
|
"module": "ESNext",
|
|
"moduleResolution": "bundler",
|
|
"resolveJsonModule": true,
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"emitDeclarationOnly": false,
|
|
"outDir": "./dist",
|
|
"rootDir": "./src",
|
|
"strict": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"allowJs": false,
|
|
"types": ["node"]
|
|
},
|
|
"include": ["src/**/*"],
|
|
"exclude": ["node_modules", "dist", "**/*.test.*", "**/*.spec.*"]
|
|
}
|