{"_id":"@dudousxd/nestjs-telescope-inertia-watcher","_rev":"5-9b66d4128b3ab8baee6d47ecce185070","name":"@dudousxd/nestjs-telescope-inertia-watcher","dist-tags":{"latest":"1.9.0"},"versions":{"1.7.0":{"name":"@dudousxd/nestjs-telescope-inertia-watcher","version":"1.7.0","keywords":["nestjs","telescope","inertia","inertia.js","observability"],"author":{"name":"Davi Carvalho","email":"davi@goflip.ai"},"license":"MIT","_id":"@dudousxd/nestjs-telescope-inertia-watcher@1.7.0","maintainers":[{"name":"dudousxd","email":"davi_carvalho96@hotmail.com"}],"homepage":"https://github.com/DavideCarvalho/nestjs-telescope#readme","bugs":{"url":"https://github.com/DavideCarvalho/nestjs-telescope/issues"},"dist":{"shasum":"2bfb5d4cbb1590a401894e9bb228666c762388e2","tarball":"https://registry.npmjs.org/@dudousxd/nestjs-telescope-inertia-watcher/-/nestjs-telescope-inertia-watcher-1.7.0.tgz","fileCount":16,"integrity":"sha512-2i6ICLLxtAj/CZsEqwr+sfmPaAhvJtFdhDGlkKh0KytjFirF04KK4mDsPujyQkXzW7Uy3SY8ggD7rJBlpEQ78g==","signatures":[{"sig":"MEUCIQDS/zFSQnLNZcyVvDVz89qN0SrLo7BJT96FhFnhkliHsQIgRN8Ux3d1/46ZttzN8uqqTeAaOjbGIuJCOVQ3DcYVSM4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22513},"main":"./dist/index.js","type":"module","_from":"file:dudousxd-nestjs-telescope-inertia-watcher-1.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"}},"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/bc3c5946e1ffb1c30c407d084c6dee16/dudousxd-nestjs-telescope-inertia-watcher-1.7.0.tgz","_integrity":"sha512-2i6ICLLxtAj/CZsEqwr+sfmPaAhvJtFdhDGlkKh0KytjFirF04KK4mDsPujyQkXzW7Uy3SY8ggD7rJBlpEQ78g==","repository":{"url":"git+https://github.com/DavideCarvalho/nestjs-telescope.git","type":"git","directory":"packages/inertia-watcher"},"_npmVersion":"10.8.2","description":"Inertia.js render watcher for @dudousxd/nestjs-telescope.","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.0.0","typescript":"^5.4.0","@types/node":"^20.0.0","reflect-metadata":"^0.2.2","@dudousxd/nestjs-telescope":"1.7.0"},"peerDependencies":{"@dudousxd/nestjs-telescope":"^1.7.0"},"_npmOperationalInternal":{"tmp":"tmp/nestjs-telescope-inertia-watcher_1.7.0_1781016033425_0.7673120960622988","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Retired: use @dudousxd/nestjs-diagnostics-telescope"},"1.7.1":{"name":"@dudousxd/nestjs-telescope-inertia-watcher","version":"1.7.1","keywords":["nestjs","telescope","inertia","inertia.js","observability"],"author":{"name":"Davi Carvalho","email":"davi@goflip.ai"},"license":"MIT","_id":"@dudousxd/nestjs-telescope-inertia-watcher@1.7.1","maintainers":[{"name":"dudousxd","email":"davi_carvalho96@hotmail.com"}],"homepage":"https://github.com/DavideCarvalho/nestjs-telescope#readme","bugs":{"url":"https://github.com/DavideCarvalho/nestjs-telescope/issues"},"dist":{"shasum":"d51808f3e659d091bff09eb9bad7542a161388ef","tarball":"https://registry.npmjs.org/@dudousxd/nestjs-telescope-inertia-watcher/-/nestjs-telescope-inertia-watcher-1.7.1.tgz","fileCount":16,"integrity":"sha512-fYj35px/kPmWiYgtf95TCkLHHK/MTccqFVccR4zxf7GHU3JjYX2QsUrNGsqNqoh6pPmO793KZ1JBR/SBIZulqw==","signatures":[{"sig":"MEQCIEh7XmkHAhhZSzmlxlrw4kA1a/JQuHIDagc1JDHdRYmBAiBdF+ja8zR/7vlPxoYUKFtQ8qYE4H+UgEagkr0ULwT+4w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22523},"main":"./dist/index.js","type":"module","_from":"file:dudousxd-nestjs-telescope-inertia-watcher-1.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"}},"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/0908a8ee12e7e2ea7bf45d657faf55a3/dudousxd-nestjs-telescope-inertia-watcher-1.7.1.tgz","_integrity":"sha512-fYj35px/kPmWiYgtf95TCkLHHK/MTccqFVccR4zxf7GHU3JjYX2QsUrNGsqNqoh6pPmO793KZ1JBR/SBIZulqw==","repository":{"url":"git+https://github.com/DavideCarvalho/nestjs-telescope.git","type":"git","directory":"packages/inertia-watcher"},"_npmVersion":"10.8.2","description":"Inertia.js render watcher for @dudousxd/nestjs-telescope.","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.0.0","typescript":"^5.4.0","@types/node":"^20.0.0","reflect-metadata":"^0.2.2","@dudousxd/nestjs-telescope":"1.7.1"},"peerDependencies":{"@dudousxd/nestjs-telescope":"^1.7.1"},"_npmOperationalInternal":{"tmp":"tmp/nestjs-telescope-inertia-watcher_1.7.1_1781277093969_0.6071365910621833","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Retired: use @dudousxd/nestjs-diagnostics-telescope"},"1.8.0":{"name":"@dudousxd/nestjs-telescope-inertia-watcher","version":"1.8.0","keywords":["nestjs","telescope","inertia","inertia.js","observability"],"author":{"name":"Davi Carvalho","email":"davi@goflip.ai"},"license":"MIT","_id":"@dudousxd/nestjs-telescope-inertia-watcher@1.8.0","maintainers":[{"name":"dudousxd","email":"davi_carvalho96@hotmail.com"}],"homepage":"https://github.com/DavideCarvalho/nestjs-telescope#readme","bugs":{"url":"https://github.com/DavideCarvalho/nestjs-telescope/issues"},"dist":{"shasum":"93431d90195d771f1f2907db897b9a4f51e1c7b2","tarball":"https://registry.npmjs.org/@dudousxd/nestjs-telescope-inertia-watcher/-/nestjs-telescope-inertia-watcher-1.8.0.tgz","fileCount":16,"integrity":"sha512-0PeiGfm6tLFLmnJeQQy9/Hjft2ub5VJA9t3q73qKfMGv5KTWzaor4zbUTPdIdx6eBaaqRHXDG2CfWSA+IFPIZg==","signatures":[{"sig":"MEYCIQCSOe+iC0NhzhCiEAXs6ksrGptRRpO6t5EVUkrfh0E36wIhANiXbajapmz5RuebxdIjIcbdpHn05Eif4tQN85aXAaGO","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22533},"main":"./dist/index.js","type":"module","_from":"file:dudousxd-nestjs-telescope-inertia-watcher-1.8.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/9d884da265fbb8537ac1fbc5a451fde9/dudousxd-nestjs-telescope-inertia-watcher-1.8.0.tgz","_integrity":"sha512-0PeiGfm6tLFLmnJeQQy9/Hjft2ub5VJA9t3q73qKfMGv5KTWzaor4zbUTPdIdx6eBaaqRHXDG2CfWSA+IFPIZg==","repository":{"url":"git+https://github.com/DavideCarvalho/nestjs-telescope.git","type":"git","directory":"packages/inertia-watcher"},"_npmVersion":"10.8.2","description":"Inertia.js render watcher for @dudousxd/nestjs-telescope.","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.0.0","typescript":"^5.4.0","@types/node":"^20.0.0","reflect-metadata":"^0.2.2","@dudousxd/nestjs-telescope":"1.8.0"},"peerDependencies":{"@dudousxd/nestjs-telescope":"^1.8.0"},"_npmOperationalInternal":{"tmp":"tmp/nestjs-telescope-inertia-watcher_1.8.0_1781557459599_0.7645855356335503","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Retired: use @dudousxd/nestjs-diagnostics-telescope"},"1.9.0":{"name":"@dudousxd/nestjs-telescope-inertia-watcher","version":"1.9.0","keywords":["nestjs","telescope","inertia","inertia.js","observability"],"author":{"name":"Davi Carvalho","email":"davi@goflip.ai"},"license":"MIT","_id":"@dudousxd/nestjs-telescope-inertia-watcher@1.9.0","maintainers":[{"name":"dudousxd","email":"davi_carvalho96@hotmail.com"}],"homepage":"https://github.com/DavideCarvalho/nestjs-telescope#readme","bugs":{"url":"https://github.com/DavideCarvalho/nestjs-telescope/issues"},"dist":{"shasum":"3136423b323b7408b9a702906132cc02e5fbf470","tarball":"https://registry.npmjs.org/@dudousxd/nestjs-telescope-inertia-watcher/-/nestjs-telescope-inertia-watcher-1.9.0.tgz","fileCount":16,"integrity":"sha512-tJx2YTm1nuFFea718IIcoOHwgf6ycDkjYUOnRpE+6Hu2tq2vXV9nqFEhwcGrswO38OaLPteGagVjAUE3mt+epA==","signatures":[{"sig":"MEQCIGOBnz0kzdIhx0/FxCrPJ9jP4eE0pbCRp/BtUi9F9ba5AiAWQzfiD3zbGqdUamniQeWHvb3ahzLvorp/Q/kA9CgkZQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22543},"main":"./dist/index.js","type":"module","_from":"file:dudousxd-nestjs-telescope-inertia-watcher-1.9.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/ffa4e22f073f766ae7bc53cb46afbe7b/dudousxd-nestjs-telescope-inertia-watcher-1.9.0.tgz","_integrity":"sha512-tJx2YTm1nuFFea718IIcoOHwgf6ycDkjYUOnRpE+6Hu2tq2vXV9nqFEhwcGrswO38OaLPteGagVjAUE3mt+epA==","repository":{"url":"git+https://github.com/DavideCarvalho/nestjs-telescope.git","type":"git","directory":"packages/inertia-watcher"},"_npmVersion":"10.8.2","description":"Inertia.js render watcher for @dudousxd/nestjs-telescope.","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.0.0","typescript":"^5.4.0","@types/node":"^20.0.0","reflect-metadata":"^0.2.2","@dudousxd/nestjs-telescope":"1.9.0"},"peerDependencies":{"@dudousxd/nestjs-telescope":"^1.9.0"},"_npmOperationalInternal":{"tmp":"tmp/nestjs-telescope-inertia-watcher_1.9.0_1781711234922_0.751751497280472","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Retired: use @dudousxd/nestjs-diagnostics-telescope"}},"time":{"created":"2026-06-09T14:40:33.249Z","modified":"2026-06-17T18:38:02.463Z","1.7.0":"2026-06-09T14:40:33.558Z","1.7.1":"2026-06-12T15:11:34.139Z","1.8.0":"2026-06-15T21:04:19.732Z","1.9.0":"2026-06-17T15:47:15.122Z"},"bugs":{"url":"https://github.com/DavideCarvalho/nestjs-telescope/issues"},"author":{"name":"Davi Carvalho","email":"davi@goflip.ai"},"license":"MIT","homepage":"https://github.com/DavideCarvalho/nestjs-telescope#readme","keywords":["nestjs","telescope","inertia","inertia.js","observability"],"repository":{"url":"git+https://github.com/DavideCarvalho/nestjs-telescope.git","type":"git","directory":"packages/inertia-watcher"},"description":"Inertia.js render watcher for @dudousxd/nestjs-telescope.","maintainers":[{"name":"dudousxd","email":"davi_carvalho96@hotmail.com"}],"readme":"# @dudousxd/nestjs-telescope-inertia-watcher\n\nInertia.js render watcher for [`@dudousxd/nestjs-telescope`](../../README.md).\nSubscribes to the `nestjs-inertia:render` diagnostics channel that\n[`@dudousxd/nestjs-inertia`](https://github.com/DavideCarvalho/nestjs-inertia)\npublishes once per response, and records one `inertia` entry per render\n(rendered component, resolved props, deferred/merge classification, the\npartial-reload decision, asset version + 409 version-mismatch, history flags and\npage size), correlated to the request that produced it.\n\nThe bridge is Node's core `node:diagnostics_channel` — telescope **subscribes**,\ninertia **publishes**. The two libraries stay fully decoupled: this package does\nNOT depend on `nestjs-inertia`. The channel name (`nestjs-inertia:render`) and\nthe payload shape (`v: 1`) are the only contract; malformed or wrong-version\nmessages are dropped, never thrown.\n\nWhen this watcher isn't installed, inertia's `channel.hasSubscribers` stays\n`false` and it publishes nothing — so the integration costs ~zero when off.\n\n## Install\n\n```sh\npnpm add @dudousxd/nestjs-telescope-inertia-watcher\n```\n\n## Usage\n\n```ts\nimport { TelescopeModule } from '@dudousxd/nestjs-telescope';\nimport { InertiaWatcher } from '@dudousxd/nestjs-telescope-inertia-watcher';\n\nTelescopeModule.forRoot({\n  watchers: [new InertiaWatcher()],\n});\n```\n\nOn bootstrap the watcher subscribes to the channel (flipping inertia's\n`hasSubscribers` to `true`), so events start flowing. Each captured entry has\ntype `inertia` and `InertiaContent`. The heavy `resolvedProps` field is passed\nto the Recorder by reference, so its `redactBounded` clips + masks it with the\nsame budget every other entry's content gets (secret keys → `[REDACTED]`,\noversized trees truncated).\n\n## License\n\nMIT © Davi Carvalho\n","readmeFilename":"README.md"}