{"_id":"@altipla/sentry","_rev":"8-112be40e187030769d0e1c869cc78f74","name":"@altipla/sentry","dist-tags":{"latest":"0.2.6"},"versions":{"0.1.0":{"name":"@altipla/sentry","version":"0.1.0","author":{"name":"Altipla Consulting"},"license":"MIT","_id":"@altipla/sentry@0.1.0","maintainers":[{"name":"ernestoalejo","email":"contact@ernestoalejo.me"}],"homepage":"https://github.com/altipla-consulting/sentry#readme","bugs":{"url":"https://github.com/altipla-consulting/sentry/issues"},"dist":{"shasum":"2253fe5e647ca218817d36028ec51a4343e6b191","tarball":"https://registry.npmjs.org/@altipla/sentry/-/sentry-0.1.0.tgz","fileCount":7,"integrity":"sha512-nceCXKrTE3ZGNB0Xncjb/nEUn2GHRXbUVhCgDJDLUsnMJilLhNZt2kEztwzRp5Forqqs7FiFJnolaiy8G/BqlA==","signatures":[{"sig":"MEYCIQCFc2Q444ZSOd/43D6NPCNE42suKMN7rQ80KQdyCWCU4wIhAKhcAU71gWvnx4qtUSHfMj3F3E2UyJnHLG3xKDnEQPPF","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5387,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkNRdbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpGWBAAh6glNfhicppzqNFPX6VpmlZiYS5rzDuunZJGqCVxnzqxKdja\r\nA4CZHe5BazcwAhozvCRweSWocvH5gxgeCKscNpoSVrVwKY4YC4n+iKhiXS89\r\nHMQgfLsFD7EeXNpraSe0+PG14TQFSS96z0wBXTLgbYtiVPCu/rq9sOmdDns8\r\nU9RLNnxMu8CD9SY+fLwo5ymDutP/j5xgPk3UKVmzOzqJpZpbfxcqVD95GV7Y\r\nY0qk/2GGMksxa/SxA4YJtxGntGjMUEgAyTqg7l/T23g+tbetWqARxOdnJqPz\r\najJjUa6zuzrOTHvPbBWLTknX9LeZN8umhkPtnHXU8nei5dw4NT3nJk9NKYFR\r\nJYFiMVd5p9MmJtLiRWhQYc8BUw3uxNvqoFfoJyHufGDx4GVm7C0BHbzJUXMJ\r\n7+WYIVfu/Y1ye7q7avtWkhTqe18gB6UJC0cIV1QpNj/lL3oYd6TE0EJRE9AP\r\nAwyH2y/hvEImPQ+0o1vXnGZ7rbawD5ebIZywKVCdA+kKePw6wyFOAioWB8bJ\r\nV3A2n0gWGXs6RKFBpd4eWDLGsbomC0CPU7fXkM3fBWeBBGWgaL4O1QANv1re\r\nlAWKaEzC+CNFmRlkOlhY7uE8npzeSpknj+05EjnCtLXx2VAz4Z7zBxhvAB8a\r\nZ1ht6yX1+vQUZP30UWty8YgGJLyV0fHnDDo=\r\n=wFr/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"ff93131c642cccf35ce8f7b18a0fefdf164a0d06","scripts":{"fix":"eslint --fix --ext .ts src","lib":"tsc --declaration --esModuleInterop --outDir dist","lint":"tsc --noEmit && eslint --ext .ts src","test":"vitest run --test-timeout 100000","watch":"vitest"},"_npmUser":{"name":"ernestoalejo","email":"contact@ernestoalejo.me"},"repository":{"url":"git+https://github.com/altipla-consulting/sentry.git","type":"git"},"_npmVersion":"8.19.4","description":"Helper to connect Sentry to tRPC and Express.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"@sentry/node":"^7.46.0","@trpc/server":"^10.18.0","@altipla/logging":"^0.1.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^0.30.0","express":"^4.18.2","typescript":"^5.0.3","@types/node":"^18.15.11","@types/express":"^4.17.17","@altipla/eslint-config-ts":"^0.6.0"},"_npmOperationalInternal":{"tmp":"tmp/sentry_0.1.0_1681200987473_0.15274989385248605","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"@altipla/sentry","version":"0.1.1","author":{"name":"Altipla Consulting"},"license":"MIT","_id":"@altipla/sentry@0.1.1","maintainers":[{"name":"ernestoalejo","email":"contact@ernestoalejo.me"}],"homepage":"https://github.com/altipla-consulting/sentry#readme","bugs":{"url":"https://github.com/altipla-consulting/sentry/issues"},"dist":{"shasum":"1a3ef881e5076f7e7be1113896612214965a2dcb","tarball":"https://registry.npmjs.org/@altipla/sentry/-/sentry-0.1.1.tgz","fileCount":7,"integrity":"sha512-6EEM4Z7DVp5wda99rgJoSt92KU/nxAQBYyopoDM1qtf2PPzKn8T0K7iNlYcgSlCIkqTA4+us7WhqmqfsD1paqg==","signatures":[{"sig":"MEYCIQDzk8ZPGrDzG3Sjs6Hzvx0ydvzlA0psYp//tvNXrzAjXgIhAKvkYOfOPqAaz/BaaChOCCVvHssHiun2mDlPqvNH9JLI","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5429},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"3dd87a6c00c7964ea63ba3efb47fbaaa0727d25d","scripts":{"fix":"eslint --fix --ext .ts src","lib":"tsc --declaration --esModuleInterop --outDir dist","lint":"tsc --noEmit && eslint --ext .ts src","test":"vitest run --test-timeout 100000","watch":"vitest"},"_npmUser":{"name":"ernestoalejo","email":"contact@ernestoalejo.me"},"repository":{"url":"git+https://github.com/altipla-consulting/sentry.git","type":"git"},"_npmVersion":"8.19.4","description":"Helper to connect Sentry to tRPC and Express.","directories":{},"_nodeVersion":"16.20.2","dependencies":{"@sentry/node":"^7.46.0","@trpc/server":"^10.18.0","@altipla/logging":"^0.1.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^0.30.0","express":"^4.18.2","typescript":"^5.0.3","@types/node":"^18.15.11","@types/express":"^4.17.17","@altipla/eslint-config-ts":"^0.6.0"},"_npmOperationalInternal":{"tmp":"tmp/sentry_0.1.1_1698660965360_0.7017913904448267","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"@altipla/sentry","version":"0.2.0","author":{"name":"Altipla Consulting"},"license":"MIT","_id":"@altipla/sentry@0.2.0","maintainers":[{"name":"ernestoalejo","email":"contact@ernestoalejo.me"}],"homepage":"https://github.com/altipla-consulting/sentry#readme","bugs":{"url":"https://github.com/altipla-consulting/sentry/issues"},"dist":{"shasum":"15e198c79006edc57b108c6480289792063e0aae","tarball":"https://registry.npmjs.org/@altipla/sentry/-/sentry-0.2.0.tgz","fileCount":9,"integrity":"sha512-6udzd8mayjYwiWHwbM/GggtAE/q/bLKVE+YjnPwOA2mBwcVRoCj1LQXAXqskyp3cL1ZTADXpan1x3nAEWxHG2w==","signatures":[{"sig":"MEQCIFWncm9a+i8GC5iaTr5mEFj5qoIrgbka/VlhYczfRDijAiBgTER3BmEO3uUMmWmIsZw/vTVbdVgbDYlN3xZa6lsrkA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9945},"main":"./dist/index.js","type":"module","_from":"file:altipla-sentry-0.2.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","scripts":{"fix":"eslint --fix --ext .ts src","lint":"tsc --noEmit && eslint --ext .ts src","test":"vitest run --test-timeout 100000","build":"tsc","watch":"vitest"},"_npmUser":{"name":"ernestoalejo","email":"contact@ernestoalejo.me"},"_resolved":"/tmp/62dbbdd6f4138a4fbc8c16b6df49b158/altipla-sentry-0.2.0.tgz","_integrity":"sha512-6udzd8mayjYwiWHwbM/GggtAE/q/bLKVE+YjnPwOA2mBwcVRoCj1LQXAXqskyp3cL1ZTADXpan1x3nAEWxHG2w==","repository":{"url":"git+https://github.com/altipla-consulting/sentry.git","type":"git"},"_npmVersion":"10.5.2","description":"Helper to connect Sentry to tRPC, Express and Astro.","directories":{},"_nodeVersion":"20.13.1","dependencies":{"@sentry/node":"^8.4.0","@trpc/server":"^10.45.2","@altipla/logging":"^0.1.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"astro":"^4.9.1","vitest":"^1.6.0","prettier":"^3.2.5","typescript":"^5.4.5","@types/node":"^20.12.12","@types/express":"^4.17.21","@altipla/eslint-config-ts":"^0.12.0"},"_npmOperationalInternal":{"tmp":"tmp/sentry_0.2.0_1716663508524_0.057572095077981666","host":"s3://npm-registry-packages"}},"0.2.1":{"name":"@altipla/sentry","version":"0.2.1","author":{"name":"Altipla Consulting"},"license":"MIT","_id":"@altipla/sentry@0.2.1","maintainers":[{"name":"ernestoalejo","email":"contact@ernestoalejo.me"}],"homepage":"https://github.com/altipla-consulting/sentry#readme","bugs":{"url":"https://github.com/altipla-consulting/sentry/issues"},"dist":{"shasum":"f74bfe7a9eaad705cc5b4503fee5dd75cf0cf50c","tarball":"https://registry.npmjs.org/@altipla/sentry/-/sentry-0.2.1.tgz","fileCount":9,"integrity":"sha512-UUraxARSgpcXtMoEMXK+8WFVOGJTW4y4dFpoy1ip0z5P+t5x7BJNy/lPqbflq5wEUCBBW8JF0tfQGauKAImFTw==","signatures":[{"sig":"MEUCIEg+wwVU/Ue0I6WCSNgPt2iD9YK08COa00Nz2hk+VTdGAiEApkQDNXZ9BzyKvDQnr4gW/Pd7ZPrHPOFL4SZeVIIFmPk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9954},"main":"./dist/index.js","type":"module","_from":"file:altipla-sentry-0.2.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","scripts":{"fix":"eslint --fix --ext .ts src","lint":"tsc --noEmit && eslint --ext .ts src","test":"vitest run --test-timeout 100000","build":"tsc","watch":"vitest"},"_npmUser":{"name":"ernestoalejo","email":"contact@ernestoalejo.me"},"_resolved":"/tmp/45fa8e4a318d0992c0d0c5f7ac626ff1/altipla-sentry-0.2.1.tgz","_integrity":"sha512-UUraxARSgpcXtMoEMXK+8WFVOGJTW4y4dFpoy1ip0z5P+t5x7BJNy/lPqbflq5wEUCBBW8JF0tfQGauKAImFTw==","repository":{"url":"git+https://github.com/altipla-consulting/sentry.git","type":"git"},"_npmVersion":"10.5.2","description":"Helper to connect Sentry to tRPC, Express and Astro.","directories":{},"_nodeVersion":"20.13.1","dependencies":{"@sentry/node":"^8.4.0","@trpc/server":"^10.45.2","@altipla/logging":"^0.1.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"astro":"^4.9.1","vitest":"^1.6.0","prettier":"^3.2.5","typescript":"^5.4.5","@types/node":"^20.12.12","@types/express":"^4.17.21","@altipla/eslint-config-ts":"^0.12.0"},"_npmOperationalInternal":{"tmp":"tmp/sentry_0.2.1_1716663678613_0.0593957281548394","host":"s3://npm-registry-packages"}},"0.2.2":{"name":"@altipla/sentry","version":"0.2.2","author":{"name":"Altipla Consulting"},"license":"MIT","_id":"@altipla/sentry@0.2.2","maintainers":[{"name":"ernestoalejo","email":"contact@ernestoalejo.me"}],"homepage":"https://github.com/altipla-consulting/sentry#readme","bugs":{"url":"https://github.com/altipla-consulting/sentry/issues"},"dist":{"shasum":"4935cc18b09a5ea3f00b10b684664ff0ea787b1c","tarball":"https://registry.npmjs.org/@altipla/sentry/-/sentry-0.2.2.tgz","fileCount":9,"integrity":"sha512-xNuUi23rmqR0CKL+X087MRnVIzleyk2vvEEQolBE3r3iWtpTl3105Ax0ptdMNP/8r/nfO/7KtVK1wkPgZswrbg==","signatures":[{"sig":"MEYCIQCb1mxYQsUQqq1iLZWaooG31sQzknjxVxPH5neBNY4rZQIhAP7NmqAqi1KKWK2IX+NmIhnxytJoCybHm5t7wzhzAfox","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10035},"main":"./dist/index.js","type":"module","_from":"file:altipla-sentry-0.2.2.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","scripts":{"fix":"eslint --fix --ext .ts src","lint":"tsc --noEmit && eslint --ext .ts src","test":"vitest run --test-timeout 100000","build":"tsc","watch":"vitest"},"_npmUser":{"name":"ernestoalejo","email":"contact@ernestoalejo.me"},"_resolved":"/tmp/e768453c62f05280ef1f922a95511234/altipla-sentry-0.2.2.tgz","_integrity":"sha512-xNuUi23rmqR0CKL+X087MRnVIzleyk2vvEEQolBE3r3iWtpTl3105Ax0ptdMNP/8r/nfO/7KtVK1wkPgZswrbg==","repository":{"url":"git+https://github.com/altipla-consulting/sentry.git","type":"git"},"_npmVersion":"10.5.2","description":"Helper to connect Sentry to tRPC, Express and Astro.","directories":{},"_nodeVersion":"20.13.1","dependencies":{"@sentry/node":"^8.4.0","@trpc/server":"^10.45.2","@altipla/logging":"^0.1.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"astro":"^4.9.1","vitest":"^1.6.0","prettier":"^3.2.5","typescript":"^5.4.5","@types/node":"^20.12.12","@types/express":"^4.17.21","@altipla/eslint-config-ts":"^0.12.0"},"_npmOperationalInternal":{"tmp":"tmp/sentry_0.2.2_1716664069991_0.08306525163477319","host":"s3://npm-registry-packages"}},"0.2.3":{"name":"@altipla/sentry","version":"0.2.3","author":{"name":"Altipla Consulting"},"license":"MIT","_id":"@altipla/sentry@0.2.3","maintainers":[{"name":"ernestoalejo","email":"contact@ernestoalejo.me"}],"homepage":"https://github.com/altipla-consulting/sentry#readme","bugs":{"url":"https://github.com/altipla-consulting/sentry/issues"},"dist":{"shasum":"291fc04cc71445db599455d4ad5ca1ae239e46e2","tarball":"https://registry.npmjs.org/@altipla/sentry/-/sentry-0.2.3.tgz","fileCount":9,"integrity":"sha512-XZAbbJ4lwt1mFZA5cgV8/EDFiryvg441dTdTxRIzQFd3PoU5pnYlJv1ZCsNm/bHR5hELL2CTbSDYAd1buhaaOg==","signatures":[{"sig":"MEUCIQDbplY9Cjg6SO0L2M5kaRN/oVw+hZzIVIdYFUc+X+asMgIgAvBBcTwXum6NYjaNN3PpKD1fuKFjhEnJjdFbrRzoM44=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9760},"main":"./dist/index.js","type":"module","_from":"file:altipla-sentry-0.2.3.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","scripts":{"fix":"eslint --fix --ext .ts src","lint":"tsc --noEmit && eslint --ext .ts src","test":"vitest run --test-timeout 100000","build":"tsc","watch":"vitest"},"_npmUser":{"name":"ernestoalejo","email":"contact@ernestoalejo.me"},"_resolved":"/tmp/aa86aa7716a3de436864d735dc06513c/altipla-sentry-0.2.3.tgz","_integrity":"sha512-XZAbbJ4lwt1mFZA5cgV8/EDFiryvg441dTdTxRIzQFd3PoU5pnYlJv1ZCsNm/bHR5hELL2CTbSDYAd1buhaaOg==","repository":{"url":"git+https://github.com/altipla-consulting/sentry.git","type":"git"},"_npmVersion":"10.5.2","description":"Helper to connect Sentry to tRPC, Express and Astro.","directories":{},"_nodeVersion":"20.13.1","dependencies":{"@sentry/node":"^8.4.0","@trpc/server":"^10.45.2","@altipla/logging":"^0.1.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"astro":"^4.9.1","vitest":"^1.6.0","prettier":"^3.2.5","typescript":"^5.4.5","@types/node":"^20.12.12","@types/express":"^4.17.21","@altipla/eslint-config-ts":"^0.12.0"},"_npmOperationalInternal":{"tmp":"tmp/sentry_0.2.3_1716664325994_0.053719727389648586","host":"s3://npm-registry-packages"}},"0.2.4":{"name":"@altipla/sentry","version":"0.2.4","author":{"name":"Altipla Consulting"},"license":"MIT","_id":"@altipla/sentry@0.2.4","maintainers":[{"name":"ernestoalejo","email":"contact@ernestoalejo.me"}],"homepage":"https://github.com/altipla-consulting/sentry#readme","bugs":{"url":"https://github.com/altipla-consulting/sentry/issues"},"dist":{"shasum":"976cde32df0b5ced6b932ad88a5e5e997f1614dc","tarball":"https://registry.npmjs.org/@altipla/sentry/-/sentry-0.2.4.tgz","fileCount":9,"integrity":"sha512-rfDSXu5iKnHgZkQkWNcwuUdMZrpMvTVkaXQhq/oAET8BF/5bdVGHttUbYXKEUfVc6dFzrTngEOH6XcloGt/b2Q==","signatures":[{"sig":"MEYCIQCUYnB+x8HED/1ScXtr19HN+ykpO+SNZeCEQauRFZ931gIhAL97AQlWXcPkssZB4Wx6JYzBQePWInJxqCoYDG1egrl9","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10071},"main":"./dist/index.js","type":"module","_from":"file:altipla-sentry-0.2.4.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","scripts":{"fix":"eslint --fix --ext .ts src","lint":"tsc --noEmit && eslint --ext .ts src","test":"vitest run --test-timeout 100000","build":"tsc","watch":"vitest"},"_npmUser":{"name":"ernestoalejo","email":"contact@ernestoalejo.me"},"_resolved":"/tmp/abe250c942b42b9ba9e411a6d6dd195f/altipla-sentry-0.2.4.tgz","_integrity":"sha512-rfDSXu5iKnHgZkQkWNcwuUdMZrpMvTVkaXQhq/oAET8BF/5bdVGHttUbYXKEUfVc6dFzrTngEOH6XcloGt/b2Q==","repository":{"url":"git+https://github.com/altipla-consulting/sentry.git","type":"git"},"_npmVersion":"10.7.0","description":"Helper to connect Sentry to tRPC, Express and Astro.","directories":{},"_nodeVersion":"20.14.0","dependencies":{"@sentry/node":"^8.4.0","@trpc/server":"^10.45.2","@altipla/logging":"^0.1.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"astro":"^4.9.1","vitest":"^1.6.0","prettier":"^3.2.5","typescript":"^5.4.5","@types/node":"^20.12.12","@types/express":"^4.17.21","@altipla/eslint-config-ts":"^0.12.0"},"_npmOperationalInternal":{"tmp":"tmp/sentry_0.2.4_1717774333200_0.5332204353441898","host":"s3://npm-registry-packages"}},"0.2.5":{"name":"@altipla/sentry","version":"0.2.5","author":{"name":"Altipla Consulting"},"license":"MIT","_id":"@altipla/sentry@0.2.5","maintainers":[{"name":"ernestoalejo","email":"contact@ernestoalejo.me"}],"homepage":"https://github.com/altipla-consulting/sentry#readme","bugs":{"url":"https://github.com/altipla-consulting/sentry/issues"},"dist":{"shasum":"8dba51487c562a693cdd8321de2bd2f1a3d09dc0","tarball":"https://registry.npmjs.org/@altipla/sentry/-/sentry-0.2.5.tgz","fileCount":9,"integrity":"sha512-L1qr7ZhYLW5PFWRO/XEMftvUNF6r9CA//OcdqeFpLYHzBmjT+L3UFBFLgrh5oDVtFMlrVcC0Q7TrWdQpuy39mw==","signatures":[{"sig":"MEUCIQDDz8Mr5jHLXDXQmWUty8EP9vZvnlsrmx2n2gJqpN8WeAIgcDKC+46TkfS4jUVUlExDcmRkR7NLuLtx2weC8/qup/c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10103},"main":"./dist/index.js","type":"module","_from":"file:altipla-sentry-0.2.5.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","scripts":{"fix":"eslint --fix --ext .ts src","lint":"tsc --noEmit && eslint --ext .ts src","test":"vitest run --test-timeout 100000","build":"tsc","watch":"vitest"},"_npmUser":{"name":"ernestoalejo","email":"contact@ernestoalejo.me"},"_resolved":"/tmp/37efcc9ff78d645ab70e873520b5264c/altipla-sentry-0.2.5.tgz","_integrity":"sha512-L1qr7ZhYLW5PFWRO/XEMftvUNF6r9CA//OcdqeFpLYHzBmjT+L3UFBFLgrh5oDVtFMlrVcC0Q7TrWdQpuy39mw==","repository":{"url":"git+https://github.com/altipla-consulting/sentry.git","type":"git"},"_npmVersion":"10.8.1","description":"Helper to connect Sentry to tRPC, Express and Astro.","directories":{},"_nodeVersion":"20.16.0","dependencies":{"@sentry/node":"^8.4.0","@trpc/server":"^10.45.2","@altipla/logging":"^0.1.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"astro":"^4.9.1","vitest":"^1.6.0","prettier":"^3.2.5","typescript":"^5.4.5","@types/node":"^20.12.12","@types/express":"^4.17.21","@altipla/eslint-config-ts":"^0.12.0"},"_npmOperationalInternal":{"tmp":"tmp/sentry_0.2.5_1724656299330_0.17143518063882013","host":"s3://npm-registry-packages"}},"0.2.6":{"name":"@altipla/sentry","description":"Helper to connect Sentry to tRPC, Express and Astro.","version":"0.2.6","type":"module","main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/altipla-consulting/sentry.git"},"author":{"name":"Altipla Consulting"},"license":"MIT","bugs":{"url":"https://github.com/altipla-consulting/sentry/issues"},"homepage":"https://github.com/altipla-consulting/sentry#readme","publishConfig":{"access":"public"},"devDependencies":{"@altipla/eslint-config-ts":"^0.12.0","@types/express":"^4.17.21","@types/node":"^20.12.12","astro":"^4.9.1","prettier":"^3.2.5","typescript":"^5.4.5","vitest":"^1.6.0"},"dependencies":{"@altipla/logging":"^0.1.8","@sentry/node":"^8.4.0","@trpc/server":"^10.45.2"},"scripts":{"build":"tsc","lint":"tsc --noEmit && eslint --ext .ts src","fix":"eslint --fix --ext .ts src","test":"vitest run --test-timeout 100000","watch":"vitest"},"_id":"@altipla/sentry@0.2.6","_integrity":"sha512-ltCP77M8zVOXTyBS1tOBSUjVH1Fxbjosc2FSWQWP0FahI8vshpVA1+c2EPqfVL7nK6RQ9z6GyGrB6mLotfhhtA==","_resolved":"/tmp/a0a0b899020fc34e664bbe7e0c9ab736/altipla-sentry-0.2.6.tgz","_from":"file:altipla-sentry-0.2.6.tgz","_nodeVersion":"20.17.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-ltCP77M8zVOXTyBS1tOBSUjVH1Fxbjosc2FSWQWP0FahI8vshpVA1+c2EPqfVL7nK6RQ9z6GyGrB6mLotfhhtA==","shasum":"17707460d1fc55cb161f77e9dde8ebaf6c635b6b","tarball":"https://registry.npmjs.org/@altipla/sentry/-/sentry-0.2.6.tgz","fileCount":9,"unpackedSize":10133,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCzALB7BbVDJxGoqXhqHf66VjU7TMNtOlLisO0394/+VwIgSxfbz4TzH6GQD/yFVQzctZzagN2tPlHxi3K1Uvtg7u0="}]},"_npmUser":{"name":"ernestoalejo","email":"contact@ernestoalejo.me"},"directories":{},"maintainers":[{"name":"ernestoalejo","email":"contact@ernestoalejo.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sentry_0.2.6_1727351739662_0.8789034979486103"},"_hasShrinkwrap":false}},"time":{"created":"2023-04-11T08:16:27.420Z","modified":"2024-09-26T11:55:40.038Z","0.1.0":"2023-04-11T08:16:27.632Z","0.1.1":"2023-10-30T10:16:05.586Z","0.2.0":"2024-05-25T18:58:28.696Z","0.2.1":"2024-05-25T19:01:18.761Z","0.2.2":"2024-05-25T19:07:50.228Z","0.2.3":"2024-05-25T19:12:06.156Z","0.2.4":"2024-06-07T15:32:13.364Z","0.2.5":"2024-08-26T07:11:39.484Z","0.2.6":"2024-09-26T11:55:39.856Z"},"bugs":{"url":"https://github.com/altipla-consulting/sentry/issues"},"author":{"name":"Altipla Consulting"},"license":"MIT","homepage":"https://github.com/altipla-consulting/sentry#readme","repository":{"type":"git","url":"git+https://github.com/altipla-consulting/sentry.git"},"description":"Helper to connect Sentry to tRPC, Express and Astro.","maintainers":[{"name":"ernestoalejo","email":"contact@ernestoalejo.me"}],"readme":"# sentry.js\n\nHelper to connect Sentry to tRPC, Express and Astro.\n\n## Install\n\n```sh\nnpm install @altipla/sentry\n```\n\n## Usage\n\n### Express\n\nAdd the the error handler after all the other routes.\n\n```ts\nimport express from 'express'\nimport { expressErrorHandler } from '@altipla/sentry'\n\nlet app = express()\n\napp.get('/', (req, res) => {\n  res.send('Hello World!')\n})\n// ...other routes\n\napp.use(expressErrorHandler())\n```\n\n### tRPC\n\nSet `onError` option when creating the tRPC routers. For example with the Express connector:\n\n```ts\nimport express from 'express'\nimport { initTRPC } from '@trpc/server'\nimport * as trpcExpress from '@trpc/server/adapters/express'\nimport { trpcOnError } from '@altipla/sentry'\n\nlet app = express()\n\napp.use(\n  '/trpc',\n  trpcExpress.createExpressMiddleware({\n    router,\n    context,\n    onError: trpcOnError,\n  }),\n)\n```\n\n### Astro\n\nAdd the integration to the chain of server middlewares.\n\n```ts\nimport type { MiddlewareHandler } from 'astro'\nimport { astroMiddleware } from '@altipla/sentry'\nimport { sequence } from 'astro:middleware'\n\nexport const onRequest: MiddlewareHandler = sequence(\n  astroMiddleware,\n  // ... other middlewares\n}\n```\n","readmeFilename":"README.md"}