{"_id":"@dudousxd/nestjs-diagnostics","_rev":"12-6a1623b2a39da2c650ff8dfce0e4cdf5","name":"@dudousxd/nestjs-diagnostics","dist-tags":{"latest":"0.7.2"},"versions":{"0.2.0":{"name":"@dudousxd/nestjs-diagnostics","version":"0.2.0","keywords":["nestjs","diagnostics","diagnostics-channel","observability","telemetry","events"],"author":{"name":"Davi Carvalho","email":"davi@goflip.ai"},"license":"MIT","_id":"@dudousxd/nestjs-diagnostics@0.2.0","maintainers":[{"name":"dudousxd","email":"davi_carvalho96@hotmail.com"}],"homepage":"https://github.com/DavideCarvalho/nestjs-diagnostics#readme","bugs":{"url":"https://github.com/DavideCarvalho/nestjs-diagnostics/issues"},"dist":{"shasum":"bdcc3ca57a6472fd5f7b70662d1e6f0ab026ff2d","tarball":"https://registry.npmjs.org/@dudousxd/nestjs-diagnostics/-/nestjs-diagnostics-0.2.0.tgz","fileCount":23,"integrity":"sha512-2jGsifkiX/6k5KJEy/fStZk4qGl+xF3kx+R/2erqcA24Cj8hiHfAFBicMHCl5qnDVice2o+JPr7sXtLcvOtg4g==","signatures":[{"sig":"MEYCIQCdlqLcdV7zELJrhZpTNOpx5by1ixSRfuzkjqGZVpEyTgIhAMJjK/cRJ3P5YEQlV4mKbsLtXxJf0cgaVQk0x7W0JTab","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@dudousxd%2fnestjs-diagnostics@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":25373},"main":"./dist/index.js","type":"module","_from":"file:dudousxd-nestjs-diagnostics-0.2.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.json --noEmit","test:watch":"vitest"},"_npmUser":{"name":"dudousxd","email":"davi_carvalho96@hotmail.com"},"_resolved":"/tmp/c69cec83cda1ae619ac241395fb83917/dudousxd-nestjs-diagnostics-0.2.0.tgz","_integrity":"sha512-2jGsifkiX/6k5KJEy/fStZk4qGl+xF3kx+R/2erqcA24Cj8hiHfAFBicMHCl5qnDVice2o+JPr7sXtLcvOtg4g==","repository":{"url":"git+https://github.com/DavideCarvalho/nestjs-diagnostics.git","type":"git","directory":"packages/core"},"_npmVersion":"10.8.2","description":"A standard convention for @dudousxd/nestjs-* libs to emit observability events over node:diagnostics_channel.","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.0.0","typescript":"^5.4.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nestjs-diagnostics_0.2.0_1781715888903_0.345830207692184","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@dudousxd/nestjs-diagnostics","version":"0.2.1","keywords":["nestjs","diagnostics","diagnostics-channel","observability","telemetry","events"],"author":{"name":"Davi Carvalho","email":"davi@goflip.ai"},"license":"MIT","_id":"@dudousxd/nestjs-diagnostics@0.2.1","maintainers":[{"name":"dudousxd","email":"davi_carvalho96@hotmail.com"}],"homepage":"https://github.com/DavideCarvalho/nestjs-diagnostics#readme","bugs":{"url":"https://github.com/DavideCarvalho/nestjs-diagnostics/issues"},"dist":{"shasum":"9e16c8575fe2007a86a13f2d734f2eccd5803366","tarball":"https://registry.npmjs.org/@dudousxd/nestjs-diagnostics/-/nestjs-diagnostics-0.2.1.tgz","fileCount":23,"integrity":"sha512-yh4Wf0B3pfFKMCaK8ZVgSTrejPUX65s4t082vfDHpQjU+lBmM3T7jOqpIjNhS0pmzKJkIWxXrWSzGJNZ2bdyOw==","signatures":[{"sig":"MEYCIQDZdq9pKP1jNblXO8Yql9/5VXmKux+nSBue9lc8fUN6lAIhAKSxypjCv1N1m0Fn9iqgNwMYyVVWd9S/eS/c64kKHXui","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@dudousxd%2fnestjs-diagnostics@0.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":26846},"main":"./dist/index.js","type":"module","_from":"file:dudousxd-nestjs-diagnostics-0.2.1.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.json --noEmit","test:watch":"vitest"},"_npmUser":{"name":"dudousxd","email":"davi_carvalho96@hotmail.com"},"_resolved":"/tmp/88291c1670158640e8c654e14f8ffad6/dudousxd-nestjs-diagnostics-0.2.1.tgz","_integrity":"sha512-yh4Wf0B3pfFKMCaK8ZVgSTrejPUX65s4t082vfDHpQjU+lBmM3T7jOqpIjNhS0pmzKJkIWxXrWSzGJNZ2bdyOw==","repository":{"url":"git+https://github.com/DavideCarvalho/nestjs-diagnostics.git","type":"git","directory":"packages/core"},"_npmVersion":"10.8.2","description":"A standard convention for @dudousxd/nestjs-* libs to emit observability events over node:diagnostics_channel.","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.0.0","typescript":"^5.4.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nestjs-diagnostics_0.2.1_1781720660518_0.7793063251156034","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@dudousxd/nestjs-diagnostics","version":"0.2.2","keywords":["nestjs","diagnostics","diagnostics-channel","observability","telemetry","events"],"author":{"name":"Davi Carvalho","email":"davi@goflip.ai"},"license":"MIT","_id":"@dudousxd/nestjs-diagnostics@0.2.2","maintainers":[{"name":"dudousxd","email":"davi_carvalho96@hotmail.com"}],"homepage":"https://github.com/DavideCarvalho/nestjs-diagnostics#readme","bugs":{"url":"https://github.com/DavideCarvalho/nestjs-diagnostics/issues"},"dist":{"shasum":"420a04a2ec3ed593f91006ddaf9a5e741b655d7b","tarball":"https://registry.npmjs.org/@dudousxd/nestjs-diagnostics/-/nestjs-diagnostics-0.2.2.tgz","fileCount":23,"integrity":"sha512-wCVQ3/gMvREpMp0D+pHbN1plRsCxQ5xLLBaWo2fUF0t55KY/i3yFmJXQdUspgNnGnOLfbIA3jSobMn3dacHK3g==","signatures":[{"sig":"MEYCIQDjCyPqrCp64V8D1nhTIhSoekiqMUJxr7XOVJPBPGTlawIhANx789x0Wukyc6YziTcblZuIWEBUHFF0XfQy9Br7kCKb","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@dudousxd%2fnestjs-diagnostics@0.2.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":31759},"main":"./dist/index.js","type":"module","_from":"file:dudousxd-nestjs-diagnostics-0.2.2.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.json --noEmit","test:watch":"vitest"},"_npmUser":{"name":"dudousxd","email":"davi_carvalho96@hotmail.com"},"_resolved":"/tmp/63e53d47d805f898d32aa2a852b82afc/dudousxd-nestjs-diagnostics-0.2.2.tgz","_integrity":"sha512-wCVQ3/gMvREpMp0D+pHbN1plRsCxQ5xLLBaWo2fUF0t55KY/i3yFmJXQdUspgNnGnOLfbIA3jSobMn3dacHK3g==","repository":{"url":"git+https://github.com/DavideCarvalho/nestjs-diagnostics.git","type":"git","directory":"packages/core"},"_npmVersion":"10.8.2","description":"A standard convention for @dudousxd/nestjs-* libs to emit observability events over node:diagnostics_channel.","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.0.0","typescript":"^5.4.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nestjs-diagnostics_0.2.2_1781723798019_0.4752370757393034","host":"s3://npm-registry-packages-npm-production"}},"0.2.3":{"name":"@dudousxd/nestjs-diagnostics","version":"0.2.3","keywords":["nestjs","diagnostics","diagnostics-channel","observability","telemetry","events"],"author":{"name":"Davi Carvalho","email":"davi@goflip.ai"},"license":"MIT","_id":"@dudousxd/nestjs-diagnostics@0.2.3","maintainers":[{"name":"dudousxd","email":"davi_carvalho96@hotmail.com"}],"homepage":"https://github.com/DavideCarvalho/nestjs-diagnostics#readme","bugs":{"url":"https://github.com/DavideCarvalho/nestjs-diagnostics/issues"},"dist":{"shasum":"a7ac2fbcff8278c67bb3cd9d975b6cc44bae279e","tarball":"https://registry.npmjs.org/@dudousxd/nestjs-diagnostics/-/nestjs-diagnostics-0.2.3.tgz","fileCount":23,"integrity":"sha512-G2hb0xgngxI6PXkxg8+weXJ7ZZDRsIx1ShYS86CGtG5af/o1u+u8A5AT8IR2QBgFXRs2j6UQgU9bD/CWPXe6CA==","signatures":[{"sig":"MEQCIEzKl9aoqVV5QnD3PKglcDsbbd45cvGByyYri0GZ7lxlAiBhKkqZMUEADVdDA5FVT223VPqdJHRJ3B06TQ92hi7Agw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@dudousxd%2fnestjs-diagnostics@0.2.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":32147},"main":"./dist/index.js","type":"module","_from":"file:dudousxd-nestjs-diagnostics-0.2.3.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.json --noEmit","test:watch":"vitest"},"_npmUser":{"name":"dudousxd","email":"davi_carvalho96@hotmail.com"},"_resolved":"/tmp/47208faa0517cd04386f832be36ee4fc/dudousxd-nestjs-diagnostics-0.2.3.tgz","_integrity":"sha512-G2hb0xgngxI6PXkxg8+weXJ7ZZDRsIx1ShYS86CGtG5af/o1u+u8A5AT8IR2QBgFXRs2j6UQgU9bD/CWPXe6CA==","repository":{"url":"git+https://github.com/DavideCarvalho/nestjs-diagnostics.git","type":"git","directory":"packages/core"},"_npmVersion":"10.8.2","description":"A standard convention for @dudousxd/nestjs-* libs to emit observability events over node:diagnostics_channel.","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.0.0","typescript":"^5.4.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nestjs-diagnostics_0.2.3_1781726166180_0.4367946968338783","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@dudousxd/nestjs-diagnostics","version":"0.3.0","keywords":["nestjs","diagnostics","diagnostics-channel","observability","telemetry","events"],"author":{"name":"Davi Carvalho","email":"davi@goflip.ai"},"license":"MIT","_id":"@dudousxd/nestjs-diagnostics@0.3.0","maintainers":[{"name":"dudousxd","email":"davi_carvalho96@hotmail.com"}],"homepage":"https://github.com/DavideCarvalho/nestjs-diagnostics#readme","bugs":{"url":"https://github.com/DavideCarvalho/nestjs-diagnostics/issues"},"dist":{"shasum":"757b23faa8fee2c6be755b56abf65864a35a1080","tarball":"https://registry.npmjs.org/@dudousxd/nestjs-diagnostics/-/nestjs-diagnostics-0.3.0.tgz","fileCount":28,"integrity":"sha512-KntsdxhcllCqfLd95lEFDHJ9xDTeoQflSmZtOreJO5WKLD80pupoBgCxUov5X8MbrF1CybIbbEtwzNAJgXd5SQ==","signatures":[{"sig":"MEUCIQDMsSOwjh8o1s2luluyJsBQDbovon0Th7q0ox3g5xbUyAIgYz9i81jk+PFvwEsLVAyi5JS/HcUjOw8lafj4W8+RvUQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@dudousxd%2fnestjs-diagnostics@0.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":66020},"main":"./dist/index.js","type":"module","_from":"file:dudousxd-nestjs-diagnostics-0.3.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.json --noEmit","test:watch":"vitest"},"_npmUser":{"name":"dudousxd","email":"davi_carvalho96@hotmail.com"},"_resolved":"/tmp/495fb38e6ed0221a0f00e35bac57bc11/dudousxd-nestjs-diagnostics-0.3.0.tgz","_integrity":"sha512-KntsdxhcllCqfLd95lEFDHJ9xDTeoQflSmZtOreJO5WKLD80pupoBgCxUov5X8MbrF1CybIbbEtwzNAJgXd5SQ==","repository":{"url":"git+https://github.com/DavideCarvalho/nestjs-diagnostics.git","type":"git","directory":"packages/core"},"_npmVersion":"10.8.2","description":"A standard convention for @dudousxd/nestjs-* libs to emit observability events over node:diagnostics_channel.","directories":{},"sideEffects":["**/registry.js","**/registry.ts","**/context-accessor.js","**/context-accessor.ts","**/channel.js","**/channel.ts","**/trace.js","**/trace.ts"],"_nodeVersion":"20.20.2","//sideEffects":"NOT false: registry.ts and context-accessor.ts register process-global state on globalThis via Symbol.for AT IMPORT TIME (the cross-copy-stable channel registry + context accessor), and channel.ts/trace.ts register a reset hook at module load. A bundler told sideEffects:false could tree-shake these initializers away, breaking cross-copy global stability. The array lists exactly the side-effectful modules (matching both src and published dist paths); pure modules (index, types) stay tree-shakeable.","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.0.0","typescript":"^5.4.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nestjs-diagnostics_0.3.0_1781797207650_0.7230539532456792","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@dudousxd/nestjs-diagnostics","version":"0.4.0","keywords":["nestjs","diagnostics","diagnostics-channel","observability","telemetry","events"],"author":{"name":"Davi Carvalho","email":"davi@goflip.ai"},"license":"MIT","_id":"@dudousxd/nestjs-diagnostics@0.4.0","maintainers":[{"name":"dudousxd","email":"davi_carvalho96@hotmail.com"}],"homepage":"https://github.com/DavideCarvalho/nestjs-diagnostics#readme","bugs":{"url":"https://github.com/DavideCarvalho/nestjs-diagnostics/issues"},"dist":{"shasum":"7eb1c21276c60819c54d2f4b92794fd4a5703c7e","tarball":"https://registry.npmjs.org/@dudousxd/nestjs-diagnostics/-/nestjs-diagnostics-0.4.0.tgz","fileCount":44,"integrity":"sha512-N/4Yzgsm0+ZzxQNgnP7dQVRjxuGrMTqHU7WE9sCn5ZP69Qzid/jRbU2iq6khGaFRt0VSFYKNJ622GhpF4IKPyw==","signatures":[{"sig":"MEYCIQCoGt/mxuda0LKo+XQO8v3xvHQwaFCOEdicXZcdCHy78gIhAJPGbgoP8xvrqExq9lzKfQbS3KGTBkVXNjeDXxnPir9d","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@dudousxd%2fnestjs-diagnostics@0.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":84653},"main":"./dist/index.js","type":"module","_from":"file:dudousxd-nestjs-diagnostics-0.4.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./nestjs":{"types":"./dist/nestjs/index.d.ts","import":"./dist/nestjs/index.js","default":"./dist/nestjs/index.js"}},"scripts":{"test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.json --noEmit","test:watch":"vitest"},"_npmUser":{"name":"dudousxd","email":"davi_carvalho96@hotmail.com"},"_resolved":"/tmp/8209ee28bc45243b9d97c8fa7cf4a1f0/dudousxd-nestjs-diagnostics-0.4.0.tgz","_integrity":"sha512-N/4Yzgsm0+ZzxQNgnP7dQVRjxuGrMTqHU7WE9sCn5ZP69Qzid/jRbU2iq6khGaFRt0VSFYKNJ622GhpF4IKPyw==","repository":{"url":"git+https://github.com/DavideCarvalho/nestjs-diagnostics.git","type":"git","directory":"packages/core"},"_npmVersion":"10.8.2","description":"A standard convention for @dudousxd/nestjs-* libs to emit observability events over node:diagnostics_channel.","directories":{},"sideEffects":["**/registry.js","**/registry.ts","**/context-accessor.js","**/context-accessor.ts","**/channel.js","**/channel.ts","**/trace.js","**/trace.ts"],"_nodeVersion":"20.20.2","//sideEffects":"NOT false: registry.ts and context-accessor.ts register process-global state on globalThis via Symbol.for AT IMPORT TIME (the cross-copy-stable channel registry + context accessor), and channel.ts/trace.ts register a reset hook at module load. A bundler told sideEffects:false could tree-shake these initializers away, breaking cross-copy global stability. The array lists exactly the side-effectful modules (matching both src and published dist paths); pure modules (index, types) stay tree-shakeable.","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.0.0","typescript":"^5.4.0","@types/node":"^20.0.0","@nestjs/core":"^11","unplugin-swc":"^1.5.1","@nestjs/common":"^11","@nestjs/testing":"^11","reflect-metadata":"^0.2"},"peerDependencies":{"@nestjs/core":"^10 || ^11","@nestjs/common":"^10 || ^11","reflect-metadata":"^0.2"},"peerDependenciesMeta":{"@nestjs/core":{"optional":true},"@nestjs/common":{"optional":true},"reflect-metadata":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/nestjs-diagnostics_0.4.0_1781893544549_0.5966183013754975","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@dudousxd/nestjs-diagnostics","version":"0.5.0","keywords":["nestjs","diagnostics","diagnostics-channel","observability","telemetry","events"],"author":{"name":"Davi Carvalho","email":"davi@goflip.ai"},"license":"MIT","_id":"@dudousxd/nestjs-diagnostics@0.5.0","maintainers":[{"name":"dudousxd","email":"davi_carvalho96@hotmail.com"}],"homepage":"https://github.com/DavideCarvalho/nestjs-diagnostics#readme","bugs":{"url":"https://github.com/DavideCarvalho/nestjs-diagnostics/issues"},"dist":{"shasum":"96bd43441ee76ca5d1bfdff98ecc6d89b68bf1f9","tarball":"https://registry.npmjs.org/@dudousxd/nestjs-diagnostics/-/nestjs-diagnostics-0.5.0.tgz","fileCount":56,"integrity":"sha512-qQqAtaOSHKbpi0InJYpf145lkE3AJgKbV2G1dmPeJK5XkztQac00RyfOA2b3TjA7jUbA07L6WlzygxEtToWDDA==","signatures":[{"sig":"MEYCIQCGxeTejT7io/TFH/Uom0FJLzBFcKPbfhZ3qsV/w5TPYgIhALyVeyiTMEdK+fsGtu+aVQUMiAv3GiGmyycEOsHo6Uxo","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@dudousxd%2fnestjs-diagnostics@0.5.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":93194},"main":"./dist/index.js","type":"module","_from":"file:dudousxd-nestjs-diagnostics-0.5.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./nestjs":{"types":"./dist/nestjs/index.d.ts","import":"./dist/nestjs/index.js","default":"./dist/nestjs/index.js"}},"scripts":{"test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.json --noEmit","test:watch":"vitest"},"_npmUser":{"name":"dudousxd","email":"davi_carvalho96@hotmail.com"},"_resolved":"/tmp/27deb6f16f4acce33f4397813d52a4ea/dudousxd-nestjs-diagnostics-0.5.0.tgz","_integrity":"sha512-qQqAtaOSHKbpi0InJYpf145lkE3AJgKbV2G1dmPeJK5XkztQac00RyfOA2b3TjA7jUbA07L6WlzygxEtToWDDA==","repository":{"url":"git+https://github.com/DavideCarvalho/nestjs-diagnostics.git","type":"git","directory":"packages/core"},"_npmVersion":"10.8.2","description":"A standard convention for @dudousxd/nestjs-* libs to emit observability events over node:diagnostics_channel.","directories":{},"sideEffects":["**/registry.js","**/registry.ts","**/context-accessor.js","**/context-accessor.ts","**/channel.js","**/channel.ts","**/trace.js","**/trace.ts"],"_nodeVersion":"20.20.2","//sideEffects":"NOT false: registry.ts and context-accessor.ts register process-global state on globalThis via Symbol.for AT IMPORT TIME (the cross-copy-stable channel registry + context accessor), and channel.ts/trace.ts register a reset hook at module load. A bundler told sideEffects:false could tree-shake these initializers away, breaking cross-copy global stability. The array lists exactly the side-effectful modules (matching both src and published dist paths); pure modules (index, types) stay tree-shakeable.","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.0.0","typescript":"^5.4.0","@types/node":"^20.0.0","@nestjs/core":"^11","unplugin-swc":"^1.5.1","@nestjs/common":"^11","@nestjs/testing":"^11","reflect-metadata":"^0.2"},"peerDependencies":{"@nestjs/core":"^10 || ^11","@nestjs/common":"^10 || ^11","reflect-metadata":"^0.2"},"peerDependenciesMeta":{"@nestjs/core":{"optional":true},"@nestjs/common":{"optional":true},"reflect-metadata":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/nestjs-diagnostics_0.5.0_1781912060577_0.3971082288046308","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"@dudousxd/nestjs-diagnostics","version":"0.6.0","keywords":["nestjs","diagnostics","diagnostics-channel","observability","telemetry","events"],"author":{"name":"Davi Carvalho","email":"davi@goflip.ai"},"license":"MIT","_id":"@dudousxd/nestjs-diagnostics@0.6.0","maintainers":[{"name":"dudousxd","email":"davi_carvalho96@hotmail.com"}],"homepage":"https://github.com/DavideCarvalho/nestjs-diagnostics#readme","bugs":{"url":"https://github.com/DavideCarvalho/nestjs-diagnostics/issues"},"dist":{"shasum":"4bb87665488f50019a1ff841ef172ffceed26192","tarball":"https://registry.npmjs.org/@dudousxd/nestjs-diagnostics/-/nestjs-diagnostics-0.6.0.tgz","fileCount":56,"integrity":"sha512-M6SxB8ICy3pmtxmBpS5DTfWcZE4eKnuQ0s8FrwwU6WXl6Wn+7NLzMfL/DMHyZcPpbOC8wotF6rHQ0BoRxDd7BA==","signatures":[{"sig":"MEYCIQCR+ccDitBAWuSYWq+m2bRHvCokLhoKkoalkl0s6CLf0wIhALO6pDP5/BXuxTjfc2q3BKXgkelSzv+JV4fcEFIBuf7r","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@dudousxd%2fnestjs-diagnostics@0.6.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":95017},"main":"./dist/index.js","type":"module","_from":"file:dudousxd-nestjs-diagnostics-0.6.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./nestjs":{"types":"./dist/nestjs/index.d.ts","import":"./dist/nestjs/index.js","default":"./dist/nestjs/index.js"}},"scripts":{"test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.json --noEmit","test:watch":"vitest"},"_npmUser":{"name":"dudousxd","email":"davi_carvalho96@hotmail.com"},"_resolved":"/tmp/d279e3275853a083e52d86c87865dc71/dudousxd-nestjs-diagnostics-0.6.0.tgz","_integrity":"sha512-M6SxB8ICy3pmtxmBpS5DTfWcZE4eKnuQ0s8FrwwU6WXl6Wn+7NLzMfL/DMHyZcPpbOC8wotF6rHQ0BoRxDd7BA==","repository":{"url":"git+https://github.com/DavideCarvalho/nestjs-diagnostics.git","type":"git","directory":"packages/core"},"_npmVersion":"10.8.2","description":"A standard convention for @dudousxd/nestjs-* libs to emit observability events over node:diagnostics_channel.","directories":{},"sideEffects":["**/registry.js","**/registry.ts","**/context-accessor.js","**/context-accessor.ts","**/channel.js","**/channel.ts","**/trace.js","**/trace.ts"],"_nodeVersion":"20.20.2","//sideEffects":"NOT false: registry.ts and context-accessor.ts register process-global state on globalThis via Symbol.for AT IMPORT TIME (the cross-copy-stable channel registry + context accessor), and channel.ts/trace.ts register a reset hook at module load. A bundler told sideEffects:false could tree-shake these initializers away, breaking cross-copy global stability. The array lists exactly the side-effectful modules (matching both src and published dist paths); pure modules (index, types) stay tree-shakeable.","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.0.0","typescript":"^5.4.0","@types/node":"^20.0.0","@nestjs/core":"^11","unplugin-swc":"^1.5.1","@nestjs/common":"^11","@nestjs/testing":"^11","reflect-metadata":"^0.2"},"peerDependencies":{"@nestjs/core":"^10 || ^11","@nestjs/common":"^10 || ^11","reflect-metadata":"^0.2"},"peerDependenciesMeta":{"@nestjs/core":{"optional":true},"@nestjs/common":{"optional":true},"reflect-metadata":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/nestjs-diagnostics_0.6.0_1781983036316_0.31739105315430427","host":"s3://npm-registry-packages-npm-production"}},"0.6.1":{"name":"@dudousxd/nestjs-diagnostics","version":"0.6.1","keywords":["nestjs","diagnostics","diagnostics-channel","observability","telemetry","events","tanstack-intent"],"author":{"name":"Davi Carvalho","email":"davi@goflip.ai"},"license":"MIT","_id":"@dudousxd/nestjs-diagnostics@0.6.1","maintainers":[{"name":"dudousxd","email":"davi_carvalho96@hotmail.com"}],"homepage":"https://github.com/DavideCarvalho/nestjs-diagnostics#readme","bugs":{"url":"https://github.com/DavideCarvalho/nestjs-diagnostics/issues"},"dist":{"shasum":"89dfa7d7e23c941db9bb83dd2b321bdc84e43968","tarball":"https://registry.npmjs.org/@dudousxd/nestjs-diagnostics/-/nestjs-diagnostics-0.6.1.tgz","fileCount":61,"integrity":"sha512-BK2RZ9ISdN/YT08qLdGCeIc9tlK+Rl1zAhcaO8Aab5+ya0Tlat4ppVnWK9Tymsbwerg0ayfXH2G2RPhf0TkyQw==","signatures":[{"sig":"MEUCIFVFw+2nBA1oGttCoP6Wdee6uopfYZNKjNiB3kOXSSc2AiEAhlrnc0LQ1RhxCL0aWF/PJiEQl0xXMydbmfPKyTBPg00=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@dudousxd%2fnestjs-diagnostics@0.6.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":127315},"main":"./dist/index.js","type":"module","_from":"file:dudousxd-nestjs-diagnostics-0.6.1.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./nestjs":{"types":"./dist/nestjs/index.d.ts","import":"./dist/nestjs/index.js","default":"./dist/nestjs/index.js"}},"scripts":{"test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.json --noEmit","test:watch":"vitest"},"_npmUser":{"name":"dudousxd","email":"davi_carvalho96@hotmail.com"},"_resolved":"/tmp/957bcdbfdc533cc8fe3ae984733dc7b5/dudousxd-nestjs-diagnostics-0.6.1.tgz","_integrity":"sha512-BK2RZ9ISdN/YT08qLdGCeIc9tlK+Rl1zAhcaO8Aab5+ya0Tlat4ppVnWK9Tymsbwerg0ayfXH2G2RPhf0TkyQw==","repository":{"url":"git+https://github.com/DavideCarvalho/nestjs-diagnostics.git","type":"git","directory":"packages/core"},"_npmVersion":"10.8.2","description":"A standard convention for @dudousxd/nestjs-* libs to emit observability events over node:diagnostics_channel.","directories":{},"sideEffects":["**/registry.js","**/registry.ts","**/context-accessor.js","**/context-accessor.ts","**/channel.js","**/channel.ts","**/trace.js","**/trace.ts"],"_nodeVersion":"20.20.2","//sideEffects":"NOT false: registry.ts and context-accessor.ts register process-global state on globalThis via Symbol.for AT IMPORT TIME (the cross-copy-stable channel registry + context accessor), and channel.ts/trace.ts register a reset hook at module load. A bundler told sideEffects:false could tree-shake these initializers away, breaking cross-copy global stability. The array lists exactly the side-effectful modules (matching both src and published dist paths); pure modules (index, types) stay tree-shakeable.","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.0.0","typescript":"^5.4.0","@types/node":"^20.0.0","@nestjs/core":"^11","unplugin-swc":"^1.5.1","@nestjs/common":"^11","@nestjs/testing":"^11","reflect-metadata":"^0.2"},"peerDependencies":{"@nestjs/core":"^10 || ^11","@nestjs/common":"^10 || ^11","reflect-metadata":"^0.2"},"peerDependenciesMeta":{"@nestjs/core":{"optional":true},"@nestjs/common":{"optional":true},"reflect-metadata":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/nestjs-diagnostics_0.6.1_1782475164151_0.1864949221218497","host":"s3://npm-registry-packages-npm-production"}},"0.7.0":{"name":"@dudousxd/nestjs-diagnostics","version":"0.7.0","keywords":["nestjs","diagnostics","diagnostics-channel","observability","telemetry","events","tanstack-intent"],"author":{"name":"Davi Carvalho","email":"davi@goflip.ai"},"license":"MIT","_id":"@dudousxd/nestjs-diagnostics@0.7.0","maintainers":[{"name":"dudousxd","email":"davi_carvalho96@hotmail.com"}],"homepage":"https://github.com/DavideCarvalho/nestjs-diagnostics#readme","bugs":{"url":"https://github.com/DavideCarvalho/nestjs-diagnostics/issues"},"dist":{"shasum":"61c85c924466867a0a03f421d3973936a8146aee","tarball":"https://registry.npmjs.org/@dudousxd/nestjs-diagnostics/-/nestjs-diagnostics-0.7.0.tgz","fileCount":65,"integrity":"sha512-4wFrCLL6xKEm2wPTspBShqhV9dmQ6McJM5ArOKINEj0f48j89JgHhj+98kIysFAGR0hAka4+GPdmuBoQ/cFNsA==","signatures":[{"sig":"MEQCID9p8sGyYc5toToFpAD98jxcmNOccWSuO0bD/LLddUZKAiB7A7PeoYBklSHi+2S0Po0Mgiq/P4z6yeFvomG69Nm90w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@dudousxd%2fnestjs-diagnostics@0.7.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":138698},"main":"./dist/index.js","type":"module","_from":"file:dudousxd-nestjs-diagnostics-0.7.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./nestjs":{"types":"./dist/nestjs/index.d.ts","import":"./dist/nestjs/index.js","default":"./dist/nestjs/index.js"}},"scripts":{"test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.json --noEmit","test:watch":"vitest"},"_npmUser":{"name":"dudousxd","email":"davi_carvalho96@hotmail.com"},"_resolved":"/tmp/b61334d196c2d21e4f12e84dd34c89ae/dudousxd-nestjs-diagnostics-0.7.0.tgz","_integrity":"sha512-4wFrCLL6xKEm2wPTspBShqhV9dmQ6McJM5ArOKINEj0f48j89JgHhj+98kIysFAGR0hAka4+GPdmuBoQ/cFNsA==","repository":{"url":"git+https://github.com/DavideCarvalho/nestjs-diagnostics.git","type":"git","directory":"packages/core"},"_npmVersion":"10.8.2","description":"A standard convention for @dudousxd/nestjs-* libs to emit observability events over node:diagnostics_channel.","directories":{},"sideEffects":["**/registry.js","**/registry.ts","**/context-accessor.js","**/context-accessor.ts","**/channel.js","**/channel.ts","**/trace.js","**/trace.ts"],"_nodeVersion":"20.20.2","//sideEffects":"NOT false: registry.ts and context-accessor.ts register process-global state on globalThis via Symbol.for AT IMPORT TIME (the cross-copy-stable channel registry + context accessor), and channel.ts/trace.ts register a reset hook at module load. A bundler told sideEffects:false could tree-shake these initializers away, breaking cross-copy global stability. The array lists exactly the side-effectful modules (matching both src and published dist paths); pure modules (index, types) stay tree-shakeable.","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.0.0","typescript":"^5.4.0","@types/node":"^20.0.0","@nestjs/core":"^11","unplugin-swc":"^1.5.1","@nestjs/common":"^11","@nestjs/testing":"^11","reflect-metadata":"^0.2"},"peerDependencies":{"@nestjs/core":"^10 || ^11","@nestjs/common":"^10 || ^11","reflect-metadata":"^0.2"},"peerDependenciesMeta":{"@nestjs/core":{"optional":true},"@nestjs/common":{"optional":true},"reflect-metadata":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/nestjs-diagnostics_0.7.0_1783819857936_0.8285977783113354","host":"s3://npm-registry-packages-npm-production"}},"0.7.1":{"name":"@dudousxd/nestjs-diagnostics","version":"0.7.1","keywords":["nestjs","diagnostics","diagnostics-channel","observability","telemetry","events","tanstack-intent"],"author":{"name":"Davi Carvalho","email":"davi@goflip.ai"},"license":"MIT","_id":"@dudousxd/nestjs-diagnostics@0.7.1","maintainers":[{"name":"dudousxd","email":"davi_carvalho96@hotmail.com"}],"homepage":"https://github.com/DavideCarvalho/nestjs-diagnostics#readme","bugs":{"url":"https://github.com/DavideCarvalho/nestjs-diagnostics/issues"},"dist":{"shasum":"127e25989dd2c6f9017ad6817181a9d86f41d12c","tarball":"https://registry.npmjs.org/@dudousxd/nestjs-diagnostics/-/nestjs-diagnostics-0.7.1.tgz","fileCount":65,"integrity":"sha512-Ve1jrKw64McKf7kGHTV9tVmfhQoo1hLEmjdJ9h4ghJsBSfO3Mt8sjzcvRcJ0zC4FcBzsF5kUbD0CLy3E3MnCcQ==","signatures":[{"sig":"MEUCIQC5Ef4Ay2OgenoVB0GyVVbq1zuqkJXYNBOwDLVFaD76KwIgZUkxAtSR9Q/qzMAT8syLlpPBEwcomH6CzSLNIurLLVs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@dudousxd%2fnestjs-diagnostics@0.7.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":138963},"main":"./dist/index.js","type":"module","_from":"file:dudousxd-nestjs-diagnostics-0.7.1.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./nestjs":{"types":"./dist/nestjs/index.d.ts","import":"./dist/nestjs/index.js","default":"./dist/nestjs/index.js"}},"scripts":{"test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.json --noEmit","test:watch":"vitest"},"_npmUser":{"name":"dudousxd","email":"davi_carvalho96@hotmail.com"},"_resolved":"/tmp/b3a7578bdf039cc5490a9caf483c8bfb/dudousxd-nestjs-diagnostics-0.7.1.tgz","_integrity":"sha512-Ve1jrKw64McKf7kGHTV9tVmfhQoo1hLEmjdJ9h4ghJsBSfO3Mt8sjzcvRcJ0zC4FcBzsF5kUbD0CLy3E3MnCcQ==","repository":{"url":"git+https://github.com/DavideCarvalho/nestjs-diagnostics.git","type":"git","directory":"packages/core"},"_npmVersion":"10.8.2","description":"A standard convention for @dudousxd/nestjs-* libs to emit observability events over node:diagnostics_channel.","directories":{},"sideEffects":["**/registry.js","**/registry.ts","**/context-accessor.js","**/context-accessor.ts","**/channel.js","**/channel.ts","**/trace.js","**/trace.ts"],"_nodeVersion":"20.20.2","//sideEffects":"NOT false: registry.ts and context-accessor.ts register process-global state on globalThis via Symbol.for AT IMPORT TIME (the cross-copy-stable channel registry + context accessor), and channel.ts/trace.ts register a reset hook at module load. A bundler told sideEffects:false could tree-shake these initializers away, breaking cross-copy global stability. The array lists exactly the side-effectful modules (matching both src and published dist paths); pure modules (index, types) stay tree-shakeable.","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.0.0","typescript":"^5.4.0","@types/node":"^20.0.0","@nestjs/core":"^12","unplugin-swc":"^1.5.1","@nestjs/common":"^12","@nestjs/testing":"^12","reflect-metadata":"^0.2"},"peerDependencies":{"@nestjs/core":"^10 || ^11 || ^12","@nestjs/common":"^10 || ^11 || ^12","reflect-metadata":"^0.2"},"peerDependenciesMeta":{"@nestjs/core":{"optional":true},"@nestjs/common":{"optional":true},"reflect-metadata":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/nestjs-diagnostics_0.7.1_1788017571624_0.2658938289837325","host":"s3://npm-registry-packages-npm-production"}},"0.7.2":{"_id":"@dudousxd/nestjs-diagnostics@0.7.2","bugs":{"url":"https://github.com/DavideCarvalho/nestjs-diagnostics/issues"},"dist":{"shasum":"bda15f76e58d35b6c9d0a2a82fb2630e21d95c3c","tarball":"https://registry.npmjs.org/@dudousxd/nestjs-diagnostics/-/nestjs-diagnostics-0.7.2.tgz","fileCount":65,"integrity":"sha512-PHlL8Fdb6kfFRqU3RHJtIUc5rz8u738Fjx3YyaDQaVpn5UBdNC2hhcaFyK+XO7c6luzcSlQAe76aWwRcaeuDRA==","signatures":[{"sig":"MEUCIGecsZs1MlycKSSgmX5/s2m454u4p03isst6jYynPD4eAiEA3YiUpZPcRa3Ob5CkEdwAudwJ0C0VqTtEeSxYq3HsrqA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCh0/lmh2KTH/4O2NoK6OdqhSxKTFvhWyQonQ9I9fMK9wIgNOlog3bP0I22sOCM/dTwAbmu+K/+nQp1KgWiXv9MaKo="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@dudousxd%2fnestjs-diagnostics@0.7.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":141446},"main":"./dist/index.js","name":"@dudousxd/nestjs-diagnostics","type":"module","_from":"file:dudousxd-nestjs-diagnostics-0.7.2.tgz","types":"./dist/index.d.ts","author":{"name":"Davi Carvalho","email":"davi@goflip.ai"},"engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./nestjs":{"types":"./dist/nestjs/index.d.ts","import":"./dist/nestjs/index.js","default":"./dist/nestjs/index.js"}},"license":"MIT","scripts":{"test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.json --noEmit","test:watch":"vitest"},"version":"0.7.2","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:372eeda3-28c4-4a1e-be4e-a68d8e971e66"}},"homepage":"https://github.com/DavideCarvalho/nestjs-diagnostics#readme","keywords":["nestjs","diagnostics","diagnostics-channel","observability","telemetry","events","tanstack-intent"],"_resolved":"/tmp/4e88526de2bb591450ae1e78dcad9726/dudousxd-nestjs-diagnostics-0.7.2.tgz","_integrity":"sha512-PHlL8Fdb6kfFRqU3RHJtIUc5rz8u738Fjx3YyaDQaVpn5UBdNC2hhcaFyK+XO7c6luzcSlQAe76aWwRcaeuDRA==","repository":{"url":"git+https://github.com/DavideCarvalho/nestjs-diagnostics.git","type":"git","directory":"packages/core"},"_npmVersion":"11.19.1","description":"A standard convention for @dudousxd/nestjs-* libs to emit observability events over node:diagnostics_channel.","directories":{},"maintainers":[{"name":"dudousxd","email":"davi_carvalho96@hotmail.com"}],"sideEffects":["**/registry.js","**/registry.ts","**/context-accessor.js","**/context-accessor.ts","**/channel.js","**/channel.ts","**/trace.js","**/trace.ts"],"_nodeVersion":"20.20.2","//sideEffects":"NOT false: registry.ts and context-accessor.ts register process-global state on globalThis via Symbol.for AT IMPORT TIME (the cross-copy-stable channel registry + context accessor), and channel.ts/trace.ts register a reset hook at module load. A bundler told sideEffects:false could tree-shake these initializers away, breaking cross-copy global stability. The array lists exactly the side-effectful modules (matching both src and published dist paths); pure modules (index, types) stay tree-shakeable.","_hasShrinkwrap":false,"devDependencies":{"vitest":"3.2.7","typescript":"5.9.3","@types/node":"20.19.43","@nestjs/core":"12.0.1","unplugin-swc":"1.6.0","@nestjs/common":"12.0.1","@nestjs/testing":"12.0.1","reflect-metadata":"0.2.2"},"peerDependencies":{"@nestjs/core":"^10 || ^11 || ^12","@nestjs/common":"^10 || ^11 || ^12","reflect-metadata":"^0.2"},"peerDependenciesMeta":{"@nestjs/core":{"optional":true},"@nestjs/common":{"optional":true},"reflect-metadata":{"optional":true}},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/nestjs-diagnostics_0.7.2_1789185618503_0.2910360485317047"}}},"time":{"created":"2026-06-17T17:04:48.694Z","modified":"2026-09-12T04:00:18.891Z","0.2.0":"2026-06-17T17:04:49.031Z","0.2.1":"2026-06-17T18:24:20.651Z","0.2.2":"2026-06-17T19:16:38.170Z","0.2.3":"2026-06-17T19:56:06.321Z","0.3.0":"2026-06-18T15:40:07.806Z","0.4.0":"2026-06-19T18:25:44.682Z","0.5.0":"2026-06-19T23:34:20.699Z","0.6.0":"2026-06-20T19:17:16.463Z","0.6.1":"2026-06-26T11:59:24.305Z","0.7.0":"2026-07-12T01:30:58.078Z","0.7.1":"2026-08-29T15:32:51.757Z","0.7.2":"2026-09-12T04:00:18.599Z"},"bugs":{"url":"https://github.com/DavideCarvalho/nestjs-diagnostics/issues"},"author":{"name":"Davi Carvalho","email":"davi@goflip.ai"},"license":"MIT","homepage":"https://github.com/DavideCarvalho/nestjs-diagnostics#readme","keywords":["nestjs","diagnostics","diagnostics-channel","observability","telemetry","events","tanstack-intent"],"repository":{"url":"git+https://github.com/DavideCarvalho/nestjs-diagnostics.git","type":"git","directory":"packages/core"},"description":"A standard convention for @dudousxd/nestjs-* libs to emit observability events over node:diagnostics_channel.","maintainers":[{"name":"dudousxd","email":"davi_carvalho96@hotmail.com"}],"readme":"# @dudousxd/nestjs-diagnostics\n\nA tiny, standard convention for `@dudousxd/nestjs-*` libraries to emit\nobservability events over Node's built-in\n[`diagnostics_channel`](https://nodejs.org/api/diagnostics_channel.html) — with\nzero overhead when nobody is listening, and a single generic\n[Telescope](https://www.npmjs.com/package/@dudousxd/nestjs-telescope) watcher\n(`@dudousxd/nestjs-diagnostics-telescope`) that records them all.\n\n## The convention\n\nEvery event flows over a channel named:\n\n```\naviary:<lib>:<event>\n```\n\n- `aviary` is the fixed prefix for this family of libraries.\n- `<lib>` identifies the emitting library, e.g. `billing`, `audit`, `jobs`.\n- `<event>` is the event within that library, e.g. `invoice-paid`.\n\nEach publish carries a `DiagnosticEvent` envelope:\n\n```ts\ninterface DiagnosticEvent<TPayload = unknown> {\n  ts: number; // Date.now() at publish time\n  lib: string; // the <lib>\n  event: string; // the <event>\n  traceId?: string; // auto-filled from a context accessor when available\n  payload: TPayload; // your library-defined data\n}\n```\n\n## Emitting\n\nCall `emit` from your provider wherever something interesting happens:\n\n```ts\nimport { Injectable } from '@nestjs/common';\nimport { emit } from '@dudousxd/nestjs-diagnostics';\n\n@Injectable()\nexport class BillingService {\n  async markInvoicePaid(invoiceId: string, amount: number) {\n    // … your domain logic …\n    emit('billing', 'invoice-paid', { invoiceId, amount });\n  }\n}\n```\n\n`emit` builds and publishes the envelope **only when the channel has\nsubscribers** (`channel.hasSubscribers`), so a production process with no\nobserver attached pays essentially nothing per call. It never throws —\nobservability must not break the emitting code path.\n\nNeed an explicit trace id? Pass it in `opts` — e.g. inside a handler that\nalready holds a correlation id:\n\n```ts\nemit('billing', 'invoice-paid', payload, { traceId });\n```\n\n## Trace correlation\n\nIf your app uses `@dudousxd/nestjs-context` (an optional peer — never imported\nhere), register its accessor once and every `emit` will auto-fill `traceId`:\n\n```ts\nimport { setContextAccessor, CONTEXT_ACCESSOR } from '@dudousxd/nestjs-diagnostics';\n\n// e.g. in a Nest module after resolving the optional CONTEXT_ACCESSOR provider:\nsetContextAccessor(accessor);\n```\n\n`CONTEXT_ACCESSOR` is `Symbol.for('@dudousxd/nestjs-context:accessor')` — the\nsame token nestjs-context publishes under. Any object structurally matching the\n`ContextAccessor` interface works.\n\n## Observing (the registry)\n\n`diagnostics_channel` has **no wildcard subscription** — you can only subscribe\nto a channel by exact name. So this package keeps a registry of every\n`aviary:<lib>:<event>` channel it has created or emitted on:\n\n```ts\nimport { registeredChannels, onChannelRegistered } from '@dudousxd/nestjs-diagnostics';\n\n// subscribe to all current channels…\nfor (const name of registeredChannels()) subscribe(name);\n// …and any registered in the future\nconst off = onChannelRegistered(subscribe);\n```\n\nThis is exactly how `@dudousxd/nestjs-diagnostics-telescope`'s single generic\nwatcher records every diagnostic event in the Telescope dashboard.\n\n## API\n\n| Export | Description |\n| --- | --- |\n| `emit(lib, event, payload, opts?)` | Build + publish a `DiagnosticEvent` on `aviary:<lib>:<event>` (only when subscribed). |\n| `getChannel(lib, event)` | The memoized `diagnostics_channel` for a pair (also registers its name). |\n| `channelName(lib, event)` | The `aviary:<lib>:<event>` string. |\n| `CHANNEL_PREFIX` | `'aviary'`. |\n| `registeredChannels()` | Snapshot of every registered channel name. |\n| `onChannelRegistered(cb)` | Notified once per future channel registration; returns an unsubscribe. |\n| `setContextAccessor(accessor \\| null)` | Register the accessor `emit` reads `traceId` from. |\n| `CONTEXT_ACCESSOR` | Shared DI token for the optional context accessor. |\n| `DiagnosticEvent`, `EmitOptions`, `ContextAccessor` | Types. |\n\n## Reacting to events in NestJS — `@OnDiagnostic`\n\nThe `@dudousxd/nestjs-diagnostics/nestjs` subpath adds an ergonomic way to react\nto any `aviary:<lib>:<event>` in a NestJS app — no extra event library. Register\nthe module once, then decorate provider methods:\n\n```ts\nimport { Module } from '@nestjs/common';\nimport { DiagnosticsModule } from '@dudousxd/nestjs-diagnostics/nestjs';\n\n@Module({ imports: [DiagnosticsModule.forRoot()] })\nexport class AppModule {}\n```\n\n```ts\nimport { Injectable } from '@nestjs/common';\nimport { OnDiagnostic } from '@dudousxd/nestjs-diagnostics/nestjs';\nimport type { DiagnosticEvent } from '@dudousxd/nestjs-diagnostics';\n\n@Injectable()\nexport class Reactions {\n  @OnDiagnostic('resilience', 'circuit-opened') // one exact channel\n  onCircuitOpen(e: DiagnosticEvent) { /* … */ }\n\n  @OnDiagnostic('resilience')                   // every aviary:resilience:* channel\n  onAnyResilience(e: DiagnosticEvent) { /* … */ }\n}\n```\n\nA handler runs on the DI-resolved instance (injected dependencies work). A\nhandler that throws or rejects is logged and swallowed — it can never break the\ncode that emitted. `@nestjs/common` + `@nestjs/core` are optional peers; the main\nbarrel stays framework-agnostic.\n\n## License\n\nMIT\n","readmeFilename":"README.md"}