mirror of
https://github.com/hanzoai/insights-js.git
synced 2026-10-30 18:34:19 +00:00
* feat(node): Add NestJS ExceptionFilter for error tracking * refactor(node): Switch NestJS integration from ExceptionFilter to Interceptor * feat(node): Add context propagation and optional exception capture to NestJS interceptor * fix(node): Skip 4xx exceptions, parse x-forwarded-for, disable exception capture by default * fix(node): Use withContext instead of enterContext to prevent context leaking across requests * fix(example-nestjs): Fix module resolution for posthog-node/nestjs subpath import * fix(node): Handle malformed x-forwarded-for with empty first entry * fix(example-nestjs): Update default PostHog host to us.posthog.com * fix(node): Fix NestJS interceptor tests to use waitForFlushTimer pattern * clean context logic * clean imports * add changeset * use enterContext instead
23 lines
655 B
JSON
23 lines
655 B
JSON
{
|
|
"compilerOptions": {
|
|
"module": "Node16",
|
|
"declaration": true,
|
|
"removeComments": true,
|
|
"emitDecoratorMetadata": true,
|
|
"experimentalDecorators": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"target": "ES2021",
|
|
"sourceMap": true,
|
|
"outDir": "./dist",
|
|
"moduleResolution": "nodenext",
|
|
"baseUrl": "./",
|
|
"incremental": true,
|
|
"skipLibCheck": true,
|
|
"strictNullChecks": true,
|
|
"noImplicitAny": false,
|
|
"strictBindCallApply": false,
|
|
"forceConsistentCasingInFileNames": false,
|
|
"noFallthroughCasesInSwitch": false
|
|
}
|
|
}
|