{"_id":"@hono/sentry","_rev":"4664188","name":"@hono/sentry","description":"Sentry Middleware for Hono","dist-tags":{"latest":"1.2.2"},"maintainers":[{"name":"yusukebe","email":""}],"time":{"modified":"2026-04-10T22:26:07.000Z","created":"2023-02-04T07:24:51.746Z","1.2.2":"2025-06-09T10:09:25.051Z","1.2.1":"2025-03-29T00:22:36.996Z","1.2.0":"2024-07-06T23:10:51.116Z","1.1.0":"2024-05-04T06:25:40.012Z","1.0.1":"2024-02-14T08:13:28.329Z","1.0.0":"2023-08-24T02:27:54.254Z","0.2.2":"2023-08-23T02:01:45.888Z","0.2.1":"2023-06-01T21:38:55.560Z","0.2.0":"2023-03-02T06:16:43.434Z","0.1.0":"2023-02-04T10:43:17.511Z","0.0.6":"2023-02-04T07:24:51.746Z"},"users":{},"author":"Samuel Lippert <samuel@driv.ly> (https://github.com/sam-lippert)","repository":{"type":"git","url":"git+https://github.com/honojs/middleware.git","directory":"packages/sentry"},"versions":{"1.2.2":{"name":"@hono/sentry","version":"1.2.2","description":"Sentry Middleware for Hono","type":"module","module":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsup ./src/index.ts","prepack":"yarn build","publint":"attw --pack && publint","typecheck":"tsc -b tsconfig.json","test":"vitest"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/honojs/middleware.git","directory":"packages/sentry"},"homepage":"https://github.com/honojs/middleware","author":"Samuel Lippert <samuel@driv.ly> (https://github.com/sam-lippert)","publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"peerDependencies":{"hono":">=3.*"},"dependencies":{"toucan-js":"^4.0.0"},"devDependencies":{"@arethetypeswrong/cli":"^0.17.4","publint":"^0.3.9","tsup":"^8.4.0","typescript":"^5.8.2","vitest":"^3.0.8"},"_id":"@hono/sentry@1.2.2","gitHead":"d4cc24f75432195dce1a5a02b207e581c121e89c","dist":{"shasum":"84b7a238513021b223cdc05e41c709779e2adbda","size":3520,"noattachment":false,"key":"/@hono/sentry/-/@hono/sentry-1.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@hono/sentry/download/@hono/sentry-1.2.2.tgz"},"_npmUser":{"name":"yusukebe","email":"yusuke@kamawada.com"},"directories":{},"maintainers":[{"name":"yusukebe","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sentry_1.2.2_1749463764894_0.34075308593050546"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-06-09T10:09:25.051Z","publish_time":1749463765051,"_source_registry_name":"default","_cnpm_publish_time":1749463765051},"1.2.1":{"name":"@hono/sentry","version":"1.2.1","description":"Sentry Middleware for Hono","type":"module","module":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsup ./src/index.ts","prepack":"yarn build","publint":"attw --pack && publint","test":"vitest"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/honojs/middleware.git","directory":"packages/sentry"},"homepage":"https://github.com/honojs/middleware","author":{"name":"Samuel Lippert","email":"samuel@driv.ly","url":"https://github.com/sam-lippert"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"peerDependencies":{"hono":">=3.*"},"dependencies":{"toucan-js":"^4.0.0"},"devDependencies":{"@arethetypeswrong/cli":"^0.17.4","hono":"^3.11.7","publint":"^0.3.9","tsup":"^8.4.0","vitest":"^3.0.8"},"_id":"@hono/sentry@1.2.1","gitHead":"9a98e388cc4a5493b1131b356441b24337183760","bugs":{"url":"https://github.com/honojs/middleware/issues"},"_nodeVersion":"20.19.0","_npmVersion":"10.8.2","dist":{"shasum":"48e3601d263a409afc4b2a49c8edaa154f90271e","size":2651,"noattachment":false,"key":"/@hono/sentry/-/@hono/sentry-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@hono/sentry/download/@hono/sentry-1.2.1.tgz"},"_npmUser":{"name":"yusukebe","email":"yusuke@kamawada.com"},"directories":{},"maintainers":[{"name":"yusukebe","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sentry_1.2.1_1743207756822_0.3097761404264012"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-03-29T00:22:36.996Z","publish_time":1743207756996,"_source_registry_name":"default","_cnpm_publish_time":1743207756996},"1.2.0":{"name":"@hono/sentry","version":"1.2.0","description":"Sentry Middleware for Hono","main":"dist/index.js","type":"commonjs","module":"dist/index.mjs","types":"dist/index.d.ts","scripts":{"test":"jest","build":"tsup ./src/index.ts --format esm,cjs --dts","prerelease":"yarn build && yarn test:all"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs","require":"./dist/index.js"}},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/honojs/middleware.git"},"homepage":"https://github.com/honojs/middleware","author":{"name":"Samuel Lippert","email":"samuel@driv.ly","url":"https://github.com/sam-lippert"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"peerDependencies":{"hono":">=3.*"},"dependencies":{"toucan-js":"^4.0.0"},"devDependencies":{"@cloudflare/workers-types":"^3.14.0","@types/jest":"^28.1.4","@typescript-eslint/eslint-plugin":"^5.32.0","@typescript-eslint/parser":"^5.32.0","eslint":"^8.21.0","eslint-config-prettier":"^8.5.0","eslint-define-config":"^1.6.0","eslint-import-resolver-typescript":"^3.4.0","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-flowtype":"^8.0.3","eslint-plugin-import":"^2.26.0","eslint-plugin-node":"^11.1.0","hono":"^3.11.7","jest":"^28.1.2","jest-environment-miniflare":"^2.6.0","prettier":"^2.7.1","publint":"^0.2.7","ts-jest":"^28.0.5","tsup":"^8.0.2","typescript":"^4.7.4"},"_id":"@hono/sentry@1.2.0","gitHead":"92b4cf476da13da4dae801c6922170fe8c66113a","bugs":{"url":"https://github.com/honojs/middleware/issues"},"_nodeVersion":"18.20.3","_npmVersion":"10.7.0","dist":{"shasum":"1af4dceaeaabb475776d5912ac10f797a4da851a","size":2754,"noattachment":false,"key":"/@hono/sentry/-/@hono/sentry-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@hono/sentry/download/@hono/sentry-1.2.0.tgz"},"_npmUser":{"name":"yusukebe","email":"yusuke@kamawada.com"},"directories":{},"maintainers":[{"name":"yusukebe","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sentry_1.2.0_1720307450954_0.2718834783173263"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-07-06T23:10:51.116Z","publish_time":1720307451116,"_source_registry_name":"default","_cnpm_publish_time":1720307451116},"1.1.0":{"name":"@hono/sentry","version":"1.1.0","description":"Sentry Middleware for Hono","main":"dist/index.js","type":"commonjs","module":"dist/index.mjs","types":"dist/index.d.ts","scripts":{"test":"jest","build":"tsup ./src/index.ts --format esm,cjs --dts","prerelease":"yarn build && yarn test:all"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs","require":"./dist/index.js"}},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/honojs/middleware.git"},"homepage":"https://github.com/honojs/middleware","author":{"name":"Samuel Lippert","email":"samuel@driv.ly","url":"https://github.com/sam-lippert"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"peerDependencies":{"hono":">=3.*"},"dependencies":{"toucan-js":"^3.4.0"},"devDependencies":{"@cloudflare/workers-types":"^3.14.0","@types/jest":"^28.1.4","@typescript-eslint/eslint-plugin":"^5.32.0","@typescript-eslint/parser":"^5.32.0","eslint":"^8.21.0","eslint-config-prettier":"^8.5.0","eslint-define-config":"^1.6.0","eslint-import-resolver-typescript":"^3.4.0","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-flowtype":"^8.0.3","eslint-plugin-import":"^2.26.0","eslint-plugin-node":"^11.1.0","hono":"^3.11.7","jest":"^28.1.2","jest-environment-miniflare":"^2.6.0","prettier":"^2.7.1","publint":"^0.2.7","ts-jest":"^28.0.5","tsup":"^8.0.2","typescript":"^4.7.4"},"_id":"@hono/sentry@1.1.0","gitHead":"3e96b5e12899e871a2a8702a292d015e72963d50","bugs":{"url":"https://github.com/honojs/middleware/issues"},"_nodeVersion":"18.20.2","_npmVersion":"10.5.0","dist":{"shasum":"c8311439b46eaaaebd53e6150f1ec345a004a98e","size":2752,"noattachment":false,"key":"/@hono/sentry/-/@hono/sentry-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@hono/sentry/download/@hono/sentry-1.1.0.tgz"},"_npmUser":{"name":"yusukebe","email":"yusuke@kamawada.com"},"directories":{},"maintainers":[{"name":"yusukebe","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sentry_1.1.0_1714803939832_0.7695131246587052"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-05-04T06:25:40.012Z","publish_time":1714803940012,"_source_registry_name":"default","_cnpm_publish_time":1714803940012},"1.0.1":{"name":"@hono/sentry","version":"1.0.1","description":"Sentry Middleware for Hono","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"jest","build":"rimraf dist && tsc","prerelease":"yarn build && yarn test:all","release":"np"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/honojs/middleware.git"},"homepage":"https://github.com/honojs/middleware","author":{"name":"Samuel Lippert","email":"samuel@driv.ly","url":"https://github.com/sam-lippert"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"peerDependencies":{"hono":">=3.*"},"dependencies":{"toucan-js":"^3.2.2"},"devDependencies":{"@cloudflare/workers-types":"^3.14.0","@types/jest":"^28.1.4","@typescript-eslint/eslint-plugin":"^5.32.0","@typescript-eslint/parser":"^5.32.0","eslint":"^8.21.0","eslint-config-prettier":"^8.5.0","eslint-define-config":"^1.6.0","eslint-import-resolver-typescript":"^3.4.0","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-flowtype":"^8.0.3","eslint-plugin-import":"^2.26.0","eslint-plugin-node":"^11.1.0","hono":"^3.11.7","jest":"^28.1.2","jest-environment-miniflare":"^2.6.0","np":"^7.6.2","prettier":"^2.7.1","rimraf":"^3.0.2","ts-jest":"^28.0.5","typescript":"^4.7.4"},"_id":"@hono/sentry@1.0.1","gitHead":"86f2be936c37d2d6fbe9a6a3d03b033c0d3a3579","bugs":{"url":"https://github.com/honojs/middleware/issues"},"_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"shasum":"ff911ef6a0e2990ad0a22a4989e6fe07cd70176d","size":2258,"noattachment":false,"key":"/@hono/sentry/-/@hono/sentry-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@hono/sentry/download/@hono/sentry-1.0.1.tgz"},"_npmUser":{"name":"yusukebe","email":"yusuke@kamawada.com"},"directories":{},"maintainers":[{"name":"yusukebe","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sentry_1.0.1_1707898408191_0.6279422538873727"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-02-14T08:13:28.329Z","publish_time":1707898408329,"_source_registry_name":"default","_cnpm_publish_time":1707898408329},"1.0.0":{"name":"@hono/sentry","version":"1.0.0","description":"Sentry Middleware for Hono","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"jest","test:deno":"deno test deno_test","test:all":"yarn test && yarn test:deno","denoify":"rimraf deno_dist && denoify","build":"rimraf dist && tsc","prerelease":"yarn build && yarn denoify && yarn test:all","release":"np"},"denoify":{"replacer":"dist/replacer.js"},"license":"MIT","private":false,"repository":{"type":"git","url":"git+https://github.com/honojs/middleware.git"},"homepage":"https://github.com/honojs/middleware","author":{"name":"Samuel Lippert","email":"samuel@driv.ly","url":"https://github.com/sam-lippert"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"peerDependencies":{"hono":"3.*"},"dependencies":{"toucan-js":"^3.2.2"},"devDependencies":{"@cloudflare/workers-types":"^3.14.0","@types/jest":"^28.1.4","@typescript-eslint/eslint-plugin":"^5.32.0","@typescript-eslint/parser":"^5.32.0","denoify":"^1.4.5","eslint":"^8.21.0","eslint-config-prettier":"^8.5.0","eslint-define-config":"^1.6.0","eslint-import-resolver-typescript":"^3.4.0","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-flowtype":"^8.0.3","eslint-plugin-import":"^2.26.0","eslint-plugin-node":"^11.1.0","hono":"^3.5.1","jest":"^28.1.2","jest-environment-miniflare":"^2.6.0","np":"^7.6.2","prettier":"^2.7.1","rimraf":"^3.0.2","ts-jest":"^28.0.5","typescript":"^4.7.4"},"gitHead":"1b92f79f91fecaaf1a12f2a8976e6323f884034b","bugs":{"url":"https://github.com/honojs/middleware/issues"},"_id":"@hono/sentry@1.0.0","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"shasum":"beec93fc0cbf1eab8a49c31b5f162f4863712d4c","size":2331,"noattachment":false,"key":"/@hono/sentry/-/@hono/sentry-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@hono/sentry/download/@hono/sentry-1.0.0.tgz"},"_npmUser":{"name":"yusukebe","email":"yusuke@kamawada.com"},"directories":{},"maintainers":[{"name":"yusukebe","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sentry_1.0.0_1692844074048_0.00957702625802348"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-08-24T02:27:54.254Z","publish_time":1692844074254,"_source_registry_name":"default","_cnpm_publish_time":1692844074254},"0.2.2":{"name":"@hono/sentry","version":"0.2.2","description":"Sentry Middleware for Hono","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"jest","test:deno":"deno test deno_test","test:all":"yarn test && yarn test:deno","denoify":"rimraf deno_dist && denoify","build":"rimraf dist && tsc","prerelease":"yarn build && yarn denoify && yarn test:all","release":"np"},"denoify":{"replacer":"dist/replacer.js"},"license":"MIT","private":false,"repository":{"type":"git","url":"git+https://github.com/honojs/middleware.git"},"homepage":"https://github.com/honojs/middleware","author":{"name":"Samuel Lippert","email":"samuel@driv.ly","url":"https://github.com/sam-lippert"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"peerDependencies":{"hono":"^3.2.3"},"dependencies":{"toucan-js":"^2.6.1"},"devDependencies":{"@cloudflare/workers-types":"^3.14.0","@types/jest":"^28.1.4","@typescript-eslint/eslint-plugin":"^5.32.0","@typescript-eslint/parser":"^5.32.0","denoify":"^1.4.5","eslint":"^8.21.0","eslint-config-prettier":"^8.5.0","eslint-define-config":"^1.6.0","eslint-import-resolver-typescript":"^3.4.0","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-flowtype":"^8.0.3","eslint-plugin-import":"^2.26.0","eslint-plugin-node":"^11.1.0","hono":"^3.0.2","jest":"^28.1.2","jest-environment-miniflare":"^2.6.0","np":"^7.6.2","prettier":"^2.7.1","rimraf":"^3.0.2","ts-jest":"^28.0.5","typescript":"^4.7.4"},"gitHead":"c65b09edff8d6fcfbe841fbfbc8f369df4df0ec4","bugs":{"url":"https://github.com/honojs/middleware/issues"},"_id":"@hono/sentry@0.2.2","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"shasum":"765399bc1f174c7615b2447cc6fd7fd11a4b37bf","size":1950,"noattachment":false,"key":"/@hono/sentry/-/@hono/sentry-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@hono/sentry/download/@hono/sentry-0.2.2.tgz"},"_npmUser":{"name":"yusukebe","email":"yusuke@kamawada.com"},"directories":{},"maintainers":[{"name":"yusukebe","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sentry_0.2.2_1692756105673_0.5272897485053585"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-08-23T02:01:45.888Z","publish_time":1692756105888,"_source_registry_name":"default","_cnpm_publish_time":1692756105888},"0.2.1":{"name":"@hono/sentry","version":"0.2.1","description":"Sentry Middleware for Hono","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"jest","test:deno":"deno test deno_test","test:all":"yarn test && yarn test:deno","denoify":"rimraf deno_dist && denoify","build":"rimraf dist && tsc","prerelease":"yarn build && yarn denoify && yarn test:all","release":"np"},"denoify":{"replacer":"dist/replacer.js"},"license":"MIT","private":false,"repository":{"type":"git","url":"git+https://github.com/honojs/middleware.git"},"homepage":"https://github.com/honojs/middleware","author":{"name":"Samuel Lippert","email":"samuel@driv.ly","url":"https://github.com/sam-lippert"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"peerDependencies":{"hono":"^3.2.3"},"dependencies":{"toucan-js":"^2.6.1"},"devDependencies":{"@cloudflare/workers-types":"^3.14.0","@types/jest":"^28.1.4","@typescript-eslint/eslint-plugin":"^5.32.0","@typescript-eslint/parser":"^5.32.0","denoify":"^1.4.5","eslint":"^8.21.0","eslint-config-prettier":"^8.5.0","eslint-define-config":"^1.6.0","eslint-import-resolver-typescript":"^3.4.0","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-flowtype":"^8.0.3","eslint-plugin-import":"^2.26.0","eslint-plugin-node":"^11.1.0","hono":"^3.0.2","jest":"^28.1.2","jest-environment-miniflare":"^2.6.0","np":"^7.6.2","prettier":"^2.7.1","rimraf":"^3.0.2","ts-jest":"^28.0.5","typescript":"^4.7.4"},"gitHead":"567784a323f0bbe68f615da3a6450882db79cff2","bugs":{"url":"https://github.com/honojs/middleware/issues"},"_id":"@hono/sentry@0.2.1","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"shasum":"133ace1d1579e023514aa49f5a78f1380764c74e","size":2000,"noattachment":false,"key":"/@hono/sentry/-/@hono/sentry-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@hono/sentry/download/@hono/sentry-0.2.1.tgz"},"_npmUser":{"name":"yusukebe","email":"yusuke@kamawada.com"},"directories":{},"maintainers":[{"name":"yusukebe","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sentry_0.2.1_1685655535386_0.280108479973177"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-06-01T21:38:55.560Z","publish_time":1685655535560,"_source_registry_name":"default","_cnpm_publish_time":1685655535560},"0.2.0":{"name":"@hono/sentry","version":"0.2.0","description":"Sentry Middleware for Hono","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"jest","test:deno":"deno test deno_test","test:all":"yarn test && yarn test:deno","denoify":"rimraf deno_dist && denoify","build":"rimraf dist && tsc","prerelease":"yarn build && yarn denoify && yarn test:all","release":"np"},"denoify":{"replacer":"dist/replacer.js"},"license":"MIT","private":false,"repository":{"type":"git","url":"git+https://github.com/honojs/middleware.git"},"homepage":"https://github.com/honojs/middleware","author":{"name":"Samuel Lippert","email":"samuel@driv.ly","url":"https://github.com/sam-lippert"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"peerDependencies":{"hono":"^3.0.2"},"dependencies":{"toucan-js":"^2.6.1"},"devDependencies":{"@cloudflare/workers-types":"^3.14.0","@types/jest":"^28.1.4","@typescript-eslint/eslint-plugin":"^5.32.0","@typescript-eslint/parser":"^5.32.0","denoify":"^1.4.5","eslint":"^8.21.0","eslint-config-prettier":"^8.5.0","eslint-define-config":"^1.6.0","eslint-import-resolver-typescript":"^3.4.0","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-flowtype":"^8.0.3","eslint-plugin-import":"^2.26.0","eslint-plugin-node":"^11.1.0","hono":"^3.0.2","jest":"^28.1.2","jest-environment-miniflare":"^2.6.0","np":"^7.6.2","prettier":"^2.7.1","rimraf":"^3.0.2","ts-jest":"^28.0.5","typescript":"^4.7.4"},"gitHead":"64045051d383ce42d8aea0ae5f5d628b0b10eb14","bugs":{"url":"https://github.com/honojs/middleware/issues"},"_id":"@hono/sentry@0.2.0","_nodeVersion":"18.14.2","_npmVersion":"9.5.0","dist":{"shasum":"efc636709b6f601e26ea957233058cc01ebd397f","size":1994,"noattachment":false,"key":"/@hono/sentry/-/@hono/sentry-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@hono/sentry/download/@hono/sentry-0.2.0.tgz"},"_npmUser":{"name":"yusukebe","email":"yusuke@kamawada.com"},"directories":{},"maintainers":[{"name":"yusukebe","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sentry_0.2.0_1677737803287_0.42091785130594017"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-03-02T06:16:43.434Z","publish_time":1677737803434,"_cnpm_publish_time":1677737803434},"0.1.0":{"name":"@hono/sentry","version":"0.1.0","description":"Sentry Middleware for Hono","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"jest","test:deno":"deno test deno_test","test:all":"yarn test && yarn test:deno","denoify":"rimraf deno_dist && denoify","build":"rimraf dist && tsc","prerelease":"yarn build && yarn denoify && yarn test:all","release":"np"},"denoify":{"replacer":"dist/replacer.js"},"license":"MIT","private":false,"repository":{"type":"git","url":"git+https://github.com/honojs/middleware.git"},"homepage":"https://github.com/honojs/middleware","author":{"name":"Samuel Lippert","email":"samuel@driv.ly","url":"https://github.com/sam-lippert"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"peerDependencies":{"hono":"^2.6.1"},"dependencies":{"toucan-js":"^2.6.1"},"devDependencies":{"@cloudflare/workers-types":"^3.14.0","@types/jest":"^28.1.4","@typescript-eslint/eslint-plugin":"^5.32.0","@typescript-eslint/parser":"^5.32.0","denoify":"^1.4.5","eslint":"^8.21.0","eslint-config-prettier":"^8.5.0","eslint-define-config":"^1.6.0","eslint-import-resolver-typescript":"^3.4.0","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-flowtype":"^8.0.3","eslint-plugin-import":"^2.26.0","eslint-plugin-node":"^11.1.0","hono":"^2.6.1","jest":"^28.1.2","jest-environment-miniflare":"^2.6.0","np":"^7.6.2","prettier":"^2.7.1","rimraf":"^3.0.2","ts-jest":"^28.0.5","typescript":"^4.7.4"},"gitHead":"a66d22abb9ff32b5b5bddd3b387da60805ccfdd8","bugs":{"url":"https://github.com/honojs/middleware/issues"},"_id":"@hono/sentry@0.1.0","_nodeVersion":"18.13.0","_npmVersion":"8.19.3","dist":{"shasum":"b121eb368ed47985b9e715c8406ef5987cf77967","size":2024,"noattachment":false,"key":"/@hono/sentry/-/@hono/sentry-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@hono/sentry/download/@hono/sentry-0.1.0.tgz"},"_npmUser":{"name":"yusukebe","email":"yusuke@kamawada.com"},"directories":{},"maintainers":[{"name":"yusukebe","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sentry_0.1.0_1675507397336_0.6286550946266287"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-02-04T10:43:17.511Z","publish_time":1675507397511,"_cnpm_publish_time":1675507397511},"0.0.6":{"name":"@hono/sentry","version":"0.0.6","description":"Sentry Middleware for Hono","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"jest","test:deno":"deno test deno_test","test:all":"yarn test && yarn test:deno","denoify":"rimraf deno_dist && denoify","build":"rimraf dist && tsc","prerelease":"yarn build && yarn denoify && yarn test:all","release":"np"},"denoify":{"replacer":"dist/replacer.js"},"license":"MIT","private":false,"repository":{"type":"git","url":"git+https://github.com/honojs/middleware.git"},"homepage":"https://github.com/honojs/middleware","author":{"name":"Samuel Lippert","email":"samuel@driv.ly","url":"https://github.com/sam-lippert"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"peerDependencies":{"hono":"^2.6.1"},"dependencies":{"toucan-js":"^2.6.1"},"devDependencies":{"@cloudflare/workers-types":"^3.14.0","@types/jest":"^28.1.4","@typescript-eslint/eslint-plugin":"^5.32.0","@typescript-eslint/parser":"^5.32.0","denoify":"^1.4.5","eslint":"^8.21.0","eslint-config-prettier":"^8.5.0","eslint-define-config":"^1.6.0","eslint-import-resolver-typescript":"^3.4.0","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-flowtype":"^8.0.3","eslint-plugin-import":"^2.26.0","eslint-plugin-node":"^11.1.0","hono":"^2.6.1","jest":"^28.1.2","jest-environment-miniflare":"^2.6.0","np":"^7.6.2","prettier":"^2.7.1","rimraf":"^3.0.2","ts-jest":"^28.0.5","typescript":"^4.7.4"},"gitHead":"0aa93e70e9c4ca9b908c510ae950d554882505a0","bugs":{"url":"https://github.com/honojs/middleware/issues"},"_id":"@hono/sentry@0.0.6","_nodeVersion":"18.13.0","_npmVersion":"8.19.3","dist":{"shasum":"fe33203aa3c62e29237f289065060740305aa863","size":2024,"noattachment":false,"key":"/@hono/sentry/-/@hono/sentry-0.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/@hono/sentry/download/@hono/sentry-0.0.6.tgz"},"_npmUser":{"name":"yusukebe","email":"yusuke@kamawada.com"},"directories":{},"maintainers":[{"name":"yusukebe","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sentry_0.0.6_1675495491546_0.6075179553907872"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-02-04T07:24:51.746Z","publish_time":1675495491746,"_cnpm_publish_time":1675495491746}},"readme":"# Sentry Middleware for Hono\n\n[![codecov](https://codecov.io/github/honojs/middleware/graph/badge.svg?flag=sentry)](https://codecov.io/github/honojs/middleware)\n\nThis middleware integrates [Hono](https://github.com/honojs/hono) with Sentry. It captures exceptions and sends them to the specified Sentry data source name (DSN) using [toucan-js](https://github.com/robertcepa/toucan-js).\n\n## Installation\n\n```plain\nnpm i hono @hono/sentry\n```\n\n## Configuration\n\nIf you're running your application on Cloudflare Workers, set a binding value named `SENTRY_DSN`, which will be used as the DSN. For instance, during development, you can specify this in `.dev.vars`:\n\n```plain\nSENTRY_DSN=<Your DSN>\n```\n\nOn other platforms, you can directly provide the DSN by passing it as an option:\n\n```ts\nsentry({\n  dsn: `<Your DSN>`,\n})\n```\n\n## How to Use\n\n```ts\nimport { Hono } from 'hono'\nimport { sentry } from '@hono/sentry'\n\nconst app = new Hono()\n\napp.use('*', sentry())\napp.get('/', (c) => c.text('foo'))\n\nexport default app\n```\n\nOptions:\n\n```ts\nimport type { Options as ToucanOptions } from 'toucan-js'\ntype Options = Omit<ToucanOptions, 'request' | 'context'>\n```\n\n### For Deno Users\n\n```ts\nimport { serve } from 'https://deno.land/std/http/server.ts'\nimport { sentry } from 'npm:@hono/sentry'\nimport { Hono } from 'https://deno.land/x/hono/mod.ts'\n\nconst app = new Hono()\n\napp.use('*', sentry({ dsn: 'https://xxxxxx@xxx.ingest.sentry.io/xxxxxx' }))\napp.get('/', (c) => c.text('foo'))\n\nserve(app.fetch)\n```\n\n### Accessing an instance of `Sentry`\n\nYou can retrieve an instance of `Sentry` using `c.get('sentry')`.\n\n```ts\napp.onError((e, c) => {\n  c.get('sentry').setContext('character', {\n    name: 'Mighty Fighter',\n    age: 19,\n    attack_type: 'melee',\n  })\n  c.get('sentry').captureException(e)\n  return c.text('Internal Server Error', 500)\n})\n```\n\n## Authors\n\n- Samuel Lippert - <https://github.com/sam-lippert>\n- Yusuke Wada - <https://github.com/yusukebe>\n\n## License\n\nMIT\n","_attachments":{},"homepage":"https://github.com/honojs/middleware","license":"MIT"}