{"_id":"@abacatepay/hono","_rev":"8-43c86d1238eb6a3a6cdb496eb764baec","name":"@abacatepay/hono","dist-tags":{"latest":"2.0.3"},"versions":{"0.0.1":{"name":"@abacatepay/hono","version":"0.0.1","keywords":["abacatepay","payments","hono","api","webhooks"],"license":"Apache-2.0","_id":"@abacatepay/hono@0.0.1","maintainers":[{"name":"albuquerquesz","email":"albq.victor@gmail.com"},{"name":"bolodissenouraa","email":"daniel@abacatepay.com"},{"name":"escoteiros","email":"accounts@eualmeida.com.br"}],"homepage":"https://github.com/almeidazs/ecosystem#readme","bugs":{"url":"https://github.com/almeidazs/ecosystem/issues"},"dist":{"shasum":"d4dca915839819fef041d8040bee93ced227adef","tarball":"https://registry.npmjs.org/@abacatepay/hono/-/hono-0.0.1.tgz","fileCount":9,"integrity":"sha512-/QiiCzOI86iRCFPbaGG3mmed5JHV6S1zYScgrf1y7yJ7daes15wkOgRxgQ2O3D0jb9sYi8s7ROBR/pCjOH4Z2A==","signatures":[{"sig":"MEYCIQDFThr/CyLRgxyckVmWxOIlAhf8UxFDDMGQ6P8dL4TPZAIhAPxZI/sxc9INFrtI3xkT7NVQOCp7FjscW4SEQY7BzVqh","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4612},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"bun":">=1.0.0","node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"077fd0df38c9eaf033caa1f274e3292c2f32b454","scripts":{"test":"bun test","build":"rm -rf dist && bun run scripts/version.ts && tsc","types":"bunx tsc --emitDeclarationOnly","prepublishOnly":"bun run build"},"_npmUser":{"name":"escoteiros","email":"accounts@eualmeida.com.br"},"repository":{"url":"git+https://github.com/almeidazs/ecosystem.git","type":"git"},"_npmVersion":"11.6.2","description":"Checkouts and Webhooks made simple with AbacatePay and Hono.","directories":{},"sideEffects":false,"_nodeVersion":"24.12.0","dependencies":{"@abacatepay/zod":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@biomejs/biome":"^2.3.11"},"peerDependencies":{"hono":"^4.11.4"},"_npmOperationalInternal":{"tmp":"tmp/hono_0.0.1_1769024050122_0.2708303411404027","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@abacatepay/hono","version":"0.0.2","keywords":["abacatepay","payments","hono","api","webhooks"],"license":"Apache-2.0","_id":"@abacatepay/hono@0.0.2","maintainers":[{"name":"albuquerquesz","email":"albq.victor@gmail.com"},{"name":"bolodissenouraa","email":"daniel@abacatepay.com"},{"name":"escoteiros","email":"accounts@eualmeida.com.br"}],"homepage":"https://github.com/almeidazs/ecosystem#readme","bugs":{"url":"https://github.com/almeidazs/ecosystem/issues"},"dist":{"shasum":"5d1f4730e2d3fc4f33aef8ccfdab078222e65e82","tarball":"https://registry.npmjs.org/@abacatepay/hono/-/hono-0.0.2.tgz","fileCount":10,"integrity":"sha512-IDFfRDO9T4aNOQDtnjJCGyM2zd1chV59ycxhOIZqAcIrUigiP3mARG2Hed2ZTp7pqdckdch73wXw4gYguHsFNA==","signatures":[{"sig":"MEQCIFRaWRf6CCOMn1FL3XG82e1HA+BTAllr2l4t75Zd2KCoAiBwRjz3e8G2m9C3ffySeFcYImtD+C87mtCso0C3ofI4eQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7539},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"bun":">=1.0.0","node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"d55ebbe646a8d3c8afca661ea2057c170a1a411f","scripts":{"test":"bun test","build":"rm -rf dist && bun run scripts/version.ts && tsc","types":"bunx tsc --emitDeclarationOnly","prepublishOnly":"bun run build"},"_npmUser":{"name":"escoteiros","email":"accounts@eualmeida.com.br"},"repository":{"url":"git+https://github.com/almeidazs/ecosystem.git","type":"git"},"_npmVersion":"11.6.2","description":"Checkouts and Webhooks made simple with AbacatePay and Hono.","directories":{},"sideEffects":false,"_nodeVersion":"24.12.0","dependencies":{"@abacatepay/zod":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@biomejs/biome":"^2.3.11"},"peerDependencies":{"hono":"^4.11.4"},"_npmOperationalInternal":{"tmp":"tmp/hono_0.0.2_1769025287923_0.21978285976770517","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@abacatepay/hono","version":"1.0.0","keywords":["abacatepay","payments","hono","api","webhooks"],"license":"Apache-2.0","_id":"@abacatepay/hono@1.0.0","maintainers":[{"name":"albuquerquesz","email":"albq.victor@gmail.com"},{"name":"bolodissenouraa","email":"daniel@abacatepay.com"},{"name":"escoteiros","email":"accounts@eualmeida.com.br"}],"homepage":"https://github.com/almeidazs/ecosystem#readme","bugs":{"url":"https://github.com/almeidazs/ecosystem/issues"},"dist":{"shasum":"275dddee0ae6c2c87a427230615be98526c7f70b","tarball":"https://registry.npmjs.org/@abacatepay/hono/-/hono-1.0.0.tgz","fileCount":8,"integrity":"sha512-Inf+I9yYgaK/gx6kgL/cWhqsTlRcbzMx9jxequC/+QJN21VaS+j3jeI+J6J5tSY5Tg4YfBfddgH81Htiwo/FgA==","signatures":[{"sig":"MEUCIBFupfgl3AAhhh33UoXlE7mSw2iRP52YcZyXaaZfYgSuAiEA/bXpg0vKSdAJ6xAosemIAvKFQmDSdFEhw4jC8kl32W8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6256},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"bun":">=1.0.0","node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"fce0da7b8dec48e08f7be9c082b5d90a104b1b97","scripts":{"test":"bun test","build":"rm -rf dist && bun run scripts/version.ts && tsc","types":"bunx tsc --emitDeclarationOnly","prepublishOnly":"bun run build"},"_npmUser":{"name":"escoteiros","email":"accounts@eualmeida.com.br"},"repository":{"url":"git+https://github.com/almeidazs/ecosystem.git","type":"git"},"_npmVersion":"11.6.2","description":"Checkouts and Webhooks made simple with AbacatePay and Hono.","directories":{},"sideEffects":false,"_nodeVersion":"24.12.0","dependencies":{"@abacatepay/adapters":"^1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@biomejs/biome":"^2.3.11"},"peerDependencies":{"hono":"^4.11.4"},"_npmOperationalInternal":{"tmp":"tmp/hono_1.0.0_1769355670051_0.7468317524370691","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@abacatepay/hono","version":"1.0.1","keywords":["abacatepay","payments","hono","api","webhooks"],"author":{"url":"https://abacatepay.com","name":"AbacatePay","email":"opensource@abacatepay.com"},"license":"Apache-2.0","_id":"@abacatepay/hono@1.0.1","maintainers":[{"name":"albuquerquesz","email":"albq.victor@gmail.com"},{"name":"bolodissenouraa","email":"daniel@abacatepay.com"},{"name":"escoteiros","email":"accounts@eualmeida.com.br"}],"homepage":"https://github.com/AbacatePay/ecosystem#readme","bugs":{"url":"https://github.com/AbacatePay/ecosystem/issues"},"dist":{"shasum":"fbb064cac2fd0585005de1a627af517f791f423a","tarball":"https://registry.npmjs.org/@abacatepay/hono/-/hono-1.0.1.tgz","fileCount":8,"integrity":"sha512-hLI/zddf1PCpY/OzjZeQ91S9T3XIEEpymAEiP/UqKRQg1U5nsw2Nwnql/PiDa7kBkYatvBQ6+O7lzKTJRVW86Q==","signatures":[{"sig":"MEUCIDpNioImhZB+xQZmbR/f7RpOSSixBD9nl934sY+JHY3EAiEAudw8wEkKOSd9AVIGIekQWCN+AsiyPXVWWi8B/kG1Wt4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6473},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"bun":">=1.0.0","node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"dd2cd87be2a751b7d10bc505a68629d454b289c1","scripts":{"test":"bun test","build":"rm -rf dist && bun run scripts/version.ts && tsc","types":"bunx tsc --emitDeclarationOnly","prepublishOnly":"bun run build"},"_npmUser":{"name":"escoteiros","email":"accounts@eualmeida.com.br"},"repository":{"url":"git+https://github.com/AbacatePay/ecosystem.git","type":"git"},"_npmVersion":"11.6.2","description":"Checkouts and Webhooks made simple with AbacatePay and Hono.","directories":{},"sideEffects":false,"_nodeVersion":"24.12.0","dependencies":{"@abacatepay/adapters":"^1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@biomejs/biome":"^2.3.11"},"peerDependencies":{"hono":"^4.11.4"},"_npmOperationalInternal":{"tmp":"tmp/hono_1.0.1_1769436988649_0.5170745414986726","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@abacatepay/hono","version":"2.0.0","keywords":["abacatepay","payments","hono","api","webhooks"],"author":{"url":"https://abacatepay.com","name":"AbacatePay","email":"opensource@abacatepay.com"},"license":"Apache-2.0","_id":"@abacatepay/hono@2.0.0","maintainers":[{"name":"albuquerquesz","email":"albq.victor@gmail.com"},{"name":"bolodissenouraa","email":"daniel@abacatepay.com"},{"name":"escoteiros","email":"ajuda@abacatepay.com"}],"homepage":"https://github.com/AbacatePay/ecosystem#readme","bugs":{"url":"https://github.com/AbacatePay/ecosystem/issues"},"dist":{"shasum":"dbbff0bc02a599b0bdcd696cab14a93e5eef1be0","tarball":"https://registry.npmjs.org/@abacatepay/hono/-/hono-2.0.0.tgz","fileCount":6,"integrity":"sha512-rF+GUeJSMk1cFrnKxbeAaqtn0YDbirBApwmSrWFpLAydSR2oPfoBMTaR7UlA7gNkvlSBWCdyi4hGoFGqV3oSog==","signatures":[{"sig":"MEYCIQC9mkFj1U0wIafHjShQlVGfUni6qrIR0JmKGC54FQWndAIhAMZkX0WgC2RZWFvT1mPVIGMvXOIhKYwXa1kPiZbs4Wqi","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6143},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"bun":">=1.0.0","node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"2dc44ef4789adc69e81f94a8e459cc85fd76668c","scripts":{"test":"bun test","build":"rm -rf dist && bun run scripts/version.ts && tsc","types":"bunx tsc --emitDeclarationOnly","prepublishOnly":"bun run build"},"_npmUser":{"name":"escoteiros","email":"ajuda@abacatepay.com"},"repository":{"url":"git+https://github.com/AbacatePay/ecosystem.git","type":"git"},"_npmVersion":"11.8.0","description":"Checkouts and Webhooks made simple with AbacatePay and Hono.","directories":{},"sideEffects":false,"_nodeVersion":"24.13.1","dependencies":{"@abacatepay/adapters":"^2.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@biomejs/biome":"^2.3.11"},"peerDependencies":{"hono":"^4.11.4"},"_npmOperationalInternal":{"tmp":"tmp/hono_2.0.0_1785159311317_0.7105666045447427","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"@abacatepay/hono","version":"2.0.1","keywords":["abacatepay","payments","hono","api","webhooks"],"author":{"url":"https://abacatepay.com","name":"AbacatePay","email":"opensource@abacatepay.com"},"license":"Apache-2.0","_id":"@abacatepay/hono@2.0.1","maintainers":[{"name":"albuquerquesz","email":"albq.victor@gmail.com"},{"name":"bolodissenouraa","email":"daniel@abacatepay.com"},{"name":"escoteiros","email":"ajuda@abacatepay.com"}],"homepage":"https://github.com/AbacatePay/ecosystem#readme","bugs":{"url":"https://github.com/AbacatePay/ecosystem/issues"},"dist":{"shasum":"6bb284ff6a0ba811b3e4f34628ffd43eeeb4ec77","tarball":"https://registry.npmjs.org/@abacatepay/hono/-/hono-2.0.1.tgz","fileCount":5,"integrity":"sha512-MSQAR4Jccq2oNNznUqUpzgqACGtmF+nxruCocYJEy8ilz0jI+Hw0Hx3gcCueH/bBzM6QMMgaWgDWj4a2d8Tc/g==","signatures":[{"sig":"MEUCIQC/trRxr2s9Y6WM9SrYcS2HyLuUsykJRe2TBBoJaEIT1AIgJbiB+GiT76DveCyPtpaqyTTPOh5y1FJ8X6mpS+0IlPk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":485246},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"bun":">=1.0.0","node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"ff4bbae0210c3eb16826c4f3f3f8d9c1953031ad","scripts":{"test":"bun test","build":"rm -rf dist && bun run scripts/version.ts && bun build src/index.ts --outdir dist --target node && bun run types","types":"bunx tsc --emitDeclarationOnly","prepublishOnly":"bun run build"},"_npmUser":{"name":"escoteiros","email":"ajuda@abacatepay.com"},"repository":{"url":"git+https://github.com/AbacatePay/ecosystem.git","type":"git"},"_npmVersion":"11.8.0","description":"Checkouts and Webhooks made simple with AbacatePay and Hono.","directories":{},"sideEffects":false,"_nodeVersion":"24.13.1","dependencies":{"@abacatepay/adapters":"^2.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@biomejs/biome":"^2.3.11"},"peerDependencies":{"hono":"^4.11.4"},"_npmOperationalInternal":{"tmp":"tmp/hono_2.0.1_1785173903547_0.939720865712933","host":"s3://npm-registry-packages-npm-production"}},"2.0.2":{"name":"@abacatepay/hono","version":"2.0.2","keywords":["abacatepay","payments","hono","api","webhooks"],"author":{"url":"https://abacatepay.com","name":"AbacatePay","email":"opensource@abacatepay.com"},"license":"Apache-2.0","_id":"@abacatepay/hono@2.0.2","maintainers":[{"name":"albuquerquesz","email":"albq.victor@gmail.com"},{"name":"bolodissenouraa","email":"daniel@abacatepay.com"},{"name":"escoteiros","email":"ajuda@abacatepay.com"}],"homepage":"https://github.com/AbacatePay/ecosystem#readme","bugs":{"url":"https://github.com/AbacatePay/ecosystem/issues"},"dist":{"shasum":"37cedc6f4a5df48dc36f1ab1a62f7578772fc2d5","tarball":"https://registry.npmjs.org/@abacatepay/hono/-/hono-2.0.2.tgz","fileCount":6,"integrity":"sha512-ZH98KkAeypoFN2G0wMK3zEEgPgOhI2TmG1iPKQo+VK3dOdh/zzcxY2UyxtYFSN1Oy3d38R1l+ringXWpaDswEA==","signatures":[{"sig":"MEQCICQn3oeG6B18Jm1vh4WjtsDd4c9B5xEl4CMoVDwuAuqCAiAuNBzTf6nBpub9SepIDw8ICTXFtW6jD1ZL2lVX4qQ5dw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7563},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"bun":">=1.0.0","node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"4f44b0102e118ca7fd4abd4da8c094cf8f22360c","scripts":{"test":"bun test","build":"rm -rf dist && bun run scripts/version.ts && bun build src/index.ts --outdir dist --target node --external '@abacatepay/adapters' --external '@abacatepay/adapters/*' && bun run types","types":"bunx tsc --emitDeclarationOnly","prepublishOnly":"bun run build"},"_npmUser":{"name":"escoteiros","email":"ajuda@abacatepay.com"},"repository":{"url":"git+https://github.com/AbacatePay/ecosystem.git","type":"git"},"_npmVersion":"11.8.0","description":"Checkouts and Webhooks made simple with AbacatePay and Hono.","directories":{},"sideEffects":false,"_nodeVersion":"24.13.1","dependencies":{"@abacatepay/adapters":"^2.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@biomejs/biome":"^2.3.11"},"peerDependencies":{"hono":"^4.11.4"},"_npmOperationalInternal":{"tmp":"tmp/hono_2.0.2_1785181682348_0.848746951102286","host":"s3://npm-registry-packages-npm-production"}},"2.0.3":{"name":"@abacatepay/hono","version":"2.0.3","repository":{"type":"git","url":"git+https://github.com/AbacatePay/ecosystem.git"},"main":"./dist/index.js","devDependencies":{"@biomejs/biome":"^2.3.11","typescript":"^5.0.0"},"peerDependencies":{"hono":"^4.11.4"},"author":{"name":"AbacatePay","email":"opensource@abacatepay.com","url":"https://abacatepay.com"},"maintainers":[{"name":"albuquerquesz","email":"albq.victor@gmail.com"},{"name":"bolodissenouraa","email":"daniel@abacatepay.com"},{"name":"escoteiros","email":"ajuda@abacatepay.com"}],"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"description":"Checkouts and Webhooks made simple with AbacatePay and Hono.","engines":{"node":">=18","bun":">=1.0.0"},"keywords":["abacatepay","payments","hono","api","webhooks"],"license":"Apache-2.0","publishConfig":{"access":"public"},"scripts":{"test":"bun test","build":"rm -rf dist && bun run scripts/version.ts && bun build src/index.ts --outdir dist --target node --external '@abacatepay/adapters' --external '@abacatepay/adapters/*' && bun run types","types":"bunx tsc --emitDeclarationOnly","prepublishOnly":"bun run build"},"sideEffects":false,"type":"module","types":"./dist/index.d.ts","dependencies":{"@abacatepay/adapters":"^2.0.0"},"gitHead":"5c10083ce1c3dfce4b35af061f28b10bec33ff32","_id":"@abacatepay/hono@2.0.3","bugs":{"url":"https://github.com/AbacatePay/ecosystem/issues"},"homepage":"https://github.com/AbacatePay/ecosystem#readme","_nodeVersion":"24.13.1","_npmVersion":"11.8.0","dist":{"integrity":"sha512-V4T3t5Lae+zZqOWJvoVo2lJt4nIUChx2M8K8VcUTD1TjQ4WQSx1qt6xrtTmo7nhQFnoah70ddJ6biRcuWRKxlA==","shasum":"61121c5b8b100402c669cc748417e4bc32cb7a9e","tarball":"https://registry.npmjs.org/@abacatepay/hono/-/hono-2.0.3.tgz","fileCount":6,"unpackedSize":7876,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCiC8vYew6mT8w/P2XlHqYOZwQiHLDkeEhu9+9PDsf1sgIhAMW4IJT3vzKfvWqxEQMHLuvCJFO89pxOb3j/MaoJJJJ3"}]},"_npmUser":{"name":"escoteiros","email":"ajuda@abacatepay.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/hono_2.0.3_1785184813199_0.946546418410362"},"_hasShrinkwrap":false}},"time":{"created":"2026-01-21T19:34:10.021Z","modified":"2026-07-27T20:40:13.517Z","0.0.1":"2026-01-21T19:34:10.257Z","0.0.2":"2026-01-21T19:54:48.080Z","1.0.0":"2026-01-25T15:41:10.194Z","1.0.1":"2026-01-26T14:16:28.799Z","2.0.0":"2026-07-27T13:35:11.490Z","2.0.1":"2026-07-27T17:38:23.702Z","2.0.2":"2026-07-27T19:48:02.487Z","2.0.3":"2026-07-27T20:40:13.337Z"},"bugs":{"url":"https://github.com/AbacatePay/ecosystem/issues"},"author":{"name":"AbacatePay","email":"opensource@abacatepay.com","url":"https://abacatepay.com"},"license":"Apache-2.0","homepage":"https://github.com/AbacatePay/ecosystem#readme","keywords":["abacatepay","payments","hono","api","webhooks"],"repository":{"type":"git","url":"git+https://github.com/AbacatePay/ecosystem.git"},"description":"Checkouts and Webhooks made simple with AbacatePay and Hono.","maintainers":[{"name":"albuquerquesz","email":"albq.victor@gmail.com"},{"name":"bolodissenouraa","email":"daniel@abacatepay.com"},{"name":"escoteiros","email":"ajuda@abacatepay.com"}],"readme":"<div align=\"center\">\n\n# AbacatePay Hono\n\nIntegração oficial da **AbacatePay** com o **Hono** para receber **Webhooks** de forma simples, segura e totalmente tipada.\n\nO [`@abacatepay/hono`](https://www.npmjs.com/package/@abacatepay/hono) é um pacote **framework-first**, projetado para funcionar nativamente com o Hono, focado em **DX**, **TypeScript first** e **boas práticas de segurança**.\n\n<img src=\"https://res.cloudinary.com/dkok1obj5/image/upload/v1767631413/avo_clhmaf.png\" width=\"100%\" alt=\"AbacatePay Open Source\"/>\n\nVocê pode encontrar a documentação completa de Webhooks [aqui](https://docs.abacatepay.com/pages/webhooks).\n\n## Instalação\n\nUse com o seu *package manager* favorito:\n\n</div>\n\n```bash\nbun add @abacatepay/hono\n# ou\npnpm add @abacatepay/hono\n# ou\nnpm install @abacatepay/hono\n```\n\n<div align=\"center\">\n\nNenhuma dependência extra é necessária. O pacote já vem pronto para uso com o Hono.\n\n## Uso básico\n\n</div>\n\n```ts\nimport { Hono } from 'hono';\nimport { Webhooks } from '@abacatepay/hono';\n\nconst app = new Hono();\n\nconst { ok, handler, error } = Webhooks({\n    secret: '...',\n    onPayload(payload) {\n        console.log('Evento recebido:', payload.event);\n    },\n});\n\nif (!ok) throw new Error(error);\n\napp.post('/webhooks/abacatepay', handler);\n```\n\n<div align=\"center\">\n\n`Webhooks(...)` nunca lança exceção — se o `secret` estiver ausente, ela retorna `{ ok: false, error }` em vez de `{ ok: true, handler }`.\n\n## Segurança por padrão\n</div>\n\n- Verificação automática da assinatura do webhook\n- Comparação segura do webhook secret\n- Payload validado antes de chegar ao seu handler\n- Nenhum acesso direto à API key\n\n<p align=\"center\"><strong>Nunca exponha sua API key em webhooks.</strong><br/>\nSempre utilize variáveis de ambiente.</p>\n\n<div align=\"center\">\n\n## Tratamento por evento\n\nVocê pode lidar com eventos específicos sem boilerplate:\n\n</div>\n\n```ts\nconst { handler } = Webhooks({\n    secret,\n    onCheckoutCompleted({ data }) {\n        console.log('Cobrança paga:', data.payment.amount);\n    },\n    onPayoutCompleted({ data }) {\n        console.log('Payout concluído:', data.transaction.id);\n    },\n    onPayoutFailed({ data }) {\n        console.error('Falha no payout:', data.transaction.id);\n    },\n});\n```\n\n\n<p align=\"center\">Ou tratar tudo de forma genérica:</p>\n\n```ts\nconst { handler } = Webhooks({\n    secret,\n    onPayload({ data, event }) {\n        console.log(event, data);\n    },\n});\n```\n\n<div align=\"center\">\n\nFeito com 🥑 pela equipe AbacatePay<br/>\nOpen source, de verdade.\n\n</div>\n","readmeFilename":"README.md"}