{"_id":"@cypriotunknown/apollo-hono","_rev":"13-c02b81fbce5f39254a3f921188905cd0","name":"@cypriotunknown/apollo-hono","dist-tags":{"latest":"0.1.12"},"versions":{"0.1.0":{"name":"@cypriotunknown/apollo-hono","version":"0.1.0","keywords":["apollo","apollo-server","graphql","hono","bun","websocket","subscriptions"],"license":"MIT","_id":"@cypriotunknown/apollo-hono@0.1.0","maintainers":[{"name":"cypriot_unknown","email":"torosilgaz@gmail.com"}],"homepage":"https://github.com/CypriotUnknown/hono-apollo#readme","bugs":{"url":"https://github.com/CypriotUnknown/hono-apollo/issues"},"dist":{"shasum":"02ebf315a8e0b3c041b4adf99d5febd65ac185cb","tarball":"https://registry.npmjs.org/@cypriotunknown/apollo-hono/-/apollo-hono-0.1.0.tgz","fileCount":4,"integrity":"sha512-36pd0Xk7d10Z/vBEYaTdQHLQcr3zWwRI2ki/yZ0hBP61O/RuAX8aJHBgqNJMP1WXrAnLwDnVKmOXkxX98GP88w==","signatures":[{"sig":"MEUCIF92IVNtdaRpR6KejIadBTauKzXPvFud39NvG2Lk9M98AiEAm8oMpLTLCp24Ytjk1TiMPoSyMyZ1GbsHfCFe35LDuQ4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18005},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"95126683d53947a1c5db40deb4663f6c84c7ece5","scripts":{"test":"bun test","build":"bun build src/index.ts --outdir dist --target bun --format esm --external @apollo/server --external graphql --external graphql-ws --external hono && tsc --project tsconfig.build.json","prepublishOnly":"bun run build"},"_npmUser":{"name":"cypriot_unknown","email":"torosilgaz@gmail.com"},"repository":{"url":"git+https://github.com/CypriotUnknown/hono-apollo.git","type":"git"},"_npmVersion":"11.8.0","description":"Apollo Server integration for Hono (Bun runtime)","directories":{},"_nodeVersion":"24.13.1","_hasShrinkwrap":false,"devDependencies":{"hono":"^4.12.8","graphql":"^16.13.1","@types/bun":"latest","graphql-ws":"^6.0.7","typescript":"^5","@apollo/server":"^5.4.0","@apollo/server-integration-testsuite":"^5.4.0"},"peerDependencies":{"hono":"^4.0.0","graphql":"^16.0.0","graphql-ws":"^5.0.0 || ^6.0.0","@apollo/server":"^4.0.0 || ^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-hono_0.1.0_1773691214723_0.568017919913363","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@cypriotunknown/apollo-hono","version":"0.1.1","keywords":["apollo","apollo-server","graphql","hono","bun","websocket","subscriptions"],"license":"MIT","_id":"@cypriotunknown/apollo-hono@0.1.1","maintainers":[{"name":"cypriot_unknown","email":"torosilgaz@gmail.com"}],"homepage":"https://github.com/CypriotUnknown/hono-apollo#readme","bugs":{"url":"https://github.com/CypriotUnknown/hono-apollo/issues"},"dist":{"shasum":"72046e7a40bd3d5ae1aba1eebf7b7a037f703ecf","tarball":"https://registry.npmjs.org/@cypriotunknown/apollo-hono/-/apollo-hono-0.1.1.tgz","fileCount":4,"integrity":"sha512-wzup/EP6GDmc9kEcqDK1gPShYfY1gPy5SJYwaLdwR8OYiNazkaur3NL6RyfCif//NzjMpE0+t2thtbEKsoKImg==","signatures":[{"sig":"MEYCIQCwHY1L72zN1X0SQhyPYjX8RsPDch+f8wFQcbNvakl6RAIhAIG0rIx0axf6WCujNvGlgL2rRzX7V9nQNvFy2xrO6ylH","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cypriotunknown%2fapollo-hono@0.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":18000},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"08121a354ccf1748a11541a73bcce807f953f84f","scripts":{"test":"bun test","build":"bun build src/index.ts --outdir dist --target bun --format esm --external @apollo/server --external graphql --external graphql-ws --external hono && tsc --project tsconfig.build.json","prepublishOnly":"bun run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3de7de39-b272-496f-951e-7dbaef09b9d2"}},"repository":{"url":"git+https://github.com/CypriotUnknown/hono-apollo.git","type":"git"},"_npmVersion":"11.9.0","description":"Apollo Server integration for Hono (Bun runtime)","directories":{},"_nodeVersion":"24.14.0","_hasShrinkwrap":false,"devDependencies":{"hono":"^4.12.8","graphql":"^16.13.1","@types/bun":"latest","graphql-ws":"^6.0.7","typescript":"^5","@apollo/server":"^5.4.0","@apollo/server-integration-testsuite":"^5.4.0"},"peerDependencies":{"hono":"^4.0.0","graphql":"^16.0.0","graphql-ws":"^5.0.0 || ^6.0.0","@apollo/server":"^4.0.0 || ^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-hono_0.1.1_1773692835479_0.426533578987758","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@cypriotunknown/apollo-hono","version":"0.1.2","keywords":["apollo","apollo-server","graphql","hono","bun","websocket","subscriptions"],"license":"MIT","_id":"@cypriotunknown/apollo-hono@0.1.2","maintainers":[{"name":"cypriot_unknown","email":"torosilgaz@gmail.com"}],"homepage":"https://github.com/CypriotUnknown/hono-apollo#readme","bugs":{"url":"https://github.com/CypriotUnknown/hono-apollo/issues"},"dist":{"shasum":"c32aff43573ac2b88942520f4afc1b2b1e08043e","tarball":"https://registry.npmjs.org/@cypriotunknown/apollo-hono/-/apollo-hono-0.1.2.tgz","fileCount":4,"integrity":"sha512-Te+y5ORt6hsoZnyMnhyKkAk0WjQqrWfrzOShF7bfKHi01RHfe4SC7143xdzIpw6sJzIk084Z3K8YiUZkNPesRg==","signatures":[{"sig":"MEQCIGaALJOncGQLThPKSHpQo+Patnu2NMioT/x1KLiIpeXdAiBw4lmBLgeegKH0k8LhiTXZAqbVAzME75QhSLFjybnkSg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cypriotunknown%2fapollo-hono@0.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":26215},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"0819986daffff0729b122aeb524fdc3dc58408e3","scripts":{"test":"bun test","build":"bun build src/index.ts --outdir dist --target bun --format esm --external @apollo/server --external graphql --external graphql-ws --external hono && tsc --project tsconfig.build.json","prepublishOnly":"bun run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3de7de39-b272-496f-951e-7dbaef09b9d2"}},"repository":{"url":"git+https://github.com/CypriotUnknown/hono-apollo.git","type":"git"},"_npmVersion":"11.9.0","description":"Apollo Server integration for Hono (Bun runtime)","directories":{},"_nodeVersion":"24.14.0","_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest","typescript":"^5","@apollo/server-integration-testsuite":"^5.4.0"},"peerDependencies":{"hono":"^4.0.0","graphql":"^16.0.0","graphql-ws":"^5.0.0 || ^6.0.0","@apollo/server":"^4.0.0 || ^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-hono_0.1.2_1773953057367_0.9656974469386117","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@cypriotunknown/apollo-hono","version":"0.1.3","keywords":["apollo","apollo-server","graphql","hono","bun","websocket","subscriptions"],"license":"MIT","_id":"@cypriotunknown/apollo-hono@0.1.3","maintainers":[{"name":"cypriot_unknown","email":"torosilgaz@gmail.com"}],"homepage":"https://github.com/CypriotUnknown/hono-apollo#readme","bugs":{"url":"https://github.com/CypriotUnknown/hono-apollo/issues"},"dist":{"shasum":"928c7d75210ab0cff548750910c673d9a92716df","tarball":"https://registry.npmjs.org/@cypriotunknown/apollo-hono/-/apollo-hono-0.1.3.tgz","fileCount":4,"integrity":"sha512-SkbDGV2PlVV3CUmnJJ7kuHC4AXH+hYdQDIXprYCBiYOz1i/QqT/jaEgioiYQaehGP+T/eSPbCRBf95WAXYCtcA==","signatures":[{"sig":"MEUCIHtjDcXbdMujqBvYKANf8XzjHHOuXPs28YfZOWaLI8wSAiEAlKyaB96iyzhWmx0OYqBIaA+iwdzgN0yc63GMrAFPC9c=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cypriotunknown%2fapollo-hono@0.1.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":26258},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"82d854591f7cefe5c235951e8d8e2be748db5c2a","scripts":{"test":"bun test","build":"bun build src/index.ts --outdir dist --target bun --format esm --external @apollo/server --external graphql --external graphql-ws --external hono && tsc --project tsconfig.build.json","prepublishOnly":"bun run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3de7de39-b272-496f-951e-7dbaef09b9d2"}},"repository":{"url":"git+https://github.com/CypriotUnknown/hono-apollo.git","type":"git"},"_npmVersion":"11.9.0","description":"Apollo Server integration for Hono (Bun runtime)","directories":{},"_nodeVersion":"24.14.0","_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest","typescript":"^5","@apollo/server-integration-testsuite":"^5.4.0"},"peerDependencies":{"hono":"^4.0.0","graphql":"^16.0.0","graphql-ws":"^6.0.0","@apollo/server":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-hono_0.1.3_1773954978823_0.39422261680573123","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@cypriotunknown/apollo-hono","version":"0.1.4","keywords":["apollo","apollo-server","graphql","hono","bun","websocket","subscriptions"],"license":"MIT","_id":"@cypriotunknown/apollo-hono@0.1.4","maintainers":[{"name":"cypriot_unknown","email":"torosilgaz@gmail.com"}],"homepage":"https://github.com/CypriotUnknown/hono-apollo#readme","bugs":{"url":"https://github.com/CypriotUnknown/hono-apollo/issues"},"dist":{"shasum":"c01f6e6bf1882365b3eacad48b2aa751b4f2ec6a","tarball":"https://registry.npmjs.org/@cypriotunknown/apollo-hono/-/apollo-hono-0.1.4.tgz","fileCount":4,"integrity":"sha512-kUX70JhIO9ZgeAAqd7YbXu0yL0omluS8JJPvzD8XhSWd8wEuJInFjcutLOTUBdTNKkDqV9Je3GDXIXxghMp1wQ==","signatures":[{"sig":"MEQCIEOI2hKQTwwGpBgAhBIkJh2sLe7Eb5x/Il2NgTI9MAsQAiAXaZdVCFy7MN0fuGZyl7rcFTrKGgw9N8Oy3f+mgfhmrA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cypriotunknown%2fapollo-hono@0.1.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":27673},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"bc2bce1c172ae57e7d796e8b52787772ba7224f2","scripts":{"test":"bun test","build":"bun build src/index.ts --outdir dist --target bun --format esm --external @apollo/server --external graphql --external graphql-ws --external hono && tsc --project tsconfig.build.json","prepublishOnly":"bun run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3de7de39-b272-496f-951e-7dbaef09b9d2"}},"repository":{"url":"git+https://github.com/CypriotUnknown/hono-apollo.git","type":"git"},"_npmVersion":"11.9.0","description":"Apollo Server integration for Hono (Bun runtime)","directories":{},"_nodeVersion":"24.14.0","_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest","typescript":"^5","@apollo/server-integration-testsuite":"^5.4.0"},"peerDependencies":{"hono":"^4.0.0","graphql":"^16.0.0","graphql-ws":"^6.0.0","@apollo/server":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-hono_0.1.4_1775141899975_0.38923386138144855","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@cypriotunknown/apollo-hono","version":"0.1.5","keywords":["apollo","apollo-server","graphql","hono","bun","websocket","subscriptions"],"license":"MIT","_id":"@cypriotunknown/apollo-hono@0.1.5","maintainers":[{"name":"cypriot_unknown","email":"torosilgaz@gmail.com"}],"homepage":"https://github.com/CypriotUnknown/hono-apollo#readme","bugs":{"url":"https://github.com/CypriotUnknown/hono-apollo/issues"},"dist":{"shasum":"753142e2c275eb50bda6a017b0b0d5bcd8eff6a7","tarball":"https://registry.npmjs.org/@cypriotunknown/apollo-hono/-/apollo-hono-0.1.5.tgz","fileCount":4,"integrity":"sha512-pi0nQj/GNUmXn4/Chyv6sxcHKWGeavR7vfBgUL/pcxWKOLeQg/jpTswQG/kUO8OmwhjwT/w222zW11DbrHscyA==","signatures":[{"sig":"MEQCIC2eAwD1LXTkQIAxxW7WwZYmouiX30gN91xygRPi0NWkAiBaFdRYVPexJsuM1JrUWIAtw3Ynrgyr1mCKuKgmcDVSwg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cypriotunknown%2fapollo-hono@0.1.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":27763},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"390538c7f4d402678f034d6e92d5f80963b2ba72","scripts":{"test":"bun test","build":"bun build src/index.ts --outdir dist --target bun --format esm --external @apollo/server --external graphql --external graphql-ws --external hono && tsc --project tsconfig.build.json","prepublishOnly":"bun run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3de7de39-b272-496f-951e-7dbaef09b9d2"}},"repository":{"url":"git+https://github.com/CypriotUnknown/hono-apollo.git","type":"git"},"_npmVersion":"11.9.0","description":"Apollo Server integration for Hono (Bun runtime)","directories":{},"_nodeVersion":"24.14.0","_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest","typescript":"^5","@apollo/server-integration-testsuite":"^5.4.0"},"peerDependencies":{"hono":"^4.0.0","graphql":"^16.0.0","graphql-ws":"^6.0.0","@apollo/server":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-hono_0.1.5_1775142828920_0.9685703190825021","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"@cypriotunknown/apollo-hono","version":"0.1.6","keywords":["apollo","apollo-server","graphql","hono","bun","websocket","subscriptions"],"license":"MIT","_id":"@cypriotunknown/apollo-hono@0.1.6","maintainers":[{"name":"cypriot_unknown","email":"torosilgaz@gmail.com"}],"homepage":"https://github.com/CypriotUnknown/hono-apollo#readme","bugs":{"url":"https://github.com/CypriotUnknown/hono-apollo/issues"},"dist":{"shasum":"10e9f6044089816b9932c592e31355081dc324e5","tarball":"https://registry.npmjs.org/@cypriotunknown/apollo-hono/-/apollo-hono-0.1.6.tgz","fileCount":4,"integrity":"sha512-Aey9YwMkMdCaYQb3XHNhKU9UlgC1q8nj5l0bxKU+XC56B+/22bGzNYpzsRvxJ3B582a8HJnXVFFEflgbK0VXNw==","signatures":[{"sig":"MEQCIGoKWNYiwyJPS15vCdIDrSoJUoCmFZqSsWmV8AKu1ZYqAiA0BGUv8YNVuhzES8rPHaHQKtL4E0XtwvFua7V0z+IAAQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cypriotunknown%2fapollo-hono@0.1.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":27905},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"3e5e3453773edc23cf6d51c49da8b773c9441146","scripts":{"test":"bun test","build":"bun build src/index.ts --outdir dist --target bun --format esm --external @apollo/server --external graphql --external graphql-ws --external hono && tsc --project tsconfig.build.json","prepublishOnly":"bun run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3de7de39-b272-496f-951e-7dbaef09b9d2"}},"repository":{"url":"git+https://github.com/CypriotUnknown/hono-apollo.git","type":"git"},"_npmVersion":"11.9.0","description":"Apollo Server integration for Hono (Bun runtime)","directories":{},"_nodeVersion":"24.14.0","_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest","typescript":"^5","@apollo/server-integration-testsuite":"^5.4.0"},"peerDependencies":{"hono":"^4.0.0","graphql":"^16.0.0","graphql-ws":"^6.0.0","@apollo/server":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-hono_0.1.6_1775148176359_0.2546587020523283","host":"s3://npm-registry-packages-npm-production"}},"0.1.7":{"name":"@cypriotunknown/apollo-hono","version":"0.1.7","keywords":["apollo","apollo-server","graphql","hono","bun","websocket","subscriptions"],"license":"MIT","_id":"@cypriotunknown/apollo-hono@0.1.7","maintainers":[{"name":"cypriot_unknown","email":"torosilgaz@gmail.com"}],"homepage":"https://github.com/CypriotUnknown/hono-apollo#readme","bugs":{"url":"https://github.com/CypriotUnknown/hono-apollo/issues"},"dist":{"shasum":"9baec5250e26f5f340a6e9acbd596a3a8819a67d","tarball":"https://registry.npmjs.org/@cypriotunknown/apollo-hono/-/apollo-hono-0.1.7.tgz","fileCount":4,"integrity":"sha512-scp/x4jka5Vv4QtgnQ5nZERJ9igPgE5F895Zw0/o53SjYPvs2RKAKLwcmSf/29rEebaTnhOH+aLzaySF3GPH7g==","signatures":[{"sig":"MEQCIDVlyei/kswZTQ8AMawG+liXUYnzU5qr2CRkxDqjsca/AiAjlOPIapm1z8o6tdFBJkxTTgX+Py6l5W7XyDMzTHe91Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cypriotunknown%2fapollo-hono@0.1.7","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":28031},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"595efdf914f2d4f4d181fc3e5d7c48b78aeec842","scripts":{"test":"bun test","build":"bun build src/index.ts --outdir dist --target bun --format esm --external @apollo/server --external graphql --external graphql-ws --external hono && tsc --project tsconfig.build.json","prepublishOnly":"bun run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3de7de39-b272-496f-951e-7dbaef09b9d2"}},"repository":{"url":"git+https://github.com/CypriotUnknown/hono-apollo.git","type":"git"},"_npmVersion":"11.9.0","description":"Apollo Server integration for Hono (Bun runtime)","directories":{},"_nodeVersion":"24.14.0","_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest","typescript":"^5","@apollo/server-integration-testsuite":"^5.4.0"},"peerDependencies":{"hono":"^4.0.0","graphql":"^16.0.0","graphql-ws":"^6.0.0","@apollo/server":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-hono_0.1.7_1775148831636_0.5227046307867531","host":"s3://npm-registry-packages-npm-production"}},"0.1.8":{"name":"@cypriotunknown/apollo-hono","version":"0.1.8","keywords":["apollo","apollo-server","graphql","hono","bun","websocket","subscriptions"],"license":"MIT","_id":"@cypriotunknown/apollo-hono@0.1.8","maintainers":[{"name":"cypriot_unknown","email":"torosilgaz@gmail.com"}],"homepage":"https://github.com/CypriotUnknown/hono-apollo#readme","bugs":{"url":"https://github.com/CypriotUnknown/hono-apollo/issues"},"dist":{"shasum":"f7cc17682c13e78927523ba7b92fb76a33cc09aa","tarball":"https://registry.npmjs.org/@cypriotunknown/apollo-hono/-/apollo-hono-0.1.8.tgz","fileCount":4,"integrity":"sha512-LqjQE3d+l6TbuDGm6CRe4/XmHR6jNV9L5jNCTeBwWQ8HVv1f4IZs9WvxlFvdG6EmNFw2TxXEs7gXPyH7ChxPWA==","signatures":[{"sig":"MEYCIQDJmsczP9ZlOnD96VROhDyha1nZIF3a276UGJUSD7pnpAIhAN7u4BicflR3rYasw4eI8sRa+FyYGBJalCbiQQcROsn3","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cypriotunknown%2fapollo-hono@0.1.8","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":28089},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"44c5b3b861e4e319d326260dd242e65688dc229b","scripts":{"test":"bun test","build":"bun build src/index.ts --outdir dist --target bun --format esm --external @apollo/server --external graphql --external graphql-ws --external hono && tsc --project tsconfig.build.json","prepublishOnly":"bun run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3de7de39-b272-496f-951e-7dbaef09b9d2"}},"repository":{"url":"git+https://github.com/CypriotUnknown/hono-apollo.git","type":"git"},"_npmVersion":"11.9.0","description":"Apollo Server integration for Hono (Bun runtime)","directories":{},"_nodeVersion":"24.14.0","_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest","typescript":"^5","@apollo/server-integration-testsuite":"^5.4.0"},"peerDependencies":{"hono":"^4.0.0","graphql":"^16.0.0","graphql-ws":"^6.0.0","@apollo/server":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-hono_0.1.8_1775149634081_0.528836907126524","host":"s3://npm-registry-packages-npm-production"}},"0.1.9":{"name":"@cypriotunknown/apollo-hono","version":"0.1.9","keywords":["apollo","apollo-server","graphql","hono","bun","websocket","subscriptions"],"license":"MIT","_id":"@cypriotunknown/apollo-hono@0.1.9","maintainers":[{"name":"cypriot_unknown","email":"torosilgaz@gmail.com"}],"homepage":"https://github.com/CypriotUnknown/hono-apollo#readme","bugs":{"url":"https://github.com/CypriotUnknown/hono-apollo/issues"},"dist":{"shasum":"2320a8323f73f7112dc8ba1681dbad4075ba9220","tarball":"https://registry.npmjs.org/@cypriotunknown/apollo-hono/-/apollo-hono-0.1.9.tgz","fileCount":4,"integrity":"sha512-viqrtxFTKqSNvL5Z9zLE6BLMQvOn0/5uQug5TqAyQTUhAvn8Ll5vdTwPHqS2XnZEqGZOiJ6FYUD1b7G0VSy62g==","signatures":[{"sig":"MEUCIHQjhsDhTAl+hi49qeixkQT/8JP/fMAEhUtmcZPrX3zvAiEAolbGT/ZwgIV2MuLEZFxYIeNXD5or1mwMcbCO/tKyYt4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cypriotunknown%2fapollo-hono@0.1.9","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":28146},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"1cdc5a4304c33abdfe0da224659aae9a0477c729","scripts":{"test":"bun test","build":"bun build src/index.ts --outdir dist --target bun --format esm --external @apollo/server --external graphql --external graphql-ws --external hono && tsc --project tsconfig.build.json","prepublishOnly":"bun run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3de7de39-b272-496f-951e-7dbaef09b9d2"}},"repository":{"url":"git+https://github.com/CypriotUnknown/hono-apollo.git","type":"git"},"_npmVersion":"11.9.0","description":"Apollo Server integration for Hono (Bun runtime)","directories":{},"_nodeVersion":"24.14.0","_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest","typescript":"^5","@apollo/server-integration-testsuite":"^5.4.0"},"peerDependencies":{"hono":"^4.0.0","graphql":"^16.0.0","graphql-ws":"^6.0.0","@apollo/server":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-hono_0.1.9_1775150975484_0.3665392350803818","host":"s3://npm-registry-packages-npm-production"}},"0.1.10":{"name":"@cypriotunknown/apollo-hono","version":"0.1.10","keywords":["apollo","apollo-server","graphql","hono","bun","websocket","subscriptions"],"license":"MIT","_id":"@cypriotunknown/apollo-hono@0.1.10","maintainers":[{"name":"cypriot_unknown","email":"torosilgaz@gmail.com"}],"homepage":"https://github.com/CypriotUnknown/hono-apollo#readme","bugs":{"url":"https://github.com/CypriotUnknown/hono-apollo/issues"},"dist":{"shasum":"aaa1ef806e792554275bce63bebddfb3a0fe7d5a","tarball":"https://registry.npmjs.org/@cypriotunknown/apollo-hono/-/apollo-hono-0.1.10.tgz","fileCount":4,"integrity":"sha512-AR1LaqvnBj4+x59YoFos+rMWQB/53TKFjMnZ7s+FpHg4LKCC8PvgIz3TXB3raTOiJtz+apyUq+8A2JAqMz8mwA==","signatures":[{"sig":"MEYCIQDYkEvcMNL/5NafNLiND1+jzk2ISN8oRs2gVT19iGvt7QIhAJfD5QISqAgwHy8fC4fMWmt2cgiU/t8DCi6AD9sXUZZZ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cypriotunknown%2fapollo-hono@0.1.10","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":28094},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"075fedce5f54acc527e9dba3fbf506d8918ee966","scripts":{"test":"bun test","build":"bun build src/index.ts --outdir dist --target bun --format esm --external @apollo/server --external graphql --external graphql-ws --external hono && tsc --project tsconfig.build.json","prepublishOnly":"bun run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3de7de39-b272-496f-951e-7dbaef09b9d2"}},"repository":{"url":"git+https://github.com/CypriotUnknown/hono-apollo.git","type":"git"},"_npmVersion":"11.9.0","description":"Apollo Server integration for Hono (Bun runtime)","directories":{},"_nodeVersion":"24.14.0","_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest","typescript":"^5","@apollo/server-integration-testsuite":"^5.4.0"},"peerDependencies":{"hono":"^4.0.0","graphql":"^16.0.0","graphql-ws":"^6.0.0","@apollo/server":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-hono_0.1.10_1775152337027_0.11271738248267105","host":"s3://npm-registry-packages-npm-production"}},"0.1.11":{"name":"@cypriotunknown/apollo-hono","version":"0.1.11","keywords":["apollo","apollo-server","graphql","hono","bun","websocket","subscriptions"],"license":"MIT","_id":"@cypriotunknown/apollo-hono@0.1.11","maintainers":[{"name":"cypriot_unknown","email":"torosilgaz@gmail.com"}],"homepage":"https://github.com/CypriotUnknown/hono-apollo#readme","bugs":{"url":"https://github.com/CypriotUnknown/hono-apollo/issues"},"dist":{"shasum":"a3b779f8acc5bb267d9cb9f418ac5fc03ffed432","tarball":"https://registry.npmjs.org/@cypriotunknown/apollo-hono/-/apollo-hono-0.1.11.tgz","fileCount":4,"integrity":"sha512-QSVfrVJSC2zgBgMMTG/m4SMyqtEOz8vvZsFWC5WzzEhan9fp6c18xC9ejqH1XW9OjPvuYRrhEoHj6P6TyRanFw==","signatures":[{"sig":"MEUCIEnGQiSjxN2SFZ3TWVFT+XMemfyJystamuxSw6q0r3iNAiEAkT29vH1ESypTZQ/HfXj0TUa+wsYoznm8W56aCZMuDFY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cypriotunknown%2fapollo-hono@0.1.11","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":28164},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"ccf9f3c0225ceda8927797a01c0b402d21cd0353","scripts":{"test":"bun test","build":"bun build src/index.ts --outdir dist --target bun --format esm --external @apollo/server --external graphql --external graphql-ws --external hono && tsc --project tsconfig.build.json","prepublishOnly":"bun run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3de7de39-b272-496f-951e-7dbaef09b9d2"}},"repository":{"url":"git+https://github.com/CypriotUnknown/hono-apollo.git","type":"git"},"_npmVersion":"11.11.0","description":"Apollo Server integration for Hono (Bun runtime)","directories":{},"_nodeVersion":"24.14.1","_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest","typescript":"^5","@apollo/server-integration-testsuite":"^5.4.0"},"peerDependencies":{"hono":"^4.0.0","graphql":"^16.0.0","graphql-ws":"^6.0.0","@apollo/server":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-hono_0.1.11_1775153620957_0.3607253502599308","host":"s3://npm-registry-packages-npm-production"}},"0.1.12":{"name":"@cypriotunknown/apollo-hono","version":"0.1.12","description":"Apollo Server integration for Hono (Bun runtime)","type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.js","types":"./dist/index.d.ts"}},"scripts":{"build":"bun build src/index.ts --outdir dist --target bun --format esm --external @apollo/server --external graphql --external graphql-ws --external hono && tsc --project tsconfig.build.json","test":"bun test","prepublishOnly":"bun run build"},"peerDependencies":{"@apollo/server":"^5.0.0","graphql":"^16.0.0","graphql-ws":"^6.0.0","hono":"^4.0.0"},"devDependencies":{"@apollo/server-integration-testsuite":"^5.4.0","@types/bun":"latest","typescript":"^5"},"keywords":["apollo","apollo-server","graphql","hono","bun","websocket","subscriptions"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/CypriotUnknown/hono-apollo.git"},"gitHead":"c9399529710695c8c880c326bbdd497677066280","_id":"@cypriotunknown/apollo-hono@0.1.12","bugs":{"url":"https://github.com/CypriotUnknown/hono-apollo/issues"},"homepage":"https://github.com/CypriotUnknown/hono-apollo#readme","_nodeVersion":"24.14.1","_npmVersion":"11.11.0","dist":{"integrity":"sha512-LwGS4EfIcBP9YH3xZKD+HX789PYZxjWGAeVsdHsLGERsb0G6UHianIaQhMDdk6gaTfhjU6mxo0Ws8SdNa6XKPw==","shasum":"e4fee6931962b3cd436390a12c8ba84fc977c32e","tarball":"https://registry.npmjs.org/@cypriotunknown/apollo-hono/-/apollo-hono-0.1.12.tgz","fileCount":4,"unpackedSize":28218,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cypriotunknown%2fapollo-hono@0.1.12","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIGeL5gYuHTThKJDpGmFE5oHJJmucH0qDhh7vd6vW5RvrAiBi0yPQajjc+pLyhXXuKOD21rMRXDoxgEM5rphDlQAPEw=="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3de7de39-b272-496f-951e-7dbaef09b9d2"}},"directories":{},"maintainers":[{"name":"cypriot_unknown","email":"torosilgaz@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/apollo-hono_0.1.12_1775153986356_0.7299530250793864"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-16T20:00:14.652Z","modified":"2026-04-02T18:19:46.791Z","0.1.0":"2026-03-16T20:00:14.882Z","0.1.1":"2026-03-16T20:27:15.619Z","0.1.2":"2026-03-19T20:44:17.507Z","0.1.3":"2026-03-19T21:16:18.957Z","0.1.4":"2026-04-02T14:58:20.117Z","0.1.5":"2026-04-02T15:13:49.054Z","0.1.6":"2026-04-02T16:42:56.514Z","0.1.7":"2026-04-02T16:53:51.760Z","0.1.8":"2026-04-02T17:07:14.243Z","0.1.9":"2026-04-02T17:29:35.622Z","0.1.10":"2026-04-02T17:52:17.234Z","0.1.11":"2026-04-02T18:13:41.111Z","0.1.12":"2026-04-02T18:19:46.502Z"},"bugs":{"url":"https://github.com/CypriotUnknown/hono-apollo/issues"},"license":"MIT","homepage":"https://github.com/CypriotUnknown/hono-apollo#readme","keywords":["apollo","apollo-server","graphql","hono","bun","websocket","subscriptions"],"repository":{"type":"git","url":"git+https://github.com/CypriotUnknown/hono-apollo.git"},"description":"Apollo Server integration for Hono (Bun runtime)","maintainers":[{"name":"cypriot_unknown","email":"torosilgaz@gmail.com"}],"readme":"# @cypriot/apollo-hono\n\nApollo Server integration for [Hono](https://hono.dev) (Bun runtime).\n\nFeatures:\n\n- Full HTTP support: queries, mutations, and `@defer` / `@stream` (chunked responses)\n- HTTP multipart subscriptions (`multipart/mixed; subscriptionSpec=1.0`) for Apollo iOS 2.x\n- WebSocket subscriptions with dual-protocol support:\n  - `graphql-transport-ws` (Apollo Client >= 3.5)\n  - `graphql-ws` / `subscriptions-transport-ws` (legacy clients)\n- Request/response body transforms — decrypt incoming bodies, encrypt outgoing responses\n- TypeScript-first with strict generics — your context type flows end-to-end\n\n---\n\n## Requirements\n\n| Peer dependency  | Version                                              |\n|------------------|------------------------------------------------------|\n| `@apollo/server` | `^5.0.0`                                             |\n| `graphql`        | `^16.0.0`                                            |\n| `graphql-ws`     | `^6.0.0` _(subscriptions only)_                      |\n| `hono`           | `^4.0.0`                                             |\n\n> The WebSocket handler (`wsHandler`) is supported on **Bun, Cloudflare Workers, and Deno** via Hono's `upgradeWebSocket` helper. The HTTP handler (`httpHandler`) works on any Hono-compatible runtime.\n\n---\n\n## Installation\n\n**JSR** — import as `@cypriot/apollo-hono`\n```sh\nbunx jsr add @cypriot/apollo-hono\nbun add @apollo/server graphql hono\n# subscriptions only:\nbun add graphql-ws @graphql-tools/schema\n```\n\n**JSR (Deno)**\n```sh\ndeno add jsr:@cypriot/apollo-hono\n```\n\n**npm** — import as `@cypriotunknown/apollo-hono`\n```sh\nnpm i @cypriotunknown/apollo-hono @apollo/server graphql hono\n```\n\n> **Local dev note:** `graphql` is a peer dependency of this package, so you do not need to add it to your `devDependencies` — it is already satisfied by the peer install. Adding it separately can cause multiple `graphql` instances and subtle runtime errors.\n\n---\n\n## Quick start\n\n### Queries & mutations\n\n```ts\nimport { ApolloServer } from '@apollo/server';\nimport { Hono } from 'hono';\nimport { httpHandler } from '@cypriot/apollo-hono';\n\nconst server = new ApolloServer({\n  typeDefs: `type Query { hello: String }`,\n  resolvers: { Query: { hello: () => 'world' } },\n});\nawait server.start();\n\nconst app = new Hono();\napp.post('/graphql', httpHandler(server));\napp.get('/graphql',  httpHandler(server)); // Apollo Studio / landing page\n\nexport default { fetch: app.fetch };\n```\n\n### With custom context\n\n```ts\nimport { ApolloServer } from '@apollo/server';\nimport type { BaseContext } from '@apollo/server';\nimport { Hono } from 'hono';\nimport { httpHandler } from '@cypriot/apollo-hono';\n\ninterface MyContext extends BaseContext {\n  token: string | undefined;\n}\n\nconst server = new ApolloServer<MyContext>({\n  typeDefs: `type Query { me: String }`,\n  resolvers: {\n    Query: {\n      me: (_parent, _args, ctx) => ctx.token ?? 'anonymous',\n    },\n  },\n});\nawait server.start();\n\nconst app = new Hono();\napp.use(\n  '/graphql',\n  httpHandler(server, {\n    context: async ({ honoCtx }) => ({\n      token: honoCtx.req.header('authorization'),\n    }),\n  }),\n);\n\nexport default { fetch: app.fetch };\n```\n\n---\n\n## WebSocket subscriptions\n\nWebSocket support is available on **Bun, Cloudflare Workers, and Deno** via Hono's `upgradeWebSocket` helper. Pass the runtime-specific function in `options.upgradeWebSocket`.\n\nUse `makeExecutableSchema` from `@graphql-tools/schema` to build the schema explicitly — it must be passed to both `ApolloServer` and `wsHandler`.\n\nWebSocket upgrade requests arriving on the same route as `httpHandler` are automatically passed through to `wsHandler` (the HTTP handler calls `next()` when it detects an `Upgrade: websocket` header), so you can chain both on a single GET route.\n\n```ts\nimport { ApolloServer } from '@apollo/server';\nimport { Hono } from 'hono';\nimport { upgradeWebSocket, websocket } from 'hono/bun'; // swap for your runtime\nimport { makeExecutableSchema } from '@graphql-tools/schema';\nimport { httpHandler, wsHandler } from '@cypriot/apollo-hono';\n\nconst typeDefs = `\n  type User         { id: ID! name: String! }\n  type Query        { users: [User!]! }\n  type Mutation     { addUser(id: ID!, name: String!): User! }\n  type Subscription { userAdded: User! }\n`;\n\nimport { EventEmitter } from 'node:events';\nconst ee = new EventEmitter();\nconst users: { id: string; name: string }[] = [];\n\nconst resolvers = {\n  Query:    { users: () => users },\n  Mutation: {\n    addUser(_: unknown, args: { id: string; name: string }) {\n      const user = { id: args.id, name: args.name };\n      users.push(user);\n      ee.emit('USER_ADDED', user);\n      return user;\n    },\n  },\n  Subscription: {\n    userAdded: {\n      subscribe: () =>\n        (async function* () {\n          while (true) {\n            yield await new Promise<{ id: string; name: string }>((resolve) =>\n              ee.once('USER_ADDED', resolve),\n            );\n          }\n        })(),\n      resolve: (payload: { id: string; name: string }) => payload,\n    },\n  },\n};\n\nconst schema = makeExecutableSchema({ typeDefs, resolvers });\nconst server = new ApolloServer({ schema });\nawait server.start();\n\nconst http = httpHandler(server);\nconst ws   = wsHandler(server, { schema, upgradeWebSocket });\n\nconst app = new Hono();\napp.post('/graphql', http);\n// httpHandler passes WebSocket upgrades to next(); wsHandler picks them up.\napp.get('/graphql', http, ws);\n\n// Bun: export `websocket` alongside `fetch`\nexport default { fetch: app.fetch, websocket };\n```\n\nFor **Cloudflare Workers** or **Deno**, swap the import:\n\n```ts\nimport { upgradeWebSocket } from 'hono/cloudflare-workers'; // or 'hono/deno'\n```\n\nRun it:\n\n```sh\nbun --hot index.ts\n```\n\n---\n\n## HTTP multipart subscriptions (Apollo iOS 2.x)\n\nApollo iOS 2.x uses the `multipart/mixed; subscriptionSpec=1.0` transport rather than WebSockets. Pass `schema` to `httpHandler` to enable this path — the handler will detect subscription operations and stream each event as a multipart chunk.\n\nEach chunk is wrapped per the spec: `{\"payload\": <execution result>}`.\n`onResponseBody` (if set) is applied to every chunk, so encryption is transparent.\n\n```ts\nimport { makeExecutableSchema } from '@graphql-tools/schema';\nimport { httpHandler } from '@cypriot/apollo-hono';\n\nconst schema = makeExecutableSchema({ typeDefs, resolvers });\nconst server = new ApolloServer({ schema });\nawait server.start();\n\nconst app = new Hono();\napp.post('/graphql', httpHandler(server, { schema }));\napp.get('/graphql',  httpHandler(server, { schema }));\n```\n\n---\n\n## Encryption / body transforms\n\n`onRequestBody` and `onResponseBody` let you transparently encrypt and decrypt the HTTP transport without touching your resolvers.\n\n```ts\nimport { httpHandler } from '@cypriot/apollo-hono';\n\napp.post(\n  '/graphql',\n  httpHandler(server, {\n    onRequestBody: async (body, _honoCtx) => {\n      // body is the already-parsed JSON value from the client\n      return decrypt(body); // return the plaintext GraphQL request object\n    },\n    onResponseBody: async (body, _honoCtx) => {\n      // body is the parsed GraphQL response JSON\n      return encrypt(body); // return any JSON-serialisable value\n    },\n  }),\n);\n```\n\n- `onRequestBody` is called once per POST request, after JSON parsing, before Apollo executes.\n- `onResponseBody` is called for every response chunk — including `@defer` / `@stream` chunks and HTTP multipart subscription events.\n- Non-JSON bodies (e.g. Apollo's HTML landing page) are passed through unchanged.\n\n---\n\n## API Reference\n\n### `httpHandler(server, options?)`\n\nCreates a Hono `MiddlewareHandler` that handles GraphQL HTTP requests (queries, mutations, `@defer`, `@stream`, and optionally HTTP multipart subscriptions).\n\nGET requests are supported for Apollo Studio introspection and the landing page.\nWebSocket upgrade requests are passed through via `next()` so a chained `wsHandler` can handle them.\n\n| Parameter              | Type                                                                | Required |\n|------------------------|---------------------------------------------------------------------|----------|\n| `server`               | `ApolloServer<TContext>`                                            | Yes      |\n| `options.context`      | `ContextFunction<[HonoContextFunctionArgument], TContext>`          | No       |\n| `options.onRequestBody`  | `(body: any, honoCtx: Context) => Promise<any> \\| any`            | No       |\n| `options.onResponseBody` | `(body: any, honoCtx: Context) => Promise<any> \\| any`            | No       |\n| `options.schema`       | `GraphQLSchema`                                                     | No       |\n\n`options.schema` is required only when you need HTTP multipart subscription support (Apollo iOS 2.x).\n\n---\n\n### `wsHandler(server, options)`\n\nCreates a Hono `MiddlewareHandler` that upgrades HTTP connections to WebSockets for GraphQL subscriptions. Supports both the modern `graphql-transport-ws` protocol and the legacy `graphql-ws` / `subscriptions-transport-ws` protocol.\n\n| Parameter                    | Type                                                       | Required |\n|------------------------------|------------------------------------------------------------|----------|\n| `server`                     | `ApolloServer<TContext>`                                   | Yes      |\n| `options.schema`             | `GraphQLSchema`                                            | Yes      |\n| `options.upgradeWebSocket`   | `UpgradeWebSocket`                                         | Yes      |\n| `options.context`            | `ContextFunction<[HonoContextFunctionArgument], TContext>` | No       |\n\n---\n\n### `HonoContextFunctionArgument`\n\n```ts\ninterface HonoContextFunctionArgument {\n  honoCtx: Context; // Hono's Context object\n}\n```\n\n---\n\n### `HonoMiddlewareOptions<TContext>`\n\n```ts\ninterface HonoMiddlewareOptions<TContext extends BaseContext> {\n  context?:         ContextFunction<[HonoContextFunctionArgument], TContext>;\n  onRequestBody?:   (body: any, honoCtx: Context) => Promise<any> | any;\n  onResponseBody?:  (body: any, honoCtx: Context) => Promise<any> | any;\n  schema?:          GraphQLSchema;\n}\n```\n\n---\n\n### `HonoWsHandlerOptions<TContext>`\n\n```ts\ninterface HonoWsHandlerOptions<TContext extends BaseContext> {\n  schema:             GraphQLSchema;\n  upgradeWebSocket:   UpgradeWebSocket;\n  context?:           ContextFunction<[HonoContextFunctionArgument], TContext>;\n}\n```\n\n---\n\n## License\n\nMIT\n","readmeFilename":"README.md"}