{"_id":"apollo-server-hapi","_rev":"369-dbb96618b85f9ee05adef7d6fdb27ac5","name":"apollo-server-hapi","dist-tags":{"next-v3":"3.0.0-alpha.3","unified":"2.23.1-unified2.3","alphalambda":"3.0.0-lambda.0","html":"3.0.0-html.2","preview":"3.0.0-preview.4","rc":"3.0.0-rc.1","next":"3.2.0","alpha":"3.6.0-alpha.1","v2":"2.26.2","latest":"3.13.0"},"versions":{"1.0.2":{"name":"apollo-server-hapi","version":"1.0.2","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@1.0.2","maintainers":[{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"a0734d5c1be0117a328cbfc075e85b2e13d8b189","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-1.0.2.tgz","integrity":"sha512-4MJPA2KhKGRvklm0oyAnGERUtruit0vKPO/K/KmwdDPo0a3k5cUpPYsklRmMr3gII1wpCwJdFtClNCu6nTt6/g==","signatures":[{"sig":"MEUCIQClmOcGLbstUUu4J2I0BXbcbZGAZiTNO8wUVqBRRxon1AIgTndf25mnjKy7YS7WaXT6UrxFTvEc6KhPhixcSYQQzHw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","_shasum":"a0734d5c1be0117a328cbfc075e85b2e13d8b189","scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"3.10.10","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.1.2","dependencies":{"boom":"^5.1.0","@types/hapi":"^16.1.2","@types/graphql":"^0.9.1","apollo-server-core":"^1.0.2","apollo-server-module-graphiql":"^1.0.2"},"devDependencies":{"hapi":"^16.4.3","@types/boom":"4.3.2","@types/hapi":"^16.1.4","@types/graphql":"^0.9.1","apollo-server-integration-testsuite":"^1.0.2"},"peerDependencies":{"graphql":"^0.9.0 || ^0.10.1"},"optionalDependencies":{"@types/hapi":"^16.1.2","@types/graphql":"^0.9.1"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi-1.0.2.tgz_1500334269152_0.6482233901042491","host":"s3://npm-registry-packages"}},"1.0.3-tracing.0":{"name":"apollo-server-hapi","version":"1.0.3-tracing.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@1.0.3-tracing.0","maintainers":[{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"11bd185251fe803aae3f6de1f5ff5235becad893","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-1.0.3-tracing.0.tgz","integrity":"sha512-nXqzap36sTnuy48r30toXGH4HlWb6OH105Gxq2FP8SevJGMzhqoMHoH9e2YKi5C/xs3Aa1aJ2yanwEbEhSv3ew==","signatures":[{"sig":"MEQCIExUV67sjxKbS8DNZcXS1F4kfFgyxhHsFfguaz5nGPzGAiAwfDiVQpjL7zdCDxJ/AK8pTosBVmObFaxFu9uWcOpLSA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","_shasum":"11bd185251fe803aae3f6de1f5ff5235becad893","scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"3.10.10","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.1.2","dependencies":{"boom":"^5.1.0","@types/hapi":"^16.1.2","@types/graphql":"^0.9.1","apollo-server-core":"^1.0.3-tracing.0","apollo-server-module-graphiql":"^1.0.2"},"devDependencies":{"hapi":"^16.4.3","@types/boom":"4.3.2","@types/hapi":"^16.1.4","@types/graphql":"^0.9.1","apollo-server-integration-testsuite":"^1.0.3-tracing.0"},"peerDependencies":{"graphql":"^0.9.0 || ^0.10.1"},"optionalDependencies":{"@types/hapi":"^16.1.2","@types/graphql":"^0.9.1"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi-1.0.3-tracing.0.tgz_1500583416768_0.06270908610895276","host":"s3://npm-registry-packages"}},"1.0.3-tracing.1":{"name":"apollo-server-hapi","version":"1.0.3-tracing.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@1.0.3-tracing.1","maintainers":[{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"8c4882996e57f9fc2b9e2004dc0238ca6c05711a","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-1.0.3-tracing.1.tgz","integrity":"sha512-ORfuSLbbGyv3XNun++p9h5VVRoAputRW9sE3/Z0DhTnxSm9Kuoy3HcCH4Y0Zs84Yspe9QRjPnk62PE/SluPTXg==","signatures":[{"sig":"MEYCIQCK+7OezTb2ra277WZB5kjf7h+T/fb/grY+fg8MJjerBQIhAKq2fp9HswS+N+yyxmJ622dwjkzz46fn4QhRGcvcup+6","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","_shasum":"8c4882996e57f9fc2b9e2004dc0238ca6c05711a","scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"3.10.10","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.1.2","dependencies":{"boom":"^5.1.0","@types/hapi":"^16.1.2","@types/graphql":"^0.9.1","apollo-server-core":"^1.0.3-tracing.1","apollo-server-module-graphiql":"^1.0.2"},"devDependencies":{"hapi":"^16.4.3","@types/boom":"4.3.2","@types/hapi":"^16.1.4","@types/graphql":"^0.9.1","apollo-server-integration-testsuite":"^1.0.3-tracing.1"},"peerDependencies":{"graphql":"^0.9.0 || ^0.10.1"},"optionalDependencies":{"@types/hapi":"^16.1.2","@types/graphql":"^0.9.1"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi-1.0.3-tracing.1.tgz_1500584192418_0.3479684868361801","host":"s3://npm-registry-packages"}},"1.0.3-tracing.2":{"name":"apollo-server-hapi","version":"1.0.3-tracing.2","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@1.0.3-tracing.2","maintainers":[{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"19f841d204860ce35873c21a816c7fe5796ba321","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-1.0.3-tracing.2.tgz","integrity":"sha512-piAcPySJH+LsU6vI+7WNx6LFO2XBeOT4jJhzGJOa/LSHi9XoR1EtB8FI9Si1T0Sd/oGIz1jS1Yw4CrKlFlMkUQ==","signatures":[{"sig":"MEUCIQCjQA+mFU5OmjpDmfVHVbfVqVeMYCORTdWPWjtFWV/3KgIgJ4mwMrXWwgPK3iw6MmLr5sg4+4LCmFK0djhOEDgHsrE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","_shasum":"19f841d204860ce35873c21a816c7fe5796ba321","scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"3.10.10","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.1.2","dependencies":{"boom":"^5.1.0","@types/hapi":"^16.1.2","@types/graphql":"^0.9.1","apollo-server-core":"^1.0.3-tracing.2","apollo-server-module-graphiql":"^1.0.2"},"devDependencies":{"hapi":"^16.4.3","@types/boom":"4.3.2","@types/hapi":"^16.1.4","@types/graphql":"^0.9.1","apollo-server-integration-testsuite":"^1.0.3-tracing.2"},"peerDependencies":{"graphql":"^0.9.0 || ^0.10.1"},"optionalDependencies":{"@types/hapi":"^16.1.2","@types/graphql":"^0.9.1"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi-1.0.3-tracing.2.tgz_1500584523803_0.14850646466948092","host":"s3://npm-registry-packages"}},"1.0.3-tracing.3":{"name":"apollo-server-hapi","version":"1.0.3-tracing.3","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@1.0.3-tracing.3","maintainers":[{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"89349a4f4eaf12254d0c81d6d9f3d0dced1ce4f6","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-1.0.3-tracing.3.tgz","integrity":"sha512-H/LpFDh8qkXoviGO2NRSV2cJ+sBrbdnCVGVLGomUQ6kS2L5W4u9rMgLajYnhN9KJD/FURC1bOKFM8gFlWls0Hg==","signatures":[{"sig":"MEQCIAvaE2iVt3qkrpE479fY/jcPi+WlE5eNB8QhB5hdt4XHAiBxBy2ySFJWJf2VIGzcYV5HyHRyNBfiWOVI1YwQS8RqXg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","_shasum":"89349a4f4eaf12254d0c81d6d9f3d0dced1ce4f6","scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"3.10.10","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.1.2","dependencies":{"boom":"^5.1.0","@types/hapi":"^16.1.2","@types/graphql":"^0.9.1","apollo-server-core":"^1.0.3-tracing.3","apollo-server-module-graphiql":"^1.0.2"},"devDependencies":{"hapi":"^16.4.3","@types/boom":"4.3.2","@types/hapi":"^16.1.4","@types/graphql":"^0.9.1","apollo-server-integration-testsuite":"^1.0.3-tracing.3"},"peerDependencies":{"graphql":"^0.9.0 || ^0.10.1"},"optionalDependencies":{"@types/hapi":"^16.1.2","@types/graphql":"^0.9.1"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi-1.0.3-tracing.3.tgz_1500600867510_0.29711095173843205","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"apollo-server-hapi","version":"1.0.4","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@1.0.4","maintainers":[{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"f07f438e19b516ca67f6632686fac5e31dc9e278","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-1.0.4.tgz","integrity":"sha512-8V+FHSE+/y80tBAolwhLthRJR80mM2us2zFflSYDP33pskU9BKQX61ZDYB4rDDSygd81KJOVO4LJopJwZHG4Pw==","signatures":[{"sig":"MEUCIDlRapOjrYETWJt/5kHTBdGMLiFJHEQMuuubDW9iiwu0AiEA1Wm5boXMJFXEFR4xAl/AldLKTWIbSa1iQzl0+I64V04=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","_shasum":"f07f438e19b516ca67f6632686fac5e31dc9e278","scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"3.10.10","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.1.2","dependencies":{"boom":"^5.1.0","@types/hapi":"^16.1.2","@types/graphql":"^0.9.1","apollo-server-core":"^1.0.2","apollo-server-module-graphiql":"^1.0.4"},"devDependencies":{"hapi":"^16.4.3","@types/boom":"4.3.2","@types/hapi":"^16.1.4","@types/graphql":"^0.9.1","apollo-server-integration-testsuite":"^1.0.4"},"peerDependencies":{"graphql":"^0.9.0 || ^0.10.1"},"optionalDependencies":{"@types/hapi":"^16.1.2","@types/graphql":"^0.9.1"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi-1.0.4.tgz_1500884560591_0.5041477871127427","host":"s3://npm-registry-packages"}},"1.0.5":{"name":"apollo-server-hapi","version":"1.0.5","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@1.0.5","maintainers":[{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"e44049bd269c96d267d2f1627fa61d6b392b07eb","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-1.0.5.tgz","integrity":"sha512-D6TzVLwlpyq8WZxZnZGGF1GWwYe06Huptl7SnbXENVM6HECWP1XdZT3+0f1ydO2F65fYg/QOdbzmmDk7cGIhCw==","signatures":[{"sig":"MEQCIBVYHU/kcbFKCA/0OaVi6XS5y0GjWdyD5F4CbJ7i5wxzAiBAGCqT44Sg2+qaUX0bWrm9ZuCif8jYdCZMYEqEpm5+eQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","_shasum":"e44049bd269c96d267d2f1627fa61d6b392b07eb","scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"3.10.10","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.2.1","dependencies":{"boom":"^5.1.0","@types/hapi":"^16.1.2","@types/graphql":"^0.9.1","apollo-server-core":"^1.0.2","apollo-server-module-graphiql":"^1.0.5"},"devDependencies":{"hapi":"^16.4.3","@types/boom":"4.3.2","@types/hapi":"^16.1.4","@types/graphql":"^0.9.1","apollo-server-integration-testsuite":"^1.0.5"},"peerDependencies":{"graphql":"^0.9.0 || ^0.10.1"},"optionalDependencies":{"@types/hapi":"^16.1.2","@types/graphql":"^0.9.1"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi-1.0.5.tgz_1501612634431_0.8838659720495343","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"apollo-server-hapi","version":"1.1.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@1.1.0","maintainers":[{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"635adcf741d40c321895d921aa6dcabb6b6a11a7","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-1.1.0.tgz","integrity":"sha512-uSfOpDreePL6aMZd1p8xKf0oRTxVwqjUDfW77tP0PQct/moVDOPVLvUfWQZt/WxVomECoVgXQbrtS3SZVYQXxQ==","signatures":[{"sig":"MEUCIQDekxKMWR9OKPOVRlc+b7anokm3mzg+vXCM3fXiv8yUNAIgfPu3VK5hIDlobJQOvuZ07wwl3ttJJg79vzNyvvlZTIA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","_shasum":"635adcf741d40c321895d921aa6dcabb6b6a11a7","scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"3.10.10","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.2.1","dependencies":{"boom":"^5.2.0","apollo-server-core":"^1.1.0","apollo-server-module-graphiql":"^1.1.0"},"devDependencies":{"hapi":"^16.5.2","@types/boom":"4.3.6","@types/hapi":"^16.1.8","@types/graphql":"^0.10.2","apollo-server-integration-testsuite":"^1.1.0"},"peerDependencies":{"graphql":"^0.9.0 || ^0.10.1"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi-1.1.0.tgz_1502305989924_0.8730871740262955","host":"s3://npm-registry-packages"}},"1.1.2":{"name":"apollo-server-hapi","version":"1.1.2","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@1.1.2","maintainers":[{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"6b6e53e14a565eb21fb37416e9d3fdd14ceaea93","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-1.1.2.tgz","integrity":"sha512-YVmYXDTiSG2/ZTg+SNbJ3eA6IcpAfGNjjleJ3xA5ipgz2aUMNvkRmG3T9PT98WutCgok4hK9vKi3IwxrP2IYzg==","signatures":[{"sig":"MEUCIQCaP7Ra8UK+HrsJs/Q/49FeReV75PiNOXiXErD+TcTpkgIgE8hAfzXF6IMDXk3y0ZwvuC49fliIqQIQlj07xa0Y0fk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","_shasum":"6b6e53e14a565eb21fb37416e9d3fdd14ceaea93","scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"sashko","email":"s.stubailo@gmail.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"3.10.10","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.2.1","dependencies":{"boom":"^5.2.0","apollo-server-core":"^1.1.0","apollo-server-module-graphiql":"^1.1.2"},"devDependencies":{"hapi":"^16.5.2","@types/boom":"4.3.6","@types/hapi":"^16.1.8","@types/graphql":"^0.10.2","apollo-server-integration-testsuite":"^1.1.2"},"peerDependencies":{"graphql":"^0.9.0 || ^0.10.1"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi-1.1.2.tgz_1503548856431_0.6152684530243278","host":"s3://npm-registry-packages"}},"1.1.3":{"name":"apollo-server-hapi","version":"1.1.3","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@1.1.3","maintainers":[{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"277db6b240789a745260e7270267bb7ef306b314","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-1.1.3.tgz","integrity":"sha512-CbWuU7LW9Iuz8/57KVeVIYFamKaBBGGu2k50A2Lyv8cqwXuA3aEPUzlMn49uuRDiqseNQzA9W7d74ICy+cAJBA==","signatures":[{"sig":"MEYCIQDTopJY0VBbiV4PP69ME52IM94o8m5t1zznp9TGCmx8OAIhALgIx9Una3j520OUw7XS3+oVj7vpy2AjrgOLrEmnqDes","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","_shasum":"277db6b240789a745260e7270267bb7ef306b314","scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"3.10.10","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"6.11.2","dependencies":{"boom":"^5.2.0","apollo-server-core":"^1.1.3","apollo-server-module-graphiql":"^1.1.3"},"devDependencies":{"hapi":"16.6.0","@types/boom":"4.3.7","@types/hapi":"16.1.10","@types/graphql":"0.11.4","apollo-server-integration-testsuite":"^1.1.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi-1.1.3.tgz_1507178809775_0.892342610983178","host":"s3://npm-registry-packages"}},"1.1.5":{"name":"apollo-server-hapi","version":"1.1.5","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@1.1.5","maintainers":[{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"8cfbb01493a990e98d3a31f81a07d11388ea895c","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-1.1.5.tgz","integrity":"sha512-YQ9b35PH8hQwUmC54mhs3ahQK6Crjj19PWu2hSki021tNTrwY/2PJoftVFr5VRg40JaPjl1Sm8FKavfGP1MP8A==","signatures":[{"sig":"MEQCIHm/7eryt+QvIoZ//yXiodF0YbEzAwZGeUvCPdK6gWSAAiBbeKiHU5Gs1EiwmfsKhzz//Kmabi+611L0ICgQmTdTLw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","_shasum":"8cfbb01493a990e98d3a31f81a07d11388ea895c","scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"3.10.10","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"6.11.2","dependencies":{"boom":"^5.2.0","apollo-server-core":"^1.1.5","apollo-server-module-graphiql":"^1.1.4"},"devDependencies":{"hapi":"16.6.0","@types/boom":"4.3.7","@types/hapi":"16.1.10","@types/graphql":"0.11.5","apollo-server-integration-testsuite":"^1.1.5"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi-1.1.5.tgz_1507574060819_0.6504255270119756","host":"s3://npm-registry-packages"}},"1.1.6":{"name":"apollo-server-hapi","version":"1.1.6","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@1.1.6","maintainers":[{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"97bdc483afe908e28aa0ae9a3ee7744d581bc3bf","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-1.1.6.tgz","integrity":"sha512-PIRHW68rn4V206aa0ciguZ5w5awyoma2MPEEpr6945Sg0WU6pI0YxCnobXxJAQUpBAXlEdeZuaQLKZMlXvOSBQ==","signatures":[{"sig":"MEYCIQCidVUII2dOATUfuQXUj/hYhsHJARhQW5qxiVibRrdRKQIhANWwpmF6+m3d5rVltGckcTAN1F7FxacQyMdC2HhezGV/","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","_shasum":"97bdc483afe908e28aa0ae9a3ee7744d581bc3bf","scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"3.10.10","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"6.11.2","dependencies":{"boom":"^5.2.0","apollo-server-core":"^1.1.6","apollo-server-module-graphiql":"^1.1.6"},"devDependencies":{"hapi":"16.6.0","@types/boom":"4.3.7","@types/hapi":"16.1.10","@types/graphql":"0.11.5","apollo-server-integration-testsuite":"^1.1.6"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi-1.1.6.tgz_1507576338984_0.5004391232505441","host":"s3://npm-registry-packages"}},"1.1.7":{"name":"apollo-server-hapi","version":"1.1.7","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@1.1.7","maintainers":[{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"4c6dc539483666e7ac1864545e9a9c3c70ae20ce","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-1.1.7.tgz","integrity":"sha512-kHxknxhwNLzzJN28lSDF2dCY1uKH/joK4aCyESXAbYj8LnwMPi564ftCEJgLXZU+Jq2TRpzdtpRviao3FDb1Ew==","signatures":[{"sig":"MEYCIQDYGh9TVDLFPuM3HE/ov4ZZeuViLkmfPzu0XW0QrLmeAAIhAM91H+9Z7CwxZMhU6DWrIaQ/opKbOplzT3qWEM0aAbL1","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","_shasum":"4c6dc539483666e7ac1864545e9a9c3c70ae20ce","scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"3.10.10","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"6.11.2","dependencies":{"boom":"^5.2.0","apollo-server-core":"^1.1.7","apollo-server-module-graphiql":"^1.1.6"},"devDependencies":{"hapi":"16.6.0","@types/boom":"4.3.7","@types/hapi":"16.1.10","@types/graphql":"0.11.5","apollo-server-integration-testsuite":"^1.1.7"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi-1.1.7.tgz_1508165977849_0.04953739233314991","host":"s3://npm-registry-packages"}},"1.2.0-pre.1":{"name":"apollo-server-hapi","version":"1.2.0-pre.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@1.2.0-pre.1","maintainers":[{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"89ae42d3011c270440feb439d2f708498893e20a","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-1.2.0-pre.1.tgz","integrity":"sha512-LjL1oZCDpMY1NGWcJeEzxJkbrkoeEBGzX7vHxBmpmr5E47BZZmooM9MT2GOF8/8602i51R63QJmCxZGfDnryiw==","signatures":[{"sig":"MEQCIAHTxIh06FuBsFGM6zRC5QUhYJ9z+JAnkT8+J7Fw9G/8AiAk+txy4Lm1uI9spPz9IEEho6lOxZFiiQwCxbjCOVdtjA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","_shasum":"89ae42d3011c270440feb439d2f708498893e20a","scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"3.10.10","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.7.0","dependencies":{"boom":"^5.2.0","apollo-server-core":"^1.2.0-pre.1","apollo-server-module-graphiql":"^1.1.6"},"devDependencies":{"hapi":"16.6.0","@types/boom":"4.3.7","@types/hapi":"16.1.10","@types/graphql":"0.11.5","apollo-server-integration-testsuite":"^1.2.0-pre.1"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi-1.2.0-pre.1.tgz_1508817309518_0.6665702550671995","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"apollo-server-hapi","version":"1.2.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@1.2.0","maintainers":[{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"c3ddb92c3bf3c461269a75fd959a9c6722fc197c","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-1.2.0.tgz","integrity":"sha512-8xvLwRVslf8flxWkv8rke6As9sJHVNaPiups6Rx0uPsyPhaXJ5wJAw5Od9/3ZIlq9bsWBpzY0X9lyp1eIUcBEw==","signatures":[{"sig":"MEUCIQD7KU6UfSE703os+D6aYvCbkHK1xg+rkUWxkgxnPhwucQIgbI0JXnO5aLd2uXrqOINHgNm7coEmomCaaMRW3GEyhQc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","_shasum":"c3ddb92c3bf3c461269a75fd959a9c6722fc197c","scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"3.10.10","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.7.0","dependencies":{"boom":"^5.2.0","apollo-server-core":"^1.2.0","apollo-server-module-graphiql":"^1.2.0"},"devDependencies":{"hapi":"16.6.0","@types/boom":"4.3.7","@types/hapi":"16.1.10","@types/graphql":"0.11.5","apollo-server-integration-testsuite":"^1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi-1.2.0.tgz_1508861701227_0.3992603530641645","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"apollo-server-hapi","version":"1.3.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@1.3.0","maintainers":[{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"a7b401ae81fc956ba41796c22fb1a76c8e1a16aa","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-1.3.0.tgz","integrity":"sha512-T/BW2+xAnqQeGljRqocCi1PkrUIBzwKPwTZ2pwVY8cDVejUJvuX2UE2UD/4tFrQ4HB5T4sh/SyM3sEn0LpipNw==","signatures":[{"sig":"MEUCIB23OLbgLM3bSixxkFm/SotnClUSdGUEzrHze/kHvcbTAiEApqDp0sa8QrHaVJCg+hUTCMeIcRLxHwJCmcgS7Vn0Xd4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","_shasum":"a7b401ae81fc956ba41796c22fb1a76c8e1a16aa","scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"3.10.10","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.9.1","dependencies":{"boom":"^7.1.0","apollo-server-core":"^1.3.0","apollo-server-module-graphiql":"^1.3.0"},"devDependencies":{"hapi":"17.1.1","@types/graphql":"0.11.7","apollo-server-integration-testsuite":"^1.3.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi-1.3.0.tgz_1513068358483_0.5847139260731637","host":"s3://npm-registry-packages"}},"1.3.1":{"name":"apollo-server-hapi","version":"1.3.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@1.3.1","maintainers":[{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"2faf7dc8ed4a6a0f8c519cd8c25d881090563fb3","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-1.3.1.tgz","integrity":"sha512-Thyy28HLxcBMI8u5q+V3x6XzbAAwSTbgo5sRI0wYaKSIlw6Mc8UHXfdX30GKywA0KF53X1mAxS3aCcn1OPXqMg==","signatures":[{"sig":"MEQCIGn0Fb77LhaJhqI0X2FMTdNaNZ75WBLcIen0nwEvRZ2tAiAfTw+tv5XCJoXfKTWfioltDmxXNNBFkB8C0ioH2nuMLg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","_shasum":"2faf7dc8ed4a6a0f8c519cd8c25d881090563fb3","scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"3.10.10","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.9.1","dependencies":{"boom":"^7.1.0","apollo-server-core":"^1.3.1","apollo-server-module-graphiql":"^1.3.0"},"devDependencies":{"hapi":"17.1.1","@types/graphql":"0.11.7","apollo-server-integration-testsuite":"^1.3.1"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi-1.3.1.tgz_1513578897830_0.9992861854843795","host":"s3://npm-registry-packages"}},"1.3.2":{"name":"apollo-server-hapi","version":"1.3.2","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@1.3.2","maintainers":[{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"b8af901e57d1cfdd646745c5c5587138a660f8fb","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-1.3.2.tgz","integrity":"sha512-ZItk7K258GiO8C8o5u34tKCImY4UNk4Z0197MIvXZlV69mcAOqGQRvmRqVPRyXyGeyflqNFN+mwJB4qFUnVIXg==","signatures":[{"sig":"MEUCIBfENOK8aWZMAwb7n9ojshKbzYrVXFO7KyTI6wNO5vNTAiEAwTvJHFwSjMhmdmSdiyY1sFNdPYwMAGdf+HeZJxPnQ2U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","_shasum":"b8af901e57d1cfdd646745c5c5587138a660f8fb","scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"mdg","email":"npm@meteor.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"3.10.10","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.2.1","dependencies":{"boom":"^7.1.0","apollo-server-core":"^1.3.2","apollo-server-module-graphiql":"^1.3.0"},"devDependencies":{"hapi":"17.1.1","@types/graphql":"0.11.7","apollo-server-integration-testsuite":"^1.3.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi-1.3.2.tgz_1513699380553_0.03580612759105861","host":"s3://npm-registry-packages"}},"1.3.3":{"name":"apollo-server-hapi","version":"1.3.3","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@1.3.3","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"4c2097cdda3c06feb6d388af26cfb6703b8ce40b","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-1.3.3.tgz","fileCount":11,"integrity":"sha512-oKVi17wyowlQi65Bwp0ybBXo1x7lia9zDaXQHBLzeI0PzLt7zs8lCJtvJc3z5K9AIyoPmX26ZCG6uEf3mNkKWQ==","signatures":[{"sig":"MEYCIQDpFfNduDSsnCJG4+nLvUSbsiIrlFJY7QSHi70GQhF3TwIhAPztI23Vji+jpsj6IPjVzcMrYZSGGi8LfOjEYtA4GLpG","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18467},"main":"dist/index.js","_from":".","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-core.svg)](https://badge.fury.io/js/apollo-server-core) [![Build Status](https://travis-ci.org/apollographql/apollo-server.svg?branch=master)](https://travis-ci.org/apollographql/apollo-server) [![Coverage Status](https://coveralls.io/repos/github/apollographql/apollo-server/badge.svg?branch=master)](https://coveralls.io/github/apollographql/apollo-server?branch=master) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](https://www.apollographql.com/#slack)\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with all Node.js HTTP server frameworks: Express, Connect, Hapi, Koa and Restify. [Read the docs](https://www.apollographql.com/docs/apollo-server/).\n\n```sh\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nWith the Hapi plugins `graphqlHapi` and `graphiqlHapi` you can pass a route object that includes options to be applied to the route. The example below enables CORS on the `/graphql` route.\n\nThe code below requires Hapi 17 or higher.\n\n```js\nimport Hapi from 'hapi';\nimport { graphqlHapi } from 'apollo-server-hapi';\n\nconst HOST = 'localhost';\nconst PORT = 3000;\n\nasync function StartServer() {\n  const server = new Hapi.server({\n    host: HOST,\n    port: PORT,\n  });\n\n  await server.register({\n    plugin: graphqlHapi,\n    options: {\n      path: '/graphql',\n      graphqlOptions: {\n        schema: myGraphQLSchema,\n      },\n      route: {\n        cors: true,\n      },\n    },\n  });\n\n  try {\n    await server.start();\n  } catch (err) {\n    console.log(`Error while starting server: ${err.message}`);\n  }\n\n  console.log(`Server running at: ${server.info.uri}`);\n}\n\nStartServer();\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","_shasum":"4c2097cdda3c06feb6d388af26cfb6703b8ce40b","scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"mdg","email":"npm@meteor.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"3.10.10","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.10.0","dependencies":{"boom":"^7.1.0","apollo-server-core":"^1.3.3","apollo-server-module-graphiql":"^1.3.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"hapi":"17.2.3","@types/graphql":"0.12.6","apollo-server-integration-testsuite":"^1.3.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_1.3.3_1522074053761_0.8730582112943466","host":"s3://npm-registry-packages"}},"1.3.4":{"name":"apollo-server-hapi","version":"1.3.4","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@1.3.4","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"369f314732400eb9ca54e4b19e7cfb9280a5ac95","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-1.3.4.tgz","fileCount":11,"integrity":"sha512-kCCb/yMvUfh+Dfv+sShgyDma/HKPTjafdA1BCtPggIhWCTGeQM44YBsMs8WrgffiT/lynO7DWcL9IRKcNxFTTw==","signatures":[{"sig":"MEQCIFnAk1v4r+UqJf1/xkWQV2uGQDSnwQ/+l0UFizRZFeDhAiAMZFkyZYL1uqMWOS90oD0hyCmX7RORMS1kF/yBCho83w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18432},"main":"dist/index.js","_from":".","_shasum":"369f314732400eb9ca54e4b19e7cfb9280a5ac95","scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"mdg","email":"npm@meteor.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"3.10.10","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"9.5.0","dependencies":{"boom":"^7.1.0","apollo-server-core":"^1.3.4","apollo-server-module-graphiql":"^1.3.4"},"_hasShrinkwrap":false,"devDependencies":{"hapi":"17.2.3","@types/graphql":"0.12.7","apollo-server-integration-testsuite":"^1.3.4"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_1.3.4_1522270651994_0.59681499336727","host":"s3://npm-registry-packages"}},"1.3.5":{"name":"apollo-server-hapi","version":"1.3.5","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@1.3.5","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"721412f0242aec25b0ea393e6c08468aea769c51","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-1.3.5.tgz","fileCount":11,"integrity":"sha512-1TDyj7Bj21LGS3P/zGoMbIYdnGR1X9jJFKdf/6GIoG3qfgyPJ0tCROXQsKhloYQjM6CBQRhomtPViEJcyQMrZQ==","signatures":[{"sig":"MEQCIGQ0XsFBCSYJcX2bXV/HzpXivh1TdVOymIKAa9aPR9uhAiBIrzrhSpWfJ/zfCDXBMJulsbxJr7xf3rvxZUAmcd1+Jg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18452,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa10O6CRA9TVsSAnZWagAAIogP/0RIUYCK/4t0t8s7hX2O\nFTimvgVzDhDYypSqFE1VhFGolTnu3ySDvztr+xJcRVCj4euALboD+jbY8QdG\n3GbkzYbJTVkij44GOyIF7y75y5w4omg0GFv1gBO785cwJvqYGmWIkZZeBlHb\nqZ0c3vIuBeT/y2e/Sl8rUQZfHRAz44b8RYlAofZ1xrgDOFgpQij9cdo53utg\nseklwwCk2ZUDNZTmO/QLtQqprdUa9f6QEPYrAGOcF7Mk3gClkrqQ8TWxsyP4\nCZoEHiaST2ppAm/qZ5DCX+sCYmDqE3xfozmezag5yz3EYIxLPW4sVf6DSsdY\nGwLHyM5IXta1jWwjMAKy42UIakjP8qxkgkwNJ0J+rWce9qF2Q4QbspV6G25P\nGfjoVh+KuyZ4iJF8VStlctPsxBMcRL5udRuUdkP6IR/lyH6887WnSMfgYWPR\nN4iuEDWKSggvkY0AG+nToeOS7Ef2VoufS7EkkGxa3QYw5SK1BkgF3PQqb0gl\nVUYffpfXrCgJcYpc9jd6tUyULxp21y/RUshQkmN8xYhFsAMyrlj2DzpuW3ip\nl8Is0w8sOpRCk6xVnhVi8e+5ZwI8DHitzAhsOIGQBs/88nncoeYA//npPRHR\nk23r9rEalKnpVL5Omu4RmOUpj7oMBbx3Im/hocC6wpWdQW9psbwVDX4LIZUv\nLD5F\r\n=TKtF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-core.svg)](https://badge.fury.io/js/apollo-server-core) [![Build Status](https://circleci.com/gh/apollographql/apollo-cache-control-js.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-cache-control-js) [![Coverage Status](https://coveralls.io/repos/github/apollographql/apollo-server/badge.svg?branch=master)](https://coveralls.io/github/apollographql/apollo-server?branch=master) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](https://www.apollographql.com/#slack)\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with all Node.js HTTP server frameworks: Express, Connect, Hapi, Koa and Restify. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nWith the Hapi plugins `graphqlHapi` and `graphiqlHapi` you can pass a route object that includes options to be applied to the route. The example below enables CORS on the `/graphql` route.\n\nThe code below requires Hapi 17 or higher.\n\n```js\nimport Hapi from 'hapi';\nimport { graphqlHapi } from 'apollo-server-hapi';\n\nconst HOST = 'localhost';\nconst PORT = 3000;\n\nasync function StartServer() {\n  const server = new Hapi.server({\n    host: HOST,\n    port: PORT,\n  });\n\n  await server.register({\n    plugin: graphqlHapi,\n    options: {\n      path: '/graphql',\n      graphqlOptions: {\n        schema: myGraphQLSchema,\n      },\n      route: {\n        cors: true,\n      },\n    },\n  });\n\n  try {\n    await server.start();\n  } catch (err) {\n    console.log(`Error while starting server: ${err.message}`);\n  }\n\n  console.log(`Server running at: ${server.info.uri}`);\n}\n\nStartServer();\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"mdg","email":"npm@meteor.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"5.8.0","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"4.8.7","dependencies":{"boom":"^7.1.0","apollo-server-core":"^1.3.5","apollo-server-module-graphiql":"^1.3.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"hapi":"17.3.1","@types/graphql":"0.12.7","apollo-server-integration-testsuite":"^1.3.5"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_1.3.5_1524057017541_0.5278440196375631","host":"s3://npm-registry-packages"}},"1.3.6":{"name":"apollo-server-hapi","version":"1.3.6","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@1.3.6","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"44dea128b64c1c10fdd35ac8307896a57ba1f4a8","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-1.3.6.tgz","fileCount":11,"integrity":"sha512-4X8zQJ3x5apY4v9VVYTlXym6Sg7Cx45ti0Vpm+LquJYeRxjnaNMiGrz3oeOvMEdoC9Zd3lwqmI9sOF0rTwAyrw==","signatures":[{"sig":"MEYCIQCh7X6TU8GCappFOjRoZt7bJ10fPgWWOwYjfBuL3NJRQwIhAN/TMtEuPiSaGKghlgVd7IM6IE6Ej5F2ydXc9/MV04Hv","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18452,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa33j0CRA9TVsSAnZWagAA9BIQAI6X4mV1cHIyaF78jRgD\njhXAOhKwRS16eiw7vXMxnVVvAJgWVrvAsUxpRfA9CD5enfuC1BkyEgEk2NNG\nv+shCpt0CmtsZFNCllxvzJXIrycxBtwosjZWwU0j3PW9hhytl/eiDfsAX9ri\n6l7zq36vl2daOtqWfEq02gv+N0NQc8+iCsxkiKjb6/iysQSvXJUqr6fuD8EI\nvDB2W4lIGP03wfZ0jL19wHCiz24Q/GyZSMGPv6USm7tHf7PBemn5XeIf2Oj5\n3ZFf0cx+i0e9IBrt4EtUjdBo7VfrKDOXujmeho5b0NqdhDVpc3PK/czu1Y3d\nq//J4XI4R5wEG1XaZa3J4Sbij5x3nCY4PW+J+8wZmuAWWrJ6mO4wLTuuZ7Sf\ngIhy2Z86y6AUj+1By83VDoraCk32E1nM70voZen7naxfNGPR3YD56iCMKF8I\nmQSXMHJ8QTZLyjywNjp5YMUBHf6onvfkvhMFanpTWH+5w/EQXRU56dozOt3l\nAofIwPNQr7kACmKr0FfFNuqyavYm7Fi5Aix9x/fSkFy7KGG5iBroy8TgxA3i\n5AOI+fl3TCNpzyr5O+lKq/Nx0WdHdQ/xqk5nvIEq2aThl2CDlo+KC+Ttz0Od\nNzMl8kf7TJ89oJ53UUoTXVA+k7rji1kIojebnS+HKxboUQe5Bm/Vt5JepKmM\ne/o8\r\n=oFmW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":".","_shasum":"44dea128b64c1c10fdd35ac8307896a57ba1f4a8","scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"mdg","email":"npm@meteor.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"3.10.10","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"9.5.0","dependencies":{"boom":"^7.1.0","apollo-server-core":"^1.3.6","apollo-server-module-graphiql":"^1.3.4"},"_hasShrinkwrap":false,"devDependencies":{"hapi":"17.3.1","@types/graphql":"0.12.7","apollo-server-integration-testsuite":"^1.3.6"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_1.3.6_1524594930479_0.7900572954722118","host":"s3://npm-registry-packages"}},"2.0.0-beta.0":{"name":"apollo-server-hapi","version":"2.0.0-beta.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.0.0-beta.0","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"da937b7e9dce2ee3a41fed0cc8031a05ffd60fff","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.0.0-beta.0.tgz","fileCount":16,"integrity":"sha512-jsWKydOIZVu8T6F9PUeQ/yodVR2EqaQdDx9JjSY72XtDb55vmBpUhDIku2J41Ayl3HElBOWeKjl4QxYLQi0UYg==","signatures":[{"sig":"MEUCIARK+9vZ14AODvIauMtEeIqpgeNMrjndeZTsrqHCyezXAiEAx77dZK0tMkYtaOu0lhvPkShXwB65V8a9BMqOYAvipqU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":50280,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbBFv/CRA9TVsSAnZWagAAjrgP/3vuDdArp5M8s+pS2iWi\nftKKB0dRhZy6+cChh+NCy+kda3SmR7dEVEc3UJ+RzQYl7S0yWXkttt3jHeSp\nHFSHldC/NgDe50vmZuKURmlUEX61NdEPoLcDD1CUIheRhTmTF1OZhDvqkeOO\n+nSISN1fijOL0JHfVO4QOZIc+3FKlFurn/PMH6XEIwbrx17QQr/H/aasZvl8\nvHC3WIJOra3jpkYoFTGaQeO694Ns+tHPuuV2C8CjQZmdbuNZVJVDl+ahoss1\nQQlUZgbyfwRxI2N3pOBaGdvfQdg/vdKy0VzsMrUjQVbsI9BZO83jgiCAQOKr\n2mUEJNsONVAc/1x6aQXeodvpd51xs2tPdgD2G12vwHzFEttQEeUJLY6yVyia\nTZnQ4nRi1WOEXgY7qCHwTGVthubbirsXXnZftVxHCudALdGjHX99WU8XQJzg\n8Mls1BL2DYNmjoHofZPsVuhqORWf4s25zxmYfPgx93q1GZ6dvBQBl5NJEZDP\ny8gaT4l4ARKnz25WohjbxzUuB954Z7gAprA2dpnFqL+79/olsum4xnHscS3U\nMZgVxgBB2gfhadhjsXYECXlLDMXgflXX/XWiDLsjOyg4ShvZzHy+DouyvEP2\nWvAe0B0WCa1kbpDM79S34Z7z0jxg1R7ed+jY82BIYssUukMD8dJQxSv7zITh\nQYmq\r\n=Jp6Y\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-core.svg)](https://badge.fury.io/js/apollo-server-core) [![Build Status](https://circleci.com/gh/apollographql/apollo-cache-control-js.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-cache-control-js) [![Coverage Status](https://coveralls.io/repos/github/apollographql/apollo-server/badge.svg?branch=master)](https://coveralls.io/github/apollographql/apollo-server?branch=master) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](https://www.apollographql.com/#slack)\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with all Node.js HTTP server frameworks: Express, Connect, Hapi, Koa and Restify. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nAfter constructing Apollo server, a hapi server can be enabled with a call to `registerServer`. Ensure that `autoListen` is set to false in the `Hapi.server` constructor.\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst Hapi = require('hapi');\nconst { ApolloServer } = require('apollo-server');\nconst { registerServer } = require('apollo-server-hapi');\n\nconst HOST = 'localhost';\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  //Note: autoListen is required, since Apollo Server will start the listener\n  const app = new Hapi.server({\n    autoListen: false,\n    host: HOST,\n  });\n\n  //apply other plugins\n\n  await registerServer({ server, app });\n\n  //port is optional and defaults to 4000\n  server.listen({ port: 4000 }).then(({ url }) => {\n    console.log(`🚀  Server ready at ${url}`);\n  });\n}\n\nStartServer().catch(error => console.log(e));\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"evanshauser","email":"evanshauser@gmail.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"5.7.1","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.9.4","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","apollo-server-core":"2.0.0-beta.1","graphql-playground-html":"^1.5.6","apollo-server-module-graphiql":"^1.3.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"hapi":"17.4.0","@types/hapi":"^17.0.12","apollo-server-integration-testsuite":"^1.3.6"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.0.0-beta.0_1527012350648_0.6232321898778126","host":"s3://npm-registry-packages"}},"2.0.0-beta.1":{"name":"apollo-server-hapi","version":"2.0.0-beta.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.0.0-beta.1","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"d3cbf5657c7ac319f49e672a43a4100c7ae8ab58","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.0.0-beta.1.tgz","fileCount":16,"integrity":"sha512-0t12Hp4hZkMzmnPjgrcsJHTMk+2qcYmCi9AkbXjGRLfEUD9gw9uQV0lQGqKsHopx/oiX51lIexaKw7G0D85dcw==","signatures":[{"sig":"MEUCIQDugn4KJxNgejo/XhZGQ/aIjVEbIWK2/cP2hGcxZRrH7QIgLcPe28jJPyuHDB5uodYwyUh09tpcQQ9QCWVplWnRR/g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":60087,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbEDgACRA9TVsSAnZWagAAQp8P/R6S/Y6qcePIBM9WolCH\nPInJFEOBnM+Dnu4/Y1B7yCC+Yre6uP4wCvA8YgEestF0QNESGOPwPPAHNGMt\nuG18QHWJCL83DMbsKtBPKVUltJvuSqDFXuMOwAgL2RlwuEvlSmjQtEtPt5GP\nfEm1sdWKRUmq4rqyoxFP9AKcFh1Q+VSjUpBmcPq4Xu1A3eycN4UeLTfnmmGY\nfaQK+88SQazfongMSgzOi6vpoBmbg8gMho3A2g2eRh56i7QzBHn20TnbZ2K9\no+4Llhmvrep35hkE0yqVb/HiS0JHRSyHcfY+7HZ7+d7IKj1gXqYeRVpM6LjD\n1/plVPAM8PmvS53B7ZsPIwy0ql1B+BPg4fpNi+UTz9rFfOcN3Sg9NzHfvXps\nrZZdMUHlWHEszroHrNsIDz8w89AAiypo/9lJVDhUw5Z8w3AE98FK9uTXQmxP\nj1cLGjkyg6t+3iepz+D/Z0j5JOklyvz/d0P7E7xyrcIhzIJSEE+lKUB7bscF\nYAfNmNCCAfXoTjlXlxTvE3UZ1m/TThYXGVEP3SefSFutm6pN3s+wqsmr8AzG\nO1JJtx4iBcPoY1OfflMGP7N7G9rjc5zHQ1aGpD6LfjlG+sVUCIRXssVP4pa0\nJrS9Y3xAAxBSCx333LnJ094fz/nPJ+XuHIWBolUguQ0K9YDr86jIUoOH/Pni\nWhHH\r\n=ttB2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-core.svg)](https://badge.fury.io/js/apollo-server-core) [![Build Status](https://circleci.com/gh/apollographql/apollo-cache-control-js.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-cache-control-js) [![Coverage Status](https://coveralls.io/repos/github/apollographql/apollo-server/badge.svg?branch=master)](https://coveralls.io/github/apollographql/apollo-server?branch=master) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](https://www.apollographql.com/#slack)\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with all Node.js HTTP server frameworks: Express, Connect, Hapi, Koa and Restify. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server@beta apollo-server-hapi@beta\n```\n\n## Usage\n\nAfter constructing Apollo server, a hapi server can be enabled with a call to `registerServer`. Ensure that `autoListen` is set to false in the `Hapi.server` constructor.\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server');\nconst { registerServer } = require('apollo-server-hapi');\n\nconst HOST = 'localhost';\n\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\nconst resolvers = {\n  Query: {\n    hello: () => 'hello',\n  },\n}\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  await registerServer({\n    server,\n    //Hapi Server constructor options\n    options: {\n      host: HOST,\n    },\n  });\n\n  server.listen().then(({ url }) => {\n    console.log(`🚀  Server ready at ${url}`);\n  });\n}\n\nStartServer().catch(error => console.log(error));\n```\n\nFor more advanced use cases or migrating from 1.x, a Hapi server can be constructed and passed into `registerServer`.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server');\nconst { registerServer } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    //autoListen must be set to false, since Apollo Server will setup the listener\n    autoListen: false,\n    host: HOST,\n  });\n\n  await registerServer({\n    server,\n    app,\n  });\n\n  server.listen().then(({ url }) => {\n    console.log(`🚀  Server ready at ${url}`);\n  });\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"evanshauser","email":"evanshauser@gmail.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"5.7.1","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.9.4","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","apollo-server-core":"2.0.0-beta.2","apollo-upload-server":"^5.0.0","graphql-playground-html":"^1.5.6","apollo-server-module-graphiql":"^1.3.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"hapi":"17.4.0","@types/hapi":"^17.0.12","apollo-server-integration-testsuite":"^1.3.6"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.0.0-beta.1_1527789567670_0.01204053302370367","host":"s3://npm-registry-packages"}},"2.0.0-beta.2":{"name":"apollo-server-hapi","version":"2.0.0-beta.2","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.0.0-beta.2","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"9196b26347dfe42c95c46fb036eb33daa6066f20","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.0.0-beta.2.tgz","fileCount":15,"integrity":"sha512-jT12Ie7EpITr5sXiyLPjsQZ79wbrsoVCFdbYdnzVH5Tty7niearHW80SRV+DDbeLtc+3ZTkJ1qRIdgQy6su2Zw==","signatures":[{"sig":"MEUCIC1qKF6JQjbc5Vo0w4ZkSwnzD+NQTUP/ZPyXzuA13MkWAiEA2vdd/hVR/jYOP3e2vt62YmJk9K2U5gSqtZOHFPCNaAk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43429,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbFXPoCRA9TVsSAnZWagAAroAP/3hj5/GX4py+AkZm+8RR\nt8wCdp3xvAluwI/5kGdmhfRa/a4x8qXynhV4aEnVdFoBBMe/ERLeHRsvvs4g\nZOyHq5OsSIlIj4lD7YsrpiQekC4KbgTraGMujfaDy05Nr5hLi8KivQt36sqI\n2LxBxVxVOiIgPKmHEiWX4bGT/q3R4b1k3HGHEdeXEGeV86fXmoMLTp9YSTHp\nT3SbrL/v1cji5N3D0q+qvNwZqKnZjzgq55sR3bZ8oy30OpFnrn0sgizPG++P\niaGFACoCVJqmGtF3HEb4DPzVJY+4KvO6k3KygZvWatncCfETc1CQsJDrhbT5\nKzutFOBPzjjPgDo5MWk1/+xvoqJ2QL0LxH2+kjjnOX0KJfw1iG02qUjKUZ2U\nqg+4F2j/EAobu3e9pAK8PioydMpLfA/FfXR6fk23zxOdyMp9HlAZk6K8URq5\nYZQn6IheD9vVHxaK1BLomzxwXCXcJhXcKNY6ekxIjjfnoMlLCu/Dp0z0GghA\nk09deUWVGwuflwDbO6AqvWdFpvNNhYkY1nQkgDK/sIDfLC1xlFWnlRc0gZu4\nwDDOvMSd4I+3dNyozc+zBn0pwvo4vUCjti6WJjQxqOz9vf7P/kIgM8axQtoh\nLOPoerYRXfjCBs+zNtDThYvx+zddOABarOmKUW6EEjn+dk2yBFfTGnI7v60W\nzL2z\r\n=OONq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-core.svg)](https://badge.fury.io/js/apollo-server-core) [![Build Status](https://circleci.com/gh/apollographql/apollo-cache-control-js.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-cache-control-js) [![Coverage Status](https://coveralls.io/repos/github/apollographql/apollo-server/badge.svg?branch=master)](https://coveralls.io/github/apollographql/apollo-server?branch=master) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](https://www.apollographql.com/#slack)\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with all Node.js HTTP server frameworks: Express, Connect, Hapi, Koa and Restify. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server@beta apollo-server-hapi@beta\n```\n\n## Usage\n\nAfter constructing Apollo server, a hapi server can be enabled with a call to `registerServer`. Ensure that `autoListen` is set to false in the `Hapi.server` constructor.\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server');\nconst { registerServer } = require('apollo-server-hapi');\n\nconst HOST = 'localhost';\n\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\nconst resolvers = {\n  Query: {\n    hello: () => 'hello',\n  },\n}\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  await registerServer({\n    server,\n    //Hapi Server constructor options\n    options: {\n      host: HOST,\n    },\n  });\n\n  server.listen().then(({ url }) => {\n    console.log(`🚀  Server ready at ${url}`);\n  });\n}\n\nStartServer().catch(error => console.log(error));\n```\n\nFor more advanced use cases or migrating from 1.x, a Hapi server can be constructed and passed into `registerServer`.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server');\nconst { registerServer } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    //autoListen must be set to false, since Apollo Server will setup the listener\n    autoListen: false,\n    host: HOST,\n  });\n\n  await registerServer({\n    server,\n    app,\n  });\n\n  server.listen().then(({ url }) => {\n    console.log(`🚀  Server ready at ${url}`);\n  });\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"evanshauser","email":"evanshauser@gmail.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"5.7.1","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.9.4","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","apollo-server-core":"2.0.0-beta.3","apollo-upload-server":"^5.0.0","graphql-playground-html":"^1.5.6","apollo-server-module-graphiql":"^1.3.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"hapi":"17.4.0","@types/hapi":"^17.0.12","apollo-server-integration-testsuite":"^1.3.6"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.0.0-beta.2_1528132584427_0.04984914119033057","host":"s3://npm-registry-packages"}},"2.0.0-beta.5":{"name":"apollo-server-hapi","version":"2.0.0-beta.5","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.0.0-beta.5","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"9075108b46c491c1140dd74b87793c97354b59fb","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.0.0-beta.5.tgz","fileCount":15,"integrity":"sha512-0LqNEphPUj8xBqO6l08Gwort/5rLMofVO403sVlHwgOYJ5TyqPjl6f/JbXW/iNm8B+nXvoOM5A67h4kYJeo6Uw==","signatures":[{"sig":"MEUCIC8/EDeSSLxl6tk/OkDspODD/3StkYjvcw+joDCyRTxiAiEA42uOlbjXvjnYEwLy25zFQbFXl22qBHfTpV5++zfAZZY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43437,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGaimCRA9TVsSAnZWagAAVK8QAJ/0X5WmGmRVKxFvcV3j\n5NpW1pqGJnsGVbISLOyrun8qY/ScKEVg7xeFYBhFASp6/QK00c+Cpw/dmgWo\nuoY65NDh6y2sb+vtzlDonni+c6R2/DDsjRPcqGvN7Glw6YWBNZdhHlmQoNAy\nsC4h3wh/nR7WMzPyHITMGJzOUp47sgSs8CZX7N2NIJ8+wWpDof5TbCbqRM2N\n2cONtl1S3vCQC6Zx4fWNYvlL/bn0OO5Q8cwRMabDVEFGUGbbubD25XDNvP3h\n2L30iektOZOQ5CE0ro7kcOXI7p5tYLZ8qg1vFp/OlE0f8rvMVHMYrC/q6MY5\nyZE0gL38aPVw3kZtM/wgPBEN2vcqcIAXbfsPryKquGAYhzcqNbmAtQl5V6Tm\nYC9kDJuvxYeLif1onlKWcYXCdEeMCxiNqc9UpKT712Z+5I/FX8jWnffCUnct\nH1BHJih029CrWqH7iU867u0zb0WgxzSVlSvjpPs3/C4k8pvbI8u3j2ibsTUj\n5aobeBDQGRu/2PMaJTbHZ70r6rntOsr5ktwdpeTLLbLRx/jnE09AXRGK3pcc\nlCkoDTzRhFj3zZE1ta4Xm+TmCd+kxZ+lt1y3AglRvwWqtdZU/ygi3vts5Hda\ntyy3gYUkKEP4C/0PMfZqmagUCHxtOvj21Ab8NMukfUZ4DXdMLOuimq8HI82w\nk8mZ\r\n=OIvn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-core.svg)](https://badge.fury.io/js/apollo-server-core) [![Build Status](https://circleci.com/gh/apollographql/apollo-cache-control-js.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-cache-control-js) [![Coverage Status](https://coveralls.io/repos/github/apollographql/apollo-server/badge.svg?branch=master)](https://coveralls.io/github/apollographql/apollo-server?branch=master) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](https://www.apollographql.com/#slack)\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with all Node.js HTTP server frameworks: Express, Connect, Hapi, Koa and Restify. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server@beta apollo-server-hapi@beta\n```\n\n## Usage\n\nAfter constructing Apollo server, a hapi server can be enabled with a call to `registerServer`. Ensure that `autoListen` is set to false in the `Hapi.server` constructor.\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server');\nconst { registerServer } = require('apollo-server-hapi');\n\nconst HOST = 'localhost';\n\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\nconst resolvers = {\n  Query: {\n    hello: () => 'hello',\n  },\n}\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  await registerServer({\n    server,\n    //Hapi Server constructor options\n    options: {\n      host: HOST,\n    },\n  });\n\n  server.listen().then(({ url }) => {\n    console.log(`🚀  Server ready at ${url}`);\n  });\n}\n\nStartServer().catch(error => console.log(error));\n```\n\nFor more advanced use cases or migrating from 1.x, a Hapi server can be constructed and passed into `registerServer`.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server');\nconst { registerServer } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    //autoListen must be set to false, since Apollo Server will setup the listener\n    autoListen: false,\n    host: HOST,\n  });\n\n  await registerServer({\n    server,\n    app,\n  });\n\n  server.listen().then(({ url }) => {\n    console.log(`🚀  Server ready at ${url}`);\n  });\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"evanshauser","email":"evanshauser@gmail.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"5.7.1","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.9.4","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","apollo-server-core":"^2.0.0-beta.5","apollo-upload-server":"^5.0.0","graphql-playground-html":"^1.6.0","apollo-server-module-graphiql":"^1.3.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"hapi":"17.4.0","@types/hapi":"^17.0.12","apollo-server-integration-testsuite":"^2.0.0-beta.5"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.0.0-beta.5_1528408229904_0.343719698983727","host":"s3://npm-registry-packages"}},"2.0.0-beta.6":{"name":"apollo-server-hapi","version":"2.0.0-beta.6","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.0.0-beta.6","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"410684ee8b5c9083ccadc62ca1a390472a57f3ea","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.0.0-beta.6.tgz","fileCount":15,"integrity":"sha512-ewh5aAM3X+Yqh35kkyDUs0IZ7wBvfr84UiOndsQ8q2yijHpvrRPbcFOGuLJsrs+uENXTpIH929/LJlqmE1+i1g==","signatures":[{"sig":"MEYCIQC5qWSjUuBBHyj3ZwZDD7OcSootyk4jykR2TalEz8PPZQIhAJ8C0+T0aI2kaN8Rut2P9qcU1PpkHUyRl7Mz7SmcZbBz","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32491,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbHv2aCRA9TVsSAnZWagAAnPwQAJOgRjcxDI0G2HvlF/Rx\nHzwoNhfnH7QNHcLtxYTauGOTRBc1hySupWNj0m45vkH/mN2AoTYXfmkClt1t\n6RE8rSer/mFdNpVq44c3rQFy9TNsUGJ6dNEQ18QgkUxtLSqfRLYxTE6Pnwtw\nvdqgUYCPlOHZfFd2u5n2qEbjekPes7R2G3bxe+h9FVfFdSZt+VO/ItXMAEGE\nR1YW5TpZvZeOYhOYn+DsNDgO+guKk+xgbM2EEIbiydlgOVn6gzbrlJmnA9CC\nPllP7smo/vOh9fR8uVGcA6DC4MFElC8W5D7GtB1mzWGRgcUuToruTIyyXE2a\ngBiFfq36J6misIlmjYc3ULJo87QiTqmkjR6HKBghNx4O4R7GpTErfK8RPgUp\nOgAluIJ1Nk5LDw2dIxXEFsPAVZSDmy4YZD/XO8lDy2/TubIvTP9G7HVYp1Sv\nj7O8CkvMqfd7TY1aib1/gUjqWusgZ+JBAtB68XxZw72HHTSe5frDqE41CR1X\nYxvN67voasSL1Naq7hbd+tIiA239zPBRNtifeRvIePmQc78CEkOjbvtwybbG\nXTRILZbMDecS6tInjhgID0R2rI576AvnMa3QT4801TYik0cmiFV9bY+kRM82\nafLh0S9rhN0NuANuJdbzqxd321M2x+MXcslGPUZDlTfMJznkxri+RPxei91d\ninJu\r\n=Zrs/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","engines":{"node":">=8"},"scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"mdg","email":"npm@meteor.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"5.6.0","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"9.5.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","apollo-server-core":"^2.0.0-beta.6","apollo-upload-server":"^5.0.0","graphql-playground-html":"^1.6.0","apollo-server-module-graphiql":"^2.0.0-beta.6"},"_hasShrinkwrap":false,"devDependencies":{"hapi":"17.4.0","@types/hapi":"^17.0.12","apollo-server-integration-testsuite":"^2.0.0-beta.6"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.0.0-beta.6_1528757657211_0.10142514152472581","host":"s3://npm-registry-packages"}},"2.0.0-beta.7":{"name":"apollo-server-hapi","version":"2.0.0-beta.7","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.0.0-beta.7","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"ded996b66f97c3f421fef83b4b61b6b5f75d44c6","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.0.0-beta.7.tgz","fileCount":15,"integrity":"sha512-0stHzZEdjdWTVlMyc/GdK6J9dq3acnjomY+kj5UOrKXlbwtB9dgl/2R+UtEG0KDNmner6qUDxU1AQtImpuC0sQ==","signatures":[{"sig":"MEYCIQDJgvEM2vZBy9fNbkwjDvdmrUzS0lNOZCAeAFfUpjSacgIhAPtDepZ/EMJxeXnUQV3IOqbHSfI+DD7hB+1nHB4mJvK8","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32491,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbHyXACRA9TVsSAnZWagAA0IoP/iWiuNFJFHnHKP3lmGIy\n/OT7SROprb19sU2psNSVMDDZHwWUiatrnj0GQGR689zuvj6o9wvxGta1MS/z\nAzXABLEVhDvRs71JrYKOIr4FIomqMs3U8oQf30ZTbK1s+Y/7fkJpAbw10sG3\ns9WWYMcKViGHfxRtTztVO9Sio2C5GbWqRYMUK4aLPt0I01wVTuHLhGrOEbPV\nEaHs0yZzOxHUjrCceIg5RInkYjMOA+e14o0t+pimMwE+cKk8ZzCftU0swCmi\naJGF4HrKtSJZXxHL7c7XJZ2aZw+8x8Fv6dprG1HTI+V026bHLgSnqdiRbayz\nz91iXuBHyHnluH6MtjLg+iqC6Au0raTU6udojkPK7TjQSa6IvyqqX6KtfQUX\nBqz1UKZARZPLKIPcI40yBalaGpH1TpTrL8Boet4mH2rSfM/EASHxozb6Ho2m\nLka64lEqLDkpFdWhumTk+RkvKpvnF1T3+vw2xhrFa3QsB/Xb0Y+at9Uw6fN7\nUrvDnp+W+aLDXPwL1/W6XlZ5vspLWG+1QFYgra9A8W8d12Jql0JWu9DzDI0A\nSLpFmKhrw4dpGyI5YNrZEj8VwyQUAfqzFYsmFeaeLIxFV0cT+s1dvp50ZRR3\nb1B4FyOfB1FXZ7Ts5UknS6wU57CSQ3ICFa+kFsDUgtT/EQCbvBaPYLYJjgco\nGCR5\r\n=9MZ0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","engines":{"node":">=8"},"scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"mdg","email":"npm@meteor.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"5.6.0","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"9.5.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","apollo-server-core":"^2.0.0-beta.7","apollo-upload-server":"^5.0.0","graphql-playground-html":"^1.6.0","apollo-server-module-graphiql":"^2.0.0-beta.6"},"_hasShrinkwrap":false,"devDependencies":{"hapi":"17.4.0","@types/hapi":"^17.0.12","apollo-server-integration-testsuite":"^2.0.0-beta.7"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.0.0-beta.7_1528767936105_0.5486999704310411","host":"s3://npm-registry-packages"}},"2.0.0-beta.8":{"name":"apollo-server-hapi","version":"2.0.0-beta.8","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.0.0-beta.8","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"79883cbb4f23b2ef454ff4347875bc3c8e2760d1","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.0.0-beta.8.tgz","fileCount":15,"integrity":"sha512-SNTBrv356j0FC6KKYkADN/VmQ+8jmcVB+evfXU6OCoj28+M6zRm780pOBJ9hHGy1Y1FAdkofB8+qNPS4DsoZuw==","signatures":[{"sig":"MEUCICi+LNn6OkV7fPvFelQSbQRTMxLV54HyGp2LciD2fhO9AiEAouYoI5VbODUK4wk7uKvVOo4sVM6wr2rdz8VuHP5xdu8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34353,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbIGtwCRA9TVsSAnZWagAAu2cP/2bffSGzj3nUTkaVkzbr\nM5utkpBEik75G76bs0SYz6A14inGnb/uTvzOXcwDLYZiuj4rWmc/5ddNp81w\nYnadFFqUyxwEqtqgVZWPI07SwDM+YWV/uUIThkXQTjRhq4XoznM9s4cuxZ5I\nRh9nV5XGKl0Cnu/4lqW9YQcX4Op7WX6MtzIRvR3m4x1Yq53zMO863I86gTQI\nJzD7McNURnkysv9Cj5mbJOtS8XwsNYb8zFZsHkGpftHyddZoT1N4fDXpkc0j\nkrUX3y0r2DyBG9ixeAPvpelY6S59m0U9BOw4rg3osZ7JMc4j4eBHD3dpa/Mz\nuIT7XrnfcNX3Kosh/k4DCNcBahVhXzIsG5Ie48kbW75kDLI6xahIz3t+MW1T\n5GDxJI1u0bToYrpD3ZWTgakC9FQtC8i0dcXqnwfNglHV1MFqga5YT6S158Yw\nQLBIBBO8mEC/lrYD39UFlswK1F/qkk3195uwqON5XGC4P4nLwhFLaRo70qgT\nesxpJt0CHsyliGuJUci5Ch4Xb1iOOLX24tMsFlLSFE9wibGswknMY02Ms8in\nm1uCq9Vxi9Fmms3Y7FVvi2pT+Qm9dXIxTYlObepAger7ui55pQUEpgLxC2Ug\nYRbi56GBIFiEilrcB/CoWCw2RyodSAk/l9CUtzINwxaYKqVOilQli7NM2lVB\n2uZT\r\n=7VTy\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-core.svg)](https://badge.fury.io/js/apollo-server-core) [![Build Status](https://circleci.com/gh/apollographql/apollo-cache-control-js.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-cache-control-js) [![Coverage Status](https://coveralls.io/repos/github/apollographql/apollo-server/badge.svg?branch=master)](https://coveralls.io/github/apollographql/apollo-server?branch=master) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](https://www.apollographql.com/#slack)\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with all Node.js HTTP server frameworks: Express, Connect, Hapi, Koa and Restify. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi@beta\n```\n\n## Usage\n\nAfter constructing Apollo server, a hapi server can be enabled with a call to `registerServer`. Ensure that `autoListen` is set to false in the `Hapi.server` constructor.\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { registerServer, ApolloServer, gql } = require('apollo-server-hapi');\n\nconst HOST = 'localhost';\n\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\nconst resolvers = {\n  Query: {\n    hello: () => 'hello',\n  },\n}\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  await registerServer({\n    server,\n    //Hapi Server constructor options\n    options: {\n      host: HOST,\n    },\n  });\n\n  server.listen().then(({ url }) => {\n    console.log(`🚀  Server ready at ${url}`);\n  });\n}\n\nStartServer().catch(error => console.log(error));\n```\n\nFor more advanced use cases or migrating from 1.x, a Hapi server can be constructed and passed into `registerServer`.\n\n```js\nconst { ApolloServer, gql, registerServer } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    //autoListen must be set to false, since Apollo Server will setup the listener\n    autoListen: false,\n    host: HOST,\n  });\n\n  await registerServer({\n    server,\n    app,\n  });\n\n  server.listen().then(({ url }) => {\n    console.log(`🚀  Server ready at ${url}`);\n  });\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"mdg","email":"npm@meteor.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"5.7.1","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.9.4","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","apollo-server-core":"^2.0.0-beta.7","apollo-upload-server":"^5.0.0","graphql-playground-html":"^1.6.0","apollo-server-module-graphiql":"^2.0.0-beta.8"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"hapi":"17.4.0","@types/hapi":"^17.0.12","apollo-server-integration-testsuite":"^2.0.0-beta.8"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.0.0-beta.8_1528851312385_0.9453427080980015","host":"s3://npm-registry-packages"}},"2.0.0-beta.9":{"name":"apollo-server-hapi","version":"2.0.0-beta.9","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.0.0-beta.9","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"048b2ec5c0b54a127272961889ee48d1a81b3345","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.0.0-beta.9.tgz","fileCount":15,"integrity":"sha512-O/ycgBkOX3ZuedojcJV2GppH0qd8i0yon/7Fix9wUcCj3BHWl/oSGx07233yyOVwG/y+J2R5INui/PJIp2INrQ==","signatures":[{"sig":"MEQCIG5wh+Gf0dL+xnMmNiQQqbdynKYurS1y29U1FpavC0SQAiANqXQb65xLszAJdSjpcAQcRn1NPLqtQYx/q/PGqqOrqg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34793,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbIWbWCRA9TVsSAnZWagAAWZIP/0zP6bfi3LRq4JrN8GVc\nc5+arpIsMbvmQtdjL9c4y27WGA2JFQz7j9XpmXbdU7Oma9dgEm5N4Bpd4uSd\nEsd6B2ewPINgTO5W29O2FW6lrVxxKJaHvu7IJQNG/xzBsv+cClJW3l0cdttI\nP2bbGqEhmaMwQhwYQgsF0SMSu5Y0Z4fCMytkVGH7zH2HFB74VIZEgt5g5gZy\ncqZnbzO2mFR42Re/0clwpjN56lGndHlsXOr7nNsGUadEKK3H7iX276ucfYpq\nsCt4FqlYg+BNTY5qrOo86De96kcziG06cZhF379J5fqoio4MA2R1WEJoDaFc\n7tGMK2RanUt9mZbEuOoFRRWMOV6Kv2P0z+0dQPawbj3jZ3+ypYzkrQl8cG34\nm7M/AKmbdc8sMSPx7wS8cPGTmm9Iye5oWsXmXfsAgyiyj8vlJv5WZ80bCMnI\n/WP207Q89ZxS9aMsujh2lEHhz0RnrmOY0j1K5zcgoAjxEk+6upuo3WWOFzU+\niVFayQ3nXVno5JrxlpRg2uDhmA0J5pc8EzRhshlgmdfJidrfqTgGapCYuMFK\n/fZ8Dy55nhKXCS1dG1q5s9+JR17n77jlHhk0J8JlxkfhH6r2P0oS8mRiRXdc\nIMO7KrzT/6mt2rapRHL+l3QMI4OXg0iUgpMnhS9Gw4N0lj7TbzBMZca+sO9N\nUVlF\r\n=Ey43\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-core.svg)](https://badge.fury.io/js/apollo-server-core) [![Build Status](https://circleci.com/gh/apollographql/apollo-cache-control-js.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-cache-control-js) [![Coverage Status](https://coveralls.io/repos/github/apollographql/apollo-server/badge.svg?branch=master)](https://coveralls.io/github/apollographql/apollo-server?branch=master) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](https://www.apollographql.com/#slack)\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with all Node.js HTTP server frameworks: Express, Connect, Hapi, Koa and Restify. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi@beta\n```\n\n## Usage\n\nAfter constructing Apollo server, a hapi server can be enabled with a call to `registerServer`. Ensure that `autoListen` is set to false in the `Hapi.server` constructor.\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { registerServer, ApolloServer, gql } = require('apollo-server-hapi');\n\nconst HOST = 'localhost';\n\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\nconst resolvers = {\n  Query: {\n    hello: () => 'hello',\n  },\n}\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  await registerServer({\n    server,\n    //Hapi Server constructor options\n    options: {\n      host: HOST,\n    },\n  });\n\n  server.listen().then(({ url }) => {\n    console.log(`🚀  Server ready at ${url}`);\n  });\n}\n\nStartServer().catch(error => console.log(error));\n```\n\nFor more advanced use cases or migrating from 1.x, a Hapi server can be constructed and passed into `registerServer`.\n\n```js\nconst { ApolloServer, gql, registerServer } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    //autoListen must be set to false, since Apollo Server will setup the listener\n    autoListen: false,\n    host: HOST,\n  });\n\n  await registerServer({\n    server,\n    app,\n  });\n\n  server.listen().then(({ url }) => {\n    console.log(`🚀  Server ready at ${url}`);\n  });\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"mdg","email":"npm@meteor.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"5.6.0","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"9.5.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","apollo-server-core":"^2.0.0-beta.9","apollo-upload-server":"^5.0.0","graphql-playground-html":"^1.6.0","apollo-server-module-graphiql":"^2.0.0-beta.8"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"hapi":"17.4.0","@types/hapi":"^17.0.12","apollo-server-integration-testsuite":"^2.0.0-beta.9"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.0.0-beta.9_1528915669865_0.4126624074220302","host":"s3://npm-registry-packages"}},"2.0.0-beta.10":{"name":"apollo-server-hapi","version":"2.0.0-beta.10","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.0.0-beta.10","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"c595f6a9162d672edc9c7b3fac5cb033e34b8d25","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.0.0-beta.10.tgz","fileCount":15,"integrity":"sha512-R1JmaBi4sYY1kc4vB1zOUo/hhcmHs2aNSoCI/Qv/0XWpF7dG65MufHEz5Pc+nas9KmYVR+f/oMQIDf9OymkJ+A==","signatures":[{"sig":"MEQCIBiJTsrPFjBPBTiJnQVM8YNL6d/YUcFgoOQFsX8PjZUtAiB3WiNBGngH8ckTfweY3kP95dn/0VIZ6tZC2tbVTq7Y+A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32621,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbIaPMCRA9TVsSAnZWagAAEbgQAJy3XGNex/k3YwrN+s+X\nCzw8hvlfu4Vcq9Us0zuEOvo0h2QVUciW6yxQJxwrA0Xy0bFxv39S10CPf9fp\nJSox1ocVHgn2rROMHePvTUyKMuNJ2SPGGYb7btS/6Z3Gq6n2kLSoHEuQXI4M\nw4Wo8F/UDI33nbB3X8A/DybzZoKNfz/uIyNPYYMhEnzf67N2U8Uu1CF3pfxP\n4VYRNBEMlcWU0jhE3/OnHT4MgVH7rgbXv3Il4/VsoEqQveQo8PtWnMXQq+dh\nFPFhmXuqL9amd0zEEXYvxGa1gTnH23h8SKcKFmJxvPRFWq4kWjgoDlUq3xaR\nXd8/ynXJUnTNYn9brttQ1ydRTPSJZRpGozXC6AspGmL9NhEQZX1/ANetvC+C\n9hGqdmMX3HqlQWXWwzIdhSpkkG2WQlWo7nM9aPU8Qw6+on/paBbWpXhDokFv\nHGr2XKUjNa9DcG+aqhTDa0uT4HEsCE3p/yY1MLM8/CSnBr+p/TDZvxC6FNTS\nQOQdGOoT78dweM9VP7AeSukS6EA4AdRUXINq3lRQ1srnr5aaJ8ADt5Jb/9ZE\nvTdaRHhthcNSmyr98bUf6ETPrT4nmqenAe/uO2JiFQMlsuX7TD9o8ZtbQkkk\nYiDbXHkJ/VaREXvqqKQu43liq1s7XrDLkZckNE6NbNdHBV0wESeg/01drMbJ\nKOuZ\r\n=e/d9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-core.svg)](https://badge.fury.io/js/apollo-server-core) [![Build Status](https://circleci.com/gh/apollographql/apollo-cache-control-js.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-cache-control-js) [![Coverage Status](https://coveralls.io/repos/github/apollographql/apollo-server/badge.svg?branch=master)](https://coveralls.io/github/apollographql/apollo-server?branch=master) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](https://www.apollographql.com/#slack)\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi@beta\n```\n\n## Usage\n\nAfter constructing Apollo server, a hapi server can be enabled with a call to `registerServer`. Ensure that `autoListen` is set to false in the `Hapi.server` constructor.\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { registerServer, ApolloServer, gql } = require('apollo-server-hapi');\n\nconst HOST = 'localhost';\n\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\nconst resolvers = {\n  Query: {\n    hello: () => 'hello',\n  },\n}\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  await registerServer({\n    server,\n    //Hapi Server constructor options\n    options: {\n      host: HOST,\n    },\n  });\n\n  server.listen().then(({ url }) => {\n    console.log(`🚀  Server ready at ${url}`);\n  });\n}\n\nStartServer().catch(error => console.log(error));\n```\n\nFor more advanced use cases or migrating from 1.x, a Hapi server can be constructed and passed into `registerServer`.\n\n```js\nconst { ApolloServer, gql, registerServer } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    //autoListen must be set to false, since Apollo Server will setup the listener\n    autoListen: false,\n    host: HOST,\n  });\n\n  await registerServer({\n    server,\n    app,\n  });\n\n  server.listen().then(({ url }) => {\n    console.log(`🚀  Server ready at ${url}`);\n  });\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"mdg","email":"npm@meteor.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"5.6.0","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"9.5.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","apollo-server-core":"^2.0.0-beta.10","apollo-upload-server":"^5.0.0","graphql-playground-html":"^1.6.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"hapi":"17.4.0","@types/hapi":"^17.0.12","apollo-server-integration-testsuite":"^2.0.0-beta.10"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.0.0-beta.10_1528931276004_0.4005029957309749","host":"s3://npm-registry-packages"}},"2.0.0-beta.11":{"name":"apollo-server-hapi","version":"2.0.0-beta.11","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.0.0-beta.11","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"b3fcdf2082f7faef441d2d8e10a6a080674b9450","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.0.0-beta.11.tgz","fileCount":16,"integrity":"sha512-7sznEiRA9c3SU+4KsiqCCchX7dSXcGVh38tw4oXmyIj5+n4Dp+J1h4ogdBMR5LWtk4dyz3IXdjd6ADrv3WV9cg==","signatures":[{"sig":"MEQCIBF8LSKPa16Scb/jbDP8fvRJpcxqOYdrGK1/dFmITPm+AiBrGAKbAMATqhmWzWJIN9x3El6Igr7m2fNopKTh6RYgnQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31126,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbIrtXCRA9TVsSAnZWagAAFH0P/R6mAUD4Ihv5R534QCsF\nDLLDmEchRhYIJDwvd8I4Y473uqmDSET7q1FDG1XIwEoZbAwg691ZRaZpm2ef\n9t5lvDiqea6ae6/c9aIDAWQqWA6DprcbD2MsPtY6BgpmagVjh4hBnhMHpifo\nCow7W2Tw7cf2S64SzxqSQDTqN67Y5fbX3oADQa0eFyw7IjEbMl7ZXo8TwT8r\nNWG0wabIOHuoKqf50WIf52e6/vf78Iq92DrQBWjYA6PaDgR9CVJGrhRb4MDo\nbrJ7I3dj+4m+q0n6ft3kspNwKgHAOz2xiIkNq2euAMuJG6xU/1aMktrJ8NQm\nyqRYXTQ7c25AxD+eITyOunLmvUYn4t1xHfynOkeoVliD7/P8tK/o2E5vDq1d\nBa1ImrZKTjlehVw2ySu8vHFR2QFHf4XJFSMkGUOA7MtkN3T3GmD1qcbx7Jcj\neLuHp1qyEEKigDSQSUAW6D3Xxrz+mtR8zjOyVT1xX0OnNIXrYnGtWdd8XT3P\nxSAbmfoOSMEGq2P1bF7SHFw2jNF0QKUQiWKxk7OejZI9w3JXdT7FmM0H25Kd\nf5VNUAVoRpMDWUFfRua803rr3B38ukO/IoyYhtHq9GMj0U4UCPPBqrW3pxVM\n6vrdSD94Aif/qvKhu5lbt8nqsFSGBhz2MVshwmMHGIMv7HFTT1DFxO9yRDkZ\n6S7C\r\n=iAXX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-core.svg)](https://badge.fury.io/js/apollo-server-core) [![Build Status](https://circleci.com/gh/apollographql/apollo-cache-control-js.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-cache-control-js) [![Coverage Status](https://coveralls.io/repos/github/apollographql/apollo-server/badge.svg?branch=master)](https://coveralls.io/github/apollographql/apollo-server?branch=master) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](https://www.apollographql.com/#slack)\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi@beta\n```\n\n## Usage\n\nAfter constructing Apollo server, a hapi server can be enabled with a call to `registerServer`. Ensure that `autoListen` is set to false in the `Hapi.server` constructor.\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { registerServer, ApolloServer, gql } = require('apollo-server-hapi');\n\nconst HOST = 'localhost';\n\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\nconst resolvers = {\n  Query: {\n    hello: () => 'hello',\n  },\n}\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  await registerServer({\n    server,\n    //Hapi Server constructor options\n    options: {\n      host: HOST,\n    },\n  });\n\n  server.listen().then(({ url }) => {\n    console.log(`🚀  Server ready at ${url}`);\n  });\n}\n\nStartServer().catch(error => console.log(error));\n```\n\nFor more advanced use cases or migrating from 1.x, a Hapi server can be constructed and passed into `registerServer`.\n\n```js\nconst { ApolloServer, gql, registerServer } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    //autoListen must be set to false, since Apollo Server will setup the listener\n    autoListen: false,\n    host: HOST,\n  });\n\n  await registerServer({\n    server,\n    app,\n  });\n\n  server.listen().then(({ url }) => {\n    console.log(`🚀  Server ready at ${url}`);\n  });\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"mdg","email":"npm@meteor.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"5.6.0","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"9.5.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","apollo-server-core":"^2.0.0-beta.11","apollo-upload-server":"^5.0.0","graphql-playground-html":"^1.6.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"hapi":"17.4.0","@types/hapi":"^17.0.12","apollo-server-integration-testsuite":"^2.0.0-beta.11"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.0.0-beta.11_1529002839141_0.017443375227361058","host":"s3://npm-registry-packages"}},"2.0.0-rc.0":{"name":"apollo-server-hapi","version":"2.0.0-rc.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.0.0-rc.0","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"fdac0ccae75544e7aead744e96a538db88aa0b54","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.0.0-rc.0.tgz","fileCount":19,"integrity":"sha512-NVcFA2ttfExrAtWNvLk021FOcp8/NxJ6iX9jxdC7XQmmjO1rV5vdRsB/9kYdaG5xc9533T0xfDIWf+SWL6S77A==","signatures":[{"sig":"MEYCIQC2hdqshtV+x9aKmAkXQCq+5UvKm9bPmUigbGUHeWiFcwIhAL5mV5/tqrRQKtXSqILYtQ5E6iGcu/dvZ4kEVTHm9lXV","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33275},"main":"dist/index.js","_from":".","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-core.svg)](https://badge.fury.io/js/apollo-server-core) [![Build Status](https://circleci.com/gh/apollographql/apollo-cache-control-js.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-cache-control-js) [![Coverage Status](https://coveralls.io/repos/github/apollographql/apollo-server/badge.svg?branch=master)](https://coveralls.io/github/apollographql/apollo-server?branch=master) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](https://www.apollographql.com/#slack)\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi@beta\n```\n\n## Usage\n\nAfter constructing Apollo server, a hapi server can be enabled with a call to `registerServer`. Ensure that `autoListen` is set to false in the `Hapi.server` constructor.\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { registerServer, ApolloServer, gql } = require('apollo-server-hapi');\n\nconst HOST = 'localhost';\n\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\nconst resolvers = {\n  Query: {\n    hello: () => 'hello',\n  },\n}\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  await registerServer({\n    server,\n    //Hapi Server constructor options\n    options: {\n      host: HOST,\n    },\n  });\n\n  server.listen().then(({ url }) => {\n    console.log(`🚀  Server ready at ${url}`);\n  });\n}\n\nStartServer().catch(error => console.log(error));\n```\n\nFor more advanced use cases or migrating from 1.x, a Hapi server can be constructed and passed into `registerServer`.\n\n```js\nconst { ApolloServer, gql, registerServer } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    //autoListen must be set to false, since Apollo Server will setup the listener\n    autoListen: false,\n    host: HOST,\n  });\n\n  await registerServer({\n    server,\n    app,\n  });\n\n  server.listen().then(({ url }) => {\n    console.log(`🚀  Server ready at ${url}`);\n  });\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","_shasum":"fdac0ccae75544e7aead744e96a538db88aa0b54","engines":{"node":">=6"},"scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"mdg","email":"npm@meteor.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"3.10.10","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"6.14.2","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","apollo-server-core":"^2.0.0-rc.0","apollo-upload-server":"^5.0.0","graphql-playground-html":"^1.6.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"hapi":"17.4.0","@types/hapi":"^17.0.12","apollo-server-integration-testsuite":"^2.0.0-rc.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.0.0-rc.0_1529043506889_0.4331979750008983","host":"s3://npm-registry-packages"}},"2.0.0-rc.1":{"name":"apollo-server-hapi","version":"2.0.0-rc.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.0.0-rc.1","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"e4d652dcc73c2af4b511b06b4e12a963e8c89230","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.0.0-rc.1.tgz","fileCount":19,"integrity":"sha512-vXZJLn5ktlsew2Gde1nKABxjiHr/qkwbHQuTLejpopFJ+dQ43RWW106awLiZJnanVYfpWYenqlfax8jeeuyEVg==","signatures":[{"sig":"MEUCIQCQTgtnH9r9m/sksE2a1Cw9TQx7S3itEkh+Pzgxvs3QgwIgBa3CcYoK5nuU+S8fsBJLN78SYP/kor7EEhgrlrwatJQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":48557,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbLCfMCRA9TVsSAnZWagAAOCgP/3M6aT3eugWk4uvxeSpV\nXQbDON+pngiYD7lnlG1LSbTpTjdhw7TIado2i8CJiLo/3Hi0seIN1lGnGiN9\nCcVvs7Y7uhlUlrFY9tTIw/CoqcSmr8r4GmgK6l5ZhFLDNKmPEmAvXC5pFw4b\n/CVzN4DhblPoySgLfdni+twUAJWb6rsJpwBn9wnUb47kDRG0F6TqJXx2PQcH\nwvd2WQSjQsIkyqpbyohGGUvzz5LTXtRTmybdaCXAM4dZPDuG0+oIhdHwuQTv\nNacfxOwiMkkn8Fxl2CCBOYG/PF8ZtpwQzCHRrDLLI17jkcGDvtiYudnzMep/\nKwSGW4n/jajmcpW9qWfMWeYE5WlQDC6IN7ilFblxVVbMiScB0E/LhEmJLVEM\n1DjKg0Bd7FycBw6LWNBIrqUFim/BKe/kF3p4MkPXFT+NRJML6bmYaQFlZrlY\nn5RrvRFMngfLS87YRbb4XcqpEFrGXc7YuJWT/bZA8x3mQFd/yO91czGYB+YZ\nJqsMrT6Vdvem9fkzZtgS25hoX1OTGC6Ep6cotHh553l66jJ04aGmKiJC/eCh\nRKT668yHKsTAMAeELF553/4p1gts6eLNFqEO1p1NMfr8SKfbqProZXkzBLJY\nw94RRcUgB6qPeTMgvbgPXvzWeqVj+tYZYl2x+9+veD3me+W8LXTg/EJ+gMfF\nTXbU\r\n=Beb1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-core.svg)](https://badge.fury.io/js/apollo-server-core) [![Build Status](https://circleci.com/gh/apollographql/apollo-cache-control-js.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-cache-control-js) [![Coverage Status](https://coveralls.io/repos/github/apollographql/apollo-server/badge.svg?branch=master)](https://coveralls.io/github/apollographql/apollo-server?branch=master) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](https://www.apollographql.com/#slack)\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi@beta\n```\n\n## Usage\n\nAfter constructing Apollo server, a hapi server can be enabled with a call to `registerServer`. Ensure that `autoListen` is set to false in the `Hapi.server` constructor.\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { registerServer, ApolloServer, gql } = require('apollo-server-hapi');\n\nconst HOST = 'localhost';\n\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\nconst resolvers = {\n  Query: {\n    hello: () => 'hello',\n  },\n}\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  await registerServer({\n    server,\n    //Hapi Server constructor options\n    options: {\n      host: HOST,\n    },\n  });\n\n  server.listen().then(({ url }) => {\n    console.log(`🚀  Server ready at ${url}`);\n  });\n}\n\nStartServer().catch(error => console.log(error));\n```\n\nFor more advanced use cases or migrating from 1.x, a Hapi server can be constructed and passed into `registerServer`.\n\n```js\nconst { ApolloServer, gql, registerServer } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    //autoListen must be set to false, since Apollo Server will setup the listener\n    autoListen: false,\n    host: HOST,\n  });\n\n  await registerServer({\n    server,\n    app,\n  });\n\n  server.listen().then(({ url }) => {\n    console.log(`🚀  Server ready at ${url}`);\n  });\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"mdg","email":"npm@meteor.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"5.7.1","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.9.4","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","apollo-server-core":"^2.0.0-rc.1","apollo-upload-server":"^5.0.0","graphql-playground-html":"^1.6.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"hapi":"17.4.0","@types/hapi":"^17.0.12","apollo-server-integration-testsuite":"^2.0.0-rc.1"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.0.0-rc.1_1529620428219_0.5743926522701006","host":"s3://npm-registry-packages"}},"2.0.0-rc.2":{"name":"apollo-server-hapi","version":"2.0.0-rc.2","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.0.0-rc.2","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"e811d7a4bb3351e94d419608586eeb801700faf2","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.0.0-rc.2.tgz","fileCount":19,"integrity":"sha512-HQiu5OKy8Cf8d83WArM7r8DFo5PzajspSCYEHsG8lq/KEDmDGyCZJJmlO/4bZ9T0vUi9VQkqfRHP6WaN5Qqjsw==","signatures":[{"sig":"MEUCIQCUMZINqv3d3Tvrs1d27hS/Mzr6aVjeKRHR6clW+w1EXwIgNUu4veWVizz4gGEIDOQtbJyrOJlj+MjLHmUywAQwZvo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":48557,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbLGTYCRA9TVsSAnZWagAAIu0P/2JWG63JioaDDA6+8r6i\nBLoyeA9nq/8HKa/XTFFMwFb9oJZa1th0ftLvz2Xc1adbxC9Yi+BJfg+7vxfM\n2yftrjRZ3L8Tl/PkgFRxRSWl2ywjJqZQR69XDzC3AWtHlhNT+7ifHEr07IVG\nIxLmFQn8dpDImodjw6lHUpKFRFPvVJ8C52wV0+8PtZswGdG6yRtgUk7KNmOR\nT6U59a6wfCkPyKzebNlXkrbHXyJZGVtWcq/P6ynlnxIej4xe/8KykIvKAF6R\nxnXgtlMrOm01MNqRfsTpG5Wi62SAELmlurO36ncXwUwJ+cShDbIG0Buo5sfc\nzmPQbqeaHDwZzoq7wXIZuRBGsiyNPF+OR/ut7qj1IGTXscN586Y1GAnje7QK\nUm5YBKhmatwYrK+S9nerbCEQnxHDBUkRBLf3sWHukA6x2CmmAQh0taVxwyde\n96wBhi94zWX/dsotJ5IiTKHn0B71JPRrF8ghit9FZ2dRywKRaJ39Bb3V/sKI\nrr5YqsK88QrlbM4szjCr+pvjWC8wfsP60zto4yQ5OVa9rYM2R90uXpT+RG+K\nC/3PqSeFELkUGEwWjwtCBYEnKccmrrE2j5UAbVac0ObbGCUCZ/1XSpAjzvLw\n5shNTt5YVpBrzzPBke5FLzYCgkHFQzsiPXxEshb7mCgiwg/lQn6YVju0hdej\nzAqi\r\n=FYHa\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-core.svg)](https://badge.fury.io/js/apollo-server-core) [![Build Status](https://circleci.com/gh/apollographql/apollo-cache-control-js.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-cache-control-js) [![Coverage Status](https://coveralls.io/repos/github/apollographql/apollo-server/badge.svg?branch=master)](https://coveralls.io/github/apollographql/apollo-server?branch=master) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](https://www.apollographql.com/#slack)\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi@beta\n```\n\n## Usage\n\nAfter constructing Apollo server, a hapi server can be enabled with a call to `registerServer`. Ensure that `autoListen` is set to false in the `Hapi.server` constructor.\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { registerServer, ApolloServer, gql } = require('apollo-server-hapi');\n\nconst HOST = 'localhost';\n\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\nconst resolvers = {\n  Query: {\n    hello: () => 'hello',\n  },\n}\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  await registerServer({\n    server,\n    //Hapi Server constructor options\n    options: {\n      host: HOST,\n    },\n  });\n\n  server.listen().then(({ url }) => {\n    console.log(`🚀  Server ready at ${url}`);\n  });\n}\n\nStartServer().catch(error => console.log(error));\n```\n\nFor more advanced use cases or migrating from 1.x, a Hapi server can be constructed and passed into `registerServer`.\n\n```js\nconst { ApolloServer, gql, registerServer } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    //autoListen must be set to false, since Apollo Server will setup the listener\n    autoListen: false,\n    host: HOST,\n  });\n\n  await registerServer({\n    server,\n    app,\n  });\n\n  server.listen().then(({ url }) => {\n    console.log(`🚀  Server ready at ${url}`);\n  });\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"mdg","email":"npm@meteor.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"5.7.1","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.9.4","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","apollo-server-core":"^2.0.0-rc.2","apollo-upload-server":"^5.0.0","graphql-playground-html":"^1.6.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"hapi":"17.4.0","@types/hapi":"^17.0.12","apollo-server-integration-testsuite":"^2.0.0-rc.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.0.0-rc.2_1529636056211_0.6762297880359402","host":"s3://npm-registry-packages"}},"2.0.0-rc.3":{"name":"apollo-server-hapi","version":"2.0.0-rc.3","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.0.0-rc.3","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"f5bf4d66b1cf6c95a5ea1840655c3b5f80933345","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.0.0-rc.3.tgz","fileCount":19,"integrity":"sha512-LB1/EVzRm/9PKb4eHLdb11OrFzfqpF9221L6TeMWLpqyEtVOB7darZt+2elA3BPKR6D8cJdHw4sIYX6cuyL7tQ==","signatures":[{"sig":"MEUCIQDT8dc89xezJxum1Q9M42wcRU/NgjYW2oK3RUcyI2vX8wIgO4nY2AT3MNY2EGw6WJi1su/Ifq27MgF9r7RbxJZqB/U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":47596,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbL3MHCRA9TVsSAnZWagAAVY0P/iphokPvtL4Odab4dfNj\nJ29mNIQos5ZKO6YAeKiUEsobvh11cz2HZf7ibKu4LNKz/rawKqpg37DTa3ff\nNyNNTHyobKk1bYfgZJEZJsave+SyMZ4oYXXG8pc/OCRoB6NtgSRmDETGln3l\nMhfe1L5D9kSoMv5y3wGs94w02cH/MaYapf2v5hXp9Y5My0af09y3gHwgMGjL\nFiQVugckJ/zF2M4f+VDcTmcDdpssXPc7pb+CjRjOA+cilMZmYA1N3gnXrt1Z\njKOkw+oWuzc2Qx2JM1xhZ2Xi1ZxUHkFN0is3UcMiQ69NJceohF8TME1fokXR\nKZpmNUuHn85tejlij1URJ+C8rWE/Kr/+PGKmgla/WySPbAH0Ju3oLzDEsv5y\nuUbA+NxB973ybRRB9SLsqyODwsUNCFv9+AmzrBf4IX1qbeJpC3snWGXQf3P9\nqe4y546E3LFd6qPvjZC78FQHDuIT6GkOGIkQKhxzKMaTLwsW3vLspfQWLWlt\nEmuNK3W7J62aKrSSortNNy9D79wqR1a/1p86YavA3FrkfoPrp+UhsGHQ+31v\nqWYS+Z29vCL2xYEMoYjzyOZr+iS1sRjuSDXc9m6c8BVC4Lgjx7nLmFLVr+sF\nJ+leHNjXPNWuR31wKppJexQsGyEwA5cE+oyL/K9g7LYQ3hM6yo0182ymcPWx\nXFua\r\n=jEI2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-core.svg)](https://badge.fury.io/js/apollo-server-core) [![Build Status](https://circleci.com/gh/apollographql/apollo-cache-control-js.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-cache-control-js) [![Coverage Status](https://coveralls.io/repos/github/apollographql/apollo-server/badge.svg?branch=master)](https://coveralls.io/github/apollographql/apollo-server?branch=master) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](https://www.apollographql.com/#slack)\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi@rc\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"mdg","email":"npm@meteor.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"6.1.0","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.11.2","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","apollo-server-core":"^2.0.0-rc.3","apollo-upload-server":"^5.0.0","graphql-playground-html":"^1.6.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"hapi":"17.4.0","@types/hapi":"^17.0.12","apollo-server-integration-testsuite":"^2.0.0-rc.3"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.0.0-rc.3_1529836294945_0.6692610368928849","host":"s3://npm-registry-packages"}},"2.0.0-rc.4":{"name":"apollo-server-hapi","version":"2.0.0-rc.4","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.0.0-rc.4","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"4b388b5417d2ce04478845252a64e31cf238e308","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.0.0-rc.4.tgz","fileCount":19,"integrity":"sha512-0ROWJPfAFQh9dRZCp6BmAW3ODiBXfYN4MQSiRXcv46uM1BQipEcvEkMaE/D7ZOBS2mkIH11Gm8GSvreXYpfE1w==","signatures":[{"sig":"MEUCIGHf8cwCPKMWF7/s7CvOpMpsk6kQjylcKXGPU8XOupfCAiEA5guKcaxM0ys4GzFnTZycffDuz0LJu0cq7D4+EvAKJI4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":47596,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbMVd9CRA9TVsSAnZWagAAvMsP/Rms9uQh8IcIBxXd//8+\ngz9FTroytvlA1pbX4u4WY5jrqkSLB6jUUv1eAI0BoP3toUiJPWxpuGU5MGEe\ngD4SMua5/r1dOCMAbvPm4XpB1VXRYAaE2TmYGvWw662s8pYLiP2u7J5oh/fg\nVe/dXnihVZEZQ7NbTvjC9JjS/V6OHf+Zz4JrMzQ9dMx3KNAIuZwE7Ro1PwKg\nA4gfJ7gkZ+Fs4YlkANDs31ZARecadQM1OkElr1OG/enYtYf8smGA8cyTUgHI\nXlmahlmXHyjzreTgZPml2/1QnyXSklC6Gbn9hamyH0hTeabcgAMRjLiZOwPe\nSkilZXxGbGjs1Th1jM4KLYsdgShx4AYxHRaC86qFG+AH7uSFm1VlipF5762z\nu9jhoFw9SJMBTXjQEDe1f66H2e5l4HeC6Zmdp6Ihq2qx9B+gYbzBLMPjYmfj\nsoCOv7a2RdnQvMWq1gfMhKYk0tqqurPaNC5iM9up+8na0OgwoOLTRT0cbFEd\nB9YRP2y0mCol0y9NXxBU/RvHoaIs8dNk7ISLZ6o3t2Cc9fgUwC4dAE2gefZ2\nZ7RptlW9/TLOK/r9VgF56PMNGO9V0THgPC/YMt7ZpQ2C9vm9V7pdij0OBpKm\nX44LfkQbZkSufWuyR2N/ARN9Xd50mxVQuZdHUvgo1AgwXQ5UNWMOAYy6cSXe\n9mms\r\n=guMa\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","engines":{"node":">=6"},"scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"mdg","email":"npm@meteor.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"6.1.0","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.4.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","apollo-server-core":"^2.0.0-rc.4","apollo-upload-server":"^5.0.0","graphql-playground-html":"^1.6.0"},"_hasShrinkwrap":false,"devDependencies":{"hapi":"17.4.0","@types/hapi":"^17.0.12","apollo-server-integration-testsuite":"^2.0.0-rc.4"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.0.0-rc.4_1529960317033_0.6176793215921381","host":"s3://npm-registry-packages"}},"2.0.0-rc.5":{"name":"apollo-server-hapi","version":"2.0.0-rc.5","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.0.0-rc.5","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"eef1bfc6672a0b6e06fd5cbe8ff9d648dd39a355","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.0.0-rc.5.tgz","fileCount":19,"integrity":"sha512-D0DrXoA6Fsn446O2tFjuX/iJDCMYPV9Ycw60FCqqqDkpNyg4pU32R8EGlgvEWoiIzPK/ZfghfuaVHUp1/Q2/xw==","signatures":[{"sig":"MEUCIAb/Zl5LViYU4G4vPtj65/cJ2z7/TmViagin3DZfWIUhAiEArwyTkuSUikKfF8q6KfBI661i0CLRwUG5ZxTOZV/XbU8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":47668,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbMYNjCRA9TVsSAnZWagAAA5sP/RJRIsMBRsHh3J6bilfo\nc70veDukaAw44rcAZ2u2I7b36jLc1A0Waxz6lbOZZtKSYI+jIn6jqBNOmv5X\nDiGy5PsQnrKvt4dI1WN+5jX0PbxTTRqDgjEy3OJZL/cfpJJvlEMJlQ+jwmMb\nRNGjvt6rz1WrCzDH1przNKNLUaP+gu1Hv1yFkVBshASE/VJrE/sQUz56ccjw\ny3ESt3iw3FmllX0fUlDOb+XKQ3unV0FPyH/x/V5iaCMsuC1vgZ2SXjpnUZvX\n6KISX42zhXNx/cxd17PfSLKxdTJyxWeuh5GWykhUx9E2OwZuUEZmLXkw7uKp\ngzdSuvKiJ2ins6StubTNKEGi7p7vROUt2fyyn2yJpok97ODhgcbCd4cDZtOg\nlRKrriQevEH0/+Sg6ohm9xROY6ARmP1IDa0ICWSjLtBbQx6ADDs1dUiBXNqU\n2w9kOfXFs5SLXtqqIFRk97Eihtq86MtDYvnq7k64QKTtlnEG8fklarZV7585\nem6bbRPFT1ZTBmuJgSp9Ot88vBP3T+7ezK1YVvyCmOFs4oK+w+Pmbfz8rI4m\nZYDQDD6z0Dz3jOhhMl8gKbBBM3TnACXAtQhvJADRL+FX76CGkxiozHjmFEiS\nMzFtCLxaeOPcJKtLlfM5CAaDH2GfN1Gi1TOqp1dxAAE65GEC5p4ZgIy6axdb\nMFqA\r\n=G/RJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-core.svg)](https://badge.fury.io/js/apollo-server-core) [![Build Status](https://circleci.com/gh/apollographql/apollo-cache-control-js.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-cache-control-js) [![Coverage Status](https://coveralls.io/repos/github/apollographql/apollo-server/badge.svg?branch=master)](https://coveralls.io/github/apollographql/apollo-server?branch=master) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](https://www.apollographql.com/#slack)\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi@rc\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"mdg","email":"npm@meteor.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"5.7.1","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.9.4","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","apollo-server-core":"^2.0.0-rc.5","apollo-upload-server":"^5.0.0","graphql-playground-html":"^1.6.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"hapi":"17.4.0","@types/hapi":"^17.0.12","apollo-server-integration-testsuite":"^2.0.0-rc.5"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.0.0-rc.5_1529971555888_0.7081314176534466","host":"s3://npm-registry-packages"}},"2.0.0-rc.6":{"name":"apollo-server-hapi","version":"2.0.0-rc.6","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.0.0-rc.6","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"83d3bcf6470daf23c0598ec6463ae0fd0a7f9471","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.0.0-rc.6.tgz","fileCount":20,"integrity":"sha512-eKkKlkXUaAPnwCd6QOABaIn5OuLcD/AXsexqNgdIJK61WT1ePes5/b5Dgx9gjm++P9Jo26gMNTVZQHpFQZYb9Q==","signatures":[{"sig":"MEUCIBE1yGz9ybT28Zy80SKwVHY2QZIK1JmOY36rnrJfWPpVAiEA5i/KM1fX7W3pGN8iEKuIQxkCSdWoVA5ntcZVtxBbfT8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":64423,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbNnpWCRA9TVsSAnZWagAA71QP/0R//E0QDzuocgAXDOuq\nzwCVOI+s5m8U3xr+dCMrPM21uSiCv3ybsBuG7ctVa+LEc9k5EbimUe4s7q97\nkFEP1e7D7RuTtEUepS+NjqZYsQGikjugT9hIgq4CfUy99pXpqKCeAu1CmaDx\n/j+t6uprUrGoODD2N1cnItnQP9FOjOjDhkYPSr4F6BorARgFhSs/Uq/XLdmv\nmhJiyci910HxcobndJAR4LbegENWR4DIeCh/wZdzORdndTByycPeSSx0Ejut\nPs5LUEeJq0zPHLpXZRoaqz8n1JwiAiJqi4h3eipZetRxWWPV1OpZoQXyc8e7\nRAoUBFTrualLnfficyRg99cpn46Va1HIl1cOEio4HmP4Ow6bsWXUriWAREvY\n+i3x/HhK9fWSXG/k+MNIRX47fkZGuooZdnJKkvFgHwv7Hnp1kDF1OkLBg95y\nV9gmMJ3kHBt0ajYSrrQ9BEY6y1nJvmIq2FoWLi4Azu1GXSkHI/o6aKpgPzOq\nATRGSDRmR0nvioc0Xzg9lLf14SVy3sILxL32w1R/9dnJLfOaGEUshVaJgTFQ\nkDhtXtd2gfKEuKnwT97+OK7Naezn9rJlv50lIGiI24Nu29wx1hBooq+0F2J1\nz90W/H1g3CWXxWQJuRAAkcBTnXew0DZuXJCgsIp31oEv8zgHEQEFntWk5prT\n2jO+\r\n=psxn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-core.svg)](https://badge.fury.io/js/apollo-server-core) [![Build Status](https://circleci.com/gh/apollographql/apollo-cache-control-js.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-cache-control-js) [![Coverage Status](https://coveralls.io/repos/github/apollographql/apollo-server/badge.svg?branch=master)](https://coveralls.io/github/apollographql/apollo-server?branch=master) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](https://www.apollographql.com/#slack)\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi@rc\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"mdg","email":"npm@meteor.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"5.7.1","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.9.4","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^3.0.4","apollo-server-core":"^2.0.0-rc.6","apollo-upload-server":"^5.0.0","graphql-subscriptions":"^0.5.8","@apollographql/graphql-playground-html":"^1.6.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"hapi":"17.4.0","@types/hapi":"^17.0.12","apollo-server-integration-testsuite":"^2.0.0-rc.6"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.0.0-rc.6_1530296918213_0.9885909541052966","host":"s3://npm-registry-packages"}},"2.0.0-rc.7":{"name":"apollo-server-hapi","version":"2.0.0-rc.7","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.0.0-rc.7","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"0f8800b26124a8873bac0d94e83f1388a1b91938","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.0.0-rc.7.tgz","fileCount":19,"integrity":"sha512-qlRjQAZLXSFjjbUkMt3anGc1v971iYgDu/LfPVbghFR1AUtQHG+7LNaTRfclkzHVXXOhkcELpX2upp2q8Ht5Ew==","signatures":[{"sig":"MEUCIHB7EduABCnvpqYbQEMj8PdZheM0wYxU91az9/JzDU3hAiEApA0fVyLnrR1vaZ2C/kBXA527cGsfJlm+rMDlkU/kcJY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":48019,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbRBsSCRA9TVsSAnZWagAA1qsP/0R89evXp5mMTxJ10ofy\naQUviL4Bani5bmK30kOfnbwFqA7G+cYcCaKOZyITqayl6Vjc0fIn8mCHqX3m\nZ9sSNYH4Xdu/zrJzVRgYnwnXOgaDot5fa52vJ33lLWvRZuR+Q9JWdmqqEQRI\nbjRWxFtN8WQNnBoYEpVg81lvyK0bHwMiCVWT4YowYTk+ZpOrTMG29Vl/tAhP\nPyt0/2IrvWVkENBIMzdVALaR4xkHqHDHWe5WJTgLXo0dt88CSGqFLhb9zJpc\nQX29+cADFNZ7irCpY415i5jBmGFIoQ/5gQMuuHkqFf4/DXjZ0aXXBYQ4jK64\nO1nFrEI7Xn+4TKWUWnt7S2dGJlNiTgrHvvRhjCgBZR0gcE0EeYvTz52hYWOX\n1/YDMhv0imXQQ4B+eVtnDO5rkGbS6OACfs8G5T71Z0irE/aanv5UZwhEbHLh\n0hN1Fsb8JUEN11rVBk1dn56hNqH16JNL1akESb2xDZ1ytcK7Gngl9+RZpEP9\nLvcbaLu9YY0K2y2/opqMrtuAJqbCByks8mC7YmEoULotclSIvbuhnPmxbhP7\nJiK0d/IREwfx12UG/8vdldsPr65h+qVesRdUhzNxUFZkAN5y3P2bOdOyV30j\ncsykaM7uQDUPj0szG6L2FojMuxxlpZ+/t3xKuU0FjOUoPjReLiNwCY0Q8ZoP\nyveR\r\n=GTCb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Coverage Status](https://coveralls.io/repos/github/apollographql/apollo-server/badge.svg?branch=master)](https://coveralls.io/github/apollographql/apollo-server?branch=master) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](https://www.apollographql.com/#slack)\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi@rc\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"mdg","email":"npm@meteor.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"5.7.1","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.9.4","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^3.0.4","apollo-server-core":"^2.0.0-rc.7","apollo-upload-server":"^5.0.0","graphql-subscriptions":"^0.5.8","@apollographql/graphql-playground-html":"^1.6.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"hapi":"17.4.0","@types/hapi":"^17.0.12","apollo-server-integration-testsuite":"^2.0.0-rc.7"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.0.0-rc.7_1531190034399_0.4338556461970229","host":"s3://npm-registry-packages"}},"1.4.0":{"name":"apollo-server-hapi","version":"1.4.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@1.4.0","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"df63dcac17120490cde756370bdb5ea965141bc3","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-1.4.0.tgz","fileCount":17,"integrity":"sha512-wChLPugWVcJM6gcSUuoHV6rO5pJUMrjkO5KcvPy4JXgpAbIGewpQvqJO8mk1y3C48WEhTOlgiFPquzGTnk6yFg==","signatures":[{"sig":"MEUCIQCiNaC917ToFA1iu5qvPh0vaBNV7gzV20Drg3pM0y5LRgIgT9oQd8hbZoLy8VP5crs5fpa8FJ2Ad2j7V8VYPlMJ6qU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31271,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbSPO4CRA9TVsSAnZWagAA7W4P/jBwix8DuZjhbnSqi1M4\nj5t4uoaNOTgE6lalwSJjfSYForuIxCDrtFtu4mkrV7ygDe27/DmuKlZ8B+Ij\nj4SqKX4v5N8joION7utg6FGHVQ0LMDQ6ubbpsDwcA29azhJidGg3atSkhrwJ\npjP7lILdVeZFkrupn3qfewMklgObM3eY+2M3Q/HmSZklGvE7/PU/ejeEFEY3\nHqjel9wVc/COEO9GzTB817uu4mIPisLKcTD2miziICX3xLB0uGoEUq+6+QOG\n5P37Wzr2kJeL77cNYGNvgfcDK0SvMrcfGKzor5y0hcSotcycHkrHsNv6UzC9\nqIa8H1eM/IW7ZmGbmS32TPbD2apADj3A+dJ40/Po3dW4xn058ybXVsE0SY7c\n3BR4+Zm6KYx65wzIw36YLSw3QjeT4bruLPuxae42Kjbajbk7qY2zaTOVskdE\neqdb9fqnvgmEJbgDa0aCXfzx/ZoKa/G/u5qUNrHsjAXQlPknCPa5kh5IUOyn\nleoyVLj63ozBvNQUIKtBW42waDwWMbf//jFCNMpYxbRbdhjk4115p5yK1r/U\nTwq1vU5JNR3TRyvrc0AbUuG6XrE2D9FGPtF86+VgWYN5wR0im1egiru3teHO\nJ+K5oMGrPmOb+b0YKqQuQ5U2wUhrDLVYrJYsjXMCnUbT4NLV/vfXUYZ08eod\nrGa8\r\n=DEzE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"mdg","email":"npm@meteor.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"5.7.1","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.9.4","dependencies":{"boom":"^7.1.0","apollo-server-core":"^1.4.0","apollo-server-module-graphiql":"^1.4.0"},"_hasShrinkwrap":false,"devDependencies":{"hapi":"17.5.2","@types/graphql":"0.12.7","apollo-server-integration-testsuite":"^1.4.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_1.4.0_1531507640745_0.3256610597710521","host":"s3://npm-registry-packages"}},"2.0.0-rc.8":{"name":"apollo-server-hapi","version":"2.0.0-rc.8","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.0.0-rc.8","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"2b23bfc5fe024c56789adf2cf5051855f3e4cb34","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.0.0-rc.8.tgz","fileCount":19,"integrity":"sha512-/m0IDwNseLh9F9jOeDpFnBAmJzfTOafkIgkVn8TuG++s/op8cuEAewm3yqaa/oQLdfyIXI40JvZjP3n9vxt3JA==","signatures":[{"sig":"MEYCIQDo3VxtyHxqnbyc3uFE6XxuikwYr444uI71RTvKhyIuWgIhANXTn4/R3rCmv2jlMtYUJEGx2sjGv+0KUkFRuFYAyUic","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":47317,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbSUjfCRA9TVsSAnZWagAA3FkQAIOgAqeOZv1lED+fT5jI\niRhaBh9sArfoI3pQhHYuY8kmLQLkR57eL3NxTlmwG0WGbgE12Rl5Mz1hq+tm\nWNWRfjeMGIMjEY87uvlN7dYgbkG4LnlvP8e4JXMec7L6ND6R7z31VJ6og225\nZ3OqI71NoOvAGa2TiNKINh6UxuKiOCMQw4Tjsno5cesPO78jyg87iARaXhUs\ntt9L7yIOcuLO/bdZXtDyuGVWF/AOiNksSuJ1zwHKWz3KR0EScmni86VdZCEF\nD66lLVzmvlqpyB6OAEPOjVYf79qkvxEWumeiqFENEmG3Jjhiq8Lqy2hHu61w\n6elQGPwbnCznnQb1kXj0VbFwGJ3Rncrm+UKUAJBv0ceGarJ1lXWgoRJfXoVL\nRCOUek3+Ri+U0B2G5X9d2h4USgzC42kpfUSOEQXmAq1Q6dTuUWePw1yNRvaN\n0SOLxtUQEJQr1B5JQUoYqjkRCU30mJypL7vhFKgJqZSG6jD+nd3/M9GHzEmF\nbYf+O4zAFziXGhP3t0KGh5fPdqaN12wndS92FUEBiXx0OrR4c00022Oy0e4R\nQ6Z6acrUCYAXDX7TR0MDDaBOk10tgWX812ee6DXfwALQfNSzN7UzygnzGedW\n1u+Bswi5EGycClFsTXpWB3N6ZZ9RuIEWzUDd4glbgslm7jr/qniyTnWMTY0d\nYgqk\r\n=x73x\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Coverage Status](https://coveralls.io/repos/github/apollographql/apollo-server/badge.svg?branch=master)](https://coveralls.io/github/apollographql/apollo-server?branch=master) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](https://www.apollographql.com/#slack)\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi@rc\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"mdg","email":"npm@meteor.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"5.7.1","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.9.4","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^3.0.4","apollo-server-core":"^2.0.0-rc.8","apollo-upload-server":"^5.0.0","graphql-subscriptions":"^0.5.8","@apollographql/graphql-playground-html":"^1.6.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"hapi":"17.4.0","@types/hapi":"^17.0.12","apollo-server-integration-testsuite":"^2.0.0-rc.8"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.0.0-rc.8_1531529439870_0.8625027730924504","host":"s3://npm-registry-packages"}},"2.0.0-rc.9":{"name":"apollo-server-hapi","version":"2.0.0-rc.9","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.0.0-rc.9","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"ec191e26c73061741884f2b268aeccb8bbdd44b7","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.0.0-rc.9.tgz","fileCount":19,"integrity":"sha512-wwk025ncDWuUFQnLFmNjtXDA7zDUMIxysI8GyL2BQqo8FBzhocO1VfeznYzlKWjDgcdOuARlx22W6rTPmN6yXQ==","signatures":[{"sig":"MEQCID+XYHDkz/Utu+Zv1AQqU9AdyvTFqXZCHMhnxJex3FJVAiA6uSpgWcLFUYsAbLVb/Skrfywwy/17D6PZ8BCtbPykiQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":47799,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbTiujCRA9TVsSAnZWagAAhvwP/0MKiuL8dVICFELn2DWc\nVx3ISkq3QC06oyRl7jLsh9O+qeF/gcAPXqnmfWzI2RbusOGX6wf+rC3wQxcu\nvwBB4jLWYQjpZ07Fb1NQPV9X1TMvkFQXc2sK8gN4cnp4hiUY7B8RrA3B5BUl\n2rToRDSDIBPhVvZL5WyG+lCQmjMAbMqWl0qHNNdQdzzuiSTQ0k9RJmJGfxl3\nX8bO/jUm4nJO8/R1r5n20Enz7rHmQ5O6Cj8CUj52evyII+TXN9HqsAHj+My2\nO8oXbLhL8VaYji7cJ4HA65VZBNT++c6qrmSMzIcVpphqJQkal/3NGcIE9wEZ\nk09uS3S97nOg0Mkj/L1zRdPYlxa8cZM2MlZvkx58YdN3amlyVoSPG/uHwbtt\nGfnaL/eo5MaCnv4doa+Ao7okSQCSUXfM1nrihjitTCzXjCthCFThTwy6H2v/\nYlMug5rtSsFVGnShOMeaN/lJF0ea3OR696VcEKE+xhyCWIi/D1iObzbtzkT8\nqTLNeInsk4xtiMAGjaJYMOtYDOJXo0nH7NjywbTFPojo6a/JcvP0kI6GlsQH\noFEiLuJwq9IYATL1MBjvtJcx48EuuVUBgcoTEYROxFMo7HmB36JLo81TFwht\n0zpeoE1OrviwHfWL2qmEMZ0MWBsHDufSSx6rZ/pOi9/UD+uybmvYtlWw2J58\nQ9Nl\r\n=+v4y\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Coverage Status](https://coveralls.io/repos/github/apollographql/apollo-server/badge.svg?branch=master)](https://coveralls.io/github/apollographql/apollo-server?branch=master) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](https://www.apollographql.com/#slack)\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi@rc\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"mdg","email":"npm@meteor.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"5.7.1","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.9.4","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^3.0.4","apollo-server-core":"^2.0.0-rc.9","apollo-upload-server":"^5.0.0","graphql-subscriptions":"^0.5.8","@apollographql/graphql-playground-html":"^1.6.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"hapi":"17.5.2","@types/hapi":"17.0.15","apollo-server-integration-testsuite":"^2.0.0-rc.9"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.0.0-rc.9_1531849635006_0.8314525138578792","host":"s3://npm-registry-packages"}},"2.0.0-rc.10":{"name":"apollo-server-hapi","version":"2.0.0-rc.10","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.0.0-rc.10","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"8006c78745549e6ecef371d0227d8bdaff817662","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.0.0-rc.10.tgz","fileCount":19,"integrity":"sha512-GjRqqbl3AvJqkfKhDWAJExEkYEGHSd+Ojmh/SuuZrhJcNW7c8l/jsWyDlm8jTt86zZBa15qaPxmh66SC7Y+o2A==","signatures":[{"sig":"MEUCIQDnVQgSc63caWyELKXU2xaYrhzaK5rKAFKklvNDNcrB4wIgXMvz6DJJD1FzvsYaN4F5ns+1lUS9kzxeVAF8gEL9tic=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":47800,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbTi3/CRA9TVsSAnZWagAACbIP/ikX/Fws4FHkIE1iNLHA\nGk34Ju9Sl05rS6cxH/YIlgiOaZPbVtsmoqcYyTlMKCiGwFQ58z52geHbyTb6\n6Bgildq79wXCFOZSQUeyWPSwE+q1OvFTEmOYBBz7tpon20/gigDcfsaMfBAS\nRFOFYJiRQpjUyaV2PMQq88uM9m0nQnRrti5oeh+/3SAReexcOOSMCB7JPdG1\nettJVcRP0KWC+zngJ794DDPyDtQ4QzGtmjzq9UPKjNKu6CqBXtet2dgeck6u\nn0WExzTETEJlcobsK+os2ikx82kg73FoPQApIWRtytfnBiJ0eFS5aZvijfH5\nEqWdmgGn9iiXF/WdCtBwPI9qomJfcWGmDnOxVvCcLv/OOq6KL8DalFzWvE4f\nJ/A9yw1ZGLU63gZopPlnEA0r5q4Inn6j1aZrCzEV17lI2A54FBIvaIl9eT1B\nMa27oLvTAKH50asKkbQnAzlOb3F+c2MWy53x4IGEc0ATI3oISaxyfwrSG88F\nuyiqJn+evHnLI3Iw8ZBzcDm/H3+T06zm9bjAyzpC6UTXMMJAc+O6ofFY4Bg7\nQAy/0acAtlyA+isZ8pWbjwrsueVR853MMddGQs5+RRgq58tDMM2FH2fnl8dk\nc9/220gDBbklAmjjd1JA+Vgox7UVgs5w392AO3EwIuAARlCTYnWIKFf4Mfg1\nthst\r\n=uCO7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Coverage Status](https://coveralls.io/repos/github/apollographql/apollo-server/badge.svg?branch=master)](https://coveralls.io/github/apollographql/apollo-server?branch=master) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](https://www.apollographql.com/#slack)\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi@rc\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"mdg","email":"npm@meteor.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"5.7.1","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.9.4","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^3.0.4","apollo-server-core":"2.0.0-rc.10","apollo-upload-server":"^5.0.0","graphql-subscriptions":"^0.5.8","@apollographql/graphql-playground-html":"^1.6.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"hapi":"17.5.2","@types/hapi":"17.0.15","apollo-server-integration-testsuite":"2.0.0-rc.10"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.0.0-rc.10_1531850239573_0.8764498373880061","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"apollo-server-hapi","version":"2.0.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.0.0","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"de75e988222a6a16a9ccbc67e46d172c705c6292","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.0.0.tgz","fileCount":19,"integrity":"sha512-nmkyDjgcwfHDCMdJfTKSVIrd9rAKQW2xhS7RO4Y7r9s/kqykXA5IkJDwdPb1/a01b3JJrbeFkhY73WXfJ7Ro4A==","signatures":[{"sig":"MEQCIEqvVyEzMBotEuBJ5eNEqaD3thp7yOxQc3KXmgUWmXNfAiAZlpfWoFAwvC/8CIjph/Swz5r3RZ91rH+UBdcC2RBj6Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":47782,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbUOu2CRA9TVsSAnZWagAATS0P/Rq1PtfOwWsBMMc1TP4F\nBiSxa0ololINhrfStr71dwFW+stkIPD1CLQV04AaIw721pD7nhi2HYNwslOi\ntc0xL+tuFAoy2pz7w6H2kgJcOfy5Qcr+p5IVdnOjHN0kwUDxngOE1DUfFnR3\n6n3Yw+l37NqgRRMHSpLOR3rVYf8pwibU4nF9tBre4edySD4KEZpyVrT9iHhw\njQJkw+UXtOk1cHSW2LCaFOwKfLexXcQqp41nP64kynzcNybSwE2GJ/XLKMbm\niz6dTXLQOgVi0Pnk1NMHClEfJSY3sDRPQuM8PiDjZEGBBXe8hkG+0kwI8Yxz\nZmfEUrfhTEFFtxspIvd3pLSnm3wyq9z6XU4WSAPMVD9ZWZqZKInDDBFBRxIO\n909/R6ddZFsIGXOLSvNIfiKNbfuYYK9UGFMinIrxfw0scPALu1VBBSQS9Vnl\n+mEpBhYpkdpGG6BaQ+3yff9BdLvdHcDaBp9IWnkLywsBHTCkp5peiEIy6qJR\nT8OxJKtKyGDIVe/GMYD2knhM9PdaEYF+/b/VIsfQvaS0IFJm2SoDVkoq8wn/\n6v269qYdHAnQXShEd16P2fE0aozSdvObEbD/CD0M8PzjLcYgr9+CFYL4+mI9\n9iQnqaCbs4Y0jlW2faky5Sy/bTN8Kawz8/xD6lqL3PwcuIQ7wsx6ShMkix4m\nHlVK\r\n=Y7sA\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","engines":{"node":">=6"},"scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"mdg","email":"npm@meteor.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"5.7.1","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.9.4","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^3.0.4","apollo-server-core":"2.0.0","apollo-upload-server":"^5.0.0","graphql-subscriptions":"^0.5.8","@apollographql/graphql-playground-html":"^1.6.0"},"_hasShrinkwrap":false,"devDependencies":{"hapi":"17.5.2","@types/hapi":"17.0.15","apollo-server-integration-testsuite":"2.0.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.0.0_1532029878667_0.20226410296695319","host":"s3://npm-registry-packages"}},"2.1.0-alpha.7":{"name":"apollo-server-hapi","version":"2.1.0-alpha.7","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.1.0-alpha.7","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"425f03d5f4a7de7067bc63cf8fdec55c3b5a6cf0","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.1.0-alpha.7.tgz","fileCount":19,"integrity":"sha512-CqetxtLwkTRvY4T2dtg8vw9TB6/5INQTcECbp5StMZqGCPSjTaJ2Cg3hvhHQui7gtYPvWq99UdNeqpOf1+m1gQ==","signatures":[{"sig":"MEUCIQCFLv4NmOf7KhJSe3Ef+iwA/o6NjSoYSCIt3iPnCc8OGQIgX//NXjsSmKT5HzfnmfEKgRde/fM85xSL+Swug2v3Od8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":50918,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbWXWYCRA9TVsSAnZWagAAOQsP/jB7ibqhCEugK1xFQfJt\nJRF0ZSlBncFZvHyb4gPZ062CRSmZQ/wkPG6R8v7ISlBcjWXYNMrTKdgA3kRa\nsMIMTeMfW+jRyLhwbLG7x7nFwcO6Z5zizmvzs1YLFzBVZJivpQsusAQPJyeN\nJ6ve1YVdjskoBJVjA3M8XWcXuFbtB7D0OrtDbZ7pfde74gR7FytX5hh9QSpA\nuJMHW4J9TDZ6DcZIBEZYlMb9Zg1CxgwOol2c3jfyrw4YJ6xg6Is/+Z1aMAub\noBqTn2kxgnH69I6PnYLuhTjot2lH8Ii/V+J09GWLOfx7c+LPFcUy6uVczC/L\nTAiEVCqGcvPME3xjS6GHiHeTg/vHtmZn7han+ypLc1w9QH4+F3XP8dfpHNV+\npWBLMxNmRg8rfAinn1XE955EgSAa8jZKs3v045fsPJDw1WfqUnykVtJipkoD\nAs1WNsfqqFW4obxTWFKsAE7zIFi4hIVf74pfJlCLpQ9buIgGo9XzSw/JUj+x\nZWJaIuklAH5/RGXF944hlqkNqfh0maYMg0di8xJc4vWkGMbtcxlLaOZ/Q/kX\nfYLSsgW/GfrzoydfsP7OhqQW+CnLY9wAgQqYa/8qdBO+P+80FfC258gBEHLx\nBMR4CX6+z2Z/t8BLZabAjqceckOaCryG+XjZnm/Q8W5/cPoMp1szakpgrPRW\nWYcr\r\n=LMfS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Coverage Status](https://coveralls.io/repos/github/apollographql/apollo-server/badge.svg?branch=master)](https://coveralls.io/github/apollographql/apollo-server?branch=master) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](https://www.apollographql.com/#slack)\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi@rc\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"mdg","email":"npm@meteor.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"6.2.0","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.6.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","iterall":"^1.2.2","graphql-tools":"^3.0.4","apollo-server-core":"2.1.0-alpha.7","apollo-upload-server":"^5.0.0","graphql-subscriptions":"^0.5.8","@apollographql/graphql-playground-html":"^1.6.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"hapi":"17.5.2","@types/hapi":"17.0.15","apollo-server-integration-testsuite":"2.0.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.1.0-alpha.7_1532589464247_0.05423899745280014","host":"s3://npm-registry-packages"}},"2.1.0-alpha.8":{"name":"apollo-server-hapi","version":"2.1.0-alpha.8","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.1.0-alpha.8","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"303282f54e93de499685d773c0ec6a0d4523045d","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.1.0-alpha.8.tgz","fileCount":19,"integrity":"sha512-qlxSgIeVVJh/UAkoBuDdVmcnmOZsOrZvOw1bWR1yMuZEXh1r1xPNMmLESlNvhCpVnGS4bNR9nCKuc158ojA13w==","signatures":[{"sig":"MEUCIDym5dErIA2J+LFAekvP5Aw5DPFJedmV2x4eMGY1rZz7AiEAyYY8H8U2R2ujKKUfU+rftAhDHLL5jQ5b4YLo77fu9M0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":51400,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbWlNKCRA9TVsSAnZWagAAuE0P+wf0a74QYNtJ6vvgKgxK\nNfxjelaWzh+GI7Qb0YmRlv8lzVgU5kg+LKVn4/0gngSDdCx2c1CvRupzFXmT\nuSDIDPs3/I0EZSeEooVXSvbhBfUaiAILnGxVAowqDhFUChyEvK8lYOq4KudT\nNeJQ6N256ZPzn6zuCMA06bXxC9lvIksJF5eyfuNRgfQABPsgjHfloxumsHfS\nXsBsNxUMVfVpVyOXE1D7i4dU/Oa/Nhv3Yxw3Zjv9mTRWIWDKkGBQhewdroxg\nM5vOS4QaBAU2XxJ5j7wTF4mF3/GPrNO0EmxgEDkZUT3IRuF2yVMWsG2WstMC\nEjuT23pVgmTJg7BWgu0TX9fgyd5hTh73/tT6Ci8dWCk4uazNiaTU4Rgh+2Gu\nIBa0HJfoP7x9Zj3D3WtzPxSoAEmQmX7ESkn8XY2tBgV4bqAbtNH6pUpSadOm\nlspGpvxIFqA48JRPTrCd1ePN6+e5Sww6p9Hg+/u0zZW3qZNWPOCCQi8nwWtv\njRbNsp6xRKkfPZq6XOOaKYsPk4rhsZh6tHy28Jnwdqpysc1mY3RQiVq2bWmg\necE4/lN3fjXpKZq34bh7a6WQkcT1SBDeWvaI1N4xqm461unnBRvslXvTGCP9\nGsdojhtFyLR1MVdqtlXgoJP3BHoYCXrImA6IuKcGRZaIgWdEKl2Jt7llPqlF\niWos\r\n=fmzg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Coverage Status](https://coveralls.io/repos/github/apollographql/apollo-server/badge.svg?branch=master)](https://coveralls.io/github/apollographql/apollo-server?branch=master) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](https://www.apollographql.com/#slack)\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi@rc\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"mdg","email":"npm@meteor.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"6.2.0","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.6.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","iterall":"^1.2.2","graphql-tools":"^3.0.4","apollo-server-core":"2.1.0-alpha.8","apollo-upload-server":"^5.0.0","graphql-subscriptions":"^0.5.8","@apollographql/graphql-playground-html":"^1.6.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"hapi":"17.5.2","@types/hapi":"17.0.16","apollo-server-integration-testsuite":"2.0.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.1.0-alpha.8_1532646218156_0.24281052403682235","host":"s3://npm-registry-packages"}},"2.1.0-alpha.9":{"name":"apollo-server-hapi","version":"2.1.0-alpha.9","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.1.0-alpha.9","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"c2f33681960bb611ff0180326381ce10923f570f","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.1.0-alpha.9.tgz","fileCount":19,"integrity":"sha512-kqYWAnSbvt9Sdd07mJMlAuXz3i680SUKva5n8Ub+QNXVeelorY189DFWK0n54rHp5D4vTxM/cEFje2rGXKaqxw==","signatures":[{"sig":"MEQCIGqvTmDj6Lx0a4ok0rkv2sBGrP6opSXSgqSUaNb4ChGbAiApMt+/2dT4qwcOJuozMo8ZHPHyYr9aN9Rrv+gOIf4t0Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":51400,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbaMhXCRA9TVsSAnZWagAATbsQAJJ9brlleyQxvUjnnM6X\nsajyn1snu/WsthIw3wPU+mQin5/9wgi8WGA+4L4mLJMLwr/MEm1eOFO+MPd+\nUEHlcXkcgMbTwIkTUBeYkPEsye1jMbjehxiDyyTxFsi7oLbS6TABf9qs9R5D\nviB2nIinwu91gEwo9dmEY/cPazupwiLJnqmcTrr5q4YOG270kojl4VLhJ6NB\n9EbLxFCo4sGmxgoX4KPNm+JB7csHyuvJITrEcsvJL1I8EbwzfrRIakh3vcy3\ngvnGMWsnjLK7oz9bREYcMLJlKmU83tMM70C6RajCl4tfB2YKJPJr2ig+UBFT\nldIIYiPn+oSDjq0nHJAzoKN10c2tK1ON0426oMK5E8NXEkDOMl7bv4gyLnjL\nYQWrME+N39aQm9CBf7qFVHcAUFWOb0zuiXCRrfU1WZPXs2GT5I3ld62ild5R\nX2ksZgzw2bo8LoNJo3Fr890Zlzur0k6/sL+UJ9iY974v3YXo260FR08fGT9V\njxxB+8z4W81es8HRecNmA08ImrTacJ6Lrbx5+kNJ6hkiwtdcrzvCMjJdmlN8\nuowJhGytDjq7Yp8Zi6tSG/Ym+H6RGdKcr3/PEewpZh1FbOLTz6rYhaUsd52x\nq/ozL5DWHRKcsXsn7p2uyxGk8HnfuTw/TCOCwIc1bDjILCQZ+R/FkjcFlg87\nyEWS\r\n=ogrd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Coverage Status](https://coveralls.io/repos/github/apollographql/apollo-server/badge.svg?branch=master)](https://coveralls.io/github/apollographql/apollo-server?branch=master) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](https://www.apollographql.com/#slack)\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi@rc\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"mdg","email":"npm@meteor.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"6.2.0","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.6.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","iterall":"^1.2.2","graphql-tools":"^3.0.4","apollo-server-core":"2.1.0-alpha.9","apollo-upload-server":"^5.0.0","graphql-subscriptions":"^0.5.8","@apollographql/graphql-playground-html":"^1.6.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"hapi":"17.5.2","@types/hapi":"17.0.16","apollo-server-integration-testsuite":"2.0.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.1.0-alpha.9_1533593687151_0.7270789912855489","host":"s3://npm-registry-packages"}},"2.1.0-alpha.10":{"name":"apollo-server-hapi","version":"2.1.0-alpha.10","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.1.0-alpha.10","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"e97f64b77d048ff56f228aa0e7bed1a52cd62dfd","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.1.0-alpha.10.tgz","fileCount":19,"integrity":"sha512-RmzHFolhVl8c0qts+j5nNQgHXLR71q5tZxeShfkHcGgSqG9JQiGaQ/hksVtJR89n6u0LX4wRNlS2CmEUnbS7TQ==","signatures":[{"sig":"MEUCIBt3ZhC/y98KRCSVuQ6wIOzDKla5ZMJ0Y1H5GaLHKe5cAiEA4dKnr4Qio6gffbbk6QAypnpYPwT7uByn5zpOUves2bs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53001,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJba4ymCRA9TVsSAnZWagAAgQoQAIv37i1RzQoYz6Npb1L7\nEYvc/MJA2jQfDCsK5unE7ZM3NLAiZbfoQZrpN+5fNpj32cKqZDrg6qjVCJIM\nf2cGrwBKqKLx1L9Z0inep+ySRcY6jStkFodDKXMrF+yn7xJM3TJZFLTbZRMo\n8LHAHwTGBFus6Y1Rczji79NbdbFvFAE4ULFrzyhAkm2mZADCoj+fgrpxGbzm\nH9wO8IoQj0wuUzd6Qk/7SH0M3ryHPmW5h+U6YrLd5mHzBUaPUtfbcAz26XNG\n7gatYrQKvBVJ6YfCq+cMtGcr5mbW74CZBYpqx1glgQeCZ3WcSxvN1Y5aAepx\n2iknYVF8Mn/iXv8AtHgk3om5vpWa1+84aWyZLeaQuYX6UJ3SInRgV4KHYHS8\npD5PiFILQnxMOWGsSFrHNvgm+aleaqXqE9C2d5YnTLzBBw+/isSWY8mPRwkB\ny4iR4/rJI8e54EsZz97VkySPECZf1MfyRakA/7Sef8xjZRqlVQwLr9xh3gV1\nBzXYRgDdBujIQ+I7VIOiSuB4SmNVJTJ38tmYoccMwWYVq3U+9nUgZGkguHz6\n/t6VvSWzV11zZNDXvPHlZOF57xBuQc11hJIf0NTUefD0JGlEg+ap7ELaFlR/\nPfksC4lGdBdlN9jf3N3MlhhGPaG3cWUIfqj2XYOEn7b59L9wABmD0/zGhJdC\ntkHO\r\n=kDYA\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"globals":{"ts-jest":{"skipBabel":true}},"testRegex":"src/__tests__/.*$","transform":{"^.+\\.(ts|js)$":"ts-jest"},"testEnvironment":"node","moduleFileExtensions":["ts","js","json"],"testPathIgnorePatterns":["<rootDir>/node_modules/","<rootDir>/lib/","test-utils"]},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Coverage Status](https://coveralls.io/repos/github/apollographql/apollo-server/badge.svg?branch=master)](https://coveralls.io/github/apollographql/apollo-server?branch=master) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](https://www.apollographql.com/#slack)\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi@rc\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"scripts":{"test":"jest --verbose","watch":"tsc -w","compile":"tsc","coverage":"jest --coverage","prepublish":"npm run compile"},"_npmUser":{"name":"mdg","email":"npm@meteor.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"6.2.0","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.6.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","iterall":"^1.2.2","graphql-tools":"^3.0.4","apollo-server-core":"2.1.0-alpha.10","apollo-upload-server":"^5.0.0","graphql-subscriptions":"^0.5.8","@apollographql/graphql-playground-html":"^1.6.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"hapi":"17.5.3","@types/hapi":"17.0.17","apollo-server-integration-testsuite":"2.0.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.1.0-alpha.10_1533775014808_0.24974357083943066","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"apollo-server-hapi","version":"2.0.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.0.1","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"7eb2ffa0060ce496f97d5b5944ca8d778884e28d","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.0.1.tgz","fileCount":19,"integrity":"sha512-t7CaRHosusWTppR88K8/VmvdGFOvnyJUOc3A1DVpUsqIjZd6KGBok6DdXBuXn5h9EOvEKQMzPwc0A4oxEVERtQ==","signatures":[{"sig":"MEUCIBF+pWztxdsw21OX/1QFttrHW9MxaLAhQ6F0KvXHN2feAiEArvwZ7elxhKpPbiGcSjwlrdexVaASr1eM8qLi4hviBWM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":50349,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbcxoWCRA9TVsSAnZWagAAzsYP/jtftJBE0DfHGvNGOSau\n0mgZHPAzMfljpYgml4E23EGw/PKzEuOR/czAvidNtcRHblqcK+rH1D+zRau1\neDD4spDFJMYtu8O7BxJbuVl8YE7RQrBaqsDtJABOiywTYbBLOk/6bRPcIXUF\naZYeeVwc63crMXIaZTVTt4/KLquyGsxcn/Wy5vmKxp/ojSdVgsTubDLsIP93\n08W3XdUJPzHX9tDi6H/euSvNaJNfXf42ngu+FBaAcduv8AvJDDwdtYFQpANJ\nJrJqSVI6CmxccZJshqh9H+iufBFqla8aGSOv8W3YQHErhH6id3B0dqUJmHnq\n4nzEwz7RzSU7cWYHdPvDmf6t66gOyJbftOzseG4S48RJc+lbfvPmd36MxZWD\n3FKnsEm8gFId6en1pbsOQWOTMolMAEBZ+2QIY0RY7yAIHlCktv/RP/qxCib+\nXuuLxejI5swJ02l3dWjH3z0L/Klsn4uXhPS16gfturAFaq2lmiCuka7nbet/\nSXAIw0o91Xwl7bdtQFAMFyNe9/kxxDhXsSNOxTAfuG+I/SRADw0/ISs4fTJd\nIukOUptJ2ImiMpQsktxNFwn8ry3iiS2cYyTIwL5ebajL25gUktrLXaT3zOEu\n009af4pkvflVNIo2n1ifLnbrtaZyJtrH5DSHqRmD/BagRk+8gkMlgIL9zSPc\nOWJf\r\n=ITLR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"scripts":{"clean":"rm -rf dist","compile":"tsc","prepare":"npm run clean && npm run compile"},"_npmUser":{"name":"mdg","email":"npm@meteor.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"5.7.1","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.9.4","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^3.0.4","apollo-server-core":"file:../apollo-server-core","apollo-upload-server":"^5.0.0","graphql-subscriptions":"^0.5.8","@apollographql/graphql-playground-html":"^1.6.0"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"file:../apollo-server-integration-testsuite"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.0.1_1534269973447_0.04426319134830514","host":"s3://npm-registry-packages"}},"2.0.2":{"name":"apollo-server-hapi","version":"2.0.2","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.0.2","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"b4d8887374641737f3a123a64e065b5bb4212e50","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.0.2.tgz","fileCount":20,"integrity":"sha512-mRfFUS5z4qwTVPkpqT8GgAYeSxtNpoDtHCOjM1pNRSbbsznpdwLdjyiVzQvU9S4ed9sJ9UEq7jBm/2Y+U28DVA==","signatures":[{"sig":"MEUCIADFOJ4Ls1anKTMeVMFL+/RruBqCYYZAw7880cgSUM5bAiEAzXL/7iL5U0e3JnYMMaoR956IDYMQgD3ixw8+EG63UgU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":51444,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbcySFCRA9TVsSAnZWagAAlUYP/2bVCbX3OX3k3EKNJlQX\nMUS4ghsFszkSJp2piJ7dE3ILOsAb4v78aJM/wWt8T9pvYQAXdIOn8CoM+6iv\nbqqiYrfr7WZuOarIaXqRkzuCaw1FZv+C5TEkMKSEBOyD1CyD8m3c03HGGBG0\nxrC2MvNg08v6FaKwuUnalq7B7s/Rij5Oh6CExw/u7IojUbHFRWlMlw/hdAcI\nRMy+oaq4FoC0DJQobQBysaVt8G297X5qGKZPD7Bg6dy4r1wzmMk4EPKMi5+4\ngjJFjE0VNAGdYbl6CVVu+KwYAku58QaLtNK7NkA5W2eiYb0UIt4DqQ61qaoI\nPPneB78nxrafE9dsOwTgVoXMXM0az3MjvgdVgx/7zvzcK81x1e0c7wgQMpAp\nT/Qngsa5N/sCBZd/pqf7UTWD7Y2NrMQcFDpxEOou4G+tRguU3zgddvHj6Fy8\nagD2p0JgFAI+B82e3ytdqBaixaUZ7UreefzyB/Wd8yN8DjAmv7/tDnOVVR/2\nQpwPSh2NPFpoJ+/2jAppVUYjQgOjMyXRjuqLqEEqphkwBeLbqP8kko+3uGAF\nPK98SrWF8bYsvvDUxxM81GbO0/V871IgfMs9+xbIiKRJg6xIuEpUhbz4Dcqz\nmN8XjkpiRUWVK5aEx2h40aPMhbnfJnxL818H5XrxUmveoF9S+SGD8V7YOmHS\ndW7y\r\n=Tzbn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:apollo-server-hapi-2.0.2.tgz","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"f7b5d63d038384409fd4d664a3bcce04c721bc6d","scripts":{"clean":"rm -rf dist","compile":"tsc","prepare":"npm run clean && npm run compile"},"_npmUser":{"name":"mdg","email":"npm@meteor.com"},"_resolved":"","_integrity":"","deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"6.1.0","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.5.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^3.0.4","apollo-server-core":"2.0.2","apollo-upload-server":"^5.0.0","graphql-subscriptions":"^0.5.8","@apollographql/graphql-playground-html":"^1.6.0"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.0.2"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.0.2_1534272643418_0.2658727978918112","host":"s3://npm-registry-packages"}},"2.0.3":{"name":"apollo-server-hapi","version":"2.0.3","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.0.3","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"d0572b3bb9a1af0f7f7ecf51d7eea8950c124e8b","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.0.3.tgz","fileCount":19,"integrity":"sha512-VnBzkq26UEgvqI0ca+Kw+MxWlaJXicIPeENaDnW7C3WKgOOKlym8wO+5Ag/GRvxQphWZdiYZ2p8qaSuEbtzzqg==","signatures":[{"sig":"MEUCIB91Eb2GXVnIB3b2Yex8PFaNjj6nPvQowyFI/vpQ80EaAiEA9+0ltIBc1DoARmnjocnXUkp56tgGSDV3dWp9eqwIfPU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":50211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbdcxACRA9TVsSAnZWagAAeRcQAI5BP08L1JI8Ez2aFukF\n3+RVrr3tPAC8KIJt5Kg8bdnstIXiSJpNXQaGUyep2cgoDXRZSKr+zekGPu27\nJPnvkpS6+ZT3cmFioao5+tnoZIgKuwTKOKSw5FxbLWWuKmgoJ0jGGP4/fsSF\n7ztKPeFlp7Q99AGLXHn9fqXBf/nT4NMx2EJdS8KHdS9f9vUD5MksK7BIsUZX\nGIBtWjsMuLdWY0P/j4+IOV+a+k82qkc3W4sUi7vnmFvAJ5FO/sOYD2kXkqEd\nz2uQgMFQPY/ZjaUpXKoS8UGQg/jS801IWHe1LLdlceZHAqwPdkkAF6zAW+wh\n4aizI29e5VDqSsGrr6IoZ6CdhYrBCYD0s7ephMcrYHlhcdy8yQapHLRY3Ryz\nLPgT67M0QKJ2mYxycLzlmtAIDjUTx2eYPktGfciJztetMAdeR0wV6ykHO9+E\nsMDYi3V3NLPTqwoyEhX7A+pMOsSLyV2Yzz8NK7pru89yQ6/W6Ph8mZRYV0cS\nwczmIiwxIlBWJ5BxCSnJQGh2bWheBR05d6mIwjqNAL0oXYagHTK5LJtI0q8F\nIdsamcwPo5PSgAEkCuPlpE/O8iSF3Oeq7REXxfIYDHetb3It86Oy1ZDiT3sN\nnLWI2i5dsV57LXbyAs7yOZnCfYjKlAUNQUtkvAZ/bBA7fOX8vV8MG4Wvumyx\nNADW\r\n=Pl81\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"scripts":{"clean":"rm -rf dist","compile":"tsc","prepare":"npm run clean && npm run compile"},"_npmUser":{"name":"mdg","email":"npm@meteor.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"6.1.0","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.5.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^3.0.4","apollo-server-core":"2.0.3","apollo-upload-server":"^5.0.0","graphql-subscriptions":"^0.5.8","@apollographql/graphql-playground-html":"^1.6.0"},"_hasShrinkwrap":false,"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.0.3_1534446656100_0.9273879651105041","host":"s3://npm-registry-packages"}},"2.0.4":{"name":"apollo-server-hapi","version":"2.0.4","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.0.4","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"d92882f6b6eb9205c63474464393f6ff44806cca","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.0.4.tgz","fileCount":20,"integrity":"sha512-6MiOkb9PqgVTd8BqNsiNO1O910icbArfrvpgrgutKHGV+wIzHhdxZXbYc5LzE07qQnibygIsWlGKf2YKAWUygw==","signatures":[{"sig":"MEYCIQCQnuguljXsZFZhXLDfwOYJf6RwTCM/Q+yDdc5pFXNqEAIhAKJKBq6jYq/cGsdwlb63KSQeXEzRwafmFs/EzVkibMIO","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":51489,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbezAjCRA9TVsSAnZWagAACOYP/RHDiB9uozGikLAopyyD\nRNrEIpseFNnudv5DO33y8vR4Z3+qK+e5KaTWivu9F8bi3fezXba1Iea+pw+z\nKpvJgrWXoZRC2TK487+PTbJsZAefhmd3VL1Y2iPV5+nrU75zz2w/990r+nCp\nkb7GZEsfYfZ/PD6Pzlnbhtcabn6m3UjcN3MR5PZ1zMk+H/hQ7ODYEg6B6nMx\nfBb4JAfTIt4Eaf7V0Q/DNw6wZQ99wTejUHPkn3yiIzzHkQyFiXW9gh1VzQiq\ndNjcych534hA41w2g+JJw/fAiSwXjYoSyH43RFMLkVlWj0wywKci5vUEF4vJ\n8338SJUM+nhsh4icpKhQ5YvjDn2YxY7GeIHZ7uJVxVuHBF/p1XrykiTlUV6j\nf5ZDl4DvkVo9NkfxqF9I5e8a/blNUtSOvcOTVfaMbZ443sVAu8fG5GAPw9dS\nC6droVNQIoC9zxx+Mr8J3m1Gxq49wHaa7WrrZoknx10RhL9a0n46MKkb5LZa\nV5lkKx782qIkheU39eKugbfHwr2cJxHfzyTI4UU2xCwAe0Xxivdl+DDXKK5s\nylDxindhB7XHBA6BgIa1uO9MYFYnkybq3r4ckGDLMo0qanGnz37lGvtP+7j1\npzyPRjb102wDqafjLlIGQRnVQp/zEAFwzEGQEcJxoikv8y3cADC216hcjelW\nclcj\r\n=M2Ht\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:apollo-server-hapi-2.0.4.tgz","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"2657e9b25bc0d22336ce2b3b06784325830da6df","scripts":{"clean":"rm -rf dist","compile":"tsc","prepare":"npm run clean && npm run compile"},"_npmUser":{"name":"mdg","email":"npm@meteor.com"},"_resolved":"","_integrity":"","deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"6.1.0","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.5.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^3.0.4","apollo-server-core":"2.0.4","graphql-subscriptions":"^0.5.8","@apollographql/apollo-upload-server":"^5.0.3","@apollographql/graphql-playground-html":"^1.6.0"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.0.4"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.0.4_1534799905921_0.7488874596021817","host":"s3://npm-registry-packages"}},"2.0.5":{"name":"apollo-server-hapi","version":"2.0.5","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.0.5","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"2dcc2245f2d2a403e072581d08415716d4ed98b0","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.0.5.tgz","fileCount":20,"integrity":"sha512-GN9uN7LeJotYoW6YsPSBVNILIgAoZ2VYnJsu4NXgc5u9JjPEKhMpktC4B4yvn2QALr3zl41oS1MmWcB7J0h2/w==","signatures":[{"sig":"MEUCIQD3wM6NWuQPahr34cZb5wVCEEnMgzQjmwQyuSLfn8+cIwIgOGwdIr+Q96y4NrkVXyW9BZIKVtNjJORPNBOP864Vyos=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":51506,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbjTIVCRA9TVsSAnZWagAAbAUP/054muBdGVHv+6w+S0tv\nwo/NXe9kVegOU97sS48eH8pGmQ/nE/q1ybP8ur3De6DtAml+kF7UDw9lhb2K\nJwVEfc+85IqOLAhECMi9fL3yJ93tRFsNClz9teOkA22+emSUWGxXz5Nemel8\nriZGbbb5Yz3PvVeptgniGbidBg9+XY3OuDre2i4VN8jpPefAIEZKSnbpgqeA\nLOXX92zoxseWNpjFGyIlxPwa6ji76kXU+oUsGG/IEe0D0GuFh3D2de6PNBFL\nJWqIL1BVke8bDYFPKLDoih/ihQn2QA44/IXS/rfGhJapVh0NefqZdeGzhmP/\nfnD9CtFuI9AZBHCPPcph35GJoM1PYe/FobAIy4CLvV16V7cTibRuaejDRQwN\njXH4Bhr7j9aA0aiUOk//BTNM5nZIHu1iO9H6pi40GmODOJdBf17MzWGzE2JM\naB1zxwDgv9YniViK/5x+sfOmOBXXyQIIf49+N3zcz7KnJD5Y0aPitonwnH45\nchqPNALq8OM37qQWUWLUSlxQvNcINJDCIR98abGWr+n9ont1nuIfFs7nIzXB\n5wf9tKi6BLuhY5oiwm7pxj1weAPLutlBd1gjxZ6csWKMIDvb6DMeHNp//m3k\nDigzM8F82H5dhhXFoA7M2+kUZARY7gG/za7Z0QibAa+RCIZ8deSZtdGYoqyg\nEb3h\r\n=mR5A\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:apollo-server-hapi-2.0.5.tgz","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"b80a8f050c8d473ae6804cd3be6430308a66eb43","scripts":{"clean":"rm -rf dist","compile":"tsc","prepare":"npm run clean && npm run compile"},"_npmUser":{"name":"mdg","email":"npm@meteor.com"},"_resolved":"","_integrity":"","deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"6.4.1","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.11.4","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^3.0.4","apollo-server-core":"2.0.5","graphql-subscriptions":"^0.5.8","@apollographql/apollo-upload-server":"^5.0.3","@apollographql/graphql-playground-html":"^1.6.0"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.0.5"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.0.5_1535980052977_0.6306150097410113","host":"s3://npm-registry-packages"}},"2.0.6":{"name":"apollo-server-hapi","version":"2.0.6","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.0.6","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"3683af8946b1c53621e70310e9952e09f560e1bf","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.0.6.tgz","fileCount":20,"integrity":"sha512-oGi2fqq1AtUxz8Ov8WeHlLmn+SokzKSfx0tW5Fl2AQ5EQFoVgskEapr/mzzs9+oUZtSq24XHDd413vp1uE1E2g==","signatures":[{"sig":"MEUCIQDme/RTRCB1uhrDLEnStQzck2Z5HN4mS034PbpytcnirgIgZzFfOSpz5bVCu+rBRd2bMLfEJUSSkHV/Df70IC6rkB0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":51506,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbj/d1CRA9TVsSAnZWagAAtkQP/2Ln6HiKh1MaDmlun8am\nzVRyKM+5ZgvHdGww4ictO/y46KnH42h1ewEr/rT9cUAZuAhFB/lrxeU62MVx\nXsFo6yVyytnFmpQ7q4Y6ecL81lv99L/SPckGfUOzU0sU4CanjGw/AthH/sXh\nYHLq7+bYkVScEtlt/C5M6QvTASDHHwyEIgwg9wMopgeXXmG+3lkgAWTPu+S9\nzAeWZJqZT9+6NiR1u3n7vMSUe8VrXcQb4JucuNgy4WiQR8bl8qiKW898pcxW\ntesiZ0ZhKcr0ykYbqUzD85+sKNdXXHGeKQ9ABpF/P8mxHkwqDWfAmKglybhI\nFYvzIIl8atvdH45zVzf4MKlZOkMUn6FhTltgv2tXUEZoqncFNJlHS/qGK75b\n0WoO1Vogg9OC7NPsGOMqJ1m4PnFI/5Y2Y+4AKK+CWIWCVDoGH+qa8OkDyC2y\nZQdEcRvBp2dPbWmT9agKzRxQleCp83JDosyhaHAoRXfuJ0Ns45qXNaDqvsCq\ni3Dbqrw9Iqof2rZBNIkXLalJkWT5uRG0Ci6duL0Zfjiv6Ox+YU0xNWHlFH8p\nRg9Y1qocz6w6xkGB5nmxn2kWG2FL7wkD+tPa/flX2Of5UpfA2QEoEuUpBS2p\ngKVmLuRXlGiYIWRKBJJ1dxW3oSSNqAAVjnQZmlcGTN8VSF6yvnHiyYhAdMNu\nkncQ\r\n=P3tA\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:apollo-server-hapi-2.0.6.tgz","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"996c73063af8aa361ecd6bb78e43b9d0c0df78a2","scripts":{"clean":"rm -rf dist","compile":"tsc","prepare":"npm run clean && npm run compile"},"_npmUser":{"name":"mdg","email":"npm@meteor.com"},"_resolved":"","_integrity":"","deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"6.4.1","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.11.4","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^3.0.4","apollo-server-core":"2.0.6","graphql-subscriptions":"^0.5.8","@apollographql/apollo-upload-server":"^5.0.3","@apollographql/graphql-playground-html":"^1.6.0"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.0.6"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.0.6_1536161652606_0.5272909147671638","host":"s3://npm-registry-packages"}},"2.0.7":{"name":"apollo-server-hapi","version":"2.0.7","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.0.7","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"75fbab7830f51146b9550aa7a99c27583e29dd6d","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.0.7.tgz","fileCount":20,"integrity":"sha512-LI61nuJ03z9RbmQ5/CdEvXNnZkpd5u86VXQURpPskAKHoxLxtjhdisN8ADMm3nb2nm2wDfwhbR21YFtqO8E0qA==","signatures":[{"sig":"MEYCIQCoFQqNU2eVkFHkf+lCsnampjxQKdq1kHwEB8hU223/uwIhALnvtFcruI+HpA4P5WbABN5S/6CfFAvePJdUnWbSrA9U","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":51506,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbm/G8CRA9TVsSAnZWagAACWcP/0wZG2zthg03tbsTP1kl\nWqDmLAkkUFhuQ1pCHmfsIy5wAfwuVy8dnawg1fJUGYxEC4dpN2r36Rwv4HI1\nWL1haOVrsPfXv/QHNo8Tz9NUWCclk6n4lI/WsgX8o1Qxa2fmH0RCbk1cYEO7\nJZaSxuaMeM0MpFRQfQ80tBC5um8hptRTMaOP5m45UXJwm1DW+1JXmqGg2+Pb\nlcRvVRd/WbThYHkke/W2+bI1vlQ+3O2mOb1K447eex3r522oQHqYJ1SgPjM4\nbrmLjf/VdzZnURFp1TMVjvV7XnqFMomu9ZNfPf4k+2iSPR+cTxNnC4uqPt41\nveEft5rXRD2Ob3TybN0njgd+8+EZYRgwf/tRXR+lWQzlAaJgKXMhnVjFjqoI\nN1koAuPCPx8PzkYxCpopdNwG36Ln7S/fIHuHsgvh1wfF8mCHM7lNEhcAtzq7\npqOzHuLHEiQEN+iMZLa121UTbuEIrSxpd3E5+eMeRZEi0B/rLehcHDROD/XY\nSu9ikN8BIAyt3A1Uo/8ldea05eLXHtrdTBsFOJlNzP1FOLnNlgnGCscy2aXs\nCDenP4wXFw0Sx6a7EsgTjrnVNaaXDgVLqxmoSx77nRHnrCBjCxuCijx8q7Vs\naFpskJS3GWQNQYObxemiLcrI9Y0No2d85kB+cM1oBAeHAH6CnNajiWs9pz8k\nhHUT\r\n=zXyW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:apollo-server-hapi-2.0.7.tgz","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"5adae649e3e9018b061fdf35d8fe646b98d38fdd","scripts":{"clean":"rm -rf dist","compile":"tsc","prepare":"npm run clean && npm run compile"},"_npmUser":{"name":"mdg","email":"npm@meteor.com"},"_resolved":"","_integrity":"","deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"6.2.0","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.9.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^3.0.4","apollo-server-core":"2.0.7","graphql-subscriptions":"^0.5.8","@apollographql/apollo-upload-server":"^5.0.3","@apollographql/graphql-playground-html":"^1.6.0"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.0.7"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.0.7_1536946620092_0.797295438318596","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"apollo-server-hapi","version":"2.1.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.1.0","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"d8094c3110f331f204131771859b10a33a99c6b7","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.1.0.tgz","fileCount":20,"integrity":"sha512-lMN6B9bcMwzryxg73BqLSo1n+tvJfIWUJsumMBXP8AFXNZ283OfXAl4JbO8CvQSUIsJvb93qD/TTNPoPQ9l+GA==","signatures":[{"sig":"MEUCIQCMjGLzfo4A/2g/RztGeIr3uIUv9Ckmpc2VumfPkg/P6gIgB8nZBvKJUYAp5hF6U/0r4DFdI4BnIUTWKTLK4pQlPCM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":51508,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJboYcxCRA9TVsSAnZWagAAkkUQAJNI1HYMxNx+NRrLE9xI\n4yeTpNvuoQdYcyB3ekQkruk6c6zIe6z1M5U1G8WhxDErcDe+58rRpkss34oZ\ncdi2GDazx/J7JUHSXm0RHoZ7FG5PpNQyPBvIBIYMd6nIjO1KTwIhCKpYMpPe\n4l9nG9pqX9v3c0FqfVOljNoCWDPhJGhjRKTrWoO1q9dF/VcrYUiRrKDuA4Bh\nKM+W8aI5b+QVgrsIzDbaZFqnEDFMY5YU9Buugi4mbzapoz8hRRtyCrhwkfko\npwu/F/AWKqq044GUcDBe0kCnmjDpLQT4EDUwdzVyH+FHPj8KeaMQnOkDVQVs\n0arhzSiZbsRJKHpbfNm9m9A0o2DELqrIcCv6Eol85cJxmsQBIpu06bsyiqvt\nDpg0pj18Gerl7QS2wFzRZ6Urz0AdP2Jh8BEb8JDd/9lVH5Zx3bRc5D7RKyR6\nhnug8dSLcHHQvSkGtNDhZCIDM/26IkLYwIDwGnSI0f3jp+AYKeOZPDxVyVL/\n3gsEheXkLoQqB2qjK3jOckFQer6fyDqAIn79o1+fMAtofi8VECWPYCmvGvKV\nbwU68pKedJFHAOudAtQBdp3jT9KqOUJW4IMqicpMvAz8f78dkkL5++e7rG4j\nerlZPbgzMTqgFdmLe+tvDMOHz482ghpuQFIwbdgxZh13cUK+uavlccDrHYzg\nQXsq\r\n=/eMh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:apollo-server-hapi-2.1.0.tgz","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"86dd95e223460f8e1768141a8cefa58bcd409b03","scripts":{"clean":"rm -rf dist","compile":"tsc","prepare":"npm run clean && npm run compile"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"6.2.0","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.9.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^3.0.4","apollo-server-core":"^2.1.0","graphql-subscriptions":"^0.5.8","@apollographql/apollo-upload-server":"^5.0.3","@apollographql/graphql-playground-html":"^1.6.0"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.1.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.1.0_1537312561299_0.4074664023099286","host":"s3://npm-registry-packages"}},"2.2.0-register.2195":{"name":"apollo-server-hapi","version":"2.2.0-register.2195","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.2.0-register.2195","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"d01b17e6d60d437e6af095c8cf445c2dce3204a4","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.2.0-register.2195.tgz","fileCount":20,"integrity":"sha512-J2s0PTr0C9ZzmorUt5+Sl5MNZwogof4efEPoKybz094p/RLiyuG+uI1qZsvTaWczCLEedDayZS6a23usOpgfLw==","signatures":[{"sig":"MEUCIQD9k6nh6qS2gxQFBBnSTcGM39mzHrjMReUMdcNXPTZYBQIgZRxMkMUAaiwoKukJti72tKGlJgVIlAh2KvxF3y0z0/U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52690,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbvAlbCRA9TVsSAnZWagAAH+AP/2ot8nL7Ih+C46Ezt5jc\nOlT/3PngLLq4jqq+LYSppVjjjEr3c12QgLgDPtVaGhPgTGlWH5MLmIKZ4xgj\nTIylAlPV8PQ60qpqaLDPj/83aQCMrt+bJ32S5uZ0Wei+izIn6SSIPJHU0ojT\nb6auc0uPP8BQmMAw32tayzXyOSJtIKXzrLPL5V3NXfxor7Ph2RskbiNnD++H\ntQ4Juj/WjOT8M+QtY6YbhTyBRPTge4FUhYJMfX1KrSLg6ZDzL6bDo//rb7Sy\n87oXQ4NZzy7yD98P0/fFBsEJha80V0Y3Mpb6vdVbdBD3Kz8vxIGIaB8Fa78j\n3asCC4RGdJtHE3Jr5+SYgLVvdfKsdD2qpeSTm4/EXnQXbDfZrQLUZ8KxBGk9\nQ5v3+cneMt8/wGbrzzL5K1HkgtSGFivLB5AwzgBpftlXjYD5qhDh2T+ketHG\njdvHreKyfnnlhkmlSed1qK8Dm2O3RF6t9eJHoO/5A922d98KobPXExoK/0iF\n5RIUrtTre7jyrE59dPDN3FUleCPlZoHxWEaxXTdB7qFga6mYsoQNwaL71seM\nKD/01H1W7mcvS+FK2omIrYH1Oy6iT3ApOwSP+DGm2NeO93fm6XYcu1NxloGz\nMtCj/2H1/kydBj4tBDClB/GfdwZNBeu0+Kp8hcvNCyAInK27yFJYFclwSwuu\nHo76\r\n=KA48\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:apollo-server-hapi-2.2.0-register.2195.tgz","types":"dist/index.d.ts","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Coverage Status](https://coveralls.io/repos/github/apollographql/apollo-server/badge.svg?branch=master)](https://coveralls.io/github/apollographql/apollo-server?branch=master) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](https://www.apollographql.com/#slack)\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi@rc\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"e44b5bd3c8b602f549ae52c4cb9d9c7e2488a5c1","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"6.4.1","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.5.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^3.0.4","apollo-server-core":"2.2.0-register.2195+e44b5bd","graphql-subscriptions":"^0.5.8","@apollographql/apollo-upload-server":"^5.0.3","@apollographql/graphql-playground-html":"^1.6.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.2.0-register.2195+e44b5bd"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.2.0-register.2195_1539049818436_0.7494332533163945","host":"s3://npm-registry-packages"}},"2.2.0-alpha.0":{"name":"apollo-server-hapi","version":"2.2.0-alpha.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.2.0-alpha.0","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"720316c7b1dd724783a52de88a118418747e0782","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.2.0-alpha.0.tgz","fileCount":20,"integrity":"sha512-TbBcAixD8imvVHRFNa+8b3kWVT57Z0g9eMbb7YsFMYycRuJU+KvTu32osVjD334AbKJa/DF0iihz2BstgBJbjw==","signatures":[{"sig":"MEUCIQDke7b0jIchS3baHhjOBBGp6JN3z/rdzCdQgq3J23lnEwIgAcoPASSr+suELds5e+D6DM+TytdCI3Ttrle/3Aha1xg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52648,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbvlOoCRA9TVsSAnZWagAAgfYP/1vqvyxxEhEVdaGn3Ykd\nBK+aKAGAoCwIVEakdVDkeyZp85McQyRG0GN7/4TJI9VyhZzm734KotdkgA/w\nZ863r5wHyiW0jr5kM3s/I+cpSUiKHNBnOO6rlZJP5sCEF8NtAN0V9GJejvrl\n8WTWxCXd86wqSuSCbEYC9UVcxtryib1arvYe9ds7miwNzMM9o6pI8kcbnYZd\nxJVamB9CQHBQ43anjo3v17RKNX5Dx/WCTmqowW6W9cQ3CnCTj+zZeteYi5eM\nJYD7QUK+NTRP65wT2uilKuo4GrSyQ8gsZjLwJiz00y4Er9FIBJKpo5vOlp9j\nQNsalo+Z+UcFOR8Dv9s2v3UlRlmoaF3mSWEvKQPkVOOubS05nbtHoWxwE+Zq\nTCGvkQ6mjd1B/LZpgzCsFqek+UaQpU4JJGQfqpIXqFhqI6JWQjJnKcZkPp7E\nih4QnL2R6JK24FYQq9VyBlPTdmTWWzxBirba5o024ypAG7mtPtlxYOUPC9w2\nG1NEeNiK3VeFZvkhXQBJ8qwHsQsBrPz1UNUfZnW3c8PJXVwczmoe5mIwLaYO\ntYypsU3V54bUVCAtc3EEyUQjWLWdnNfxxWYYLUL9A+pd09lcmBTHPGW6bdGF\nTBSv57/68L+W98P+ytNZDZ17+CTsFeKr+adlzvM26WzrvHvy35mVWy33gE99\nH+rC\r\n=0y5Y\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:apollo-server-hapi-2.2.0-alpha.0.tgz","types":"dist/index.d.ts","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Coverage Status](https://coveralls.io/repos/github/apollographql/apollo-server/badge.svg?branch=master)](https://coveralls.io/github/apollographql/apollo-server?branch=master) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](https://www.apollographql.com/#slack)\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi@rc\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"dec2b94a0e309c1c75b3e9f3d7b4011e36a7e48a","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"6.4.1","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.12.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.2.0-alpha.0","graphql-subscriptions":"^1.0.0","@apollographql/apollo-upload-server":"^5.0.3","@apollographql/graphql-playground-html":"^1.6.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.2.0-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.2.0-alpha.0_1539199912277_0.675711585833785","host":"s3://npm-registry-packages"}},"2.2.0-alpha.1":{"name":"apollo-server-hapi","version":"2.2.0-alpha.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.2.0-alpha.1","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"bcc2eb1b1631c3fcd07101136b879d4695c536f0","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.2.0-alpha.1.tgz","fileCount":21,"integrity":"sha512-QQS4sSFxdrSgU6fKiA8QvVSockDGV6YikpuSJQYUjMG5j4Ij88GgcVEZkC4KTwB3fjVKqqvvdX5zOoophKfutw==","signatures":[{"sig":"MEUCIBJZZXL+v9hUBmHeYYlOq6EzPMIUvkDZ24EeP7z8SkOBAiEAznmj/umRse6B/viGkwt/r7Tz4U7i3Mvg6wc6wgB+CzI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53073,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb01z/CRA9TVsSAnZWagAAtE0QAIZ1xYQo2b4EJDivwVNe\nq2ec1SdodKrdw2Gw4wkYE4XLQALIadMcR5n97uonEQQYg50q4k0Joeu4M4VF\n5NpyoTuT2gHXRjQXN7GQQnc2sFBVyJIb65QwCFbd3yiR4hcOCDEAJuO3Ifvb\nNB3ekUMWz+hziHuPq5mOc5Tp6LKX8IAn1o7sNv15TPHjPkbv41+3MPkAD3AS\n/zi32kP1J8Xq+f3tHhaoWOIJeSJTlQfdT/YyU805hcJVsHtaRK4zigjgCPxz\nLPcGYfLpcNya9i2EDCcqKMCBiJYuBDzEXXytrVozhZ9phiLNt9W6RToP30HX\n0kG6YLbTm/KcVcEixQyrMCLbxZcFoOh2d+9bt5SFon0/ofZnfOulknMVJ4Qo\nadjoS4RYgdLPe9mMTr6kE1unGSPTk2ZUQLsBPK3GADh0RbnUcyss9M/zD/B+\ngF2KbjcplHNPUvqQ38mJM0SAwk3v9vEuxj13MWZifZ+7/74pkh8Auel2RylX\nfo4cQU2C2PgZ1s8EFvQ135IMU8y2dNQd98/mHeYbI1gfYy+FxBbnnqxkK8Qq\nuM4uISbfgM9efuFb4owr+6Uo1PpxY2teHrR8d9I4grKSSxeyZyqQcW2Dejtv\nUtDIxWG7d8xROfa2DX2RE9T1sKw4DDdgNeLoZacZ0dsPyhrv5AscGVUu8ldL\nr4ij\r\n=vFia\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:apollo-server-hapi-2.2.0-alpha.1.tgz","types":"dist/index.d.ts","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Coverage Status](https://coveralls.io/repos/github/apollographql/apollo-server/badge.svg?branch=master)](https://coveralls.io/github/apollographql/apollo-server?branch=master) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](https://www.apollographql.com/#slack)\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi@rc\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"5b8388323325c14970601310d7864b86010cbebe","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"6.4.1","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.12.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.2.0-alpha.1","graphql-subscriptions":"^1.0.0","@apollographql/apollo-upload-server":"^5.0.3","@apollographql/graphql-playground-html":"^1.6.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.2.0-alpha.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.2.0-alpha.1_1540578558967_0.8532947111382099","host":"s3://npm-registry-packages"}},"2.2.0-alpha.2":{"name":"apollo-server-hapi","version":"2.2.0-alpha.2","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.2.0-alpha.2","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"b2ba5d38314ba8f10a68fc985cac6bbdbbba9cc6","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.2.0-alpha.2.tgz","fileCount":21,"integrity":"sha512-GH9Opv4li1l4CpIDfPou4gYu5VUFqzxq/PMt3zTrIzq5r6dtiqh5QJNJtis8D+W+SFjOcs2apVlugmTsOtXrGw==","signatures":[{"sig":"MEUCIQC4FaLUuBOspu8HueC/ErwuaSKPNU2k4HwX5EPJB4qltAIgRsV0J2gX5f3ACGkq/60oUpKFJY8zSqI3JHkn5N8+lQw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53027,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4J4kCRA9TVsSAnZWagAA/qgQAI+fUTpY2zAC2/sGK7km\nv+J75/9ne+NecQgJ23pF3rAZdIy0UiUs7D19Ikvc9QVtQ5mhOTJ50EkkBKeB\nsByOsAcJ/70siIc85nrdjjzHV04kAN2pqjJIZnbtbRyG052SBQnQmfnXcmlE\nFHLobrCY7ZObQ+k+KBtrH9ueKaQ8gNw9EauyKSBrKLKCyGz2Qn385/Z6D43I\n6FaO2dMMzboxcboSh+1YiJCmrtclhzfk1YaB29sZ7evRXhpwFcCk0yngGOQT\nwX5rwjLuZt92pGRdKQil4EWZ7e4xQ6mtZgrlL8FzxIPdF8GwQ5tk0X0aviDs\nwqKPMBkhZxZIyU3h6EJ8ULA48YC/lAoWaz8u95WzPpGBp5wuhsRVBIxZ5BC0\ni49rRwzJq1Ox4sFDF1tlvb3V/0x8238G/5CVGzfYbZx+0gv10gZwDiP5upzn\nKwwh28+LhgWgwRUE+3g09FRS0a1zCGvF8DiU26imGWHKk3vR/2rPZBrUTFTq\nTaBZq11DqLROS4YhZcNV+iEbc0z25efmGV9fVPOC7pd2XR8ogoFx3wKHvBb9\nHxgX8uX9nkWDa7hfY0WvXvWVK04mHcBTiggd4Ij+oLqeBP3CmFaxuG0XmUKC\nW2ollEfQuSYsjdJZ5IZj+v608AsnYIo5wvGNTPVeZmheNy4l4JWW42DCDa0C\nMPW0\r\n=8tTS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:apollo-server-hapi-2.2.0-alpha.2.tgz","types":"dist/index.d.ts","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Coverage Status](https://coveralls.io/repos/github/apollographql/apollo-server/badge.svg?branch=master)](https://coveralls.io/github/apollographql/apollo-server?branch=master) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](https://www.apollographql.com/#slack)\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi@rc\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"a6872c2f6ca2db03e9f237510b3fc6802d390785","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"6.4.1","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.12.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.2.0-alpha.2","graphql-subscriptions":"^1.0.0","@apollographql/apollo-upload-server":"^5.0.3","@apollographql/graphql-playground-html":"^1.6.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.2.0-alpha.2"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.2.0-alpha.2_1541447203363_0.14024977993429477","host":"s3://npm-registry-packages"}},"2.2.0-alpha.3":{"name":"apollo-server-hapi","version":"2.2.0-alpha.3","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.2.0-alpha.3","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"4db4480bc9faaf28680948a67ec26506c0ef333d","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.2.0-alpha.3.tgz","fileCount":21,"integrity":"sha512-6PWe9wuc2szb0ZgNxYEj44mNiafD05c9WytARubHHpMEC2wXolwHHS8BZpFQDKlVEYgeisA6vOAjhIW/xi7zOA==","signatures":[{"sig":"MEQCIClXH8Q6SmdfRWQlDLv56nx+cc69PS7ylD3TnsZaDKL7AiAxLOyCLDMe0hR7MwtyWVCINEdyo3etwC/2fZ6FzvaV1A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53027,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4Si3CRA9TVsSAnZWagAAr7cP/AyMpN/7O1Ly7ZUy8yx8\nJM/d5FKoCh0KNf3seX0Hd2bln0AYIvDOKXfmfo3ist0RaO0D+TRLr3RYXDO4\nBKD2XE3RVKfgbn7Av/oV677W8Hf5N1dXrF+BqTyWKqi00ybTxIcfeFOBq7FM\nenI9/LI5F9mkL+7U5WIPVf7AxgdLDoe3SIHNBlwsf+pfKYCyvVx6o8HDAdQj\nZeWstpg7apQbHs6FsocVgCiPRqOCSav1HpBzMF7VGRgPdt6NlRg/smd+jUwU\n+QtNy5MferpRS9AYVSBxvMb+dzcCMDYUeNndFpn2xRM7Vfzzp+tNffTuSYSO\nLlVzAD0wLu5gvRLiARrNKASDfbGg8fEPefDxPc/SLjb2VEGs+VciTBbk+GIS\nmiWaoaGbt3P1SOCckfEIrFxKf+qDdncBZRLgWW5M16tLjMKAyqO1mlSip2cz\nnLeEOqBrU8gNJP78V6F6JxMPwvhIGXToM/d39HZ85kcxI0NbYBkRFqrDv4a1\nDJd7we45o/sugKPv3qJ5VOjL4oNkQ6Ja7r1jxVWkVrHza8vMIqMcFMjibEek\nSjYbuyXpVaU1RawiOcnQLHQ7bn25Zgmf7K1TkTj0l13eakfpfMt4zq+9Wec7\nQ+Nun3ca6NAM0iAPuZHYkx0LEHTYLdjxJ+4DVNC1NEO+Fz3Az7oJ0RlhHXBk\niehy\r\n=Pi/U\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:apollo-server-hapi-2.2.0-alpha.3.tgz","types":"dist/index.d.ts","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Coverage Status](https://coveralls.io/repos/github/apollographql/apollo-server/badge.svg?branch=master)](https://coveralls.io/github/apollographql/apollo-server?branch=master) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](https://www.apollographql.com/#slack)\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi@rc\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"5ca4c07bd5d07e7e753204726983dd7064d18967","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"6.4.1","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.12.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.2.0-alpha.3","graphql-subscriptions":"^1.0.0","@apollographql/apollo-upload-server":"^5.0.3","@apollographql/graphql-playground-html":"^1.6.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.2.0-alpha.3"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.2.0-alpha.3_1541482678556_0.8498709069925869","host":"s3://npm-registry-packages"}},"2.2.0-alpha.4":{"name":"apollo-server-hapi","version":"2.2.0-alpha.4","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.2.0-alpha.4","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"733536b3dea8182308b7e1ba83130f4fbb43be96","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.2.0-alpha.4.tgz","fileCount":21,"integrity":"sha512-yxMv1rb6v3tzhIw8XxUIBSm+Zf5JB3pHN2NU+TJkC8I4B0xNY4H8rm5bJCC8Nm6yrxIlyMduFp7lGUY3Oz3Pfg==","signatures":[{"sig":"MEUCIQD9zsTSYlmN3m7CQZaC1m0qoKkSgTFAFgTwwtZ6oYSAWwIgfIY7BHnIy+UBHdGiucOH8eU42hUuxkuoyIchUt5loSs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53027,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4eysCRA9TVsSAnZWagAA2lAP/A/b5akF8J5Dd2jPyXFV\n3EVJo/+sRKRH6Fay3o7s0R+xI3FC3+RJGhj1liYRjuy2jk40Vj8K+PmBtkHf\n+aP5wbztVvlY76VAYfGPp4iZiYkIXRRm8klkQR4xRBQT2RCTPniAsktHxCDN\nOuDw1ZwWPUaBXmuxxKeEsCYJF9wdPOTZ0GQy9vF4DLpGiO5OUdOpC62RI1Kr\nV6adOask81xA3Xye+guoEz2RhCJcaK6jz4/7qRfBDBwfqwo+LiMLIMyWE2hG\n9qnIqX4WXtYBtBLeEGS0mhT5GqoSwz8lOkl+sUa9ye9lC5kflhRNQw828tFp\n5dWAvyYvzTV1gn0EFFzVtWzda/Em3OPBzRNngzdm/SbyIdtOTomfgxgCKwzm\nJlSkUpmAkJ+wcvChHikyOVYEQkfa7CrY6+D7wgsczmDxzr+Z0u2Mtf98bpAE\nrUHv20Faf3bAsWGYgjvszICsGs96x1Zbc4SfxHyvSw1kx4amPnIPIf5Mm3w1\nC9thBMXTPpQhvm5XsX8aFBG9n1LGur/oHWI/ZUlUo8myR5ry7kJ5tgq/coPF\nbPqCjGek28jH/yeS5DcpPSPlNT1hGTHbcr2nZatmXOnzkqnkhgYtSdsNIgZA\nDrwFBP/3AnUVKcaBxuAHHNHa7aoPB+Y+KRCT908d8DHDrHMCRpAfP+ys5THH\n+HpG\r\n=edGa\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:apollo-server-hapi-2.2.0-alpha.4.tgz","types":"dist/index.d.ts","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Coverage Status](https://coveralls.io/repos/github/apollographql/apollo-server/badge.svg?branch=master)](https://coveralls.io/github/apollographql/apollo-server?branch=master) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](https://www.apollographql.com/#slack)\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi@rc\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"79fe6bf0bf0187c2a754bbb9d165c612bf0912b4","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"6.4.1","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.12.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.2.0-alpha.4","graphql-subscriptions":"^1.0.0","@apollographql/apollo-upload-server":"^5.0.3","@apollographql/graphql-playground-html":"^1.6.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.2.0-alpha.4"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.2.0-alpha.4_1541532843194_0.5302473165114494","host":"s3://npm-registry-packages"}},"2.2.0":{"name":"apollo-server-hapi","version":"2.2.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.2.0","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"0c5cb87bad209874a5f78b5b8e4fd08337c82c59","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.2.0.tgz","fileCount":21,"integrity":"sha512-tU+KatxXdGIYkFIpfiTXRIgiQ+Mf8uNjHCcWWYGvX1jzhY4CoOdndYgFmGCBqjSWoPJ7qVnQArm5GEAYbvreTw==","signatures":[{"sig":"MEUCIQCJhI7sWeLEjMxSyE9WNhmr0BthWV6MroIz29/KBuNJoAIgMQtsWFy38YA5v4C8ZCsOOjSaRrNVhHXMb1yUkw8axYo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53003,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4xBNCRA9TVsSAnZWagAAmJEP/iyu338xA4G+5anbaNzF\n00oK2UeSdACamB/luqIbhGLVr3hf2qeeYJvnAXQLJWpMq/a9v5k95EFZVgbT\n+uMBS2dh+7nptYQlRQ+v51cyu5hPktUMNNBgHaxc4mkKN7q/2HikzfkyK4Gv\nTOUDW5vq13dISxcFs5dFZoXcjnxz5HwG+YqgQiNnmAr0vSOJTc/GegEjRKmW\nesgCZIlM6ZSdSq7QlkkAXQuiCCOkCTd2CmM6eQQOccAXYx9LsSazVdEhDUyF\ntysCtCr7Qq/7Ew5KfAryfFkp0etAiNUwH6j/1vPxHxzTshIeKcm7SPtisd+7\ngOHStDkLOtD8G8vlA0n2kRV0L1YXnRaiy9eUHlLVhWIWsBuJvq3O9zhvSfS0\nFrbf2tfuJmV9Qrzk/nQIDY5loilk5U6w7HEZm5aUzbLBDzs+sCxv1gAR4nw1\n8XWy29whNtJq13WfhE+T1PpLbtXCjsZ25ACca2YgDfW8e0soGvUOrfkwi7f1\nZH+u/KN8nlB8EXElRTbIMEokXRBQj4L0kzMgF1paL6VTKFxJTRc9HDN9/CpI\njq2C4eg6E5YeAC1DUyfL6wk/cfRycQvBnIwzDzdbPElvqbio36VGXkudbmM9\nEsT2Gu5w34rUAV0Kxcn3HPPjCOKzb2AGTlUnyPCB1Fm+Y45D6XghdUl8RFSo\n/8S3\r\n=kDv2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:apollo-server-hapi-2.2.0.tgz","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"6bd73b175ff628a5e9858e2a5da1aa9dab5ed348","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"6.4.1","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.12.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.2.0","graphql-subscriptions":"^1.0.0","@apollographql/apollo-upload-server":"^5.0.3","@apollographql/graphql-playground-html":"^1.6.4"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.2.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.2.0_1541607500304_0.7114423967890153","host":"s3://npm-registry-packages"}},"2.2.1":{"name":"apollo-server-hapi","version":"2.2.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.2.1","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"c3fb3d34955d923d7ad33ddaf941f42a732f9d2e","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.2.1.tgz","fileCount":21,"integrity":"sha512-f/Z61Xicqo7W+aQ+LFvwRJ54CWv40xOJEVpo4DqX6Bvb9zbRCZbZ7Bfw7RPovs8xdiF6kh2QqyasAjv2tM6iVQ==","signatures":[{"sig":"MEUCIGeRRlpttMbe2gDWmxWlSaE01jf2P/kbFh2o48Wnl71EAiEAgGHaZwKN1ghZFxJbp8lpEGRJ3y2EuD8q7ByfrbmHwm4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53003,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb6X+lCRA9TVsSAnZWagAAQx0QAKJgq7YeHvb719Sv24SA\nKHL54Nmoo+2hLNK55/2F0Q88I8/tr3JZXeECHrSQUZj1pb5QyW3I2MMbo7Wq\nhDtNAOWN17iJO5LSpS/6zQQ50N70cGgvyitOi6HMdoXZ0aa8lIrgAR4HdbYH\naiEqwV34gVBKPS8Qt7ZcXDdchUzz45UMSZfdPDyyKT3htEeuyP1qLDOiOd0F\n/kObPtwmqMQ/ECqgtMM564C8YZqGNA2vfaSjmQ3PDuqxa7sPNth0k8rlUpJo\naYZ7a64HpasZsduPUg26fMDePOxsbwSmeDRo2GqCkYK1QPwdoB6sKv1gz5a9\nhN2o6tkHt42sXg9ZbHlxUE7SRsLKg/N9gLbIIK0hdjx9ZWYjNn8/1VaCAYRx\nrqENpOvpvzzqitUlJNEIpC0khq7IX2nVwDrSXBUCsOUSk5LaHW38T+W8CS6A\n1fs/eMdFxN/LIw1tbiDJ4rTGwJiVyIAHx50w0FMwZkTr7Fjqj1BQvQSwqiag\ngbxUOjQpHj+9dR8ekxjTn5usN80FryAANi3yqdYtNRVT/W1CJ6llOVGMn3rs\nBvSVF0EWExT8ctj3lER5sKMu9okA6pYLWkUU/MCKRFrSoNYalw17IWbtqJiP\nRjJuDL9iBI2b/W+lOiDjDMtUshjgJNjuyBaNS2xEkgNrH7dMFaxCpEPVg5i6\naE/D\r\n=ySJr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:apollo-server-hapi-2.2.1.tgz","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"20eb2e9e0353b58c0e445cc8e9b56f3a93d64db2","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"6.4.1","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.12.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.2.1","graphql-subscriptions":"^1.0.0","@apollographql/apollo-upload-server":"^5.0.3","@apollographql/graphql-playground-html":"^1.6.4"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.2.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.2.1_1542029220744_0.13491715197553966","host":"s3://npm-registry-packages"}},"2.2.2":{"name":"apollo-server-hapi","version":"2.2.2","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.2.2","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"4ee2d625c65943aac2cc6e17d2d3a3335ee7660a","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.2.2.tgz","fileCount":21,"integrity":"sha512-WiNFdC9R2EcuIdP3Hn7c5EQk7EOIKuiA6oyw3eLKn/TqFDC0hQIo1VLKrt/u0AgaFiTjCygZA9fAFb/XRTqqVA==","signatures":[{"sig":"MEUCIQCH67vw072Ph6hjAYsyK5/2GBtmuMtQrQhhBmnyTSDVLAIgVqcf+9ECfkN2Wxkq7axVRPQLaS+IqGo63d/+w+kYI/s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53003,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb6tjECRA9TVsSAnZWagAA/hQP/1x2AAep+sDeVbcnneFD\nNEdqrrcDOBMlI6g6apPCE9gZV4qbvm8l+745AHsFENHInvf7k9rHLhCp162+\nVz+niJPOmM1DSW3xMLZ3yLg4lp/DQb0nVpqiRl7KCmsMh0+trl1Eo+acsBJg\nsO9yEtgVBtdGP1pMpWpOK69G83CUyrxka/BCY3Ee3hEohg54gyLjnaOPBmm5\nsawwjr7ZUMSGBdko4yC2rhBPZBxW/BjArQxToytJTXhGQgDjFj5jqBxyjTAd\ngg45tALuZqFZL3Wg++hkjJcfRvHiGSwFXXfswnkb4QR//Ec2PIJnp2pUUIum\nOzOymbq9csV4pYAmCb1LhW78NU8Xj1tAzcAiSLlD4cQ+Zx4DHObZkWRu4rtB\nGkKLoN+UBR6E3ymDRiPtvghQV6qTg3Q4fFiiNbo2iw2FWSAQD93Uebesj60d\n0NPZWOxcj5foK7Y/h2Wyj7R1pGGg/TmB4NVXBZgjYkYDgyFyIlgi995oSOQY\nCHxnxTH0yKLBFfS0WHzMH/pEepnwDEnZ9NQmxRomL15dscQaCdlrScVqwFo4\netDRGm+VqmbpaQgn6PuYnIMUinUdAwh7InMyZ6dR+N4ERC++3n6EMz9/gY8M\nzVO12rhkhVmQMTOC5zh9FSmvwHd5kD7Zs2A3+rls9HsJ1pFCVOvbCpB7TbMg\nm5Ys\r\n=/J5K\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:apollo-server-hapi-2.2.2.tgz","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"47676e0cd965515554e171ea7d2a99573125ae58","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"6.4.1","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.12.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.2.2","graphql-subscriptions":"^1.0.0","@apollographql/apollo-upload-server":"^5.0.3","@apollographql/graphql-playground-html":"^1.6.4"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.2.2"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.2.2_1542117572172_0.47464068692857886","host":"s3://npm-registry-packages"}},"2.2.3":{"name":"apollo-server-hapi","version":"2.2.3","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.2.3","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"52585ba490dcf1d8b9c5f099873adb241f770bd0","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.2.3.tgz","fileCount":21,"integrity":"sha512-cKG+2Q66ts0lPdickgMhtqJdX0kkHljW5sfsbm+XeqGJYgLkCn6mZJp+me2+/bGHyZpqKpFjni50WracidsPsw==","signatures":[{"sig":"MEUCIQCOmjF48+ywSQOv/B7y4tLQj6HtZOf5oPuu5asn1Gq4/wIgIej8F1eJxWuBtixdJkyL0SQNMWBLb8QIuHbfnFTLXO0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53003,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb/EJ5CRA9TVsSAnZWagAAe4YP/3hjyt2dbHaZ9t6hnbuA\nv1ClTPTGPXSv/KUrFOFGqctdHW8G3lw32t2UZ1m++HINGR1lhm4ezdS6YBTr\nSnbxflNr+hyTg5BEpbDqVVeZXui27jGqHUPsaosLvgi0VcuHBR/mAcyGpf/t\nDahm1Q+eaEIV0QZVxIBxs2AAglRkmfEdI8qV++GggWqOePQWaqvU0LW07ycc\nX14hz4qE0zHVu4j1tGBR3mDTyq/OYbo4anYgghVEwCq+QzLe/kKBUvXcx1Ci\nT6emaWM27BoAwLN2LzxFKjPdhP9snLdtCqNrPPRWsIhCVT8wbQ2EnysZ7TPM\nlsnKpYKHZq+QOExX9YVjjBR6xiHpoMB2eOnJ1LPk//iWbezMlw9u0IjvT3bI\nLCxVC2KJ14a8WUaPZf6zV/ngfo2Y7m7UR9F3qiyWwdYwhJ8rBkhMeyxbeW1M\nQwflToMSlYowZ4TYb/7bQuo8V/3ZzqN7uiMe2deGf8pUMZTWP4nL0+rEOI3a\nSGvw2bbMxblx9NgSP4WEnW86mZqaM4ThNSj13Lvg8s8lXg34CyCxAvLP6+mh\nIwTU4EdmKkmRLxZEd/LI2lPnTldUdxiodRg5XyhX7zDiyyDpUdFLoJkZ4+o5\ngCo80SdSnEO/kwfvrKIFlu0gaNu6Qw1U6iObNCumrMuBr7juIAq4LW6Hf91/\n6Rg0\r\n=p2dC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:apollo-server-hapi-2.2.3.tgz","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"1f3801c94967941f539e4bf925c92134b56478e7","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"6.4.1","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.12.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.2.3","graphql-subscriptions":"^1.0.0","@apollographql/apollo-upload-server":"^5.0.3","@apollographql/graphql-playground-html":"^1.6.4"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.2.3"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.2.3_1543258744998_0.2475532954320263","host":"s3://npm-registry-packages"}},"2.2.4":{"name":"apollo-server-hapi","version":"2.2.4","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.2.4","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"57c09c2d4e024ba56ce5a439ebe6e25d1b8d8ec8","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.2.4.tgz","fileCount":21,"integrity":"sha512-Z8q/4CD5tWko/DnFd0wal68M6XaLoBxRKxQHxmZ67s73HKf01Wc5IYiVfdIsBGVzAgHpEXDBlN+1fgwgJxgi4Q==","signatures":[{"sig":"MEUCIB01TzL5EUTDswk5O24bl1dWTSKHo6tonBEBsQTLN+qLAiEArQpqTJjZuIvgJXgyPnO30ejikAchNS061KbraAla4k0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53003,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb/p11CRA9TVsSAnZWagAA0EEP/iKh+ZsRNjjoc0h1YHoW\ndE1Hai4f7L6WZc+YInJKO0m1WEtanXSWRxhs+xrShvu33izg5/OGe3mgoYbZ\nKCdBOO6FeNYqbRJrqbJTQNvVMsK8cJdlWRDG1mh3B/tJCWbNfHM8nGIXFn0O\nAdo6UXHRNZWM0XAikutfYIGUWcxR+frwxpGFiq/nFYH9C1+zWevBpJjl8w6c\nTy7xV6vkw9U/R8OQc9x0jsku0Xf3uQ+/+a8zJ9FPaTgyrISVziv2PR0oN0Ka\nPbstpvmXrIxN/VrV53vmQ90fQVCyqld5NzGiOJKWJDSV+VZ/Fhc0Snc7ASgq\nhVBAEk4qfvSStq4va5z/1dgJM5zugymVIyJ2agHm51VVDkzoBt2W3ypaR1CU\nQtTEnPbmJbXHV1pLL3sflT29Uy+HA3AIsR3Ti7X6E2NoTr/BpqYRvVkM0akW\nI71mJGmfFYT/kLYMHVJ0i/H9EQEI/XyZGaVO3Fjwt/Q7ccQ6Br35Ywh9j8nJ\nZw2xH6v+d/KFOWTE/vfqe/AjvnTLCZD7ZBqhWz8MgNpvd7cchJfrZYsLLIRq\n2PyUoftFktiE0YtBHFxsK6FhtXKq6QsFr4XDqdUXa6GuR0ikR2FbjXl77six\n2KjBFShNlLAagE8Iv6hNkKmlr78Oz9Vku2z+a5shLMsbTOSYaNuQCP5iALcw\nry41\r\n=lx9I\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:apollo-server-hapi-2.2.4.tgz","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"ee44bdb71642f3b07b6816a51b3256074209f354","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"6.4.1","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.12.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.2.4","graphql-subscriptions":"^1.0.0","@apollographql/apollo-upload-server":"^5.0.3","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.2.4"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.2.4_1543413108971_0.42144829141127715","host":"s3://npm-registry-packages"}},"2.2.5":{"name":"apollo-server-hapi","version":"2.2.5","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.2.5","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"036fd03f5e88a0da8663b2ec1ac5460ac66ed614","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.2.5.tgz","fileCount":21,"integrity":"sha512-KyxJxrBkRR0q2DgYZiort/9KlWj8Q2HINoy+YEqaKyTGYBjDtXsnpD8wEYlXyEowADzVj2cNetsCGfALcpKqFA==","signatures":[{"sig":"MEUCIH3j/astXGQjhetv20EHPpJVyb76MJdFNxZ6ERAKlp/9AiEA4hI6D8VyGjwpkSXvhcrD/6PMACtf5Q+uA55IHJLUt3E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53003,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb/9F9CRA9TVsSAnZWagAA2JEP/1OOE6Pd7HTqwD8mflwB\nBINoq7rcENL1JgljgkWeehlOq3+rhh7L93JvzFQKbfVo3eF6jqNrrTqKOYIA\naTNhJuqnHD7wpD/ANF2ZFLeifAHkF9mN01Bn9XXuqV1vhg0Y4ThnpYCOKtBa\nzQUrY240bvALRzU08cO2L7CqyFqEM79c+M0ROqqjREFjv5HHQSfACPNrhQVj\nKd9omUJm37ikgu3Hjrys38I+aPNoM8UF7nMWirAxcAy5e0jJKDJrRTWd+2da\nLszqwCp7fzf9AVhThw1LUiyP4agczIFPlxXf/UkQXYTa/QUdtTEN56B/6SXM\ntgyqnROBu2s4AGoPSyD29vHQv5XLL3Q/Jq1I12MAtNpwOXH4gpYFZjfO84Zz\nGbFlGjxeSBX0jnKjNN9eZ0puHcr2pzoIuACNntxSmoIVy64hrD3sZxUC1Gfd\nwj/tzuUKtJ12wkVcj0hlw0GDdx0CuFV8yy5O+WlZRGLp3UXynJrgKT0Y9dfi\n6Witli5dVHqd7pT4ywF+x6aVI8qgps8O3Mw25iaMD/FRUrVbNZ6TbJ4GigZ4\nkS0+q5A0KV88jVb6hY0OtvTR9fgBabTGebgqJrTi0g5NdTND3nkkz0ZUeuAB\nR1I/+R5RVYnp+lXGB6v2ij6Sn9bwj1DOuihE/iy90hywAGqy1WCuOckOzRlo\nIMDy\r\n=TWSf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:apollo-server-hapi-2.2.5.tgz","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"85e9094f6ce531aa25a42dad93c98ab37ef6e9f8","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"6.4.1","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.12.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.2.5","graphql-subscriptions":"^1.0.0","@apollographql/apollo-upload-server":"^5.0.3","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.2.5"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.2.5_1543491964884_0.5847001998469865","host":"s3://npm-registry-packages"}},"2.2.6":{"name":"apollo-server-hapi","version":"2.2.6","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.2.6","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"fc2df17d576f52595850ee256020fc31c1bdf3b4","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.2.6.tgz","fileCount":21,"integrity":"sha512-zFvJOG9C4tkkjiiDw+5nj55T1nxVIWc3lBjxD7j8cGoF8SoVcyC0D7PoFhpJzdGiBZUZaS9YdheIuAPcbhF1Vw==","signatures":[{"sig":"MEQCIFt1HRBPc3RhEwSbSofzTIZYL9nLCAiEK3mdb2gisFowAiAOImpESfQGt6/ua8mAYYd6yTy15wTpUkVTF1fiPIrZ6w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53003,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcBmaXCRA9TVsSAnZWagAASYYP/3Arks65DQMH+7ab69HS\nomTFi0XO35BtZFZ1xEwFZRWMyjjDp8Ds3OObGTTt9g/nEpdrla98mT5nmZ7u\nDpLZM7AW9z9YMF7vQQGZ0i6VwIwNiIZE1Vl8U2dBYlpMdTycC85cBTCUk4E4\nOfTU4TZQ6AVmf4z6vzpaCFYF/eQJVPWaUDYkm6hsUQkwtX3pbd1FWNRiHPAt\nzX2+hpTUcVMlM5JmYDh0M9rXnyDElLIYsm45mSDwVzWr5z+ArGjRoeTxvpQm\ngORxsVOiuSBe8Gy/d9ztLf6EXSy1IOpy8UOUcWcp8+Qog51RfdHa5azFvIog\nmE0P77qcQGhB0Mee1pcUHZy82esJ6Ck4lDU/aadBgPebc6SJVfD262mb0p0A\n4iVf5pCj3Zm0oDgU6p5X98r3qycJ2ugzS7gMV0SVyWpYOEAuu23H15bBSIAg\n2wHX6fjGi1ExOpq9KPz6T3sDi56txnddDt2rcSqz6OxeG21NCkXw64+j+LcS\nrIAVjw0pA10h0zv+f0C4OT7OMkrirqtt3lrIOCP+6Gt7/TySUHslcsA57T3W\nCcFo2jIm5f81lgMPD1dr1n34sS4u1dDyfzIOoCWMKPaJSDOppT3mxDzk9igX\nVI4fsc3ZfcQMma49syWvxFAXMip7kyPv1VJQSx6fAXVy2R512MWTrzIOF9kx\nd35z\r\n=+dw9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:apollo-server-hapi-2.2.6.tgz","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"1e5cdc63975132004390a2138fd01e85b6f8ae32","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"6.4.1","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.12.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.2.6","graphql-subscriptions":"^1.0.0","@apollographql/apollo-upload-server":"^5.0.3","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.2.6"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.2.6_1543923350913_0.0857752151775919","host":"s3://npm-registry-packages"}},"2.2.7-alpha.0":{"name":"apollo-server-hapi","version":"2.2.7-alpha.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.2.7-alpha.0","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"3a33e98867d83afab6adafa88957cca964fdfd07","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.2.7-alpha.0.tgz","fileCount":21,"integrity":"sha512-ihVMuhXZgQw1ehuRFKw5Jwbe3mquXDil+9m2GBSae0izKGK2V15W+WaWjo0Hx03AHGLehHnw6odr+NZFSP2oiw==","signatures":[{"sig":"MEUCIQD6OKjVYuQvD5UWXNdqy1SfwJRxvSzQkWA0mMPk6ziuNQIgFtQGnorQuvRPhh8gO0AO9q5IjVcEigbRSWQ814bpahU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53027,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcBmisCRA9TVsSAnZWagAApX0P/Aui6GVB4Rr4n2JZr15h\nP6iZx+I9s0L2wqPXQnzCr6gWuNb7JdgcLakLPwzcRxlqSmIDG/pUJ20XddrL\n8QzO2DeUCvC0PHopnpOD+AAfKepUMhC5TdoDS1P0tal2pj7PtQEQ+zaaF4Se\n1VOmcOSphapWlrjU3gTCjfanz4MOeRG/Q7EC1VJV2HN9NsuQkbGRJVku8Npk\n/RSsECA6PHeRxDSobYij2WduAnvY4P74muZAK8Vzi8rzV0L9uNqsqyuLyFCF\n2QWmZRFFOPTAX1YypWxS+sPreFruH4W2bvbyl29aJZ2ycQDM9aUdnAu5gmF2\n2aHwR22hLmUdHS0riQtBqUApmbv67o1TxSDOYf/XolGxBDRVHKmgdV5Lgs9L\nJ4pTywEZG9S85FDQ5/rA4V/rz3v9+300MGSeLbOioN0IZgl7ad5SH/O+G9jQ\nzMszBgoqvjf0u8yyhJNqj9vkcyw2mfwTLzErgM4qhjYZnsz0BAlB/DCWgjKa\niJ8/XGg5vdplfZnWZkkGu32r/s8jvYYL1G7z60lA7TP1Pchd7gqhI4PEZ0+9\nWJDhNKbatZX6PwS4lWdhcrJyZjNMarRFunerot6hLqW5CDff0oI5oAWXaUtR\ntUBsTMVMXpVFBxEozv/i/3WHMx+dgcLs6+A0zmwRe52jEiUa4aFX2rErv4gy\n11wm\r\n=LtnI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:apollo-server-hapi-2.2.7-alpha.0.tgz","types":"dist/index.d.ts","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Coverage Status](https://coveralls.io/repos/github/apollographql/apollo-server/badge.svg?branch=master)](https://coveralls.io/github/apollographql/apollo-server?branch=master) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](https://www.apollographql.com/#slack)\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi@rc\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"ccf0aa54769d368399fe643efc2f529e20fda4a5","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"6.4.1","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.12.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.2.7-alpha.0","graphql-subscriptions":"^1.0.0","@apollographql/apollo-upload-server":"^5.0.3","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.2.7-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.2.7-alpha.0_1543923883968_0.283039639633089","host":"s3://npm-registry-packages"}},"2.3.0-alpha.0":{"name":"apollo-server-hapi","version":"2.3.0-alpha.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.3.0-alpha.0","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"76a5964918854d48463700680bdf72886841b062","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.3.0-alpha.0.tgz","fileCount":21,"integrity":"sha512-wPQyAGJIblSQbEmFZgIPgFD8EMjUqsUZnWMyKNu+DaMjaxE7Jf/1vz8VEr0kFE2e9OcMQOnKiUJSo5LaL8KTtg==","signatures":[{"sig":"MEYCIQCBCRRUNAGHIfDtGIJC+wRTOcrXiUglKHwZV52edkdMbQIhAK02K1JeFvYavqwrTMZAK/eEju6Ht9vLN0fwQ8a3Fo9m","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53187,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcBtHMCRA9TVsSAnZWagAAiMsP/RLlvCI6BIVNRS61+iZc\nrGwdPi6OqNJD6+Ue+YxhjePXJl/EGYcm3cM/XDGTGRHjWJqH/ooEEyNRrONQ\ndFqJel/hmO91/1r7rQ8lWzt7M+P/i7wXJeH64+39pKuOk83OEgrd73S5UwP/\nBxyfXa+XN837KJHcT074gJTk8pDyytEyMqYfYU+EcGUryDj7nNufds1yFV1m\nhj+77M0wuJ+fjpHQG5SkDLv0B+Qrv8l3979rHzgmCewf1cSpzSmZGxVsYPrM\no9/aMIFt+mbJa5d0uL+hEBLDi2yIaVcEi1s3y2CLJJuBdBg+DILQK9xaq1Hu\njNnGGXRRVtcErVgPHE0ufGjE+8krIPxN8964nOgtUgzezPm3+VqacVHbqfsU\n1sdtvXuqvR8/xNDwnUFFEpwCA0eegUWk4cGJ4pC1yDQpoqckwkqcO3Ox6zXW\nql9SNFfHCgqmGUtbOGKg6yp9n8AlyPqK4KjXgxgJrpn6cxYP4gBRvYIW6uUU\n2rLCCDjA/bL5mbS9PNFQ95q85Ww4LQ5S0o07zFm0mWp9jDZxj7137RtlgKqe\nNybvzPRSaeRe/rqE5yCSx6zjhEJpofAc/Kx5RkC3bOwaoHloAwR3hdJ9ykJL\nE6b5iqpULOxAjPtb0dQF1wMJ8VBwHMxmBkrZ0sVAsf1rzPJC8ep9BjL7zLr1\n6gRR\r\n=AdVk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:apollo-server-hapi-2.3.0-alpha.0.tgz","types":"dist/index.d.ts","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Coverage Status](https://coveralls.io/repos/github/apollographql/apollo-server/badge.svg?branch=master)](https://coveralls.io/github/apollographql/apollo-server?branch=master) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](https://www.apollographql.com/#slack)\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi@rc\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"ef31818629b673e3e68563f773a1113e9e9ca750","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"6.4.1","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.12.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.3.0-alpha.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.3.0-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.3.0-alpha.0_1543950795927_0.5401146732971109","host":"s3://npm-registry-packages"}},"2.2.7":{"name":"apollo-server-hapi","version":"2.2.7","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.2.7","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"ee7fa2aefb71fcc1d80dff79463c54e50baf2a3a","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.2.7.tgz","fileCount":21,"integrity":"sha512-mf2ojzHzG1JDYNQaFQttlz54H3ESMcgHUbjPRCkq6gk9kIL8jzsjyQFE9cWgJoCMb6KWCj5HvumID6ChSOMs+w==","signatures":[{"sig":"MEQCIFiOGdcIYTUvdZmrqLM4brwC5Y6mh+L/ZAhNsT+iw7VaAiBECJqiQ4ay2WVgvHxPKcsSqd0+0Mj7dQGOMbAZQFxnWQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53003,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcEliECRA9TVsSAnZWagAA4Y4P+waWc/f6erHVLEj2NIEl\nNRjRbAZW67BfZiZPfKn/d9E7l/TlTBW1cTWzHWlmkg4nLeICgI+hn9zFI01l\njQDvdmDqf9UnJeIPOrb0ibAEvkAOZEJAqMgpWP8VxHKD6sNbsPU7XkAENMHU\nKbGk+jiZCk6OsEHzkPGXdSWRklOTxfQcGg+2cJGURdBO5YVMUj7/D11xqrSO\n0SZVSkgX5WCV7eDFHKK+vJpDfpn0Lk7SVSo7oZW/7CcyT2nL+vNh7EjZ7fPw\n9J2ZDaWVxwyw3e/WhmGK37LA1gb9u3dUpnUwnsH+9Ft2VROGmX5E2KWsd+uP\nHK0ja5Q/jby3t7WSAKZUgD4JfIzEW2I8X/g+drgOOFzc26qqq/4KxbJI2a/7\nMQN6uUWgizdKusya2SIBUMx7ZCUnhXJjwfisD5f06iFo7w2J9pd0CQWWfZBf\nRv/RMFfgb2x7VO8egfm8MtwWe6RjEzUGrkQENgl4e0o4ipVOHw9NoP2CA+c/\nhKZxmA1KrCME8ddT6BTItgLx26GyMfYSUPTxhXazutangmEiFMX66Qawh+Xl\ntZswgRSBZPqgHtM+7h5NjcSvWER4142bAWgbTYl+kREQvT11XlPp4lUiE/5e\nBj78jTCB/rWFn/4wrkeECNR/U+u3adUgWBwT5bE/IX6+U0Q2HyxYe+4KM9sN\nrK/U\r\n=8cQC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:apollo-server-hapi-2.2.7.tgz","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"d7e7834633ea9f703473aa432247a3523c86c597","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"6.4.1","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.12.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.2.7","graphql-subscriptions":"^1.0.0","@apollographql/apollo-upload-server":"^5.0.3","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.2.7"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.2.7_1544706179573_0.8104428827396584","host":"s3://npm-registry-packages"}},"2.3.0":{"name":"apollo-server-hapi","version":"2.3.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.3.0","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"ace704e1d6f390a8d7c492ada14eaca0da6c7085","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.3.0.tgz","fileCount":21,"integrity":"sha512-hq6nXlmWkk0Rexp6rx3AQXarT40fyIQ5V2cicpj0HeXlngziw8nh5E2+JWuShqSdzoM5RhKxVUJ/UJ7HZWL3nw==","signatures":[{"sig":"MEUCIGjiOdDNcHD8Q7/6Y1nZif3xqwJJBVZW8rrkbU4aOlBmAiEA95Hr5dQJyFIKrqO7+elHaxoZltzdvPCJ1lfvf9SsvFI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53163,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcEl76CRA9TVsSAnZWagAA3tkQAJI1urBrmxZhx39mXwHi\nE9EsoV1fd3/Ip6eetpx99OKhfdT8brd8c6vls+S8l04wkhnbLCoHzcRJ5gV8\nsSjs3YYuFZG5R9+lIezzm6P2b+vv9AqhQo0jmLBu2np82Ssax8LoTyAuDTW8\nxMMbob2wRlwanJpmvxlv93AY+y9idRrivnOn7w4RfY8lZ7z5G9NqfX8a80l/\nybozSXLC4biQEkY6FC2B+jDQ6yUpsnzk7HJKgmbckEuCVZ4aXm5plgm7twHE\nZUVGOysT/aM9F5G8fCQuGeI+H9cP5RKgo0Js6M5p16elMf/hWWM9v+P3nTXU\nFgiO5zLd/hQg7SN2FJ/13NIsWoE6uRSMrI2hi3YfWAtepwVb2CWq7p/Cozfd\n8rF1Fd/24X4XoB1CaqeSHYPnFW3B2hPmxVh2JdC7cTGCfDoTJd2diWyAICsF\nHeoBwkQZBjkhn8HU4y4nAexderuaexo6IyuXlRV1AX7ls/zdmN6omIeBx+uc\nYu4q9EFr6YIJjd0SLr5rx/C8UXTfO1GXE9jK9uR7bvceCZCIk4R6JaV9yofp\nOYE2RfOEmdiuJ0B3rNnuHHMMcqQxoKKUAOHxxJgbwBJ3vH0fss2Qid4Ind48\nEzN9OnHMbT13uZXfxYIN7zzvBtT8LMzXLelr0L8faCxoJXEihMNWRCG6p4Zr\n1sgo\r\n=hJqB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:apollo-server-hapi-2.3.0.tgz","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"3545c32e2a93ba3de03cbf2751db8e055835a392","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"6.4.1","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.12.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.3.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.3.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.3.0_1544707833028_0.7212453293152525","host":"s3://npm-registry-packages"}},"2.3.1":{"name":"apollo-server-hapi","version":"2.3.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.3.1","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"f0614884a06c5fecd436b16e7472ae31063cf399","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.3.1.tgz","fileCount":21,"integrity":"sha512-FGkKrm27L2l4DyNX2FLaedsZeK2u2WE8IS66FTI00HdOXeTeq0W4z2pq1H2+kDMQmcxuALHVv3J4VbExIYCa2A==","signatures":[{"sig":"MEQCIDAVjqd1p4brqdrW1XHjGFcjoEYKn6BtmVJsf3inWqTGAiB9vQPpFRxh8T2l3d5FXvqU6c3TQnF2sHOIizxk7Op3fQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53163,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcEq4RCRA9TVsSAnZWagAA5FoP/3vZgSax1fYeW0jIhCkA\nd6jrFIJjjrCYcyCFH8N75ppx2hzvWMfPQYpQavMDDSaRmSYWc526y1+SkF4U\nfrevr0Fhn1tmIjxSdnJDYiAFq4w0n5JwuG4l3K1g3RnN55LA0AM3u6S8XZA9\nyAa6ycu6XRpILoob7Nu9dlJA9rwjIx7ECXr3VZi0VHm93H5iSVhc5IUOYEZB\njGO1wQamx7oJsXpuZb67VZJV3dOlDevUBQLjBk5NrcbHMCW9aXN8U6vaCnW5\nwQmBn8n7BwuyyqhcE6qd/A/N6MYXnfutO0GgZFbfiwNGLtqG2D2V0B+ODG2L\nlwBNnbnjhxAjvbz/UZtIH4JJdMdv4QI+WElaAF8yqx8S4FezxAwFRz6kbFdm\nr/lEbqvnXm70/v2NnrIDMvKgTwlJCveXb0qf6Rn17R8xBZAe4jWZa21TBgeG\nbG7dxEhEABv93TuEYSrSIpkOtvn7uV40fEVE8lCuQgP3LFnP2qmvfUcxLkU2\ncLIP1/MUu2wGibVRnM0RIPRlr8xDDEMEAiqDc3Wb2JHBjINN4rhqU9numMzm\nMD7oswsOrVarwZiA5T71d6my1+R4B+K89ytacJtaIiBNtv7ZK0zUR0RYNqGL\n3YVyqeNEcvoI+POl6mClEO1fVAMdcvZqEJTfgqALiKVIim3amufAOEjcAQSU\nAxcc\r\n=63+7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:apollo-server-hapi-2.3.1.tgz","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"cf95cf7881c12b150c632a5e020a1ff81127da59","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"6.4.1","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.12.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.3.1","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.3.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.3.1_1544728080425_0.512512158747157","host":"s3://npm-registry-packages"}},"2.4.0-alpha.0":{"name":"apollo-server-hapi","version":"2.4.0-alpha.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.4.0-alpha.0","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"0c47feee640edd8c64f1b911bc05924b8eab6452","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.4.0-alpha.0.tgz","fileCount":21,"integrity":"sha512-PmvVK09OR+RxaoGRmfyt8Gi4Z1KshUrIE7kP8XoxHjHbpZ7zvrSUUw8CcoyXCV/xJRN8t2SLfq5boiAxpCjmWw==","signatures":[{"sig":"MEUCIHs/On/Qh99ScjGWEzK6Z8kz2rzWoc0zeGIWnperld/iAiEA9oJ+kiQT8Sl0DcHW9JJRbB2zk60yU+FeA/ss/v1ipA8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53187,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcGQ7gCRA9TVsSAnZWagAAmMwQAINAqGlcjgifhAB9Ep73\n/JEt/ZL0ahFj/C7+YJfHKqAuCdW8yej9Ya9yOphyVWQpazhPFeuVzA1If3sy\nVSZOKv3cVelL062rLfT9eGHJQRfAP5un+oDS6p/tyiDfI8904dj+8omsDN+r\ns8k8ZLJJVvAtxNBIY2/ykx1GS9xnDcrvwQkbwDhBxWy2t6U1mPu5Z8hCKA0/\nQWt7LkJYgUqNDhT7+dkRL/Qmqb05IGkhuHq5u7ZePGq13GGdKpt/nixzjHLS\n4WDUxuJT1TSjpFOfY6V4qqPooJG5XRZqM3mjmmeKAZArqADgPnNGWegHUSoS\nyOcPp/OzAuWu3BxIn2wxD7yW11R4Ce5a0jvbcF7ImaogzdLCoba5S4PdOnYJ\naCa1ZV+j0lGpEy92PoAWXT+3DRreOK5twB8IOp02X+xYgPzUnCvnlTKsfZVx\nRA6RkTOj3aW9ZbLkNGAvC9TwuwqIxGVro/GsGpb3B0TNFPcdaQG8nvfV97T9\nXS7KjDL7w2KkJAIn+sjS6MHP42QCBKg2gWNPVTebsyhJAx9eE280TJiyokRS\nlgrCsqoc8SBKiJ4r6C1l77jj0gZTyX/lTHPKgTueT+llgJ/d0hnooMVUoYzb\nqEA4w/tHoa2PCNl25ljCb8xF5Sl5hT/H/i7hJMicWT3od5Hv5qaaeIZuaabF\noGzD\r\n=ucNj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:apollo-server-hapi-2.4.0-alpha.0.tgz","types":"dist/index.d.ts","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Coverage Status](https://coveralls.io/repos/github/apollographql/apollo-server/badge.svg?branch=master)](https://coveralls.io/github/apollographql/apollo-server?branch=master) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](https://www.apollographql.com/#slack)\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi@rc\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"7697623789a0c07cc65b496657d3e85bd96e1408","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"6.4.1","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.12.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.4.0-alpha.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.4.0-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.4.0-alpha.0_1545146079928_0.055765393605937685","host":"s3://npm-registry-packages"}},"2.4.0-alpha.1":{"name":"apollo-server-hapi","version":"2.4.0-alpha.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.4.0-alpha.1","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"31c6061f090c08627cf0ea6e581f1a59b98d4aea","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.4.0-alpha.1.tgz","fileCount":21,"integrity":"sha512-lJkeRhqjOocO5e0E0i1ugGkUvY6M0zKCoOI8g/EGWWvONFvcvMi9t1Nhx9kvxyTcicT2Ev3a3jAwfjiTdwKn7g==","signatures":[{"sig":"MEYCIQD/hxuM5o0PoCBFd7Hima4ykK4v5DwKxsqmUlHoi0YwBQIhAPJKe6AkAOgymQfD/sQN3JWnWrwInuFAmGGx6DmAul08","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53187,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcPxGCCRA9TVsSAnZWagAAYNkP/i7VFvBOTVCHjQCxhs43\nsrtG4F6N4nt4Nk2ziBJ//3Bj6PfeNyBdzqThSPl2XSDGPQGdcqJDDV4tviUG\nnoF4hF8IAEo2mWKTh18AVYwxlD3EJiiZIRqzf5+iE9ZMYAojq1PpA1jrax6v\nqBKiEXBPUZ0DBSSjYOasF724kn+Vi3e0ePjlohfBNzXJZIaQEuwwHm3MuqE3\nk03NQs3z/mQZj5fv3+mYPutXJPHIaZ4N9Hl34yUi/gAKS9ZMPG9pgqYW7Ecz\n1D5fYd4mpUk0ZrNVx832ooxASxs3YDbr1Ut7xxshTTx87wHf/8JPiFesXFji\ndNWiwPwwBaQa8lIazr+hbQ/zynZ+IV1FAX7IVavZfkA9Lgc95c8OwLMW1bkW\n/9Azv6ngcgYNWc/oPW5IWXnsvGWw+Ywd/CQeSUMRldDpdSBfMw1S8AYWcIvZ\nZNOs7NUr/a3TLXwkPKroUxFu0O+6bgDyrYjbp+WCTCEU+oVSsa8JnU7tfUUd\nDPviGQcDfXRQk04jDZXx6LaggKeqHC9a3OqqS+TKiD3b21MKEXuO3EVewqls\nVXop95scGhD1p8wZdk3pwCgxaZ+UGiyg304GSMUJj+T9dkuiRHl29+FfEnOr\nby5LSSlmPRoMUKpz3Ju0/olEKl5d1DYGG/btwgICA5wfc2jb4p/iuvlpbir8\n9yBr\r\n=++2/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Coverage Status](https://coveralls.io/repos/github/apollographql/apollo-server/badge.svg?branch=master)](https://coveralls.io/github/apollographql/apollo-server?branch=master) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](https://www.apollographql.com/#slack)\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi@rc\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"33d1f828141826f4d874aa783fa302e381101ab5","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.10.5/node@v8.12.0+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.12.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.4.0-alpha.1","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.4.0-alpha.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.4.0-alpha.1_1547637121508_0.3692952752295444","host":"s3://npm-registry-packages"}},"2.4.0-alpha.2":{"name":"apollo-server-hapi","version":"2.4.0-alpha.2","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.4.0-alpha.2","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"2b01a13cf57bad5b32ff18f64144e6dfc3f0d66d","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.4.0-alpha.2.tgz","fileCount":21,"integrity":"sha512-czi3Snc1cF8CJNxKlE2T0BqXfqVPYr35RWkZpN8Ra0aonjWyT7MHf0CQMAPZrFNCykMsbY5M7vuiHqEOkHRbMQ==","signatures":[{"sig":"MEUCIQDWG/8EID5iCQqBeM2ZFnNP8TW6eNA/95ClPz0V+r8JpwIgaix7oM8vl1YZ5cbFotYJC3uO89zbiSaqqfN9Z8ssR8E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53187,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcSGZsCRA9TVsSAnZWagAAnqMQAJeDjU35FJytD2A/dsvt\n31lHQIt1l6B6YDXMDrR3UqFS+wtBl829yUOnWxRU5K3gQECPA62I4geWQ7BH\ncUQTHzABGYoLbNQXJ0ELKWg6LAUVRczYTtUqdkr4GTCmdew/6/q/Iq3Ve97t\nVZilH/tctpM364NvtN1D1jRduQVVzhAskeYmXt+SaRnfNqhRQ748NoVFI6nq\nmOkJ+g0DvQ87Or1wC54l1gtzrPEzAg4a7RXpvZCAEAiQmfpj5CurZ9Mqd2ny\nt0fJGWwDJ4NB/G+na3XZjEtDSIGcYE8D00Ri6OXH1dLT6qHAe5pGC2/FK69K\nSgtJKfSGNhxQUhzkoF4Cx2FKHlB927XocWaxhbLXc+2ygFwxyVuBOnBguRAr\nUKOobqv7jmc1Coznk+87hmAuL9Zl/2NlCbgVTrECpnEJP8mMsspWQF1RjYag\nEuqtjBqLcEtpPDIVqaZ8SJhTdGbpYJSfjG0tzqz6FxUPGy9uPZHVLDlsonmO\nGOXvnKuqded0NsoNliIZnsw5A8EorrVm8zKXEyljrH0CHDPb70LS77G4LEq5\nH2f5LZ7BW6UbhHQdGKFIqOVJpcOBu0gsNb6DliNdepRvEu/zhzUMXWBXGcYb\nP04ZK8+JnPelgpibEGbLrYCju/QSKfdmR6z7GYvtr5q7tJEsKngfviDFr1i9\n/uK5\r\n=i2+8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Coverage Status](https://coveralls.io/repos/github/apollographql/apollo-server/badge.svg?branch=master)](https://coveralls.io/github/apollographql/apollo-server?branch=master) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](https://www.apollographql.com/#slack)\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi@rc\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"1d0021933ecfc992c506ae7528fd9e4fde6c2944","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.10.5/node@v8.15.0+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.15.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.4.0-alpha.2","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.4.0-alpha.2"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.4.0-alpha.2_1548248683732_0.36591552677903194","host":"s3://npm-registry-packages"}},"2.3.2":{"name":"apollo-server-hapi","version":"2.3.2","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.3.2","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"269f75e1e19bdf25d491f3ace7043af54f92050f","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.3.2.tgz","fileCount":21,"integrity":"sha512-ctemhwqFHvKmlJcPXhpaqrw00yOce1hyYOwk0YJ3B4/iwqqvsbTVlxjPWSBpIoOrZjEFQB9vemowMuQvXSsvCQ==","signatures":[{"sig":"MEUCIQDY254N+2JYLC5cbsNv7ihPSGL9Zh/YVJGWt/Ajdog3cQIgA40L5+MlL8usiofWs+jdXfjZ67f/s0vXtqBcGIi3Opo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53163,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcSz33CRA9TVsSAnZWagAAiT0P/iAC5YCOUrlroFP1JEzf\nWhwW87lWQLQ0vIp2ul4jhZ7agMrNGcIk1fYPGGpJmNLMgHnqV5erPNJxmid+\npza5fNKFSUt/dU+P9NcMOUH5rMZfWdPuA7PKhbr6U0mCJkjZ3sqiTH/HXiHx\ndlgLlDbvHtC9nOkopDFpnIlcu7SUzuX7R3nzBr3LvJrvoGZvO7nWjkr2k4fE\nBC2c7dH+lrLNTe4P/q/rFBq7pXv5cQi6ESSEKPd7ZbrIn68uT2X56HZAc5iy\n+SrCAEbIxL5837Nkq7OcVO0QbHbOMHDdIJoUU5mkODDO95W5vzfthvl22Bdw\n3M+EFlU6xEXTtqrQPCRUt0DK6vCdaYuO0KcAolMsNL9w4/ULMOzSPNmwu89l\nEAv3Ro5OHmhTFVM++Mj0wpR5fzXQHsIOVarDYIRKRPOWq4B+c3+sEaFYEpFc\nxlSNYfk/PKi5QPuBGhchltLhvV2FUii7DY6h0573Jyi/fO7mCA3uUkK/gvhL\n1Xn7DhC57TbOSJeSVYP22X3Xs4LPoTqPqLIFQgz86m+evM6kr0Egl6X2bs3O\nEuUS6RYOMnQTT//jTZ5RCUQG6kWKXnEdtjVYQwyOF0vRpqs3qdebh6T+oBi1\naJrLI7xgZNSs1B72gW13fe0tRURyuVUlxJXk41dW8ElC+QlnuUGxhCtdiI8M\nxrXD\r\n=XeZ8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"d48d0972c5730ea63969daa892f58a34aa1db543","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.10.7/node@v8.15.0+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.15.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.3.2","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.3.2"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.3.2_1548434934625_0.9537361547630678","host":"s3://npm-registry-packages"}},"2.3.3":{"name":"apollo-server-hapi","version":"2.3.3","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.3.3","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"09c2287a4c8ddeccd8cae6ebbf5a7ac48d58298b","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.3.3.tgz","fileCount":21,"integrity":"sha512-MLLyP9Sl8EAP/0PEKCnboVZ8VU7AYYqnpTPs1iffqNOXZNZFw+JvNxexvkAO1oLc6vH+YRzVKz9jWHDGXQFzsQ==","signatures":[{"sig":"MEUCICA9IgJlL0bClODZHysKSNLtS6n45eWl7c/FsXwJY+C9AiEAhyc5lFJicCrljHsJXbjhSYpc44HnEegrl8Fv4AZq984=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53163,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcUCI7CRA9TVsSAnZWagAAI2gP/3RwYFWIS3F/AL3H2VWf\nU/UZKkiwxcOGB5nCzi7+EBx4T7CLUv8o13EaDzfMNL1aD8vF4MwxWkItCqnB\nNOg68i+g82KaAa2rP7TCtfWjmP759zZQdHUcE9PvWWnHAZM007G82he6mSDj\n/TCBsG2cmCDpwBA6YrkUYoQhzNNiHL9TgAqk0z+yyTjjlt3Z0DME1OuhZlcS\niGEn+Q6r/lobhEM4FzsepwYVjRS0i3ZO7tNIhZUytkh55swqmrJysLH+bMS7\n+0n6Najru/Xpn4T61N+/GVkz+U4q9IhUwkKf/ng+KIsjYiWiUw2mQ96pPUlx\nxcca6A4h54IAKctCqqy/LhEMlgbPYHggFfERkp5Ky5A2q6CntEbI72+rlOSh\nSoybwEDfo18dYZqlDod6KqDDGA+0vXRE0RKRqC5dUWuCSZmEysBxIsv4HwJv\ngJ7lkBEtAj+i2I0Vad32TKy+3nKNpesuKaP9s8/8p/xYgmv82fr3WIUyLoTT\nsX6UNX3Df20LGuSt23UFF6gIEMTw/zcagps1+FINxEu5mXd+LahVYdqTGOyx\n8MHuDbYF0E87Ztl8VET99rFNCRLMLoiV+6IrbOATHf7OoalrLuvNHsfLIf+F\nmHk3sOepzJtBameo5c2yJOq4ORxMI5+MmxizkZCYly76xrTWCehB1qahy8u5\nTfnq\r\n=G2ta\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"5939327edd7f455cf1d621f761c01c55161639fb","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.10.7/node@v8.15.0+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.15.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.3.3","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.3.3"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.3.3_1548755514484_0.9161302333566952","host":"s3://npm-registry-packages"}},"2.4.0-alpha.4":{"name":"apollo-server-hapi","version":"2.4.0-alpha.4","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.4.0-alpha.4","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"b03d1e1beec457721eb8da4180532e602046b9aa","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.4.0-alpha.4.tgz","fileCount":21,"integrity":"sha512-EHkj/LGo39XArh1pjaWgaZcrx1gdZ29N5ewtRhMMKrTqEil8ISCiSVBmQ4ZMxt1JBcZzp9oahd3URCRvsDDJ+Q==","signatures":[{"sig":"MEYCIQCxO5E2b5J1nB9kEzr/XBhm60KFR7qp00KBzSBIl1ws0AIhAN/qbioynpopba+7AaRngH0WIfG53GlFpvgzG1YXyWi+","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53187,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcXBAkCRA9TVsSAnZWagAAnc4QAJ01cLXwEdM87UkZkjMZ\n0EaHYNVeBJ2iE39bhguSqs0AnpTfqJRXLnPLwhiyYvAVmfNwBx6Ozh3fRYK/\nwPeKVUjGGxygyE+yDbsKWcM4DDwkHU/2rlGzxErj8ecRPP2rNwu/+UMBPkBv\nEpvB3PenTCk9PqVHncFfvTChZupI4E0FgIQn3r37qzRgi0AybYbaB806EYx7\ncDarbJU8oSDWpi+s4A3s0V3AR0RV/Cm7IKNpuv92n+A6znt181jTSZxus8rT\nERwUCiZlYMuAKFp4M4LPpphEgx9Kbmdyc7SwzwU/3gs27DlR2tSAvQnqzGEz\nL49jYIF6QhakS7UGE4NVHx4x4JZi0cqIpCBshsknAphUf4Spi4At6RQX9I2+\nDFvztIdtVTiNQ2vR73v+NTb04pbvhMFW+bJgnWu4oa2OYHNWzQOwnvZPN586\nC06TXDjNGlmXtVyLsvV5zZImTCs5zhH5SLc6nXBBCOIckQG/LMsAhZOem7Kz\nGKvp2FBzT97XtnfvG1+JFEvcpVikuVfkBen+OezRvzYZl1GrvEjQiXxHH3fo\nFwHDgTy7ocXknxCY8iWd/tXdzL6swfqeb/rX78WdFtNfMuXfQTxI+wWkZ4US\nOLtHgAsYyj5gyZSmZaQ7hAtkeLeHLMKBM3KW+BpqWHRpr5foj1PcASv8KrwR\nILFJ\r\n=SeUh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Coverage Status](https://coveralls.io/repos/github/apollographql/apollo-server/badge.svg?branch=master)](https://coveralls.io/github/apollographql/apollo-server?branch=master) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](https://www.apollographql.com/#slack)\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi@rc\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"f74610b290106f31308e36e507386ed2f352f3bf","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.10.8/node@v8.15.0+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.15.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.4.0-alpha.4","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.4.0-alpha.4"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.4.0-alpha.4_1549537315928_0.4897189628178935","host":"s3://npm-registry-packages"}},"2.4.0":{"name":"apollo-server-hapi","version":"2.4.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.4.0","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"bc7b96e51c0f12801468874e1c4ec9d71211e54c","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.4.0.tgz","fileCount":21,"integrity":"sha512-f/TMnqf/cXRDuWuWtlku2ykfn/flV6iNVQAg2npLKoy7OIpMYb0NSzd3R/00rTcGtX1hYugDU3tCb35Jp6AGOQ==","signatures":[{"sig":"MEQCICcl5oBy6H6csBW/8/t2MFPUblwKZn0nZwmf7lWxt9q7AiAFJZvRrd9X8Zdb29H3ZevuH2Dvkkd72Kc9zMMlgHPRHQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53163,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcXB/pCRA9TVsSAnZWagAAlp0QAII10M+JLRgoMaogKMjs\nyy9OoEterIxBQ5mpHyIrSpaQerGrfFVemkk1tfqe/9VAkrQxPGuCuKJcZf5t\n5sjcxvXx9ShgLTZBn/9Rhj7bqIyxruL6kmdPVXPJXFFBLaSS9JY0476YRdNv\nyMUdqsFSqw5We51v4Fyg3yCxpGsHTibD9pG7BQtCRk/CpsUmUwzPvGBIKgd0\nYMlchkNNZn6gDLR4q6EJe+ta0IXHel8xPl2RLee2nAdi31oUPuiYDVE4abX4\nkMaKUGzXURIBUzNGp1+TNMnALYZR7W3Pt9CjzZpUl8RJJKDGjdia74sfCoqk\nJJ3UQmdMqHCqeP9whdYm32fUb1iuypuGT1C27iEZrg7zewd+b5FbJHLglIGq\n5XQTL2MdGHiKrOZOc3QTHlHBlRELav95cQcUPNZa+IvUXtfLpVXhJZ9rk6jW\nafL4/k9Wn5QkeIlO1z4DfQj81OlYmN2//o78xzFxD8PcSiN99Zzm5kI0tBft\npTqojWYBIVnUspDTUFFNkUDsUSYL+dizg+a1+vrFbfalQjK+s4PjONGaRUJK\nI5+L7QyUbo39WJ73Uz4aZh+M9r5mmPnP4cl4dbY21B+q5Mf4PrrERdYoOKDV\nmWAWJbG5/jQsY8GAiGK4vzZg7UEXl+8jTcK/iIottmuM6qJPvYS8Mym37/jn\n3c3P\r\n=LOK3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"a3222ece11f04ada75ce9c592efcf337396951ec","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.10.8/node@v8.15.0+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.15.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.4.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.4.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.4.0_1549541352941_0.4664027091175531","host":"s3://npm-registry-packages"}},"2.4.1":{"name":"apollo-server-hapi","version":"2.4.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.4.1","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"8af8ba8e760059550ce5d19b727e825bd85ec343","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.4.1.tgz","fileCount":21,"integrity":"sha512-QJY88++RSewq/81yQwi5t90IaBV8p4KGblL4Oc+7wZ0lMso8PON5TaACfgvvB9JrMWMEqJR9FXuXL/hPr9JNrg==","signatures":[{"sig":"MEUCIQCP8NweN+rnmCnJ9yQPBDc/k2UHn2BRg9MZWecG7hGHBgIgEuG6siiwNQnDhO2A+lZtKpB9YluwNldVqi/3ii3QQys=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53163,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcYzwSCRA9TVsSAnZWagAAC9gP+gPGrRtoOVecMtp89Lz2\nfEx10cFybdXGBxGVqU7XU3TxvQrmNC3j2D4GO20vq5Xt9rEBow8i4g3MRRpE\nnqSCqN31zSSQeDgBcgStDA4Yayp3jF76DEwY6uL1OsxvNcvc3JNWcv9W7ibO\nwizcilcNS7KOBu3+MlLHBW5OGEXINL9FtS/l7EDnAEOpCJveqvEvStgvPQ0j\nCIw2WH0qEv6qfPeG+c3ti1Rb5brvuUpOaTpFUze00kB8xMwRmQcn/yY/3hrg\n1SolQqf1kza5CqSLcStjhxX42xh9180psw6l/9UAzYRzqdzTnT7NNt4BKtdC\nKeTtQAZfma9yUpBAQgRKOVigJhWDzA7MTOEITFeHeNsFHmZxal5pKRXi9uoI\neigN5SSeN8iKd2Xf4nPKvbJEC9z5xNt8QP5plJla7AAp0VMTWDS87A7Gvg3T\ncomRydsEGOLW9AMkqdyz5Md52e9N+tO8gkLn3wlOMvbf5UAVcVcbFSVEi0jF\nn5qBVvND2z1XlAGTMdpQe+TTDB74zlCwAoilLp1jAgOlrEc2Kzzf+nv4HNE6\nuIIMGeuip0LrYVuwMc2qhnH2sfew2c2fXzo8tZqRFmDpiKjTejYOdv4SRAWf\nTzVAdLg5yhZfMv61k/xSweHGuZ664dCsDAmb766xMqCa3Ibfmrz6ep05iHcJ\noPMD\r\n=e/Dd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Coverage Status](https://coveralls.io/repos/github/apollographql/apollo-server/badge.svg?branch=master)](https://coveralls.io/github/apollographql/apollo-server?branch=master) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](https://www.apollographql.com/#slack)\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi@rc\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"4116b2ff4a410049e1fd39eb2203ff691cb1077f","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.11.1/node@v8.9.2+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.9.2","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.4.1","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.4.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.4.1_1550007313585_0.8922576662552306","host":"s3://npm-registry-packages"}},"2.4.2-rc.0":{"name":"apollo-server-hapi","version":"2.4.2-rc.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.4.2-rc.0","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"9b130a8cca2c9ae4aa7692697a45a0ee8bdea703","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.4.2-rc.0.tgz","fileCount":21,"integrity":"sha512-Bo8TDW7ZrW2DJBblNdsT7WZR6eoaZUKSNVe/LwnY7NS0M6bK8MLPH5v+seGskC1VoTfd622NlbM6QIUARWG81g==","signatures":[{"sig":"MEUCIQCBaYnMJrWeZ55iySbbtTXbdoN91MqlJkRplVvYK0N01wIgALbDo01tJDeBUvQM0vumueGP1vZvGyeYCco5WosCtSA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53178,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcZWphCRA9TVsSAnZWagAAgZkP/2GWzKxY6vIKNR7jkTvO\nWHI2UYZsWwn8mAZ+qaFZS8nM1NDNKtSje5Lewe7fWhxqabQSpbp+6ePf0YC1\nHEsWHTxtfJz2If6kte0u1LPoD1sp8+U5BTF+GoYU8fi1haI75ltDswnALGB0\n7UwumwOUa/HiWgs2MMvQ1bvs7fnnH4jinu5y9XwePXW7faW7Lb0rtHwNg0Ek\nK2d2ICCAX5CUNttvjx/sK2utRXYlM5+lm477rwduc4CbSjCrVC+Y6+YB/FXV\nkyMEWdEZ6fpw/a4JBo3oebdDZOLTZuU6zqrm4Rp2oh33GHaQ0elFeIJgsjtP\nrPYAffg6L5YGQxPFCEKxBLssfj5cjE79r7UmGqjdfzEdfmkBltRVrupua7tz\ncLzWxQP5t20P6SnqOWwzidueTf4VgGBqRdK3CKATU63vJwWceX0iujv5ZV6R\nIxDglC4DwYiQGecGVZzWU3z1na1nOscvwuyIBkyrBztd1nnvNOOqT8uIKFpl\n7Twt8+qfsTkToj8XTKdvkE7IQuTzsDzgkxMtEoV0TlhQJBRDzupynskEU3YM\nuCno9Tw/+YCOBtXef8JMnkUnh0P9ahwOPlXkhKqskhqDspEJ913roeTcIwQu\ncvzatLkC9Xqp1xZrvyPp95W1e08w7tuBnRSHi5fxI87tbnvOjcO1LTBS3pJq\nk619\r\n=aS4A\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Coverage Status](https://coveralls.io/repos/github/apollographql/apollo-server/badge.svg?branch=master)](https://coveralls.io/github/apollographql/apollo-server?branch=master) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](https://www.apollographql.com/#slack)\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi@rc\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"f988a30e8c655a10d33cde26bdae1e4c265cdb60","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.11.1/node@v8.15.0+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.15.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.4.2-rc.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.4.2-rc.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.4.2-rc.0_1550150240986_0.1842647759059537","host":"s3://npm-registry-packages"}},"2.4.2":{"name":"apollo-server-hapi","version":"2.4.2","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.4.2","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"0243cfadbf3016f3a543d52c7151eb540a1057d6","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.4.2.tgz","fileCount":21,"integrity":"sha512-CYXxL1Y57FqtetB6zcR81gZ130r4xAKijXssYy1AVsEWa1/5h03m3ITj64x/wlwAYDs87oxB5Blx+VEmUUZNnA==","signatures":[{"sig":"MEUCIQD7qU77crb1itdFxBonJEbtQXpmXDDnRZUKOtbQBVPNiQIgc8fcZ9kw3mkaGd6BRsGuRS78dC0HoUi7MkJYztPoeFo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53163,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcZWyECRA9TVsSAnZWagAAGUsP/1GNvqV2Eh//iayPE3pK\ncZnvZv0kAs3ySYE15RXeG4edy6UlvXz09k3RVqG0xciISZ19+9oziX8h5pGc\nbqsgdFkafQUyY7M9Y6AAHgfQhLwdGsB4jCt7smDrLqsgw1x7tXBL/ldmu2e8\nBKkzKcFhVD9fpC4RsReSI/AUKwCIo8jyGRXMB1PuVwImb/J0GTFAO5uF//qs\nJMvMtDqptk9U8sXcsW4mNJgnPa58aRlZaYydsMVfpdbtOGGxRj4ie5kCxkWp\nb26MUdxfiQy0fC5wXyj/tBxvrH7RWWrz69x8l1gfrLpj/uVihDJ7+ioi8nqD\n0Yy5LatCmg7ZS0Izlu4olV6Akhu+ioExdr83IuNOhLO23xsqg7JP60g+qmlk\nJPtthnjswNEou68aElwiz8GQuSPvs7267RkDD7So6ttNdBQvj/z3J34ICtAc\nwWZAHB+CndINGzuaWa1dN6rWOi5OwJeTxFprZatIOPLf0qhyPE7Zjs6ahKl5\nSJV9QoZO8nB20AQB+iudwQoRI4bZlrDSQoHnQ8BZMGo0r+s7r+AmT4I3J96S\nd8JDxsJmeeZmFfe1n7rsP4EvyZ523T3RXXF07aCr5rPkvMQOUT6wqm6+lLGN\n9KEhcH5/2OokseCLkmGPWnWeDoo3cfsUamcIMmy/cEJfLK60rTIfVnk1Gefq\n4+df\r\n=cPRV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"c1669c3d74ae44088bf3bb23cdd9132270b26ee6","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.11.1/node@v8.15.0+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.15.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.4.2","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.4.2"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.4.2_1550150787401_0.6986240854939292","host":"s3://npm-registry-packages"}},"2.4.3":{"name":"apollo-server-hapi","version":"2.4.3","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.4.3","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"447d21ca3fb1a0415e8d32c4e2653b3a8b112c06","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.4.3.tgz","fileCount":21,"integrity":"sha512-S88M9FKVI458MuL1PqVbHR9taFomiBKTfirvZ39kbbzNVpLoByTwdjgY9/DjIRNqoMoXq1TkT9E3TBgI/2iJUQ==","signatures":[{"sig":"MEQCIDOuVLIf/AcgcJk/iCx9QKZ9mHOcS+warrBHHc8JKFD4AiAOG49G1VSAUTLksnUPcQb2YxsSTxzLBI64r7a9NKkHJg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53170,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcbYe6CRA9TVsSAnZWagAAFtwP/AxW7YtIeCyphiKE+QqG\nvB7+fKu3YicFS9dSWZ9KYk+41sU8Gbk/IjLeqlSWHr7sd0wiuin5ai3a2LHR\nsDZmipgbM60Rxtnu+dU42ubVw1JBllkw0UCSqi/jj/1yom7S6C043kFhJqhb\ngvta6EzvD5EQ8PPDmDxvCI9IK/jNCq9Nwa29jRyPGzYXr81lw9sgW4K25kcv\n7vAeGsnOw0BvO4BwH5Ljr36l58HowUkH/xJ7PNTfSOB02J5UD1tHnpwrfJlB\n0Flktf1juf3sSNyYfhn1lBh6WgSDeXdUFHsn92vJdQFETRCwdtFay+CYFxOL\ni93G7xsjeUcw2/mpKOozBv/sVqjuMAd2zuFGPoEX5bfPr1V9v4Nf29elOWU6\nsc2kxHOWZqwkq2JLaMYskMZz9hvH46lMfsoCGyG2/RV9A/b0EBTykwWuY7e8\ng7m5yqZQy+wyl8bUsTUrFh7dIxSCvneFaEs3fgC8z/U01ZRlmlvPyX/YPZ75\nilfcQzp8UEi93i709u7J+tavJ+8zHL0ucnnYCADMvCXIaYh/smM0qw7yuumA\nzo8ogaU4Tp93Qf4na7yXPuDhQ0/5bskTq8LJqUdd2zZEEcqLdbhWx0jIiYgs\nWSLVp17NdRgLp7yHM9xWk7gC9vXKS3MDqyaDpLY6oOBaBUyMP9VgEm+CHYzc\nsM4Y\r\n=zJLQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Coverage Status](https://coveralls.io/repos/github/apollographql/apollo-server/badge.svg?branch=master)](https://coveralls.io/github/apollographql/apollo-server?branch=master) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi@rc\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"e1d7078817222f125d4e96269e22f66ef0a8ea0f","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.0/node@v8.15.0+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.15.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.4.3","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.4.3"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.4.3_1550682041959_0.9168671137815083","host":"s3://npm-registry-packages"}},"2.4.4":{"name":"apollo-server-hapi","version":"2.4.4","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.4.4","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"2d9b3dd515696712f94302cfae77e700f3c4c92a","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.4.4.tgz","fileCount":21,"integrity":"sha512-MH2K+sHhxbkxeBNDm66S4H7L6irwoN/u8oZN+kJbJGQ1XfjRewh//QTRrbjMFUA5Akduo9WGgg+SrFy584jmoQ==","signatures":[{"sig":"MEUCIEwYnOPff5qHeQbZRj8wno4XpWWaXZXFf2vtVedUJnB1AiEAx5T5DF7ZtPqKxqzqdGUQxrW5CmC235O1KWAZG4kn4P8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53170,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcbuyGCRA9TVsSAnZWagAAYmQQAIJwvcGOB1UEQjdV31mV\nBWRnGUqzgSxMc/DfzMq67wPSaeRCfIXhxLJ0SoaOEtOye6GlPFtgzxOE2mEu\nXy2eii+HZ84aTb3Mlsh2bj/9PwwHp+YGWdpkUtqRK2GQY9mMtRklyeb2i75E\nP7siB6T0+Fat7JwwNvYvA6yXkoKqu5MLEqSiyy+Alj8oMJLorX1/W00+/dF4\n0FfEQmzvZ8eyaLWLA3Y2DdSV7f4Dof9+Otb6WwULiHueWXUYNLiwlw6NL6Cc\nKXY6PUDgHXWsEDU7xGuitrprtsOGsCBB2rxm55KGGHYpH1BcDHau6ZRTaEHw\nSVgMsJJ2Xz4jxBRTZpe+WtONZ4EtBuiu+JiBpItBa28GC6CemVMU6iIc+kXu\n7HKk03RksCJi7KN9XeXFTqRrrNCg4/5rG0jd9klYhPIXTJt2lU8tnQcgfjoQ\nLIj0maaMlRX+ousWK98uHM3t98qcIf6DaTtKv6X3nHRAyDvytE7Xq2QF4FUZ\n3rC2xFALp2134HVZtGXkKHvsSETZFZdtRcY5qa0NM1rFJ4yNBEHp1QcNlzxu\n/34aGJWzwYgGDteRYFQc7X8jDxX7xBs996DjIPETrV4Zwa0S1fuDlFdtGI8J\nAbsBQX1jPufisjuE6Hho/0qoPnJjDraWrttk+wozfgWR6b2fhmW8EOPpySoP\nFxJb\r\n=t0lW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"879ed190349eded2221e5b9827281a4f6ae86660","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.0/node@v10.14.0+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.14.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.4.4","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.4.4"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.4.4_1550773381895_0.020445420361840716","host":"s3://npm-registry-packages"}},"2.4.6":{"name":"apollo-server-hapi","version":"2.4.6","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.4.6","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"542cf4c94cd3f4642eaf7c5cc98f44d3e51cec93","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.4.6.tgz","fileCount":21,"integrity":"sha512-27gQqbn1OHSf551efyKoS76K89qJbCacjNOf7n0in0Z6cRtmhJaxkVk7B6O/+hMNF0UC/Fp4klN9ypBuiV6HMQ==","signatures":[{"sig":"MEYCIQCYr5KUzG6cYtMHulUTfZg3GQrpTwFo2bvMIS8rMGoDSgIhAIqbJnfQX0Jm0Y0SZNtPnD6A5HGhwZf0t4/3QgJKgMNy","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53170,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcb6M2CRA9TVsSAnZWagAABy0P+wWidEWxuc3QayyjLEzi\nXZx+DAJxoRPkY6AWEgmMlFf/Vw/PXrmeZNV6VXVQTC197//nrEmnGYSCakEJ\ntYdqL+sd4Pr1uIlN9pXFQin45MKjQ1IGGaklK2vfNL5c3OHdUxkR2IoQ0oip\nLQpE2ns06/ytBMlqRO0GDHcQR02WJRAKUfQhsGog4lv1glIWHo/A4K0oN0k9\nuJm6L5qMmENbI51pibktCeyf18w+QW5QluH69Bb6Z/RttXBDBxgEvB+aNvyI\nm5SDRGP6Ks+1fsihLLfEhNodSpVA73RbRoX98Tv3y5wCf/6MqYWBgGGl9QZ5\n5BDmwf3cbqmDM+lq8ZMDuygWVxh1YgLNIBGdTedtA8JVzyPKFmNl2Kbev/Sa\ndWPAgZjSZxdrZN0jGLdduMnj+1INlTxDeZQm06z30oGV59+bx29EFAEsHwIp\nlnv4XE57MbPf+3SVwByJYU5782hA+WM+KziSEbRT22xV3tFBsF/6vDYoJXo7\n19M/izxPo5PTlUZBvd5OAGujaIRShy57S1AbG3Q1mcWpB/SJqmgaY6PUcg+7\nDGubOgaQI+mSZsKHVkYkSVFfEN4ysFmKED84DtN9uE6cgJvD5i8YqEZvta6V\n1DlOmTMzDuoEUn59gu5yqpXoMwWx5U316WeCmHljxiVEqrLj8gsTEG+VohKE\nRWL2\r\n=TFID\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"62587e037bc60778432093eb69bfe9b662105a83","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.0/node@v8.15.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.15.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.4.6","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.4.6"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.4.6_1550820149513_0.4977156982057571","host":"s3://npm-registry-packages"}},"2.4.7":{"name":"apollo-server-hapi","version":"2.4.7","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.4.7","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"f4c9f4fe564ab37868f05d52064606f402774466","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.4.7.tgz","fileCount":21,"integrity":"sha512-2HUOTM10pHx76nPrQONnWTHxt48cxiK0Aph3bqSFFWLHOFt2EY8URHlSYpLvNPttQ0o1bMIA0hIhQ4D09CiUCA==","signatures":[{"sig":"MEQCIBLNPitw96cQ1nA7wZQ1QOso3aujLdN3JIaywfvGTG15AiA/AVs6AkWSHIMxBh7a0okJA0jH7xWxi+WszdCms0vhwQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52988,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcdSFUCRA9TVsSAnZWagAAx3sQAImxifhdjgZu4KUlDiz2\nJojl14r3932vh4EFaWT33zSMWkmd0WpAtSU054/AP2aGRLoedXD2GqAe5Yek\nU++jW7oR48JjxZdQYovHfr42jzbKZAuHcJCsnWT3qH7Hc61ehH05b0W6Rk+/\nEP1VKurratWjYkg4EWqZTmoN899J17CrZMZvJRErUuz0ty34I4loPyJasgk5\nGEZUbvZhuZgRE0Yt5YV7dvfaqjRAW2laNPHtGEdZ8vsUhzFUFkFtNzsYZm+S\nJgHYJFTJOYK453UbPFIGqFk93LSBOe2OpTYkFc6NSk6UusfjIOLh0e2eC963\nz91bCS9IJ9K0RSJMOM5fdUQcX31biccWSKctucShIbrn/HIydc8aN7ngS4qN\nPZGS2CkMcqLn7ftv4fhB08mf/7KUYrMZ+VeUXeikp9md9AVHQwQx9e+GSVTv\nQS2JyJq4Q146EpaUYAB5ULnYt2OEkNQtKGUV2Mqpn9yGF6uY9T480EgzZzs+\n5Hyri6qBo8qPd4MycAJE6L37PbaPuMutV4ka4M0Yp075OPTzZqV55QbvBvqF\nruhd/vxHOp/JzM4wnX/AENGZI9ZkWlYywi9rwJNsefzm3Fr8uevU+iNIp+sp\np58AO0XnJnHd+hcsI4KWsuPhFzJ/v1Ta5AEOXJCTV27HTAaDmEZ6tjH3YA6c\n1LDl\r\n=fGOi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"a95421f19bbb6c3e1d92b0a02dcdf64069a2ab76","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.0/node@v8.15.0+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.15.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.4.7","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.4.7"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.4.7_1551180115614_0.3864874232964637","host":"s3://npm-registry-packages"}},"2.4.8":{"name":"apollo-server-hapi","version":"2.4.8","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.4.8","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"3f664d4719e79cb2752fd748e7e2584e33a76b85","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.4.8.tgz","fileCount":21,"integrity":"sha512-0UGnXTihSsVZO+pJkRRKCInIuWjSMO90PQHJRb7yIeI7GJ7k19aBhz12e7n0K4ApIVcutHUqgY6JWN82aGsI4A==","signatures":[{"sig":"MEYCIQDL7BIu4KPnFT27HKklecTnUd5FG3nJR9hNxPAUlLH2wQIhAMPgj5BKC4KLVcdK+aoRpM90VjG8mOtHghw3jiyutCRd","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52988,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcdUyECRA9TVsSAnZWagAATTgP/14iy0yb7IydL9p3KSol\nrZ3fsdIR+ldfMejiP3WnXzQOs2lEMMY2EH9eqCuoZAhTvXU7PKE2p8oar9/n\nHji/rg0HPsFpr83u68SE+QzkpjIDZGGtF3g22imdMTKrVtesfhI32ltdsxyL\nhrCG7ByhOEPhCgplYj9ycTRjHLnjYdE3vUecOglYqbyCqE4gIRAXV8UgUYoL\nQ6JYzE7IKZ9ZDZD7ntit4cQ30/g4j72JclWnTTh5eV2atVlJMvqb5jzUV86W\nI613roAd/CHQFClJXLhlTXStCExyY8S77MwyUgm01cfIFeDvyNk3NZNSmnpI\nvnmSWo8ileF+3yYcnv70qcHeYyvYe3WwbFEgExckMfGXves62z49ovjUkQw3\nMfKxw9lEiP3a6BwUQIeVNPL02QO9TFcBMDqow4wErdnYFMvqCbk8nVC4C4f+\n2WiifcKKsmFXrsuyQ5m07U0DB4HBmZQJPP2MyB3PHcmwrqfIh9DbQchXPln2\nE/fvIulbyt/jkQbtSloRX3oHVdlQGsYRNmzuZoeM0FXOVHRBB5l7Lq1NyZt3\nUDaQxyoq3GobU8CXh9UDHUBezGEtP6YL1s1kwTKj5uTmyuzLE/W+wGEKIBPW\nlVFO05krOV5U0FRlHYmuCb4q6qVCSKSwoW0kl2oy3Q+hTNWVB7hZYEV+TcrH\ncAOI\r\n=SDrh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"046327068b5cbb2d80c3865cdb2566654ea988c9","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.0/node@v8.15.0+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.15.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.4.8","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.4.8"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.4.8_1551191171726_0.46403607629941535","host":"s3://npm-registry-packages"}},"2.5.0-alpha.0":{"name":"apollo-server-hapi","version":"2.5.0-alpha.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.5.0-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"5f58c470fd55f3b303688cdbbbc7020ee7802fbf","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.5.0-alpha.0.tgz","fileCount":21,"integrity":"sha512-qqRyoe0ENcr9kadFpqi6xEBMvXNtcQrWfb6YPv8IIgLk0jsE8l4LBMBAG16ISjUu+FrpW+0ykz/7z46vCkfHPg==","signatures":[{"sig":"MEYCIQDRGbTgYnoNoXkgNM/gtw06Hy2s0TN5DG6HV9+zpk71PgIhANJPKS82hfv024041gUmaSwMNTFXA+krQVaLC2MeLAab","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53129,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJclSpECRA9TVsSAnZWagAAIQEP/Am4iQ61Py9sWYahz9LV\nqPXnIitWoV8qHSbKIe7g7af296Ah9kDKgJeAHCr86QcrAFrrYBFU0tCx3ZYc\nN0eJv9wbEI95gXQVp3rcch6zkvP7FNKMotPbQoWtvX6M1tUXr86mxMqLunRq\nAsVen4KhzwOCyiy2MCNYhO4sLxAIrDTzIt4RrAyM98zaCniJSYuWd16c2dkC\ne/59sq7+4iGEH2mgwGSrGpsf5rgTO+k0m1nNyS53UwcYWwUzxCItRKWrC5OD\nSGJ1R6bUe55TUSCxVJfMq+SE6l9xG1qxPlIoiclo2RWd+ezSBbBqLTUZkGWi\nbvD//Sb+rknBPeLEl32W2nqC8SDE15vQS4obmUopf0iGIoxxRXzIMTULkrsz\nW+/ZOa9DaF4Mz6vfwl8Wx4BapsMPk5p0z+sKs2YuPjmcmJpcEYLV3eRq9tgX\nKA9+IA4Nw7mxUPzHyXh5wo6xKAfX9LlOMs9XiktOc+q1oMGsA6KXSr9VNsgk\n7VaGLBKYcfkC4rMpkuKSpcdHk9bxfP5NkWcpWFY/hv2P8nYAEOOt3hgURPph\nzASWAiQjVMWhKs0up61z/G1kF8EBMV+aOxTl4gFQokWIib/PzilzIP/Ud/u1\npNC/ENj6b34Zd+7FdfLEEkVT1/2LcREKWu6gdz+PHavkZlV73fhwbXHANUla\n+wzb\r\n=fL9y\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"77192d647901443df54762544d2528eb8aab24ed","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.1/node@v11.11.0+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"11.11.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.5.0-alpha.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.5.0-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.5.0-alpha.0_1553279555663_0.3755202558104771","host":"s3://npm-registry-packages"}},"2.5.0-alpha.1":{"name":"apollo-server-hapi","version":"2.5.0-alpha.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.5.0-alpha.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"696dbf14c1944b4614066a8a20dbe0e450fe0a17","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.5.0-alpha.1.tgz","fileCount":21,"integrity":"sha512-oK8OlCEM+hOG6sfcEfM7f+XLtH10o/IrMOIAno1vDGLFarvu2yCPjeyAujekB6JZL9Nn9afM34Mb8xn/kJZmAw==","signatures":[{"sig":"MEUCIQCDRyPPlPSAYWX5f7V4pcYjk70052ZNWLDXIlbNNkJzlAIgGRu2vO9ZPJRKuGoviAuiru9xBWc3RXYk+1xLKsP9G4M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53129,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcmm5jCRA9TVsSAnZWagAAqMUP/iDwGKHLedBYgYU3lCFH\nAVstaW/0eKo7N2teexBXB3WnTEdqjNUZKmUfr5Pwq8vjYIFKiUVVQHtfrItX\nczDfCdLinMozNpeTC2tzidalGIhmlOt7jfNO4qUAP0ZIyRHdPvVuYK3ym8in\nfRaMPgejWkj/uoRDlAsftMJbiUCXOHdmqtFe2oT7SnIUo1tu/daNfEAOaY4/\nXHWdUkbSQJ278ALH8n7rDNVrsMlFT7vK0mB18D3jGYbMwJDGWpF6y5sU0j8B\nYWy1xXA+ddtM+WedBzHh93cz/FJphzZtWQDBPgJxW1HtojQCU4lFwNp3WN4F\ncIbbh6qQHsTeAzEI+pyk+BsZJ6+EL2DfpDfrFTpkLbVrtDW/7wHu46tlQscK\nNO0HBu76QYWNNcM2NXI6U0N5Mo3/wbltpXHsrdCzmbv5RIVmIWCABKgXpCtj\ncTVFrIG8fOEoUY3bpFSMhNDQJcfMIKTCWtIdfucXYSntA3o5AjnQvYfmmSsA\nZFdV6dwD1kUAMSeEdMofawhfi4mbCIxScL/9OKu4tCSh/qhCGbG5VZ5U73iD\nUZ0BG/e0bYnFX3BGDW6AUXzXfWtEo95jwWynmNtR2B845aBkxq/yCBTWIFKo\nNW5P6Q3hHD1oWbIU9jZcInSt6CD4McUvRIBjZ3YJGDWYRfftozz0agKEQSxv\nK7Ps\r\n=D9UJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"6bfd459d4530cb32cd9d468bd87f61a612b93764","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.1/node@v11.11.0+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"11.11.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.5.0-alpha.1","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.5.0-alpha.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.5.0-alpha.1_1553624674848_0.485689282495142","host":"s3://npm-registry-packages"}},"2.5.0-alpha.2":{"name":"apollo-server-hapi","version":"2.5.0-alpha.2","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.5.0-alpha.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"3469a693c4a7ec73758682f7ccae681c9075706f","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.5.0-alpha.2.tgz","fileCount":21,"integrity":"sha512-c8f3zOYvAJ+pOtVFQhVNonkbTMx6uA3Q3E030WwRVL37Glzn0APOSX2n5LMe2jlxpme+FrD75J0UhZVt1xbVpw==","signatures":[{"sig":"MEQCIDag4TMVY7vESvITnRjloxuWWo+bYs0j6FsSmIdU2VqQAiA1aLqsTd4Au51gFITISZsL2bVNlm7E//4b6Hv9rRLSEg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53129,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcp2yZCRA9TVsSAnZWagAAmD4QAI1rOCXbMALhvHB1JOpx\n91dHcWAqfhQs3wp4LNW21CNEqFwZWbo89njV8B3sL2vC9SzPmC1uPv168SR4\n1ftki01muUjJzR3jXuWR+OoEjYmM+Qnh36NwpnaWQweBP5pte6MRarhHbcu/\n/AQFc7Xj18mN7aVz9oh0RlDjqQ8Y00/rIbgrsfUz6aM4q9Q1tUJybWMZRWhV\nQoHWRaKodnR9fh0V/a2KWl2MVle+D3AorSImU2tZ/h1M9fxQJu2Yu4XVYDad\nPrTeux8Su0Vm/Ga2aky0HtQCPRkQzvmylBGH4pKKps5qTpG97st6FxD+Px2u\np1uQtI/7ZE/1Li/70OoXaQroOwZhCDZDrjRSReAY9IzxDYhadUb0Bx7C+bLH\ndS8fvjgXUSMZsnQ9OCe3R/ycLY/geL/1sWy//H6O9YTcHTQp4nMh47GYJGaM\nbpoMzTbHpHdtSuPg2sx65r7hAYCVkGYo1FXRs19NbZpxa2KiP878c5P4BYYD\nzmxqR+PJJ+us2agpN7RyftUsMP994StTdy3jkVHAfNfm1WPj/uzXQJzeu+L4\naEzG7yRdr+5SohF/Zr8/VNUbIXph3Y/XZ3+QFjr7SbKWJsfmyBuA/sjwhwcO\nqx9C7CEfVzzea1Cj9B/W6LZ9rbI/fDUNJYvVSI2uSO2bJXIRHtmxcxEyMOvp\nea4q\r\n=YXLs\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"4279d56188e56f03b8a2c0e8c9e1ea05cc2ea2a4","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.1/node@v8.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.15.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.5.0-alpha.2","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.5.0-alpha.2"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.5.0-alpha.2_1554476184105_0.6151669047855806","host":"s3://npm-registry-packages"}},"2.5.0-alpha.3":{"name":"apollo-server-hapi","version":"2.5.0-alpha.3","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.5.0-alpha.3","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"41970c1b7d1141f16c70fda2f1a428bf966b17dc","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.5.0-alpha.3.tgz","fileCount":21,"integrity":"sha512-cMeMDuqklX1adtE/fFjqgHe4CQtn6+Z970CC5VUC0nhCXT4fcPeevXTf4PFkZ/4LvHibar98/W+eXY7Ipt2a4A==","signatures":[{"sig":"MEQCIHMdZoyMR6dijU1NY9TUPRzxMmrssP25jmBsk4juEPvtAiAFW16Z22zhDZeQ6SIB5h4il2SSUZfLZTLw2R/2ht44vA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53129,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcp4fmCRA9TVsSAnZWagAAnrIQAInNYE+xlsU+mbHbM5HK\n6w/0s+JQqgMiBkJMHsQpBImiVgov/QzEM07n1pINXUXiA4fWqA53FinI83pM\nTaKsk5E7SjHZx+D8Ad0X/cy7FVjdkXutZLqk8MOF5XrHCoJkPterfnbQtG90\nBiHZozmStVST6VO0hfF/jBCA6gV5oHDaJkm9BzkBFs5HaPnF+v8pDSSAT7p3\nuD0jPaKRA0F5cCwxqTcys4zdqKKAVjvyjZ1yX/gMsZzPEfJHzDaJ7dWhWaHf\n5nrzW5cUOT8H/smwfcC8PJn8Y66JFAuk0zhh/Vl4r6tAcXITFk1MhzWp3PSj\nJfaP/NtUQp79a1x44z2oHKhdrMcRTqcXpUwyrykckObfZB6AmN/GD9Rws42j\nLlFsjB9O6/IxsCUGXCptNyP0qNeMgxKeddImCLzCNN+u0FRnJmEzZ1YJ2kkU\nullRYuhw8UBfpkkaOzOqAb6s5BOSPeAablkw4TjYbEom06u+4q1A4pH1XNjV\no1TdW3tzQC3t99gPBTsUmcAfrEuB9njSXdtm5N9wHaDIvedt5JL+P9wzLpi4\nUL3OB8XvIx9vhdMR/isXAPPVjaiIJaCRqcTx+IhD5JSX57Ej7C0GENP38CDA\nN7sloU7NkZns9arEpKAqYPxVTEzor96w3UBqJrGrja2lTQ5OQ7/PaGcTB6Nn\ngsF6\r\n=7SXr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"9e9543f6b7f7ce0b6ce6d59f06f10f4ec18d8a26","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.1/node@v8.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.15.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.5.0-alpha.3","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.5.0-alpha.3"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.5.0-alpha.3_1554483173410_0.5605079766874994","host":"s3://npm-registry-packages"}},"2.5.0-alpha.4":{"name":"apollo-server-hapi","version":"2.5.0-alpha.4","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.5.0-alpha.4","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"a9e89cd4154241a407ea56b112c5edae10c6e9bd","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.5.0-alpha.4.tgz","fileCount":21,"integrity":"sha512-doBWDfKhm/4rA29VQvg5ZVArdqQVNIY0bj3TTmVVmzjJ0uNQDzCIjtoL+1ArQ7Vo+JHpUue87gXkmckv+BlHYg==","signatures":[{"sig":"MEUCIAKxklHIBLUlLBnJk64EqCI7CQyomST6mt1AXg4sMphMAiEAs6Ynl28GSbW/YajDXYwRVtx96hBgvG7QANJBCwt4RmM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53129,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcp40FCRA9TVsSAnZWagAABjcP/Rcz6265PVse5kpoL6ta\nOhhvNSetTb1voXpEnl6odMTF7ndTAMEWi98785tPa4Eh++Vb5P7j+0pUkR4m\nQ4kJ8zmDHajXNcZeRk3/1mCh2sF+Jfbh6SQTkjFA+s4jFIYXODkc220Q066I\n2TR0HuHKXy5I+Caq4I43ykjKgHeGvJclMW5U+f0Q7qP/JmfNpo911VRyc2RK\nwkHgAW5meT9283s1Yf4tgBqB7zAaOaN7eLNaomuEi3reO5RoGUwAF90Ds8hD\nZaNOhOTwBDxW7noMg7rsAHSya4uePUjv0Nsy+Xf+ZaPzKNkp8fxUKF/5A3l0\nnx1Vq7S2QNZuGmS7LNLJ+jHrPR0ucWqEZ/SrJa1dqoZK25uNavmz4siwqU8w\nPWseAmwLtACOy5NBrKRK62Lnz+EELuFPIPn4UFz6zyBLy5Ir1TAEQmLycGPJ\nLWec+54Y8OP8d2CXEdYBLpVtn/UZJgeMIPMwQkoobkB6E6xFVRZTfrww7zfc\nZEaZK6K6lv5sl4y8y0cOx9y2V//XAbB+nLbVcvd+mPF0bOZWWGWDEw8cEs00\nqx3voSSynMTNHgmoKzXivtOu+/jmDNLGzBNDHHZrIr6OfqyWseVPzngG0r55\n0XtIIB41pRQvOXaBjRNfGVs1jHaPc8SyXsYPIxdz06YfPvI2aR0ohq3sUbCc\nV3Ah\r\n=ZnWy\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"3c34c03c5af692b32189b650dcaf95f4d73f09a0","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.1/node@v8.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.15.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.5.0-alpha.4","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.5.0-alpha.4"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.5.0-alpha.4_1554484485175_0.21704956788079977","host":"s3://npm-registry-packages"}},"2.5.0-alpha.5":{"name":"apollo-server-hapi","version":"2.5.0-alpha.5","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.5.0-alpha.5","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"a7a3913f95e0b552b506e65233d9807f2660596f","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.5.0-alpha.5.tgz","fileCount":21,"integrity":"sha512-MTBV3GZFjRdoGR6gDmdcz3Ax/sQN1/Z90QAJ9RsF1VNA+S0ef0r7djKoB+a03OfsuYc7/iLs2tWTk0NLoWUTlQ==","signatures":[{"sig":"MEYCIQC68wpG0z1gYWis7//+FVO8ES38hjf+S65RZ8ESezAjzwIhANAMxQJ5i8GrR80SXfMZVUd93+SgNVrneWe0/fwFgVIW","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53129,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcsFvDCRA9TVsSAnZWagAAkN8QAJlf5bx8HRFu33j+kSPa\nNHVoa1H1B7Ou76TW8hqe/mBxkpR5pUVKUiC7J8eRPuWWTCBhUNagYii1hmoW\nXV2NznhvjM9pTm/pvGbT0metlDVm2nbxmU2UKNe13OOIeylnRIg6/JqVpXqs\nW2Ak8Lt2rxaWKwH7EJqrREgDtParAQ5H/0rnBz4COzBWWgF9E57DtK1cebTw\nKgaJx29z4wohaEGmehy8hytlOgd9LUGoLq4RCnmq6Lg7VXWVzE8NmXZw+bpQ\nYhWLxlt+8Hb57opWAjeX8GbLKWn5QVpUUMnd5cikAsNdQlq09Kg5DHuPqTfa\nZgARMDKGlCd+84FIxeEgKapqbJd9+j1oyZxfEyiRlqoGUa/04oDtNIFDeiWG\nfy69fGhHyN1dIpXgI+LsgIcE410WvPSwPVIHtosKKy4kWKlJcgqbwRKV0pW6\nDTiE9i/e1oR7uwRWdd4YyS5EjQX7lOo6ryeF8M45Z//2eXs31kl2AeAYQTiq\nR/Vn0+cl5/Qi4fBlfZtGT6tsqX3XlCp5I25yfCxCkWFZAr5kJFtERnQzjLmd\nAZzwr6ze+zVcbvyyTcyKOKXmhAStSBrnBNZHhs/IZGXgvI9YHoEvRts4M6/G\n2IzHmMs19RSD6lnBCsFTD3bvnCtVvRUlk6g2RF3xc5W1j9P3mwU6RfFY7V0D\nKVWv\r\n=8BKK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"be2c7ac98e7f279de067f6914ebb699662426b4d","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.1/node@v8.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.15.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.5.0-alpha.5","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.5.0-alpha.5"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.5.0-alpha.5_1555061698505_0.9242575046125292","host":"s3://npm-registry-packages"}},"2.5.0-alpha.6":{"name":"apollo-server-hapi","version":"2.5.0-alpha.6","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.5.0-alpha.6","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"8b68a51a924bfb5604f64b62581335872803924c","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.5.0-alpha.6.tgz","fileCount":21,"integrity":"sha512-OuS8ZouO3tBlFuSRsYvMaf11GLQnuf2zRkd9+zLEpM7qDJ3AAdS4tjAM4jVHeMF8lWC35RlJd8b4Xy2vO/uZCg==","signatures":[{"sig":"MEQCIED464KqNSV7GIE+1D1Kf1Mrecao1eFlsjeEHmmx0WaUAiAtY7AacOYTmglyvinge1uxDkNrkIG7oPNe6hpzG2W4Og==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53129,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcsq7eCRA9TVsSAnZWagAA7OEP/RAP8DspQazFImbZf1Sx\nb3fK4rJm3JY4Y+7bwx5VZE4lr87rifq10+LZ6ZdPZgZJbrbDVotAHsA7y29E\nubPUoZ3ejD5UwA3gId5ZxQ1DZuDqen9ytW5iIcN3oQowXihfi4zmHhVlfwfA\nnSFN9jmLwcWQYXTy5mPwypE9KQSSNGR3VjpFwoS5r7WQVuLBqcFtlAlkUzyl\n4xU8k+F6iH6cHauYc5YkGIptqwxiC2cJOD6fh5YYoTjY/WOlZqHmVF2af4ZJ\nR7lBQuHRQMReM0a0v5aqeYMQcT+c8ImVyj1fCfj5H4MZvhQZVvL65LmE5a0X\nSIvBCbNHiMCtpAD6Yd9ScLDhWMS3Gnpv0uWZnyCNvGzodxY/Q7/njtEh9ZGo\nwbyIiqSolhv1mG86OYHwda3HS72bfo2nWincy818LprUkI32pyd71lqfShJ4\nanbhz+MPdSZsRYzvUzVbjQNuvgvwlgMIk2FKJKdl6+61HIwjfGS4nSqQ7ZcO\n0JiAoIolSD5TBhBh724oUoaeI6Uw/ntbNhRwsFy8pYxLa4iOFXN2ygYV3b2q\nFKHXyKdvMiPAU76tM6H2exljKUCM9cGNyD4u6hVU8vrv7APJkF1lsJTv0cKr\npcNQ45DJ+U9iUI/QAll4z3lH5ITNFKG+B+SY0knG1mH/fCIlHMglYErJDflY\n4idZ\r\n=ihAq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"551c7580cdc3082f590ce2c52161e51496d45cf7","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.1/node@v11.2.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"11.2.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.5.0-alpha.6","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.5.0-alpha.6"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.5.0-alpha.6_1555214045824_0.5312645817792803","host":"s3://npm-registry-packages"}},"2.5.0-alpha.7":{"name":"apollo-server-hapi","version":"2.5.0-alpha.7","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.5.0-alpha.7","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"78d647eb7cdf92236b4edf22e49e08a7680ad452","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.5.0-alpha.7.tgz","fileCount":21,"integrity":"sha512-xr7XF9KBoWdz6eaCnKyx5RKysTnBhYMLfvM+BXl+qEM5MM4JUZUYL9dVmsTBRcOdkrADX4w6II8h7ugVlM5IHA==","signatures":[{"sig":"MEYCIQCpZKVdzmehIzaZLreAZiDzgtdp97qDAt5hCGLi1b5ycAIhAK4Vh0avFvjL+g6LO+U7RIIH9RWxqlmKpkmPJUHFRerg","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53129,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcwfOyCRA9TVsSAnZWagAAk84P/0JbjpeEwnhw0BYfwNP5\nCyMTr+hlMudtIik0mm54XRaYKCxLx5CvYVkbj1R6Tc/nsNLu/C1/SYR1VHGr\n6nFG8yI1TJvV1MoliFvevBagsJMODAM3SzMQMGw54BbFzWRhiOaOihEjbWLe\nppya0ep83UhexDQrmUK1lHLxVIDuNbtJWDH2sroEoAyB62XXiHqaPXRr7gPv\nxZddM+5s1kFwDo8XVbZMje9/ke4kzALbJmNHMHMgA/V29VB44XHEsiBXFMCf\ndN8Lc7N4+Q5hZu6CCQnRhY1WcDtETr5xKlZKICpubYkeDMCywOr9vkb4TLrr\n4ht8b08ZEifQKaIMMaBnIKJTwD1ZH8H9rO0krQRrSfO72UKAWNz5smnJj+jj\njOupeaWShT4Q8bffdX0ql1IganvlEJU/FTH4qupqLFrjIQQGgEoTM6/Uz+TQ\nRUx2k12UOJnQ9AtcPpKQOFEQwQkJvIQ2oFpl+Mmqu2l8FAk485sQRtawu+W1\nFODJy53p9VDuNsqipfQfiZJRFYOkFs5kFS4tzrl9k7iy1uxW606s8cDucUtf\ndlKDufY4s/YxoPPCw5tcTdZ8NLsr0DbWKGbup14DVktnNC7kHG/D/kvNMoDX\nKsltrsM6npTby+vKvSEnitZjmslYnJKj78OG4OokZ4OzchEeu15eNvPFkUmJ\ncRPR\r\n=pt5/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"7b8ff7a9c14eadff9ba95ad12669197c1803cbe0","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.1/node@v8.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.15.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.5.0-alpha.7","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.5.0-alpha.7"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.5.0-alpha.7_1556214705459_0.5669077847747752","host":"s3://npm-registry-packages"}},"2.5.0-rc.0":{"name":"apollo-server-hapi","version":"2.5.0-rc.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.5.0-rc.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"def65a0dcb501170fdb33c45edf2eacee2f73cf3","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.5.0-rc.0.tgz","fileCount":21,"integrity":"sha512-Qr0y4063ZBv/BpFUK4kVe6WGT5aw/slQ/rQsu3Ao+myRnNx3GLUCHr03stjvW19RwUavsi2NdBf/9sgaZYZhTg==","signatures":[{"sig":"MEYCIQDp/HvN4fe4NEPu3UbgW637TgnFjMn4hLCoFhYwi7WcyQIhAJh8QIXGs71bg8qBSlXgbADC3IPPMg14LhGGot/Yvzw1","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53120,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcyDnvCRA9TVsSAnZWagAA5bUP/3AN97NpM5kN+aZ4g0tP\n8rgLhfPOJvdyQkh5PnkVpiI7Aa5duT5nI/VUAcTrEpZ/1z9NT56gTdbz5p82\nnbI6eIQjx8XM+PywWshu7//ROtAsknseT5EuWB6cLBcnkLP/57iOAzvUSqyO\naD4sTYwXoCwPqTiEcR8Q3SpCp4kKd2nfB6nnANbBlzNU+Dp0rNtvK9EzTqKV\niVIPEwb8AKiAQXHr9O+wg9F5YeKNPDb/XOCC8isIxSwI2p8QNE5Vyf55RASI\nbn/u5dWFkVjsAfgocPIC9gcbsCRehag7A0/K44EHtRLpss/8Z8jDIflbH4Fd\nO7UBJC6AqEwqUHdOBmXkWM4ufN+Ra5se7xpbNQ3+kjSMHVYULnHZUU+Vfs2U\nf6F8mGBLOBhEQo192AnGZ8WVS2Zy65Jzwq+dsMrgUWbavFMoP6KuBrQI9cqk\neqcN2zrcUiFCFAMzxKo0G8m/pmdzWfYalsjfrtpcsgva+RHgJgpykkaqv1Gx\ng5R5ITmKNSBJ3th2QBGKiqj7mYvpfAjGXxIxXSfL5JcoXuzZ4h6ydkA1Ti4/\n3j8jHUBFq321RjmqszeKL5go83nFGm4wAYnnQfo+mV0FpzjQ+VR6KZyPCmi7\nCClbvsy1EIs4Y2nYQLqeXYySysCPJA4c/9WvKOfINdkNNdKMgM2msuGMu48f\nscsI\r\n=xuG3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"5aef85b143900bf64f9eb3dfaa5093718ad364c9","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.4/node@v8.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.15.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.5.0-rc.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.5.0-rc.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.5.0-rc.0_1556625902391_0.8105332056776069","host":"s3://npm-registry-packages"}},"2.5.0":{"name":"apollo-server-hapi","version":"2.5.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.5.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"26130e60768e0893f1a909b548df155afda1bcf9","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.5.0.tgz","fileCount":21,"integrity":"sha512-DBG2m/tcc+YJUEj/lOdJV7dVFfvdMrjHmNjM7s2k6f5ul+/HZFWqNydGco2wfLQWRm0P8w0vzn8hr37wbs53iA==","signatures":[{"sig":"MEUCIQCMQAqA25SVKmFlQJtkcrz7qeI1Y0AlEruIw5Imb4l6RQIgTmMMPWD9DDwktmNBcIf7nGc24itEIRgd1CC/N72biyg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53105,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc0X2fCRA9TVsSAnZWagAAYaQP+gMRiS1AmsbY0jt1YHXM\nnrnQHGQhdipcQu6hdCu5UYs8qHvWFAgaMgUYDq2wjHY7gg0GyWHbjVYfeOZF\nUu6i0fMPyjlFp5g8fgYbJjsqtvANVFTCKSBqNof8hiX730dBs8dPeHCTySvZ\nTHcVdpxvz+QpZf/G4ttRPIT7g4PeqwZDeIUcJ8xiSyf0iN8RwlLmQD+jZ9i7\nHUJaHsc/CuzAuTq96qzn3j06gM86C2vREKe2hvELwHGxN4KnJGSavR19NGdy\naL2lBjIWqXP2BpTrUddN4w+ovL6OMtkl8FuSq0vYrg5kXM6+v2ge9ShIBTu1\nL3LK1qMFSTKtRDfo8a6e6Y6OOsIj+tIeU4YsgJ3GVeaNr3oWl+agi74zshWP\nsCWo4KewsVlgwhLWByVXygP/ZKK7SQ8xPH5b4ftm9TXR1RII9ZKCIu7HLFYw\nS66ykhYVbUXM/VoY15AgiRWQ6Rk4bO4coBoXHDLCkjsiIiqra9Re8J47BZrw\nZljDK6nYoIxaXbXjUIQhMi4NwFje4lktk8lTa/hLHdZceSxocYU9EfhUWXdv\nIwSp7trPozSjI0esVQv5JfGtr0awfZ4LtSOqyj2xkFHJjfF2FpxJYU3a68DP\nUBqny5j80hz7/f0T10iIVXgGWuNSTDw54XClLXMheCNMsdkV+aIFPw9swlfP\nIn4d\r\n=UJDs\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"f7e8ea067d6421fbc8ef41f91d1e673cd20f08d8","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.4/node@v8.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.15.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.5.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.5.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.5.0_1557233054506_0.22290861379806337","host":"s3://npm-registry-packages"}},"2.5.1-alpha.14":{"name":"apollo-server-hapi","version":"2.5.1-alpha.14","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.5.1-alpha.14","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"6a007173cbb7c0c27dc43d3a2f191ddca1e94e96","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.5.1-alpha.14.tgz","fileCount":21,"integrity":"sha512-vJOrSApZ3H3o7n7esx6zJeU2oyA6C/8NBML/bKoPbBDeAvB2KHisB5eHrC//xeugppQNMBih49Mm9bbrJhCPoA==","signatures":[{"sig":"MEQCIGjYq0KV0Ve//FSw3bWOOlUOo5NDTR/sdvqCSBaIEyAaAiBaAiz6cJteVSQuHSL1nQKz27rvKX3vLo8KkjO49K8mBQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53159,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc1Nw4CRA9TVsSAnZWagAAfvwQAKA4Tcsj5I7+fJ4sCAFN\nXKmVhimsVZp7DcuPKZFpsq00tUxGBQZF4S9zcY5TLS9uqgkS7SIO7U24lGfw\nwvZoezEPXvggRwJtod8CQSVhwLEFuEInVoqNvaJ0OxZafOHETy03kp2hUC9y\n88Az8WFcvxn5k8sJxSsCtyVtpXuuFZB0e9n4BQlrWfKUYuT7IsSZ/AfrN+v/\nvc9IBoHL9KT1JzdrFafrOLI/EG0YOqEhGX5mFrZk2V3fD+VOh4AmEwul6lLs\noWCXpkkA5SyFpNBVTmgMNakhnelh0Wq7JB34sl0AY3xJjEzvOrqEAxIn3OsF\ncsKc0x0xGAeUJ3s6lw/aR1C+oYDHF7KbQea1p6RK9jsY6ogW8Igv/jp33hw1\ntZbvEqvluitheOn13tYExddydELiPsA//0PNUVPEa1OBA7KEpzLWicCEoUUX\nWuM3pokxkDUufmYRXmNY/YuBpjoca9tQ1c0IfuHACSrDS/8dHtOJFdecNHnm\n324FV+Zaq066nR2cFG0ktigQlcfE1+lr1SUedcHx40XXhETxdtJO+L0Prujt\nW6TIpBCIIpnbNDZbNYFYw0QKY+S/8shYvD+RmeKTLSmyVagypD1Sp4oFVlSp\nOxE3tkZgT6ZZbxiKIij1lGhcYiwXcraey3H7UyE7qjeGcCd+3IsgaizrmIJx\nbPPR\r\n=KUNe\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"bd51b22fcbccb6284e465f26681c5b359f13c05f","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.14.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.14.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.5.1-alpha.14+bd51b22f","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.5.1-alpha.14+bd51b22f"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.5.1-alpha.14_1557453880300_0.584827324414545","host":"s3://npm-registry-packages"}},"2.5.1-alpha.15":{"name":"apollo-server-hapi","version":"2.5.1-alpha.15","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.5.1-alpha.15","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"9797f736eb019b716fc76f40e144528b034516d4","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.5.1-alpha.15.tgz","fileCount":21,"integrity":"sha512-oieFnch+C7vOf1V97rTzu8QSpCY3V7J+gL4CSqjcZh1iRnTDpEyhXbIldythr8H8TYQgZ8gdqtBjo+7LyQeiOg==","signatures":[{"sig":"MEUCIFb5bq6Kw0xaHhT2UPMe3v6sDkiuArBGN7PZOofezh3lAiEA3F0NZrPyAmeoRDqzgfrr2lWQZ73qEYJet3is6r7DUjA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53159,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc1OOMCRA9TVsSAnZWagAAEJIP+wWWkv/ORnzPy1+uuye4\nYU9PgXHCh1VLjv5uFJ6niOKW0WhwioMJ7YekKwygxDtJVyPx5NPu4ZZfJyZQ\n8s77QXOevq0ou6OzNCcyJ04MxhqS/Tgkje6WVQs4SZb9nGbJ1moQmcAWBOey\nn78YOstwr3ZznbcsZZnrXVjab1/mVCiMoq33bGjQ04T4cTMqMyXMUh4K3hDQ\ne4niNQiZPVp5W6bnVpk2eJbfrRHZ8/q4769F6UWesFW1kJ8dGDeA5J+dApFG\nQbq6Pokrmo8ne0Dw/b7eE4M4JlANtEj1rrDKy0xZLUPwy7A4KTzJ27nfAGCG\nTQ+9w4XMf47DRuXSnGuZEgRcum2K56tmeta5C9QkSWfCrA49QhBvXkAIxeBZ\njVMt4GE2qf3oisgjzsoX+fZ6NuMEjZ5LoQifkxXjMsPVhDqPkzf3WUYTp2Uy\nB8hJXCxev6zlFuvk0uC8tH33OjCP1Nxt4ha0Pvs9fFAW5fCMUyTbr/ZTnq3s\nWyM8pD7V1+SKDiVz0bz83dcgLKstJXzL76ZhCeZXHANM0lxCVeVEx6Ui1zhp\nFKIPZDOcEvU62x5E7bONLCxpEkGrqnTsXGpfmn6atbh5rPlAT+y6MuyZtdSk\n5szbiSEBY5MRnlVVtBxjpUvD8niGzff8IbvyeTO6TcLr8w1YvuWUJ3vuPJU6\npVZ8\r\n=KN1i\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"e2670f66c1d39eb6597f2f524683843f4d95663d","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.14.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.14.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.5.1-alpha.15+e2670f66","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.5.1-alpha.15+e2670f66"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.5.1-alpha.15_1557455755526_0.7661691720222781","host":"s3://npm-registry-packages"}},"2.6.0-alpha.0":{"name":"apollo-server-hapi","version":"2.6.0-alpha.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.6.0-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"8ac5f607eeb05e6cfe2dd3477726d0225b11fdb6","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.6.0-alpha.0.tgz","fileCount":21,"integrity":"sha512-XwUUDIgZaKrNBmVYsGApXzZnythzqdcoF4znqBTz8F42hYWHl4zj14cVxoJuaH7TIaq959+U9qOPohFS9oTHaQ==","signatures":[{"sig":"MEUCIQDJ/254/k04NMIKKSJKD3dbaFJX3poF1E8YT/CBER3tYAIgYzS1XDxrOhBr79D1LTQbE+SvaFXuVb8nuhEafYBRRH4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53129,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc2cQsCRA9TVsSAnZWagAAFmEP/RX31FxTNwvpCfG4wzoa\nYCTHmqWxRF1lnlrtTG6vaNCVPfQq1DleQtPXZU4gRYO6DzeBrYQx0+4H2VDS\nYdgC+Gv54A8vQRQQ6Sp4Xv7m8CJWyWg8+6IHpAK2gZBdA79+IWvLASF2ZkgS\nQr42zVgwRSdxE5ZQzg8upt5EE82WSEJyaPdkJtV8DYe3uuQ5iR8CKpJVNw82\nkZVvem9LLC6VOtNFnC72KUVztJq6pVoeEMHQG0uxyzcmhXP55HF3+YfAW3Ty\nz4zlTqjN7L3kJNKbN+d4US6d92BQl4asKnKKUcz6JccJdrNhzYt9AnQLRnm+\nL66O5JeXDSzc4OGP7A4NqFnIpC22B+yd7sdw/zv4xCo4rgN01MF6segjJSx+\n3sxO+7oKMM99vz9JzX0EaoP+h2tF5hTjv/OLvYC3KRYsjVVtOuSvhik4ijzh\nHoUWVjYMm0qFGNsWW3lApTe8mo0woI1/ks/r1DhdvCmdrKp2vkUZtahUsU3d\nayWvuHmsqV8bwP9Y++4NmHEfjx0A8BybCc3Y8zjpstIT64tP02dTf2fiVlLf\numVWieQW31vZpYu9HIJHmxMEYtLO07QDzLRp8EqTZcCKDqfkgZE1myn6tblV\na40F45xaaRY50Qv4zfelSeUohevXYtRX3I2pxZ96Ju/LSVLfObkrVIO8wdRw\nMCYo\r\n=U/nL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"2c2f1b6ed2c79957de1cc11a298249f67f2c59e8","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.4/node@v8.16.0+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.16.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.6.0-alpha.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.6.0-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.6.0-alpha.0_1557775403437_0.8505653455277054","host":"s3://npm-registry-packages"}},"2.6.0-alpha.1":{"name":"apollo-server-hapi","version":"2.6.0-alpha.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.6.0-alpha.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"e80c15108d9812d5831b0760f8e0c09c5c4cc711","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.6.0-alpha.1.tgz","fileCount":21,"integrity":"sha512-Ju9Xxd1OcBhkkeYvD3KSvEvpi1WEtLZJdW4sKfOkfb9XSu0TaChndH7kl0a5ILJDDEFtkcJRyREg7KODkLG/kg==","signatures":[{"sig":"MEYCIQDFuNbbwdIrDMiYXeFBZ1oIhN95fsGWiL3ewS1Za787SAIhAIjqO17435b39vFC5H4tCpDWahDgLguVA29W0pXpGV21","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53129,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc5ZZNCRA9TVsSAnZWagAAjbUP/iwBJ2usZMjyxmAAkpJa\nA4KG3vixi8FgzGLQQd540ImHnTDdsHFEgJEU1xw7/w0EfKt8fi33ChYlXa86\nHvoX/XZyBqnO4hx/OY4u/AJ6zxeEdxfQaifgkG09vZFyUi+QwP3g9bCz86XE\nFYm+0KaDPaCQwzDs2M2VJ/6olReJkSP+SpcZ0Cw3dl6/4f0u0DSkup7Idspx\n4Sk6aNGRFSosdm1J9DfI84AXVt1iQqFCuGRAJlNXCXbBm4x/fG775XwqTVU0\nchWiuyNv4g5VMzbJseK/XABPcpVyeEqlkGj3Ijt9E7aDeA7WwULAbmgZWJAx\nR3Gstm3tZJslZeLk6JfaRzkvn5IrjclwBunNpVNTnkPBabxmEyIFT7Ic0M8F\n6K2QyOp3bX93A3nDvzeLJhSvuFdxdJxW2vcBwepqIMpMhcvrOCr7X7Lu3/Eh\nVn8S8MYdBRtEpA7UgsrHqq2z2kQ6CgwKy4NYMGuf39+QH2B5Svg3+MjB2IYc\nh9nai3AZriLAo21f03pRTyZPFKAXL/a6MrH0KMLDEajztCgGo0UxzIWeXCro\nbRrBMp5Yp9euT0LL6e9wRWl+HotopFOEPZ8UVLb7XnNjrO/eknh5XD1bM9gv\nD6Pnn2S8K5xobg2WtZXLEeOkHmosZSJ22q3zCOiwGBKadRsi1mN4dPm4MTtp\ndQ8H\r\n=rmqX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"81282f920f901994544925ed27f5a2c77f8a7120","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.15.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.6.0-alpha.1","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.6.0-alpha.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.6.0-alpha.1_1558550093064_0.8686649982745132","host":"s3://npm-registry-packages"}},"2.6.0-alpha.2":{"name":"apollo-server-hapi","version":"2.6.0-alpha.2","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.6.0-alpha.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"a87d78093bec7ebab1eb50c93cb29749c61f2720","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.6.0-alpha.2.tgz","fileCount":21,"integrity":"sha512-CzLsIyK5Z0dg8nZoelPOrMDaRCRpAj6XDgWMgLrxuvEUtuRaHvXVUEi0QfB7rGnQC4sL82UDefZylXl63UiJoA==","signatures":[{"sig":"MEYCIQCsLUBUoaXgngPiEtvkrkYk8Z0VA/HmUrrjGY8DKiUJkgIhAPEkvPZvI7UGtMvUubrBtRlXpwzCc8lQciAQDci50lzX","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53129,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc5axpCRA9TVsSAnZWagAAOYQP/ijLtydI1GngvH54NSRx\nRQufANbe9n5qUIpePYO44flu+r/Qr+X74PyjsU0XTB1cnGw4N7iMqhV63Qnt\njoWN7UzV6tqPckDkk3EJQ6CnOyLm9bbBG1pb5rjwathPZRm8qfCFdoJgQUpd\nGl/7M8Iw/m5woAQpYKM5CaYDNsiHSUMUBtYilezECE6oaIMSvAgMqfR+B49Z\n8DN1gUnydAFNNWsH+BcieQtKunQ2S+oT3FGARs47v3ETrgpUM9nQ1fNHglKK\nXNbzBwLhksmitgI+3D/pnv5KrjexgqdNYU01WbI++DPqj5Lb4o7W9Ui+Lx2F\n0rj/3bFvwOHS9YTvhFq8wZ/nLKhf147aYg/Lu5hMUmVgUZAnzX4FuBWWOKOA\ncngBtx22TmzbXWg7tSwlzuyZ1ABoW/YGpi031ZHYUtxnUu+QTWtBa6KZm8Hw\nuTIEb5oxiObylnuhBz4kBu/6vGWNkW8YhEZck7PSnf4K2arWQ74+u1PsY0x/\ni/CQEME8RKTiNuaQa+2sK93tUFidwVz5lQLX/UbSG4uKmntRwjQHAR5T2nB/\n0NU5eHRUeVa7hXaNo6uXioaMfNvCVdjgbOx+kIUzSY4N1IcyIcGcToo1L97m\n6WPqZ9JHC1GoTCxsirtkEZT6lBAXkiQX5SB7/zEEerLFZPmGPmLGiwviPO40\nQbTR\r\n=Q/Y1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"ecc9880ce99428eb6a62c0e6bff242beb1799f27","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.15.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.6.0-alpha.2","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.6.0-alpha.2"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.6.0-alpha.2_1558555752997_0.42618319211860944","host":"s3://npm-registry-packages"}},"2.6.0-alpha.3":{"name":"apollo-server-hapi","version":"2.6.0-alpha.3","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.6.0-alpha.3","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"733a1628f0b69e4db704d802d71d50763feaef18","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.6.0-alpha.3.tgz","fileCount":21,"integrity":"sha512-Xav6JM5kUPEZiYpFXjLK+1u7r8hltkhUoUXiSRBcvh1BpTv+QCngw0KJONs9wbRoQCO0UCgQQenxGV1FYRzroA==","signatures":[{"sig":"MEUCICJsco5bEYkhMy/6bWYIk/nwVfvBGlAxyWp9eeNvS7dFAiEA0L6yvXpbX3oWg4LrX4QnO0Qqqcbz2cEyPU0+is+3COc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53129,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc5a11CRA9TVsSAnZWagAAquYP/ixUN/+BZaI2X/T4ZFKB\nLoFyvOlitWF9HoL1j5Yg0BdgaHnUVFW9gnQw6yLPU6bGcWVibXMUL17BtjuQ\nQGnSCphK2G8QBcxYPe4ubdARkh7KUch7Lr9gBcTtaODHRMZj9YBcBKIW/7BM\n4vxoQ4Vt+ElqA6S63/edgcraZHm7i+uarQozNE7GjLa+Q8GrCePadmB4blVI\nvuRs0hht6cWUAcZJimxhgtcDN+03avtgd8x1Rc5J+65gihQ6I+QJeacYfIxt\nzhkiVi/Y+eLQ8gkWfcWaMHq/EUGiVPfpKYqoZUDMXKhupjkFUWywKJDdgNZe\neweJAjE3jL7nMIlxTjx1qi/pb94vfoIDOayIAOuvuRbQ3btX6aF6pgnoFoCv\nHu6jSY8pdG8T2i7TdJrXd0fAzOFkJRybVYal/gz91dJ5vrU1BYyx7LXmIhn2\nR0Dpt3v/MLSldLGgOK2ac2sIRNXWI+xIZQMAgSW0LWa8ipLdC64tWVZDFICV\ndiK0cjUsOzeg7mZKa0MP+MOFHl11DgOC9NUf1NOXmGkIap3s1+DxkreDsbSF\ni0rwqc6Kwn0dpf2jg1oP+1s4KzcmZVLGWFVK7O+7g5LGxymfMtCPXtZJjZxY\nrZO7tsaez0F+yEsE6MCKyXkCRmnXG8HbHJaAU5Kxh1m/HlYJX5rpMxDnM592\nXRhT\r\n=1INN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"7becac459840988ad698966196cbe120c7d680ea","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.15.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.6.0-alpha.3","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.6.0-alpha.3"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.6.0-alpha.3_1558556021121_0.3529606464044326","host":"s3://npm-registry-packages"}},"2.6.0-alpha.4":{"name":"apollo-server-hapi","version":"2.6.0-alpha.4","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.6.0-alpha.4","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"ecb2ca2e974f7954ebe529cb82f85253b77ab7cf","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.6.0-alpha.4.tgz","fileCount":21,"integrity":"sha512-TvZI1gGWcoi+lnvzoHgmCQ+YGVY4uNk0yU9NDn1zQ79gHXTBnGCG+KED2SttN+mHZIbaM0LRdabdD9wQRZmA/A==","signatures":[{"sig":"MEUCIQC1IXkwQL0+MXyOL54nuCdyHZerzCzMTonXywMXEhBL7AIgZMtwdw/Q7C2aPy6MaaR2uzHZn9qI4BUKbFyrfhQgjSo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53129,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc5tanCRA9TVsSAnZWagAAi7wQAIOLKe/+jsgt/3wv3NYB\n3T0aHwrB03yaDyPU8QQxIh0mnrSGkHFYupFTUAgLb3ivlEmmbs51rhqaSwgZ\n6k8pVAAxEny3EJCyg3t0BzMPu8kwVqPJIochkDzrItFQKIntza12f9Uc2bt0\nTt7QXVFfXeiu5qWOVVR3qsWl/8EFpEfngze54EnlZXhkutJPybfnOxUJ87uo\nI0iqPa1KROw61yhMADDrU2SjunaQhdbYMZSWuHGAI0nqWxriuapCHVWt34Rl\npjwt+leayIMpbdxa/Uu5aNJ7upVnyk28jB3yHJjh00GeM30w72z5972V7H++\nVReMxOg7bg8PjFyNlF6mFtpJBvVe0WWuKctpgspleSVo9pL0+rneOvyDk8hH\nnEP/YGblHI5ICMizCpw54Q4mXtIJwAFYjcWXEFjh4H4EagmElI8r7QRAoHnz\nFFDDTlA/zweIsWXVo2CMauKdFwdTisdB75Fm3OvkZPSyA5bayjf+g7QWkWtm\nFlzP09KWMgGAwJ+DzXXVZjUrEbT9LEKE6VZddp7GBqQ5yfBVs4oaPBaGF5D1\nOp3g90XMnmCs8Cfd0zb+2AORIC/vHlZixhD+FmaRghURrRZoUHr3wbh+Mp0O\nNm+fZBGJ26py0ByjOqKr92+OjxwyYUsP0A9h0ZeDPKVCSUHUdURYT+YMUha3\nCSEA\r\n=FypM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"bae1f5c4b748c9935daaaf899f5508af18fc2c41","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.15.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.6.0-alpha.4","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.6.0-alpha.4"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.6.0-alpha.4_1558632102609_0.8554804945769106","host":"s3://npm-registry-packages"}},"2.6.0-alpha.5":{"name":"apollo-server-hapi","version":"2.6.0-alpha.5","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.6.0-alpha.5","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"039065bd8e494fe5171365a8683817c528016f8b","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.6.0-alpha.5.tgz","fileCount":21,"integrity":"sha512-VgyCl7OutunpL0RKrOGkMdKjL5fmNTBi+lR7Ni2DeDyw8KQMcHr+FIcg0ateG4SohByxdIsbzh5f7R8wZC8HfQ==","signatures":[{"sig":"MEUCIHdijKfvEHhHg3iDCiP3kwlRyOrhTJf6jce2CC4tGVxKAiEAgaTp+Pzfdpb0T4MhKaJOVk9povA1ykOJL0G9J0DQsM0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53129,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc5vcOCRA9TVsSAnZWagAAgtEP/2hxdW4d8fsFHhkBtK5y\n3/F7LAmN/a8TIqZj0s5nl82OLy1Kyw/D7MCL5PeA+z1XYyiqmDLaFvR4wSPC\nm8phlyVIhCqFWuhEvP1b7h95erXPZeAimAQIn1GQWEhNLg+yDtSJdLdqXotb\nhwf0YPDjXLnTYAA150s+aRrSMtcvTjVekiodGhwvo8mr7g7NOB+kH261DIIi\nTDV9NO3pW65zK8zk/nGxmfZUoRQaPqoTxt4ZZ74v7c713AAj4+4YVsWTemex\nqVVPctKecODnJ1BnNplWV7NLrE8HOh/6SC7zneeIOPgynKO9mFB4PrCLm1zO\nlfqTD62EYQ5b5d9s471Y4tVslxnKN3lZTp2iVh3JZWTL4KWXQfSJ/V62Po4n\nx9S1GejASi5d+hAQbCsRdWqXbPjSlfiGrs/KdB9Hx2SLRqVoiGnz2wO/o1RX\nKh/wiJ3EGFAdNueamiGJ3zPTaeom+fh1FxTLTzF3hHdGqHqKeZFo8McfVwot\nMmgsD/eazta1bHtyTpWmK0qEf+yMfLfE3LLFMOjFW/1MkDLvBcXOpHouW8v1\nEe63XJ+jeGuBQwEhcmc4WgOzIrJGV7qIUKTW9H+FLxkKGeXqCoBmxhuv55yh\nCVMFpcyHh+U7Ys8XPIAZn1Z5XAQJSFWVid3Lk1lwwE6WBpyHzt26KK61o2io\n7M7J\r\n=iZ1m\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"2654dde239e1b91980bc58c21bc576cfa40e3966","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.15.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.6.0-alpha.5","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.6.0-alpha.5"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.6.0-alpha.5_1558640397425_0.04745097551234578","host":"s3://npm-registry-packages"}},"2.6.0-alpha.6":{"name":"apollo-server-hapi","version":"2.6.0-alpha.6","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.6.0-alpha.6","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"b3f3189ad846283c1de083e0ac9edc7354aea3cd","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.6.0-alpha.6.tgz","fileCount":21,"integrity":"sha512-r7p3QyOi7EKvjJnO5Ruzp94GRbTTttJtoRrKIvuVv9VQsi0RyeZGlhisQVRsQq6hAYkFBModMA7L27icUrwUPQ==","signatures":[{"sig":"MEYCIQDI95W/4hcG9CSLgThXjL/hm3N73MzzUQ88QY3YjeiFewIhANdsRGzbV0g835G5XgF2Nb9KdLBpQNJCJlnVP6WlFguc","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53129,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc6GCaCRA9TVsSAnZWagAAxzMP/jberICwHXyi/3bIkefv\nrJvbzin7Z4x3Wbt4CzfZX5fQazGliaDsS1KXqx4F1K/pPFlf5k/PCU7JAbPU\nmvUTDe+Lx816/Y2KPjFsZPkHx2lwvifuaJMrC5DwcZZ57LKxJ5sJKffvR76P\nu63AKnHmCrnl/3Kv2xJTXFqshQzSTFJ74GMfoQaWaTagKsss4OqoJjPOinA7\n1e4MQVfaW6J6F+E7lKujBxi+V+/A5ghBSqnKepNE1Bu0O5fQS8GaYwtHne1b\ng88yeA6eTUVwCAS67vy+e0fBCtXe6hNHnW3oOkrmrjsSB0cggwBNdnb64PHv\nCxv56MOr4pTxwZkDAmTukPJWXkiaSnJzFEQcirsinvVnAWsLhAXeY0qJP9Oy\nr0EAWu41129zoJe1svlOkS0aAIm6bXY3neR+92mDLla0PRKc4t6MqgTzREsu\nH4Mln4RjKdd0Vo8pjuYrJIPduXShDTt1smxYyKMZ4/uFNvxQGJetmfpcAuA4\nwCe/K87y9dHYKjK3j1Pn5APHil6BtM7YQRSztwOLYoqu7z0KzsgCZXr4b9Zy\nRxoenSa2MmQxyvmog/k33dBtsp+el/JKxf6ds++qDFm7ULuuwJkqI43wawbQ\nhQgVl31Qn5qtJSoKb8QPZxPZxulpfzv66IOWvAraFp6XfERu3/EG5aCGhAgY\nI//S\r\n=s14B\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"590c1baf5cc5aebe58a9532c717453cc9d344a31","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.15.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.6.0-alpha.6","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.6.0-alpha.6"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.6.0-alpha.6_1558732953355_0.3681849367228489","host":"s3://npm-registry-packages"}},"2.6.0-alpha.7":{"name":"apollo-server-hapi","version":"2.6.0-alpha.7","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.6.0-alpha.7","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"e2a0decef4c2acb595ea0cacb45c70777ea74cac","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.6.0-alpha.7.tgz","fileCount":21,"integrity":"sha512-1w8s3ha20SE0HenvOlzSemhQw8M56+XxIZ4bcyq6+rO7t337cHsdQH1TQBTEEkheIVSww/CyWvTRrVmMyuuZiQ==","signatures":[{"sig":"MEUCIQDjOClN0eTJt1WysJzHUTet4TYvMKljUHOH0/dW5C0mzwIgQOdH80+Oj061fZjNSBZ8F5qoAS0I+fBtzwQQSnck8wk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53129,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc7CwxCRA9TVsSAnZWagAAgO4P/inMyjfkFE7cZ26+aCsH\n5/skOgmIeP5cGCy4oRmHHQk/J419Ukmi0t6X9S/QvHje3LYuBF/i3s3in3o7\nt0D+u2jmTL+g3YNSHN+Fs2tP1mP8bCoXCCP0u870BuYi9FkuC7q9xN7nNEvf\nzDzcY6xA851o7dHeB3x7qUMbE5AWQ7j2I3SAKW0dMmuJH64n1Fx/YkVaSUVp\n8gMRSBDFK97iiPvUeRZYRrFNIQQj1wTj2fXF6faaNYx3mK8YZIJb0Cagl4I6\nDWZgnEEhrDakbuTO9lpv0NXVMWRvz91uGsQpc7gCQpPMvjbfEBlFHgaaoHi3\ndzup+3qX2Jl8dQkk757SfJY579SDZRxknbf2wBcVGp83uP0EA3hUsgXeoU0U\nTJQ6xQmKnnX1SW9WUUMv6iDQrDYz1fIZ9ISByTfESdgH/bdd2stFcxwRVHYF\nBXXBOvqWZP1TJzBvTrkuxKU1xYQofSS5z+RV0SUNkL5gaPoyAk+eKv6K4W0N\nGuqbY1K7R2ra8GoPwPxmO/ogpOmBvSQb2NVsB3XoeehaQzaJVFMcylKTxPi7\nr0dOMXeb1TSHl3LDeCl01AhpVf4I7Xor8Ub+yrtzHCunVKaBOm0pB15LBhzM\n5d+WCDksnJCTuxJ3lRw7jLfl/diPQmj+2GKZTk6TCBMNGyz+qOZkAKjYmW3G\n47tZ\r\n=uJ9X\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"b544a25db9d3c6372f96210f901c5c9076610391","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.15.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.6.0-alpha.7","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.6.0-alpha.7"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.6.0-alpha.7_1558981681121_0.3805526368713832","host":"s3://npm-registry-packages"}},"2.6.0-alpha.8":{"name":"apollo-server-hapi","version":"2.6.0-alpha.8","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.6.0-alpha.8","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"0943d2d9e6df628e4b85a260a9756206c26afe06","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.6.0-alpha.8.tgz","fileCount":21,"integrity":"sha512-G8pXRxLMQnCfYtaBcmmFKiqOwU0VO/qlDskoK2aUqnO4qeHHKdIDjBOqneG2MvfXG6efH2n0JbjU6HsMbp9j4w==","signatures":[{"sig":"MEUCIH/zZ9JE+c7G6dwufUEWzcgbn/jzcNn+UJo9g10D+1ZGAiEAhgNTVTZcYNTWaVI32eI0A8EfjDLNICT0AEpLVT+oNFs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53129,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc7VMlCRA9TVsSAnZWagAAEx4P/iS7JUZocPjd2sjIh5fU\n0LiXB5QzIP0fmepH5CU0uVeUACFRjW9q6GucIQukw+uD2LqoY7RIZuJXdBCQ\nGwT1JeXMnQgz0FZv3H5HhZngoNpgPTH8mdwet01OgU9v2e+exUbzyIbga9BY\n2wy69V851imh8BpVrk8FrKdSxL7DGy/KRgtWL8ddxIr1fo/RRXyK54JR8LBD\nD5PVaLFFwM01iCsk8i3kZeUDu0AfOTR9NnXzEd6LrEzsMie28gwHOP8W70H/\nzI2h8Uvyn/Q4rFf0qo0IRnvnlKpLMWvEDaH837tahwZ2h5aGwNyR+yygAt2h\nK9MtFS+5jDh/jIQ+qsoeSeDsPE0lASqixCSizCZKLNBlATXYlp/XGEyKcTZc\n3E7TAlcywtlES75IFmlDo0lGqNL/8jMpkh1Q99xQjDJpZw6ORNTQ3Xy1ynSa\n/nLsqlVux9YRbw2iLzHugZWfU+hjQFWWJX7jIgqGRMxxCDSo2WWChd1FU0FR\njJ4NjRZpfU05YCK/ME7BPHzk2G4zlSexOPe8j2JwwxDt2JttxIdCQnrx2Yl5\nXA2BzeRdsbs2N7nMcWc/eJPJaXRilofarYBKTlXkENbVjA/2uQWF2nsCN+O/\n7TL4axfMnJPacSxzcZ9x2sF2g3UISjJGnp7BafaTxgliIjaXHJfCuXDp/6Qc\ne3m7\r\n=LdjY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"85c1caf6c52932493f6f811faf59af516e8f7dc5","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.15.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.6.0-alpha.8","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.19"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.6.0-alpha.8"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.6.0-alpha.8_1559057189132_0.6630875449230225","host":"s3://npm-registry-packages"}},"2.5.1-alpha.0":{"name":"apollo-server-hapi","version":"2.5.1-alpha.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.5.1-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"7da3947cef2852e6884ad1d0086bc60aa9f6b945","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.5.1-alpha.0.tgz","fileCount":21,"integrity":"sha512-+fSaD39OAusznrusaeenxF2UfOLzjqCM9iT769/iaGNwj4ZDC5+yVOTBf6RXtmgznjA6kCr3/yWPBVQ113ceWw==","signatures":[{"sig":"MEQCICQFf/pM8GgKDEbQN7dD6/6K8jjXbDtxztBeV/If7AhzAiBer2wg2C9MKOcMEEwtZWxrR3pfaEHtxg9L35aYNacvdA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53129,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc75xFCRA9TVsSAnZWagAA7wAQAJ8imuYXd6eu6NOSL4IT\nAus67MZvEpfPL3RgL4tAwiaD8bNzoZ4in0A+023RpukvjecoyvJbqSCO+b3X\nQHY2XAxZM6e3LelKawUYg/+sF7fwUUB146N0RB5zvjIbx1KFnR+7wx6uROnS\ncr5hZOVrXNWq4iOzXWaRJ3zW84NmianAjdIf3qmTlK7ACkbWGsyPuDJjfq4Q\nMVtZsqZzc3srQuU7i/KlnFHXWbIlDwDAbEuopGntRCRM9DbJNEbbqQXGQ1jW\nBXl1FJM8epD8rmYwJzAUCifcRXZ+COeeRemBpmkOUdPxaqXhgvdufbctMB/P\ntxxPFln/+K7Hnk9mmhHsPj4/fbCgxxQHbYn3EyhBkRPF/B1kSTQOntWj5xDx\nEQbVP0bAsmiWYClMA0v7WW4Pwrh9YyIethOt0FxIz9d4xSbom3c7gkSYvn4T\nFu2GIv3Z2y20q2CWrNz4Eg0dTU8sTT51hS1X+e/lYRFF/KHafaeyLslP/y1+\n1tBXWHRRHV76GxSCJ6TRIGyxvaVofKxMURsF8O5snPQNK6kaYazeuDVUJNSU\nYUaNep+twD+VE8pR/Xv3NVF/ykEL25MErTkTliP8dNV7Gsx3zmbmjIuPlKhJ\nN/s5aAUohQM3ai0CHE6NgS3H0LI/8wmScow1HqSRWoegTJ2xUIh8FKd1XDdg\nIEGa\r\n=cf8B\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"ffc00543701cb66dd0d83798caf295e4052473a8","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.15.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.5.1-alpha.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.19"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.5.1-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.5.1-alpha.0_1559206980582_0.03792311213413302","host":"s3://npm-registry-packages"}},"2.5.1-alpha.1":{"name":"apollo-server-hapi","version":"2.5.1-alpha.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.5.1-alpha.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"0b705a9d29186fd79c14f2a4e3cf5e2bba1662ae","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.5.1-alpha.1.tgz","fileCount":21,"integrity":"sha512-JBDGTy4tsqDOhGQiCch8ShK01h6NWN026D3IY8gJ9Lz2CzlIPivsMHlYDUuVxJ40bGRwklB3DqhwegSJIrnU0A==","signatures":[{"sig":"MEQCIBc9kJfyiOUlzCjO4mQ9pOH00F6bo9hDNeqtZTAPSw0qAiAx1pWwZYaUD+12iDLmQhkY/aJcv4trQzwvhvIuMRQBDQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53129,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc77cbCRA9TVsSAnZWagAAIXcP/0eJx5Y5VHBsa6fLkIVz\nfjhA57N9zj176jKJzoZfVdyy+0ohHz26gmuxVLxgetcvVU3jyZJfL7VS1WCA\nM+efuTYVD8zLzEs6Qi8UycIYE2/GZDbLUK0s+U6Dc30pWD9vV1TPRxFYMHXU\n6RLAVgaMzjdY3kqsWmYWtzJDtA1QPFk2hb8f9TNLk3mmHk7nI6z5zBnPoGmy\nlCaLkuo9OdICRrXBiPtmDOWvj9Z3/tU+oGbJPXl6yq+ZUEDhO0dXGms2qsig\nsRPnONHZEJEm6uhWPTYtwZ259qfOP8t+QIZUDBQVHvzeG9P90+0AFzEaFVVA\ngnhMTAn7IAxN5A30YkAuUqPSfpmjiNxPJgIJQgeW0T3GWUkjM5a5QCrnwRiK\nDHjIbo7ac11tIIB+Fs9BSWVIyqsscbkLIVQIbUbVy7im534LkT8oZv1H20sR\no3sFuk0J38F4elqyy9I6pG7v9jHrbAK4luj1VBNnB08Z2gwqPKAlewvy3915\nBtxQp8xIjSqd6pC969y2g+Igl583ub/DV+h/Dj4kO/KqpiqGXyHhMMh9voZM\neS5d0Xc7d14fr7eky9hed6G4QU2Lq28BoHDJtUc8380bmG2fZTZ+idBPCJLL\nV/SnAWpAYo4zzgs9EVj8A/J2QGo582vUBQsDz8UGJieYAtags4AsbfWfCnhk\nFHSY\r\n=lD0W\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```sh\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"240e8973a67f6404f46ab1fb8cddf6a0d824b242","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.15.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.5.1-alpha.1","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.5.1-alpha.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.5.1-alpha.1_1559213850525_0.7587112247806056","host":"s3://npm-registry-packages"}},"2.5.1":{"name":"apollo-server-hapi","version":"2.5.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.5.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"bb66898f7e31d3c36ade438cc0e4e5b64c4236fd","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.5.1.tgz","fileCount":21,"integrity":"sha512-JYgxcn1eFUApTN7dF4xVHpGhfjGBXSQJmKgZi9nu0cDEo7LDnAXUYxkstjFlR5dAKzLmxjQObj7kcTvpVaoRQg==","signatures":[{"sig":"MEUCIQDZo8xT8F3qqZqnp8qKmA+W6q2S0yKgJQFK8LHK8LVSvAIgRB1qVJzyThpwY7N+wAR7VeQsvxqRSPeJQF8oXZkhbXE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53105,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc79guCRA9TVsSAnZWagAASxQQAJncGxTK8YdD2fCMkqf1\nBzOHQi8jYpCT5TDoW6VgDZu+zuJiWvzwXf/quCHizmrYqmm2PbrwmFf6POq8\nNEgVBL7u8onC8S/ztCfD3ly8tZwP3AH227E9Pb+1/YLR16gYeYbFen3/3/ba\nMX01mf/0tfD4l8cxcisk+OtgZjPQzq89IY0E4SG+0uscT2g+2tZh/zTVDN02\n+/ez0hEEUMOShGtOWz8BAQi3L7ddLYSsMteZnLWY+keAoW5vYtwd+1kVixTp\nV0YOTKgESxyMjSzz1AtngrNaEgZK2xYaDpLWKLRbcRTIIwi7r9OwFIFYXZLh\nGMbMcxNduW+jMg0oS4jIR1VpjPQdEb/2PBb3vgG01KcDdaiK5WS8Qzm/A+Yw\n5fuhseQnZPJbFrmn3MEBovigEb2Ua9OPtyLAE9x6UpQksIAFL+gmoFB0UBAu\n0oYZoOoMXdWGpRYyru3KDQeGIOZuHgV4eZ2X8ZSoQZNjb7yFKU/W0YkJOXsK\ntC5mJn++aSAKjONurI1GZfUDo0CJiR5bCMpQsGf1o/qcYWKpAA20OGJo2eaQ\n39A/B//Xk2XfvaV5pwRljRyMykZTpd/eXqz4qAzheZ/ZrVCYCQNv3wxOax+q\nHol7ImJACbECfMlvNULChvQeACrCJBHoyyAiXSc8/2lcYWeYkXJ5oZMoNEWr\nReou\r\n=2tZR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"5814f0a9f53cfff131f0b127301866f9242ce196","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.15.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.5.1","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.20"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.5.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.5.1_1559222317945_0.06812553162424018","host":"s3://npm-registry-packages"}},"2.6.0-alpha.9":{"name":"apollo-server-hapi","version":"2.6.0-alpha.9","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.6.0-alpha.9","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"c76ccd0a7ac7377cb3d03ea9e38bb347f0197781","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.6.0-alpha.9.tgz","fileCount":21,"integrity":"sha512-RHG/8XCWbUPzHWTd77uZEuImY17XynoziBel4K71BrwWb7zfhlzWkmPMbOjuFCqGTQs/q9TUpO037Ii9Y34MIA==","signatures":[{"sig":"MEYCIQDqWwmaX8tlhCC8UGRht7WOFhdKYuMc4GOZnCEaoLnToQIhAKIOXKr1JNNTSJksrY6q/7XC2kkR9wQhnMZLVTP9CnMR","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53129,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc8DUpCRA9TVsSAnZWagAATgUQAJdqTpUFdtnovgXCt55z\nUtxvoq91N3kzdb5yjEuk30i46nxZjFnbnYvKuOXFKNRsG2Er7gonCucCvrxj\n8tQMv9GZNs4VEKp/xwMJ5mqwllrr3GRsA48swIAKnL2ULntJ3VaNTr91VRm8\niy9QOotsGU8etNnWuLYigYEGZE7+/1X240JY374ec7A2cHv+LF47aeVxbxZ8\n4zBs+1t1wZW2fJWkgOwHMCkXUzqc0/EXfCQV/2jdLMy/oqS4g16rdeabW8qF\n67yDnc/VM9thbV4yiDvN3zJ/TGoIk4g5EtqjfpRrtOAh1Aw1cjJb1vyNBltZ\nIsnssjd0W4qUuFkSdNyjHzumm9RAvJtV8KDsLXvqeA68trntaEj/pVFX/RUz\nlaY5Mir6zyb1LVfDSIpmpD460tDX4TsYKFZwpPCa1IjgCzws75Pr6MIXsf6E\nCE0MpefJzJA12Q4lGv7jC0vPozu1r1uLLe9iPoOIA3NEjfSQ857pWrgGYKNH\nvGiHA1+Q9SthrKa3f41/9YZ014Q2NJNtKVGGCDw6GL2O9YqLINrKR05FF4Ds\n+IlEPifVkHVDBTgU1W5G93LEWkfQvuGjfJATVz67ROhsByaQMg1HEu/Q95Mr\nMlkpGixqWAimqQwdD69U6hMgd0yES7drvBRDtg0H+PNCjkO8xBBU9IidrUx/\nRyKU\r\n=Ia3c\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"fdcd0d29c14a76bd70931c7bb5961b49a4f84d0e","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.15.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.6.0-alpha.9","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.6.0-alpha.9"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.6.0-alpha.9_1559246120923_0.2443850641542369","host":"s3://npm-registry-packages"}},"2.6.0-rc.0":{"name":"apollo-server-hapi","version":"2.6.0-rc.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.6.0-rc.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"ade69756276a03ee9ab34476fbb2663ef5e9507f","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.6.0-rc.0.tgz","fileCount":21,"integrity":"sha512-0v6poDHozDpNotDwHanJmwxGNKsIvLX0RcVKnkuPRpxWCch4bTbGvTV4NaXje6IomGLaqUMuGYxgh0Fy5VlzwQ==","signatures":[{"sig":"MEUCIBmqJR3f2wgeqba2yROHpvb+opYjTzApUZ7u+7WpnX38AiEAtMDYzGg1/uJPnb5/hezx387/UemTYntTlDqdcuhrVgo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53120,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc8D1LCRA9TVsSAnZWagAAOfAQAJBaqcArAmUD//f+xZ1i\navidNSq/0csDBmJsrZztlBwZJhq6Ti7ZUpzaoUaVWmRbHVMiXJJgbYjirqfz\npW1/mCld3v2ghk9/MhoXhdybSy1m6rr2QCYHHfO8h+qEOzcomGqO1AxuT1Tt\nZdUCZd3c1MUHd559mHsUaKE0M3Q6BViR6Xau9ldpupN85js3cXEksR2buIej\nGOvo+nhVGA1g97rM7KHmLCAPsO2NxQL1KRCnPP9GhVCTa1kPy8nQNO1q2Dv3\nZFEYhezwhM+Dgk6eXCYiwO/Ul7myT9gkN6QPscCUEmiM8hmKoVtjr3meEGty\nZM9tLycDdTDUJGsQFRrtuS6uS5WzstK3DDTp4g62jyZ8xpctGGE2BrobHAid\nj8ZvNvzR/2F3Elj60x8CRRWOXrA2INwbFlggEia5jT2N+i91Ny2gWOlkYaTa\nYwbyEGHesxvJNeUhr48s3F3xZkcF8oa4wDN/Llj4mx8fWuXHGFABTcZrdI61\nCdnGLp4g0pNtnDjWvSce5mAveO3VSNxQC6X48UtSDzgQnyDlCN47ueAPgcKm\nnGd3dhnyuOxTnKxqmh1cmuSZZ9hcl5aFxgZ2wLMF54RlRJOMivD5BEWgBq/l\nz0CqmwumwLa/Wqz02ppmlJo9AqTkV5CCRf7LiMqGJLLj2zmhyPAYqRSQaczm\n7PFx\r\n=sx5h\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"cfdac5365781a2459b3daea5dcc6769990cbd666","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.15.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.6.0-rc.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.6.0-rc.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.6.0-rc.0_1559248202877_0.2889939568733513","host":"s3://npm-registry-packages"}},"2.6.0":{"name":"apollo-server-hapi","version":"2.6.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.6.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"735fadc1ea9291c90703ddf58559b14c77b4d994","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.6.0.tgz","fileCount":21,"integrity":"sha512-LfpKLs8GEP/KkU05D3FTZmQfVwg2EGqHAIJXHJXGGfeaf8Ct9jikIFWrIK0WRHFo5ZrzeXIS0NeAYabuzywqBw==","signatures":[{"sig":"MEYCIQCIKvJlK3UWA7bdoC3dCLgyNGXh5O9ChceYS2lGKw7iZQIhAP34BSOwVxoynBb6bHBR0bNtlYqlTm/rpplQp1l5MLDB","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53105,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc8WtqCRA9TVsSAnZWagAA7aQP/0/Fqn9/iPgsrqzMjD34\nwYvZha1p1T8m0yVTpTlyNzgUd7o/s52k7ycNS1TlwPbgg4nQIwrE0Ko9nD11\npYC7PBIRaGYZaE8oju+guPiC71P+0BdMIeL2Nm4upF35K7DINbH0V13On21U\nEKd6blrfMLlt3wsKE+BmZ2U3x3F7t//FnbY1wATkDN91MoHgFA6XxupDkEKI\nhdFSQaM3Rvi6l6l5L5gZN1UDbZPIlVXcYU9yzux5iito+bPZlgrObpqS5tKq\nGnzOZsA7/3pHkuf2sk8KLztdhEAqXU4UBOAdt7ZUqYhbX0OAS1fEs/5ZnErO\notMMiE6cyHP4ooxShFzW2z6CG4dzBJyqXRiX9nS1sRJuiFI/SJd+p/8aDv9c\nds7LKHfrusPLyMXKQp9XSUq5VOW65CsSXpjHoL42RnYjS68gDRsGWTsBkRoZ\nIGderWNsfrnePKXqgu8pJ/Bzi/12onFTIJnVMXFuoWgshG3QcymFp9NNLTXH\nWlpZ03Ydrvw1+RVjPLsJrhFz31DLvGiulC9dBKp0mxs/b0deG969K2GBdTgX\nozIXgLan49I6Q8bmtiMXrhtJ+E/kMJ66jNsc/5gpmws58LITt+t3fQoAMKe6\n+MP/lY/Uka0GosjEkGzVJL84URMC7QtBfDgg4GM3sXyLB6qHmVqvM1PtOmgO\nDUaH\r\n=Ks1u\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"dcab64689dec2d00a9c6d302c7c05c5ab847e855","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.15.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.6.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.20"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.6.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.6.0_1559325545661_0.830210491532972","host":"s3://npm-registry-packages"}},"2.6.1-alpha.0":{"name":"apollo-server-hapi","version":"2.6.1-alpha.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.6.1-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"fb30495cdf5c0193e394bbe3c3f721859d9120a0","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.6.1-alpha.0.tgz","fileCount":21,"integrity":"sha512-Wej2fnssAXg3eswkHm9fMBUdNCM1D3ffg+KwGPdPBiFMCghh7KuzY/r088YhS93oWH9nehbk7zP5gMgW0pMDYQ==","signatures":[{"sig":"MEUCIFf1k4vaXm02eEbBl1LNTDWbuiFAuwAUbAZvPL6H8skXAiEA6FfUxkdeMrSMVgBXdMo2yFdL+sC8y1lcXfLaqUVijMQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53129,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc8Z+nCRA9TVsSAnZWagAAxjgQAJxlu/sFgFuX7NUgHM3S\nTV7aASAoBUmvB1Q1gAh02yI9rA/v3P8n3lQpURqDhiD1H1sCn7G+m9Gx2LBf\nT+a4Q9CfURl1TeKXJEGWhu/LTRiJ0MMKl87DKJA/2TgxpNELq4yZbNEpLTHm\nV3gS7mEhStOSaDzJ5m+vKW1nla7ZaiwAjLTbj3hm30moZruQgkAbW93hNu63\nggq6IpOM1jJqSlbUpKef5KvBZdJfJq6uA7mX28cTXfLX0MiQWITiwV38cB4i\n4xor7i4eLr6EGHcgi44qY6zZI6uels1NhmP9oN+0gTT+G96OVaBp+ue1skLt\nDUn1VINZ5jEbRo/5UFtk8IQ/axYfXE5ZVAOQ748sRCa/J0l6wFn6jJ7Yo3Da\nqAv9F7UYPgeiZfNjDLlLi3idflX+vjjuEBZBQqk84HZy20hoO0gSrudfXOCo\n4pBIsjd7pXzYOtXITb4LwHg+WoZTCRoifyB/Ak6ovJZ0xruwP+q1MLQ4Z0pS\nqn7VxfRCpHuhi9muB92bdPiv1Ub/yGO3r+ErT62MYZFPmwdDflYowU1UNpXa\nkDB7aO6WKr6JROQaSV1Rct7nQ7139H3LMomPvHU4aoXp7klfGoKyx7gJaMpM\nabOeGuhnPUsNquRuKStN6uRNfUXTx1XE74YnZQQcmL2f1JK+uY6ADrFrGurb\nRghj\r\n=tFEq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"acaac3c64a050eac02848cffc32feb514825b672","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.15.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.6.1-alpha.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.6.1-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.6.1-alpha.0_1559338918430_0.47128012376613704","host":"s3://npm-registry-packages"}},"2.6.1":{"name":"apollo-server-hapi","version":"2.6.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.6.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"cd847f22b1b7d4f23179f7c0374b01faabd447b0","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.6.1.tgz","fileCount":21,"integrity":"sha512-EGQHT0OdcjTx8FoddrZBwtpzhBOwoA6MqbW8bOnnGlhfcDh5edTAUUofu2cYXU/QqwbV0nUSycCqae5AUcAy0A==","signatures":[{"sig":"MEQCIFt8ueaGgS2SKMBKr+m+HTWaI+JGZr/ksRy4PkrDv7wOAiBmkGes99tmR9SVh5mr8b+N/i9MNsLutV8AG4caUp9lFg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53105,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc8aSOCRA9TVsSAnZWagAA1IAQAJ2AkiGiJGULsSoxNFDd\nlOAfjKFW0tnaSCauPZmZira0cy6OGgtYFb5XjJnVc7gEwEd6BVOLB/iI1B7q\nVjQp74sY8QWQGt+TYBo0x72hzW7a43/2Gu8d1neZrNpaPEJsbdZ7zE6I/AMn\nDk4mw7XcRUZ1060f2ZDiL49IM76TDqzWvIT6WWQByyeBX8OmccR36VDORlYb\nXR4eqjh+6PfhmuoVgF2Tawd2q89W9ULa+CiVkQWFINW+mjQVcmr4q4m3mozt\n3sAGVj8d8d35wx45M2NwdC3UfYJKsjb5UOxe6ERG6KhXKZH28abdmbbyvzKD\np/nYcCoGbSGmpIf8WxrtlV+p77PluI9G2ujsMexNbhi+pBjWAvIDM08UW777\ndQCOt9HNsDZaFtZlYHOwYvL5uzk+bQwWJfvQcI79UsNBvnZe87TD0IwEmFhk\nmwWI2l0qSMbvaOM59ZSQCYAwgnE6jCaUGCm+3JjlI5JkvOqlsVc+4S/No0vd\nfzh34MbLArW05Jv/G4vFYGG5dxQYr5vdAANJXUGVOPYwH4q19/4Acooy9e/+\nrKrg+wKah3COJuD0NHlr0Y6r8y7X2dZzF3ZOcMQYUiU7qMhB2rtU4WJ0Id7F\nsfhIv8YYzmpWJcgrCQdyaJ5BxMckKuin05gcMLGDakgrnQlJPQqhEVs8xrB4\nbF5q\r\n=hnFf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"77b044169d61dd50f8426a1ba87710cf38fefd36","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.15.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.6.1","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.20"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.6.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.6.1_1559340174129_0.18948579029222512","host":"s3://npm-registry-packages"}},"2.6.2-alpha.0":{"name":"apollo-server-hapi","version":"2.6.2-alpha.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.6.2-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"e9e45b3acfa0cdf999345e7a9cd6d1d2583c64df","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.6.2-alpha.0.tgz","fileCount":21,"integrity":"sha512-vMMzhG26yg8Wa5z02wcnA7ex0puvJNkfW1xNKeBdyzgkgD0QmrLMDqQT8Dc/y85B7m2LnFI7GftIJCHRR4c9ow==","signatures":[{"sig":"MEUCIB05/Ouu9nXOQ1g2dcGv9UFe1suoFb5/N0aMZFnMp+6NAiEAjg/putHsQLy0eS7pDyMR4ZihLfrHi6DdZ9Kr0CewQJk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53129,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc+TDeCRA9TVsSAnZWagAAdLoP/1Yl3XtRPKirYZqB0wbd\nfGFrqW+qP+gLvP8NnEoRnLsH6pIHX1zf/3Cgr8UJkhOpyW3FbEdHy/W03fi6\nikbf8jmUFcYZbD2yI0uF5B/AE+Qn+WSnW8UykkPZ0DKuVvItK7kYUAtnfYao\nxmMJkE5wk8GT9tFz9IPoYgJZSnNGNon51+rRTzMTCvgCvI3+DIcp8IndUYRT\n/CQRxrNTiFXequ9ZgUHK4hSJ1eQqxCjLBKWRqqPh9JPo+Q0PoX0yPZKjAT99\nY03uy05L9ZLC9Z0a4wqcrMKmcd4+e2a4eAx4K/4DDMqE60JrUW3XMICuBM1f\nBgSHLJsFc5D9DrjaCa+VUgt65Z3gKrZPBnQnfLOZ58US/eIFXszimEKL22W/\nadfYFgZeSM92AkGmSXD5+Uw1inHWSPa4gJHoc8m9BOnzSxzLwI6yIpMEOja0\nrdsSs3+8QLhRw+oWVXGuzcsq/wQoRd9uIGBgkNJHG1mp6/wymguhszdDM7lI\nPzRAb8H4nAHO/pfudH6nM+kIvCIKrqV7plZ6t78Zl/qP7vgUv+JR8u2Ha3WX\ndRjmdZ76MorYXk6JS5LAt3dejQS7sLgVYVCybwSa+5JCR+fv14mKrvvxY9L1\nFChtPFM+LfYnYev6gvaf1HDAnEaPoNzqD+ZaPOkyB/zSz08e43ccPYTvUeF5\nmn/r\r\n=NQaD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"d7d9180a88f22b7259742fa4f14cadcf34c557cd","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.14.0+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.14.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.6.2-alpha.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.6.2-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.6.2-alpha.0_1559834845914_0.6309065396985241","host":"s3://npm-registry-packages"}},"2.6.2":{"name":"apollo-server-hapi","version":"2.6.2","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.6.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"34708f0df12e8f1347adfafef6dea8f47ff8af10","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.6.2.tgz","fileCount":21,"integrity":"sha512-aDPeZQrBZHyKk19FDlrL2eU7F8a0SB5fO3pwnj6UZbVj5/hi8hUcCu+PX2LHDRc+eYL1Jv0LFyhiYFkD5Lff3A==","signatures":[{"sig":"MEUCIHO+maeYdjpn7tcSIv9H+WAkTIyatascnMmeVJLPxTa8AiEAkFtvIAUBj2OV0yl01ebWGM48+fJGi+JQ2msR9Jfswbs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53105,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc+W4lCRA9TVsSAnZWagAAvSIP/3Yvl1btkAdjY41QLMQH\nKkcc082fUkI9RDZxDPwhDafuFGlD8z/L59kte0jETwhZ9xznL1fNp2yfp79V\n6FfAryabFlDu/YuG8ATMgkbSqB1J91JoBu02L/1O4XhLfVAkA4EAio/8B+6N\nkMWOuxdR41IMa0DE+cF3pcH9OxmYM9QqWPWnxOSXaP3oDEa3LutnxaMEh9TY\nQXN7Z97Ep/SQSggRnspInDx8xOa6kWZIFBWjywVRxfVG0VXuwXW7GUCZ0YlO\nx7l6zOVjLKyEYy24CBYIblt0OUmSE9tML9aLWTGNU5MHmNdlxtAEXuX5LOgX\nEcH1/Kuj4Mms7ROHjf2B8UZBG4Ebmo2TF7ctnw3P5M/AemuJ1Icd1lKrnErk\n8fE82eaWLu43R4MkRAgagew+224BUFdt2n9LQexWo3lJshJRLqHrMRnRtLqi\njGBp/ghrW+xQz8h2Zjr1fkNoCFNjvmI4ScJ5es8G6r7HjWBB1GrMshH//lR0\nE+PfRujVtQrPrIiy6khpTdFRtLtwsluBCjsccK75yBn7XUKPq/g25aHi70xN\nyNO+v70Q/T6dPBb9S3yGt1UldVt4FYgijwlpbZy4a0TM85l6cbTid6ya5wo9\nNNtwEK3o4rLqGSG1ZFoFyELlyoQrtoXbz1xK1a+TxE+0oPD6/q8+PgG4WLHO\nEPC7\r\n=gLae\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"4fdf6f2aa2f14854b54b0d6de7d477afc7702916","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.14.0+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.14.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.6.2","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.20"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.6.2"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.6.2_1559850532663_0.4660473822408091","host":"s3://npm-registry-packages"}},"2.6.3":{"name":"apollo-server-hapi","version":"2.6.3","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.6.3","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"12d664c649c5166244e34213f3103a2dad118120","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.6.3.tgz","fileCount":20,"integrity":"sha512-MK1Gp0u663aEZU+2yfFFd0lm5Gq/2FuYAfgzoo9zVv7Mtw3ddmGIY/ivHSgjFC/79N+YDgXwUmY+NvTMzW6BWg==","signatures":[{"sig":"MEUCICzEGIlC9ooCqt4tZKl/nCG5rBHfHAO7CRVXsyWBmfmeAiEAvXyJvJ4mKRVZqMIJa3l/F3XbuB9im4Pn1J4U1cae2bk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52008,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdAJc5CRA9TVsSAnZWagAAcbYP/jAB3bIp54bY26AOmceO\n1fRHfdNHazm+vYXLEtUyjAkBAXRTayNI+hPRTs0DwNMd7Rr6KVI60s2jx98q\nqbE7PzBUJ5ZNyWrJRjSsuLxPXomPlmcnhDbAeR77cV15IiRXk6+ILI4XyBuR\nqaJig4Oh0sHkKQUobXwDgrJnv0gMiOlyJOxHgkGOhhrNVWunZ+gGEvEl0gif\nTx2/1+838a/o7jNUaaSTz2v55R0yA7wwNpt1DqsYQ+dq/rlJogJEueNeqkz/\nE0KvtNorgpxHjpxZX7VnGqSxkW9p94OWrr/o3oi0COTTr8iPU94POgVSXDe5\nXJpOcnTrzvS+ANKtIPUhgXHNAryfpdmGv/FeJRQkRwTTpvrmQWcL6u6uMk7z\neFatCu/j9k4Y7q5Fty7hYR/XY4H8cOL8s8hF3vtcavS26DWK3SLm2mWUbxPu\n0XRtWj9JUjuUmsVf/h4pGFwV61khI0e4iL1P2sNeKBcFhZrUdaNHxo1BZtTX\nAAap575ePq4r54SABh/RZBezh7fAm8eHynd2h52V7iHNMDDoQJzEWBRRhc4y\n1ww7zeNVA2kZYdzqvhjgdrTyEsrI8inFXD00q2bxMQ6/xcxy8WBLdjAJnwyN\ncQ5M6mlNHHBxXK0LEpxksjTqCt1Rq1gWRPBpHyu/aDYar2OCxkHBT8OsQ03Q\nscTk\r\n=lcRw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:apollo-server-hapi-2.6.3.tgz","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"9af8063d7c2fdd56dad5144604aef78781ed5727","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"6.4.1","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.14.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.6.3","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.20"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.6.3"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.6.3_1560319800612_0.9389454769058263","host":"s3://npm-registry-packages"}},"2.6.4":{"name":"apollo-server-hapi","version":"2.6.4","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.6.4","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"2dd80795bcb424b1ee4c1a87c1778643f0a60163","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.6.4.tgz","fileCount":21,"integrity":"sha512-TXhBkfBNSiNv9285J4K/BuPh7cOB1N6/ffR9URr/+hLGKID1q4Yq8WoNnQb8/JIxOZCLpSv21YhTBkW3qFf/Kg==","signatures":[{"sig":"MEUCIAH2lqdAe5QUrz5r5OP6eOAeJSjpJbgmgcXdA57tU6ydAiEA+pRRvItOaY75oVuv6gGa9XVPA6OgIicPik1nZx1PCkA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53105,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdC/GdCRA9TVsSAnZWagAAHf8P/iD793flKL9OozKXOriw\nhYwBKTr6l4fCSHbx/QAfCzb/JB7dQ1jIMrpNClI5Y3U0vUlJDMWV5r4FinWH\nP7KIzCTkMtVj/7WT32Xlzf2Zt6jROFmFqD2Q6PJ9bw0acRFB/WabT4rNXBhZ\nHndYPpUo87PNH7aBi1oNdJwru9H6i8uKUywtr99vNB6IMakSJ3radkd8qyS2\nzmwOmX1K0SyqbBfdBL6t0T9zGwhA/AmyFiFRLMgAjQDlBmXozFT+Re8lzIE3\nryQIGgLHU7BfAvkvhRf11fbLL1c8r0MEM7IaZ49MGhD9YsKT9Py15mG4v6P9\neKkVLn9823qOIewRbZb/aH2tBseblXt246dkj2D/qQs/y8pVggpQInUnChQR\nQWZKD7cFeie6De+dqqOrMvhOYxEUhyR0IgVSbSktX/8z3zobIymSZeY0A42t\nGH+6oYjKOqXSfr813qpYTr1zpoHo2PAY8yShazZWhodtK1g/MIcuckUMVsuc\nb31pEgLKSeO8tsPp2LCfkQ0tNFKcRVuItrMqYOMl7UOS+I8Cp8DPNKvt0Ahm\n75e4XLQh4qLEeSGikV6LFlCyy78Idu+i2PCwOsCaZ5BvjK2/Xf2jlCXszR3n\nETXveSCmFhFJqQeTNmc53Yy7CrjsB07d3gLHXB0dF9n39m6h8pUk6Mwtzhmg\ncNQd\r\n=onSd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"e6929134939c653fc817ed2b8172b4ee42406bcc","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.14.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.14.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.6.4","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.20"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.6.4"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.6.4_1561063836557_0.5826289989668294","host":"s3://npm-registry-packages"}},"2.6.5-alpha.0":{"name":"apollo-server-hapi","version":"2.6.5-alpha.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.6.5-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"3a3ea9f21809092fe815268378712aa257009fc8","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.6.5-alpha.0.tgz","fileCount":21,"integrity":"sha512-BP3x2lPk5UlvZ/TnQC5jP3BS1mlKJHWcPbBwTKvoaP2VcgNWVrKAfpJ3W2TRJNpLPVD3V5Cqj1BvkeNYC3AYJQ==","signatures":[{"sig":"MEYCIQCL35s35Wm52V2y3Gy7NpdEXsMt5ojaBHCfAyhV5Nr5lwIhANV9hNqNKwSZCBqbx9Y4XY1nBSNzXbPErgQ8a4GoHReG","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53129,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdDQsMCRA9TVsSAnZWagAAb0cP/jdc+9FrYZ4RyAOl6nSk\nIAVwsRMYvUg5fdaBYM8DM5Y66D+cEHcqud07CNHDlyjMg3csSkmFWGF8dLnA\nKvHHCDE10fARMW42GoWrhDAq6rDl0x++bQPhkANvDIhjpnXAY9pPTcq7Oa/f\nj6OFROp7X4jEfMFJcQZuFUTnPnqNLLuu1pQVStK5s5OrpHyIRVn1mqr2nXbI\n6kBsxCI756cecrWGgD08y1RIM5Hfr7bENj/5CLVAQ8MjhmH9r+7UWJZxHFPV\nsR+hB8td1HG+WBUEclE0RCB9IVV2Z/E0IzhJ2wGX3q4HhzTSHrEKvWKD9ibe\nGpQpVlpUrWVDBX3GKBsuUrpN6t3iRBJf7bKf7SWijdid1yY0n8U5ByZxnVZ4\n6cqAjCBB8AySmppz8lBlfEU0BYE+5vJfe0XXW9rRVmE1XJcMhXP3HvduKtvR\n6IYa0SlKW31XGAe5MDS6QqYAOsyKRnwII+rwprK+lDOnZeXC5xwh7DN8pQbJ\nLb28QVtg0dbjE40om1d/eqSxw9jHeGTZLPSrGlYhRuQlDV6gxemLIDPAfA2R\nsQpJXwkwhTElzr0iiPsqJiAdjV9oOSDA7AQc//D4vbD65qkw6Yu4UDwJ3gAJ\nvYnGUpoCJp5HygXWFm8+psTfyutln2+tHqELRt2sjEyGqq+EE5/so8MYOqwB\ns3eo\r\n=3zQl\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"ec329472a9c779331132a0ec4ebec9ab9709ff8d","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.4/node@v11.14.0+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"11.14.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.6.5-alpha.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.6.5-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.6.5-alpha.0_1561135883875_0.5606996391895236","host":"s3://npm-registry-packages"}},"2.6.5":{"name":"apollo-server-hapi","version":"2.6.5","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.6.5","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"785a0cf245b9b72bc5042d923171ff1268fc409d","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.6.5.tgz","fileCount":21,"integrity":"sha512-tbLsMPBM7FuhT9ONSQbZnT4p4ysSt6UWWjhLhDxLuiPP4UJaVE3P2UREnRQHhEGZ4aqNGdSjqLAsdOVeLT7I1g==","signatures":[{"sig":"MEUCIApkFlIEj7muXqdA4iq8vsUfwFBJI5u3uxbn4NOBXdIuAiEA0z5jOdeyKBNCc8sI+6RG96PmkdOtchFwcj+cXj44WhQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53105,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdEkneCRA9TVsSAnZWagAAY8cP/RJfR2EFJVB9OB2ClRB9\npuTlhjrl7y1cQFfLj+0od1dD2XQY+ieLD6ldMxCm9IuUC2YKrbDFjSgZWtTU\ni2wBjXXVUSN2qfCV3b7+p2viVuuVCrJ2zTJjlGawlyi3zJcEfe2301zgiTox\n1qXmT17D/5Nv35TeBTVdHk+zJGXOiYWJkaiLEwvlSC0gamC57/edEypgzoXy\nluYiPBNG3nzSRMn5GQCl+FN/maQo7jGXVXjLI1z4StK/oi6eYwOTdKwzLNwU\nGJDm2bJWToyUhGLVdcWqS+/DffGg87oRf9ADbvLzR2QG7AjsfdFTBWyoSskE\nvEcm5Mu4zqhwQoZewvBnJfEh+IW6rD66ftBUzXHEkqZPBjL2n9+jdyAsXnri\nEXg7EFTdNuKuc8mj7YidIk0H87ZxZHncfy/GTrSgPPRVweJeAkfKXBTyuLo0\nLB5t5aXXPYNqa3hwbw/GNs82mCHGrX3lK0i70aU4JITHHxXlXYnVewqHzmtj\nlXbwA/920zP9nGWhLe+BfqCrFwbQNxjO0XAtGhj8AiCENCdja0x7UiBKblmC\nUk/qPEOYdN+JAynKe8EsBonBj3OepQqh+KiO8wJvvJa0EQn3g4rfwHLoACVD\nIwapZq+N/i2PNuXHNC9jzmXE5HD6qk3LX/UnR07uRLJEPxaEXe3UV8JdQ6UE\nKL1L\r\n=p1/X\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"a2b2a0d8f013826d08433129a69834035e04f1d5","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.15.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.6.5","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.20"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.6.5"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.6.5_1561479646185_0.8748393751398789","host":"s3://npm-registry-packages"}},"2.6.6":{"name":"apollo-server-hapi","version":"2.6.6","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.6.6","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"7b613c001874d2cee21246add1dd27f9c1eb2dae","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.6.6.tgz","fileCount":21,"integrity":"sha512-w5JnglLsANJ2H029rjKaBQ2ltT/ba3zjZ2GRadYWZACBJoT3TiGgQxcq4Dimon0YSosz3h1vni4LpOrYKc3lRA==","signatures":[{"sig":"MEUCIQCn3dzK4bPS66P+6TgSsS1XUssU882kP4G27FOwjhIIQAIgexA88K+rpiRRyruxyg1VweTlQSyFX6hlDEnoF7ZChmI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53105,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdEmOzCRA9TVsSAnZWagAAzG4QAJfPQAdQlSFeOGNf9tgU\nDY/AU0AuhFQHxcgiMA3YIIVMXVd4SbLUenBc99mLgqJije3s7mrOGQpFtuDg\n/LkWjRgfXVlB3nqv1rIlLJJLlRCEse/hhPEW/SElV9BhbTgmO9ZN196s76ZS\nrG2vwGk4eguWAKIM+5eJki5um/L+w4CWIv79+bWzsMPHKFgQAuQBk2MT3die\nrP6H0P58hhGQnis88xCGJlKCjxhY9H1XbASujQsbIb3rO7VvtXb0xQvVZclK\ng7igPCtPeqwKJwHRNc8JW0PmI+fH3dBqd42pYXyB06pXZx2/dXZcpdg3R9e7\nKXO9Myx4HNhfMjT68jAIzBSM+SnXqm4JxkCmjzqxESFp17QOufReshp+gZRv\nxa7Y2s0as/ioJF4x8poSVW/YQCSgcY3QNKNXS/9fHvD7h3ikscZVcC8tshpe\nra6rsIwfpl3mylGMX2OW15qkyei57RZkQOvwLcNLPXIVeSGjUjKtyvjY3f/f\nYbLuGUFBPNSTUG0kviWtI3CHz0WSBs/pa9tZiu5Im+hiFH/9V9PglCITT/Nb\nE1WLDnC3rbjhzTwwZN9qNqyG/G191/B4aV2BMktgqmd7fSU481mxFNtE+Amm\nldg0U+5WNn7tg9jkcbvR42rOr82l5LpleEWB9tK6SjDLPrLIfjtCme6O6jee\nb5if\r\n=mxC0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"26db63cbd5adf54b07a5b67c0e0fbff8e61c79aa","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.15.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.6.6","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.20"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.6.6"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.6.6_1561486258667_0.6020793740845485","host":"s3://npm-registry-packages"}},"2.6.7-alpha.0":{"name":"apollo-server-hapi","version":"2.6.7-alpha.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.6.7-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"e9d6fd94501fba45d694c9e98640f98c79f55d05","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.6.7-alpha.0.tgz","fileCount":21,"integrity":"sha512-iKK7n5n5R2kN81uLn6Abjx/EtGPSKOPU//rvU6fxdDRccBZW+ZPcLrseQISl3IbHP5oeh6DjftTXEYoAvrXHKQ==","signatures":[{"sig":"MEYCIQDO/ohjtk7Jl+5wip+BCasuyyUyAwX4rOinb9JwfQEAvQIhAPa3ba70pbbsf2UO6HIRlIqjLB44xTq184EZwLfIg711","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53129,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdEptuCRA9TVsSAnZWagAAa2wP/3sA/Xxou9fCAnR3qxeS\nHSLUiz6iR964GcplZPZZ53ecozkN/pO5UCazXAzCggIua+Jk9pNZ5gAdT6k1\nFeLPdddwCcEzSbVM3Xu6UjlaiQp02/Jmw50ofoMxkkNrweytomdS6Z8gKcvc\nDZn6JhNDGNN2CzoY7iECP7C42Ih+5bVJh3RK+DW/3CcP3EXjE1HWwGiMhRDq\nzk3Q/QRSnL7ZevHwHgDHvNuj9q9VFGNCFBVgCiiTekhORAtGnUP0PgQsx3ZE\n6OD+E0S58SV3dzGasEU/Nvq/3kKSN/cqnc5wQrdalgoo6wS8RDMmXdnxP5TP\nlBxHR2uoQ5sxWVbv63ZOXk0qoByDxh/2YttdL7h7GJnvfanW/UMdAtnFdxzf\nrWylPBQlyc/6M3NgvYD0R0YUNeJS13DkdY+8LGplLMESdQwMdPlTZED+qHUm\n/xYZNAKM8cYHLemzMV7phVJH3hNv3ZcPH9x8TXKQ7xtGAc6A6BOqvewmAZZI\nGneopDu4JPaWQYN29iiRD6RWDNaxEWjuQ62isKt3DPaMESC7aOJ9N9KyEAlj\n6RV/fGoLh/d4LzRpltXCdJ6yyHb46KYU76i8ZNy7+pXih4HGQl1w2bzSaN6b\n26HSXHcqF7tRoOjVoYC+j2MQRFDFwBoYQhGAfMgf96qI9NJwW7kiK7PuycLQ\ndbhG\r\n=+hiN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"ec185a874c2f07b3724db62a3ec8560cfe3850af","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.4/node@v11.14.0+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"11.14.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.6.7-alpha.1","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.6.7-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.6.7-alpha.0_1561500526003_0.9162867208934207","host":"s3://npm-registry-packages"}},"2.6.7":{"name":"apollo-server-hapi","version":"2.6.7","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.6.7","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"f3a111235efb67832fad1c8efe19905e151f6742","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.6.7.tgz","fileCount":21,"integrity":"sha512-AO225V61+OpQ6xPKa/tRV6BTUsz4ppgZFCyCSs7nKocgHnad/CRepA152iRyJgDgCW7X9QSibieYiev+Q6B+eg==","signatures":[{"sig":"MEUCIQC1idQhyi/ZNu9abkukFDkeQFWydZdHVepHdBr8Wzp+ZQIgAfGIzMnOJxczXKL7YEldxjVOyfxh6QYSQghCGPi6Zkg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53105,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdE1w+CRA9TVsSAnZWagAA8vcP/0i9PzS6F3Z4l9dDqi4I\ncinp2xtqyjndhQd7eQ/1oHy/e+YqIsgkKZRAzt/i9zZ0ppqvX8uPX481S8py\nqafrnN3Qs8qnNSE88CkmnMZB9SxaOJoInOhOPr55655YC+AJHi5oeUa+gtBx\nK54VD49djBtpZ/DivzyNBtb1hWMR1UvoalO/I+PAPrNISCtA3Gt4/3CzkGca\nOTMcbSYcpbT8rTk6KzAlaDpPUMa83ftSv1mMvHC1DjiSSp3DTJifFsJhQr+0\nZJcl4P7yr5KmzH1XvUo9fGdswr0sK/LShzJJoXp4vYuib7sFg2lvCjv8ouim\nTnW+bhVjRkhkI9JsJ8zSRZ6jt55Zy/bno42IOGabW66zJnnoqo375mqsC4iQ\njJYTj4oAdF4vgCyp5E/VHAywtrrjnwz0U8GmHJdOtALWLBK4Nl49BEy6bjQU\nZLYfj7Q11lo4hIudYr6U1G8vqbkH0LhhIE7mIQYEHwdOgS+fLL+2NUOSs5kv\nUhilRPaGHr3WicteDbrh6Ne6PtxZVmlZK0x1x4CSkLZ835xdtBfSSOFliueH\n2xFAlNDc4Dnrk2bkheNjk/0c5S5qYv7xS4fb5+TMgV5DhX6h95pjkv6km4vQ\ngKBrU7c23GAkjtMcAzj7ZIRO7EszOBLhK0H9onz20M/fMlMctEZFLW4CM3Ax\njj8b\r\n=m6Lj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"183de5f112324def375a45c239955e1bf1608fae","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.15.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.6.7","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.20"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.6.7"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.6.7_1561549885805_0.8507689007128183","host":"s3://npm-registry-packages"}},"2.7.0-alpha.0":{"name":"apollo-server-hapi","version":"2.7.0-alpha.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.7.0-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"257985c083b6ac7a1fdc5a31c0706242ae0a67e3","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.7.0-alpha.0.tgz","fileCount":21,"integrity":"sha512-xp9nURoTwSglGqd9LkIDJo6BRLYTUYQ97+7iz9v9ATxMERDD4N7Dk/vhUp9w8NC5W0zpO0LeQDp4Nkw3Y80KRg==","signatures":[{"sig":"MEYCIQDC0CjovXVyAFBYB4gQ+Z5iX3+r4y9TBK5Bcg0Xl22oxgIhAPwdUI0jh7gl3DuZEFLKpQYgnFpxfi9ULdNK+AC8D3Nm","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53129,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdFSC3CRA9TVsSAnZWagAAllEP+QAz0oGwSR1ZIr/XOkK3\nb9xpGFFoxxmTxtCL5SbVd1qCJQYBVUk7QBHLd0qK+3CxW9ec6Ltb6MGxir+M\nwXhcsuszsB8JKSzhRFKjMP+JYa0mZRvMr1kixcPx3ELPObpY+DbbHf2Rcuv4\nYEtVt1gWnsCiG6Ch+nxUN8RM0C7CZX1/Bj8tMyZG3O3toW3HR1ycnf8Ov7lj\nugc5iqaybHCLCKvqJZzYp8mDSPWOiLNsGhyrqpLBuDZTMLMbzrrtHznOWwxH\n/W/URJt6D8o/f4TfMz4gFSu7F3TQr8K779qy6HzyUsG7W7kGe0cJpUWrofsV\no+ZDuxFR2okXgMMqKuXfQfSEfaTBoioYH4hMklxFn39bYoNoCwC6DwbFVc6I\nUYpJBaL4gmJt7quCDdlyfiosdQUAYp7DXGI7Yx1OIv4B46e0dJz+nyJNxVsw\nL/pV+JFdhQCvMuByQaQ9noahIxYP0wUUltlbLkQukguPzbpLnx6TYAhC8yxM\nBpFdFNwfyrZK3so4NxjJ3/xs4auHVU5IX/Gbb6Q+JdswemudqvnI5y8wsee4\nBHHQ8xPtokFkhyOdEFH08/etYngBifZN9f+Wed4ywWQ+D0wk6wv2wrc3DOIB\nAq9Q0oFW+XQ2P1FO1wRmChZKGE0FoBtYkZ0jIRbpZfAgXK+LUtS8RjFwXpuV\nPj8w\r\n=u4ib\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"5ec74e31d5a6ca6ab4c3e1df6fa0f178f8610293","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.15.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.7.0-alpha.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.7.0-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.7.0-alpha.0_1561665718555_0.4561632262349469","host":"s3://npm-registry-packages"}},"2.7.0-alpha.1":{"name":"apollo-server-hapi","version":"2.7.0-alpha.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.7.0-alpha.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"49a7dd20e03821bedd9abf97e361133f8f301a17","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.7.0-alpha.1.tgz","fileCount":21,"integrity":"sha512-4R/Gy1pbMxWbcASZnDrhjkbnhIbr6eZTNMP2IOmXwLZ61xsJMq9+MFUvNDQTmZXI11Li5qbsJtBpR5ZDhCoUig==","signatures":[{"sig":"MEUCID3PewaeBlWKrxo3n5jK6LXCOrv87o6V4lPUiogg4n7JAiEA5Hu7mAJ+VvS2/Afvf79OhA3lj96b7Ue0r7pmoIKQrnk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53129,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdFS6kCRA9TVsSAnZWagAAGWUP/39ZVtm51Njs0PRIpjRo\neGLIEacnlQRFgfC4oeTkU24f6kn9nrncQr+Cr4foIemHBIUlkpBLKlNS58by\ngz9h2CiamD5q2Zf0QMho4YsjMwgZruYGWcHUIjF9fGRDwR0l6ScEWNLOQs5W\n+CVzdWPH/0Kgr9qScwDV+qWmZV98f1hOh3nAlwAkW1J6DNHSlY4PifvMxxij\nUCOadnfV9uvFvwJu0JsMF48P2NCbJjKxqEkwnOmWNWoWgZT8HSL9U8expPNQ\nSmw0qWeWkvxZTzQQ8YAkixJc4OmeHL5ocJVlwZf6ax+AEO7Ev8q9MnvSajS6\nCVK+5H0ViCBp237J26oe/6urtYBhN+oDNNVlg3/gdxjQTyIKqY3c+XCOQAGh\n7r22wAm1If7saoN29b8rQTnzsX1NbpBq2JHemXqpxRP70KOoLpvp2dU6t3W+\nCGM+3ffX/KvkVuRFERBD3LkI1f/ybKSJJfCe6G1su8wLiggiZ+MHzyRSg0un\nDb0jVjkcMKjLaZORyFJMxCzVsCc75wE4FfrpWric+4ct4Lc44ZJaXVFBYqSJ\nqYn3JmBds0EF2Di6HLYbaQqJjPSlF22rtneKF5gokknDm4nneJlXKiAGSzLI\nKt3OaXTMnEHjnGXhHgMBPDlRwe4dlwKCOsmY3sRnZwEtXp61JPz0vBIR3oVO\n9ND8\r\n=Geqz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"c1749d75c3737accdfcb69f58bc0f1a51f59e02e","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.15.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.7.0-alpha.1","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.7.0-alpha.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.7.0-alpha.1_1561669283531_0.1650393570497264","host":"s3://npm-registry-packages"}},"2.7.0-alpha.2":{"name":"apollo-server-hapi","version":"2.7.0-alpha.2","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.7.0-alpha.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"f807ed721b4f7119ab58b1c7e3a6d6edb03bf701","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.7.0-alpha.2.tgz","fileCount":21,"integrity":"sha512-MDI6QdqlA/KRK3UNoOelIa0bk3Lt01muSB+q3C1YWtCGCRSfWEP/y9tg0Y9KLf7MRXSlslysMfVPECsM7+OT5w==","signatures":[{"sig":"MEUCIQDD1EyIje/smEUcyvxjYOKP2njeB+AjjEwiYoiuZAR1iQIgQ7B5fBBg/rNyB9BjeVtFYyOXGUqiheIMO+Eyo0Gxu4A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53129,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdGTL9CRA9TVsSAnZWagAA7mYP/AzfTNGjQXGdQjf1fuoM\nBc2e3APNn7/sJrIxFka6Ralnj1n3mJoybCRrcjKc7UbNN/Ditu3ickJ7Frha\nYqj1t8KrG/JyX1N08pIp8P+1ONZve50bwZMvOaiej64H5V1cnApunoPufvvf\nFmYmgX6Vk6WVzFwaWT22LQF6s3Z2+MW7DfJPY3+plUTultIvEPJN3a2jzlT2\nyS2AsT89rhtjvC5SnRu5//HDnPndJTYa3XPxccgRWTfJBj3Te24JiHdcDbBO\nYwQ9xgC3GO/3JND2waKuSrjlK/A311L4SsoQeCGfPAdL5ZZ51jVIfmIdUfys\ngLVrAJU7E2Kc1J+MCTNBzeZ6SyP4vm32H9ilE7x2YGaF80q1nuTifhvdBU5v\n4l5gzXB0DmSgAJdVUv8JrUgABgadiHwN+WFo+Jzga6qjx/zkQnsmbXpGXAzL\nvPjLL1aRTcYYyXJRNk8JbIbDnXudSDQoMCk6igIrGRsgbdoHb1O0sJZzVg+y\nDa30PtCM5x3tlEuoM03eeR43UV9zxg7LZm3oWEgrKFS3B6L73lPptDxpvEfq\n3oOVqg6/6jae01p/a0dVN6kgE8wfWXyFNMvpbGgj3s7dADrN8kmnIo+KQIjB\nBa+1a8cgVQKPI2aAq4L++hjEJCrL+u+AQqhAt+qPDat0XAUixVPo41PrEhIb\nndCt\r\n=BtaI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"c42d817836c10e3b59cc1afd0163eec59d7bec90","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.15.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.7.0-alpha.2","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.7.0-alpha.2"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.7.0-alpha.2_1561932541079_0.3807057567804202","host":"s3://npm-registry-packages"}},"2.7.0-alpha.3":{"name":"apollo-server-hapi","version":"2.7.0-alpha.3","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.7.0-alpha.3","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"a9ce73962126a70e46ba1ca6676e62532d593164","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.7.0-alpha.3.tgz","fileCount":21,"integrity":"sha512-3Krk/Cm4HwRAz+vG0G5GW4o9dV5AeKqsEwO2PaE5Jryeh/vMikoLNtT9aLE9SbE33whlG58JlsPusKwvPeAgxA==","signatures":[{"sig":"MEUCIFA6nuzOh/+oFXoBQhADq8k8DTpOq8Yap74LcnRwj7ApAiEAzZD1nrolhCuVGCJtQ8w/pDOUmvPVUTII8/rJmGI2lX4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53129,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdGmZYCRA9TVsSAnZWagAARqAP/jGdpiQ2W5TYTqLXF6h/\nzyYzGvfXy9zuVPzgv8ngL3qV0Y733ZgslEUuQUCq20SIGj282uK9rkat0eoS\nUl1Xa55tgdvjvIGyAKWYFklrGdXYIZIkZNXZuhWkqoC4yN0nLfsNEcv1KUFG\nbfGaDPmmgbZQjgyji9LeNgOOwGjwLL4EuHiOSktbTuAzzlVZ2xScl9y+LdqX\njCD03BbAz8Z//FxVtJrJYmt1RKeuNyeCBO1LxpusUPQtqJkEOZBYgDiblpfv\niU7O20cJu9Hl0s4764PBjL2nOfcQJzqLOM6vkX6DYrVmwBrqU24Ec8z/iUwx\nK+BxHTb7NHGRFll/DLe4KPUhzgovjJ5d4nkWLOuXQqQoykJwhBEfBnVxzXs0\nor+32FeRC8HNaWwK3LWxRSafDWbrq0ehg8PADXdre5KMuFWXwdYBsNcEDe92\nXeM5GlBODHiEPpOdHbfBP6c97NT5WWISss0SwW3fdit4Z83+LhkR3nfz9Eab\nb95eOgb+DNRLTpPQRaRqUCy/+edo7CDj1aNZ4IaemckV45MldY3muhLFd5lo\naZBzrswfckE19Qixigz+hWJEXbE2dLzfS5ezhBQ6k3jiC5fFWZOXNTbSQPp+\nN+2pKRCmr9HQiwdDd2dji89FaqNUwcqnMOs1kM6IiFm2oAKIhL6EwoDPxpni\nQkeC\r\n=LNQ0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"5f2063d6b315980d1ecf6573dfa29ad56b05208d","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.15.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.7.0-alpha.3","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.20"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.7.0-alpha.3"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.7.0-alpha.3_1562011223353_0.656800321959601","host":"s3://npm-registry-packages"}},"2.7.0-alpha.4":{"name":"apollo-server-hapi","version":"2.7.0-alpha.4","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.7.0-alpha.4","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"055eed3599a96ee6961eb1bff4e57d4145273158","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.7.0-alpha.4.tgz","fileCount":21,"integrity":"sha512-o1RtnkmlANMBX4KCy0yvFp8FtjsbaotVw98+Rn46et7Do9mu2xEgonHqFygpreW/o50qWhLvlSWEFc7dCSkBsA==","signatures":[{"sig":"MEYCIQDINGHrvEHfNgr/MXEDHHLA7MnUa4QBubQ6aPUHeHqFKgIhAKE3wi82uEXbwbs9AMH8wFLmCeJVijgVbnhwhCX0bah6","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53129,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdHS6lCRA9TVsSAnZWagAAaMMP/2np5vBWeRC8/6Kg+sKg\nRMAM0AdPvw1jauucWZ5v1VOxnCHG/LVf4EwTK6jaYd21WDdwTpcyV285AwcN\nyuvfisotIk7NCu7Te7b1BjEPxQ3r7VPVItp3THFXb8JFYasHMIyY3L4rCPDN\n2mWiApe3oXteTAm4db6Jxn7oekuzeqbFz+0lkXitW7H05KxxeRWb9ZiKYCmI\n0Pnb9OUzSW/AEon7VCQhL7rV9wJdWknqsZLZi86iX0SbkNYud0NJ/yhtBZRG\nNFraHApZEGZtT8RS1IEmXRr5c5Q+rxCEri0l/uDKGlbRpC599YE+IXN2ggu4\nBfQOcCFQm1xfzXN80Ok0h9PPa0jt+87p82XZ9DL6MEjNGxlXPA6+D8ZpZR/l\nBkQIlSPjSrbMnWvmTq6rlpW08MsKArBjrBGyGy1ysYWvi4e4/mUa5vP7B3g1\n7XNZnZ0+n7uJ2/1wiUDRqD83N0D+o/SxTd7nKcbSO3l91CggvMmZ3bc22P++\ndxyg8X1iI8aUjx5Qzau5Qk/l8ThzATV04yMgWWe+mg0mqFhhnqH8I8M+cEEk\nKZbKmhOHGwo3FiEr4hGDxG9p/xuY3GDmaXkk2AZSSkVZYrBmYTi1olnJc1Zb\nbSdHEZqmLX6yOkdzu47GfyeuPFY2ID35hPEX7l0/1hNS8lIzbNw2HujSwkxD\n/apC\r\n=9d1b\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"fe353084b7cb1a97baceb83ffd1b31b5598b5b60","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.4/node@v11.14.0+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"11.14.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.7.0-alpha.4","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.7.0-alpha.4"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.7.0-alpha.4_1562193570713_0.39794305980134315","host":"s3://npm-registry-packages"}},"2.7.0-alpha.5":{"name":"apollo-server-hapi","version":"2.7.0-alpha.5","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.7.0-alpha.5","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"1d3e4caaaa9e97e8ce3045bac1aaf0219ab122e5","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.7.0-alpha.5.tgz","fileCount":21,"integrity":"sha512-AZwCeUiID29N3zjQD45hlsyUUIsPQPXIUlRvP6qKKM9Xq7XMgcIkd/8qZcVFHbDEPxyMA6u+Cqwq/kPC5UK82A==","signatures":[{"sig":"MEUCICFyW5UTvtJOiYDZuxf3BX7hZmqT3Op/ZdP3V6HmmE+SAiEAhlp9vVECGVNQXEtNLvG4XnzR7q+49Arw0ZpMNX5/x0M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53129,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdHkI8CRA9TVsSAnZWagAAyuYP/10TDXmPszE/gO1QUt9z\noihwjBSE0kxha/PMA09Q5jJASHFNF3Po2iAAWnKihtYpQTINcsTL9XGNllCn\nO9WUpW44Trur8A6AWfy4nHoFXHZAGqZowXyYSZNazZoHIOYDIbSERMHH5M7J\n2z08anpzRqzV4siM9+cYtRadWP1w84CISBpRK2BX0XfOSyo2WlaSDrGS7Jll\nUG/f3Cb7nocHLlLxNomIynkG5lvlltMEEOn9qiWOFQNmEwGHIQwkVsD+HQYK\nGrouUkhaJ/N44A03m48nw1yu5Ox4GtokF8w2Ctu850xA5ynzbGFkYCwiib6T\nAlmObh/NKMr96PojYIRcm+ocsBRkCwjQWzQP3Ypgb83hKRJsNODM3jVI/a3l\n3hc/1CE1IcuOgMSKXkhGLvO/m+JQ2b6aHab+dnC9suvCqk0eWAVsmA640vYS\ns7o3JCe2TjIOl4BNkVtizIv5jhu96n9nxiwFamTMKdYLigdx7Ks15d8FzpRP\nYolMi3HNqL2RGvjknbSaJ6yQn1bAEK04icFUUsBFSBP2C4mkwqcur3ijbh7i\niDLsLtrW5xr9PRap1a5UL7dFJRY69re42e8K1/bqoQmTy3lN+N5fwDbA3LSW\nB4/NUu0rJCszJIxdDbEO6WGVA51HHk3MiBhuIdALVRho/9eE3ueU7u2eFL+C\nAz4c\r\n=Topb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"93a846f171783ee4099147f08c05fdf28a5f50e0","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.15.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.7.0-alpha.5","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.23"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.7.0-alpha.5"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.7.0-alpha.5_1562264123670_0.6655718419645373","host":"s3://npm-registry-packages"}},"2.7.0-alpha.6":{"name":"apollo-server-hapi","version":"2.7.0-alpha.6","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.7.0-alpha.6","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"d35a82cdf016e9fd3971ae5da63781c982b46827","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.7.0-alpha.6.tgz","fileCount":21,"integrity":"sha512-CEeeA4GZqWMlik5ULP/Vg8RFFLhHTqx3NSWmWoV3gOncT9GXfnl1GEgnVEXxkzVausMy3DMXmzr733Lx44PysQ==","signatures":[{"sig":"MEQCID8jPnRNfT0M2gGpY7b2eCFYEjXBlCEmX3peswztTqHWAiBzkG0huDFqzyD1HvLe0dm07ODboUNIikT4wJ9Xif1FIQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53129,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdHk4ECRA9TVsSAnZWagAAFf0P/2BGcjWS3zoq5V+U7THq\nSFp1h7Mwf3+4q8qxdilSMsufld1XFRlUkJUppei0T4p0oBkByaWvKoUSbCGJ\nKBQup91NTyHJC5gfSXQJcu80iaHn4PhVrCWwBZL1LN998hRU6NWZAORyRI66\n2h665mran+45+sL7sIFaxW9+o/I90avM+14u0w5GV91AfSr5jCTV30MYxc0h\ng8HMSX0Atu86GB08R5/c8ukVeNsiBbEkEAsPQAarunThqR9Jsl29MybphURH\ngQk75QStQqSGk7zyXYOSDb0oskwqCqEBpUUZLzK9sDLP/UfO1zcTd1DTZRjg\nbCHNUQ9PWgmpy2V58UOPG948elioBQP/K3CVUSL2Zfx6mzaBXVQOxY02xoql\ndf4pafBsQjffs/LlkYHrtBXOMchliHi3I0kjvQXDOjH+nHIweYmjj8WG92UI\nZppxu/OwI3Hm42pjQ3Colf+XDhmJqFsQXPvKQCcAzLTd9DkRW4FF5Tq+u0PU\neKeUi7Uk0e3prgoKlg9qw5Ig0hgbrwx+9/sEC/AkWqmJAyGHHWy3/w/qPOzF\npmngHddOp2kGhjhDCUx3tWGmlPSbvSBzJuFbVgtdKfFt8RfgL3kJWrOmNi4R\n+2rWZuHNOKt3mzhUYilsbyoAy+h4xep4qK33fs7FWGRDWaCqbx7SHd1Yzw44\n0g1m\r\n=j71M\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"3d4c8311f677bee4e61d002d2b144afa965cf92c","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.4/node@v8.16.0+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.16.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.7.0-alpha.5","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.23"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.7.0-alpha.6"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.7.0-alpha.6_1562267139288_0.8434757687736252","host":"s3://npm-registry-packages"}},"2.7.0-alpha.7":{"name":"apollo-server-hapi","version":"2.7.0-alpha.7","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.7.0-alpha.7","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"225f2b6789b2056f8a7fbc901eb952a9dcdf618c","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.7.0-alpha.7.tgz","fileCount":21,"integrity":"sha512-ZJTSIMYK1Uu0ZKAOUsRwd8iU5EUA+3EnxL6abPBcQ75FVqUdzR4kjTdA383shlu3mgj27gzIcfUt5K88JIIASg==","signatures":[{"sig":"MEUCIHgZcRs1ionIZ8zYFuaWM94gttLSKoHGTm8vI/eLaIdWAiEA84x7+a/rdTNKKwazfVBWiPncrnHtVGexvtyDwlmyzik=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53129,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdH1IhCRA9TVsSAnZWagAAo5wP/178kreFS0cYkJlSjS4u\noweNNsyjUPFENNIw28Uf6w5ALxdk3Knnw/vjC3ucw+XQH1LF0D6nPKyftXbQ\nOb9OxijpxhUFZjpH3aV2d2OWLBM9/P9EyOyfog/k2eGDIZrvVXz6EHLB6uTK\n4usOtt/H6QTcJfWoiUzQDqDnLfwH0qQNF7D92qTd8ckHJzCulakETxDlq4DW\nbA0SL0JiRcaFaQhJkXXzN4wlUTuNaKLY1JapanWmr+GykZTUVxzQ5hL80uN+\neYJg1R9gxzHp+qeSy4VtoU3xaB/n8oYFAQEPYb9LskLCvdZjgalD7OZqOtK9\ny4S4Kj7ujCyVUBo4aogDf7GO7Jf68impDcw4VIhZnaZzFgAoUFfFjsc9+upf\nZ7+NtvgZu5uitANl9P0rxDE+Pu+pscw4XlZ4BVPsFf9+Znm29OG63ebHt4ba\nW93M07yuuLi2FvRdQOm2i8vKdh4qEJSd3FuPnIRtFIZWkF/08TrkAsM9PZ5z\nwWxMMN3oQ2nxvYx+7Q/pfkCORUzmqcwP7kSSHVgkGDc6wraV1c5yPOX6RDA9\nnlVRcZDZBcBFnWdZxMyRSqL7WpmnXlpxPGCXwDNXIP5qq5ri9kyeChP8P92Z\nRNmTc6fNasryfErspOH+BQhcDnbR+kPvweBr/kHPuwaNFBQg96aa9NfIe9YP\nr6Ht\r\n=Vo+E\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"85eb8ee0c2880aa9e7526a9567b82850dcfa9f16","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.15.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.7.0-alpha.6","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.7.0-alpha.7"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.7.0-alpha.7_1562333728923_0.16185848595058405","host":"s3://npm-registry-packages"}},"2.7.0-alpha.8":{"name":"apollo-server-hapi","version":"2.7.0-alpha.8","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.7.0-alpha.8","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"844735461f51d27a298d20f29e9b4ea686df00ac","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.7.0-alpha.8.tgz","fileCount":21,"integrity":"sha512-iPsZzMK7Pga7EmuNyYhMLJrq3+CHFGtkbAfr0SLRx8JQ9Pc60iu932uYGeAoFGSTFPMaP+bu/voycU0jNiZ3RQ==","signatures":[{"sig":"MEUCIFCR1NMA5R6QXSLSnKdQsRDtJwiDgu1o+899B0CBOHoCAiEAxJDEZYkpxClliFtuk8KWmMRCrWyiPsr5dzZ3H1svxv4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53129,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdH1UsCRA9TVsSAnZWagAAECYP/2db+uhotzR0cNVrDBfA\nRolJtHf+c9Vv1mkvnirG0keq/36EVqM5BzouNj62qp6xLCMaBME0P9s9JEYo\nSlyjGz37iM5ooXLSjCQSTx/rJJLdbGy5jDp2rNwRQGTSRuRS7QeH0ZGIoLN2\nLZj8jXloVMTJdYYR8kGkCHEKjfci0F1GafETeW6dgjjYjRGsDWlwN91RRBjE\nDHqVTUMDZvFuLLXfNdN8qqZ2gQBYk60YDE1Om6FPU5ddfC2A4r1uCdy6yuqS\nZct55hRNEjiwdIJxSYRTDsR/KmAwi01Hka1bvt/mzO5rW7MMXwKr6oirP4/s\nB4o73o7xwNlExO1CKrw8mvLIw1ghsvBs9pZgD++uuy6GYSt51Cef4sAU8K9e\nIr73rGR+KYfUYWPQYvB42qFwikEpvvpXD8bBW/wRc4wkNx3RAveGPvaOZjpa\nD8UCjMFpFVoshrVKDQqz3YYwl/RWk3QmXvGFyzOxHn2NNPkNjLWcPf8Q2Rvf\naT1Tp9MaaaohgD/MmVcmLYNACD+1I3h3hfrRj/O1LA8KVNUzI5GQEmkVRZn2\n6ZopbSyuHwgwst1y5qtznwA6pimzuzlUu9sXTWSqD/9i9cYl+ACMgpCz2Pks\nihlrjjqJEQ9h3WMla/FzW/4EFzrEVAmE7ywloJzR1A+aqe6B61GWUTxUru2/\nth1D\r\n=chkN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Hapi\ndescription: Setting up Apollo Server with Hapi\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"02feb8a5fed73c529a119e2d24a74ade1e812e69","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.15.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.7.0-alpha.8","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.7.0-alpha.8"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.7.0-alpha.8_1562334507681_0.7101722145104261","host":"s3://npm-registry-packages"}},"2.6.8":{"name":"apollo-server-hapi","version":"2.6.8","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.6.8","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"dcc2d036505dd4ace9c663502ef5852e1561b7a0","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.6.8.tgz","fileCount":21,"integrity":"sha512-6rqB35AFbnr7uTDkti5/EUGQzcRC0LxsM10w6UhfjuisaQWLA59LoXw5NkNQJjq/TjYDRv6kU6N+uNk2HBIXcw==","signatures":[{"sig":"MEUCIES2mc4f36ifHAy0UMwo2TliVeSPRJOO6/ciaBlNFUESAiEApM3fDSwF8YwJzV62Y+iRSlSLiLRaqIjPznF3/edvfQM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53105,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdJRRCCRA9TVsSAnZWagAAmxAP/3VgNL/TDv3WQWh+MU9N\nlMpDpZ77HW+e00UPCG/D1khjF7K/IsglLQy2vpZXki7jiclkblSFlE0ZoiU/\nXl4Y3KYRJjF2/dAL2ufVOkA1JkJgKLU+wndaIc2Vsa/jZEqM0gZzxL4xoIvl\nbihmlOO8JGWchlJekgDVhyj22E1CSUxzG6/a8pzSdmtSYqKuqfmzgstj+mAA\nPqrUXb5saanT6DxVBNRWMT6JQREPQWJ6PF6pxMbFnmvs465SN5SkbJuijYR9\nxqjVOs3dJqidkviqR6zqKGaEU2Lodx5lkU2A5cz7gljWCm7aV02XFMU4l5CD\n/66vgn/0VsKrnP8AE8ge4mFeYSns9W9Ci4Mxkae4UVX5EMK1z7VM+62wWYr5\naizTiWqJayBj2m/P9J0eLaQFxhu3Xx+Q8ZBLbUS014CpmCIVtn1qidwkuRrL\n5obVIIFQxU4N2r8NS6T64422uzncqecC44Pb94PN+XMERA067kYu5vQlAPPK\nZHY0BfVpCNHvivz0HmjiNMZBHyS1AvUexWy5QRnc4w/90CJOs/UuTe2cqP13\n7eXeosalh8o2fJMa9ppxnvVbLJiSRGkycSIqIqn7gh/t8mIAiP/xlUukX9+J\nkEkuC8Epraj672ruFDA4zy16payPNHqVFGUdudoKA5JCKQKvNYhRPnZQfdy+\n+WtE\r\n=D+hA\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"a06594117dbbf1e8abdb7b366b69a94ab808b065","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.14.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.14.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.6.8","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.20"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.6.8"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.6.8_1562711105343_0.6541002958685955","host":"s3://npm-registry-packages"}},"2.6.9":{"name":"apollo-server-hapi","version":"2.6.9","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.6.9","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"3d313e6a2de83f4d9d4fc52fc4f59b3778ffefae","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.6.9.tgz","fileCount":21,"integrity":"sha512-nc5gcsjymC37q4ZX+6PmpcytU1ASoT1Ipf/vdsmnH9EyxkDdoIdFHrr/TruGdeaWGAVU15PbNvchDFwsFLMT9g==","signatures":[{"sig":"MEUCIQCnGwFMVpuplNrOA0iB2c85Gvff0s9CKB8T0rImW11vbQIgYb+nXb9PIbX5WugJU/j7mcf7WndRvhzn75RL66UMGEk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53036,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdJ4ALCRA9TVsSAnZWagAAjq4P/1i5bI+I8gITR0/CK9VP\nzQAj28BDDe6h1YWrAyvA7godYKDWr8H65VQRg2LCghDPRSZd+CWVOFrQ/pVr\nK+TKZVFadAowJbxpnRdxi418k6he/cOrvOs2k+moCS/UnxUk9KXOiY4kFCs3\nrINxJLIUqDhVJf1bKaYG8/IIRj2pnu2ynkv8V0QDHNypCPwATxjQvVXJ0BQP\nzNS3SWZuS4m3SPbxCLrPNVMnnFvdoeJEuC7qGOlCuk5Hu2xpMpxODZ1J1bI1\nS/XXUvKDkKigHkK0h+U8eJS3C2C30jmqdPBM4/CglbL1pb7JoBuC96fr2YDc\ng99j8WGWCuwfBGEUvZzOCWNsNRrkxDiheR4bJEQgp0lLfwy9E+7yWXATpqcC\n9hjlF7flepLQFhprJumwEsin4zqh0yrg/qY5pkyeh/yHeRf6M5QnBE1nYoc6\n1hoxfjk+RPDdZGRz5cf+0Sgxzb3uSAOFHK892yhIj5OviksZtFSe7YoQplF9\na0tTPNh4A79+deZ2cEKRYk6jLcvepAlOyPzDG5ErtBIpStQdFHxhAFwh1C+K\nM+bAYy6hgTKS+pOH9MgilSoeg3Jxtf5z0sJQbKJtp9+cWP8UcUqTJbkBeltU\n4BsALjJu+qnn3uKd2jhmCwXDDjs7GoRemAUnpNAg5sRANoLs6SBATOMkOrnA\nHOAt\r\n=/xIx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"57210129cda034b095d3f227298021feddda03f7","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.16.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.16.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.6.9","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.6.9"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.6.9_1562869770403_0.7537845180314022","host":"s3://npm-registry-packages"}},"2.7.0-alpha.9":{"name":"apollo-server-hapi","version":"2.7.0-alpha.9","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.7.0-alpha.9","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"68d416a147b9d6c75dabf837704d6e35c8044057","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.7.0-alpha.9.tgz","fileCount":21,"integrity":"sha512-RsSz8FK7fPj6zSChyN/cAb5AoL95eKkzldMDA+Jg2Fl3ZRZF3yr09I7tEMqsMcsjADYT8raqhGmlcq0yir45fA==","signatures":[{"sig":"MEUCIQDtaXbqvGqUhdV1fGauzAYM4wFktVW11884zP5AGg1q3QIgMU2ng5sVQgDDrSSjLmVObywEcVrBjgsu54g4F7apS5c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53109,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdKkPxCRA9TVsSAnZWagAAvCUQAJQpN8nYkj7cOs1WHirk\nTwVIvOw+S+bXl1AAF7HG0p+4ntJW1oWwfYP892EPqTVR3DYRrK1nY3Zxo/rw\n4ZWoamS2y/W7pGnYaSSnKTkoCpK01+Dkn+IUZxHGqAXfmWkR1H9Q8j4xrXFD\nnJdKiUcQ33DZGnzYVEeR/9BKgfVHjlEISxGd8/e+KyB7vvn/FCMabQ9h6Nfr\nm8nIfckw5nT/7tZFsQ2cDMfGLKwdT1GxCC2fU4zL/CDkkcNzkQseTMiGBx3k\naJtWRcvRRrfyd/Gk0s2kuzGVC81ThfA6nIwnOpgP4+gUJR3wW4q2GrgrYrNk\nGADKJjKvXWUUi7IbkSsmgFSCKf7nwhglPlEtGeCHyvVoJLr+K0K+yAW4XPga\nirx+2zurpj8wV5Ql5iCOwISPGNIZXBCqdg6KCyyzEtflXhHtql81gIrRm9PD\n4xjb6+L6SIcDuZyRRI9JzxQhOJR/ROoCxBG+lcX4kCb/fdgW2seD4c4zMUSG\nEw0iPbBLE8zIoZ4TgOWrExiNq6pOMf35vg31n159Yv8d0SYemqi/kEjPYyU7\nqVi6PSZKqfHGn6bb8kI3Gcx/QxRuvlPlM0QCOBgHhG/eQBVyK9Q3x/LtUQOz\nbeT3gDZNQ+z3zlglN6t80CvQGdfk8Istz3QSEhC7dC5ece5j1Arxu1EOc85e\nr95W\r\n=TWe5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"0b502808ff0151acc5ea0115f60cd080421500e4","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.4/node@v8.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.15.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.7.0-alpha.9","apollo-server-types":"0.1.1-alpha.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.7.0-alpha.9"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.7.0-alpha.9_1563050992314_0.8700946162681631","host":"s3://npm-registry-packages"}},"2.7.0-alpha.12":{"name":"apollo-server-hapi","version":"2.7.0-alpha.12","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.7.0-alpha.12","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"af028368f02c7afeee8b666afd168e9e4c7edba9","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.7.0-alpha.12.tgz","fileCount":21,"integrity":"sha512-aIT9QjBVvTfTSbrEKROfyD0U5IvEGto1LRNCwSaVK/1bq7S8/Hgf+/kZzfsg/0RLo0pccCjzpbSEsUNJWLQ49A==","signatures":[{"sig":"MEYCIQCAPhyY4qhPkaHLyTE4YSZTHnx2DZvTmKuvuegFLq6V7wIhAJmPNokyBcJhhbVyXCq2ia+Rzky5jqyGfy+rWvCaR2l9","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53112,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdLC5qCRA9TVsSAnZWagAAFhgP/RzTh6gXX04CziUXrk+o\n4ZpY33tY8GqogubYQCwilW2couIJ5eiktndCegyMeRN9Qztyk6BKmswz3zm6\ntvTSh4zrX0TFRqm8WTCmIN5yaB+VSPnnW6+xeNdrTPfhhpcOOlsKBySFGkA4\nqIK38gcAB6PDBO6Tv+Tm8yeYYf5KtEG0tCDYpTdv50VkSslrFK5Hh433dHT9\nAgiIDaKlXJ+Z9GWn3kYQEWmwMCguteg2xKEUMS8YgeXNyHwZyiFrDVu71Jg5\n+ccKx6wxICHza3e5Y66OHZOSfi6E2kbrJY9IckSmWS8Z/eqLVWqEDNripjhi\nSW4cWGxlekekSw197+G4dn16bCH1TvDCntmur5wRB1wSGQeMPre/wqw8QENJ\n6PDaM38pozuSjtvPDg0cYErESomEww44kLdovSKwSsPKeCZZgAFIXQqdC90G\nziWszj40y2Twvxf19dlgqkTG7DFdk9xWKaRpp63yOf4w81AaNuCgFS4oBERf\nttyEzRbd4EHjKK6gY2XIFkRJdW2S1D5rwhwO7UMtvv6iFtI7fXo3JaF6RXI5\nH7lOdJK/U2WkdSytnz82nSAQVLSPDewRt9acQ0WQdTQd00myNcf901HcBhGc\nvWt4VoAZMEVCx0mc5qgRs4VfXG2gSsCN3pyryZG7iwUoq9ZAUGLj8jopo5tG\ns4yI\r\n=pRZE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"6c69ecc7d1604115c99d0b28aed6f824f50e93db","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.9.0+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.9.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.7.0-alpha.10","apollo-server-types":"0.1.1-alpha.1","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.7.0-alpha.12"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.7.0-alpha.12_1563176552539_0.39165262673484436","host":"s3://npm-registry-packages"}},"2.7.0-alpha.13":{"name":"apollo-server-hapi","version":"2.7.0-alpha.13","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.7.0-alpha.13","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"f642d10bcb82791b7dba886fe6c0257d431879d9","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.7.0-alpha.13.tgz","fileCount":21,"integrity":"sha512-hN4cnf8Tg2s/JsuBUmCfhpQq3BbYrGtnjDkcjNfZgPIG4+L0flF+pIz4GSwlhiRcl0iPE5rJubnXIw2AbirDoQ==","signatures":[{"sig":"MEYCIQC6/Hs0R/3bkVjcOAGC4IORkYHPPThODwnN2H9v6YFckwIhAMsKG8KyyLS45fY/E1OPswhVQcEMtb8WmjSVn/7RsnRt","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53113,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdLHS4CRA9TVsSAnZWagAAyl4P/RcZr9Ogv1dqrsgWnO/u\nbKx2DnqsTfMPXwEmMONbw1PDuHNWHSz6Ig8/zz6Bg1hk7+xEuBx1gEn+nD85\nJXVD0NYKYZUH8/5m/Cg0Z9h80docUNa4Xc7ocBTMQ1LGilfjkZvjQY83f8Vg\nFYuUAcdr4EKVXJDWCEq3NbCJdJUIedqCdQ0qIJmaX3z07js8rUycSBP8y1pI\nWRXNRmKNM8otgnONR5ucl4jXuMaqqPf7P7ACFnH1qa55RTMXwE0dpGU6F7xr\nqWvlgWhHvW/RQ8WmbXrGFIXObtX0z3fx+8b1klDne8eZhpCQnxUP0EYL6G2K\nLC0BESDpCWdvu1TtRtDRq+bneXBk18Nccd5/qYSA4Ovh4zWcQqneeEcWHdB2\nNLnu1icjDsX5VqeCI/uPC6Awmras06dt5WBNARWnUWCKCupSnDZWWcGpNueh\nohbAFlTAnTLSB+dfrP6PcYb9as6WCTy0FYxrAWX0EHG4+Yr1AicnJ/JY+o6X\nFsgppOU/s57xnJ82+Tml9j12PTzeDT9+aiGbDdL3YGL/NEpfauOL7j20u1k0\nHUxmJnXKX7/o/stduk+06ktGTxekXgUJlhPG34M2j3PRo5JmEsnQutsouMJg\nN3/AH+kgG2T4eQoRkNfr5mbn1/vf5m1gnTqXWwmgis647L3D0brX434CSNja\nlqse\r\n=NLlv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"b76ca731c7de2ebb4cd1cecff7e4d6c23f1f3b9f","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.4/node@v8.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"8.15.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.7.0-alpha.13","apollo-server-types":"0.1.1-alpha.13","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.7.0-alpha.13"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.7.0-alpha.13_1563194551984_0.31056601189262256","host":"s3://npm-registry-packages"}},"2.7.0-alpha.14":{"name":"apollo-server-hapi","version":"2.7.0-alpha.14","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.7.0-alpha.14","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"cbbb1e4a362814adac839007a0674190b3108d0f","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.7.0-alpha.14.tgz","fileCount":21,"integrity":"sha512-Z2mC6JciRN2xGjCB/QJF5clOr+5C3kuocvHl7UDqsZ6bXqh6It/pSoO7PgWwHOhwZzGaXqK05vgAHjAl/0hjRg==","signatures":[{"sig":"MEQCIB8OlYkToQEc/Oh+t4O+NWGFT6jc+8GL+HjsnmUiqnR+AiAl6Nh4Ft+0dwsl1z4XzzLPCXFQmSrlIR5LsnwMOH9mww==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53113,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdLYo4CRA9TVsSAnZWagAAfXYP+QF//X0AvuV2TBnSRqnC\n8N27OePQNZw/KknPx2e4e4X1kf28r/pBR1R4evjUH+P9maLfrYVefprvfoJ3\nB9dVQgyNue5J0bq+T10j0aPJ1GKmc294+A1B3jXIDEF/d/sKTbf4cU0r4e8w\n1bNJs7xMROo8lECLoF5XnEuzA5ty9uVPTNSKMmO/49tMkwN0cjM6Ap9BQhe1\no/VDMSBCKU9TSyTn7dSCnTn9R4/s2/iXdU2Ca7xvXzEdzbQKOcXzTLkKW/hA\ner1GIbnX2K19KClM7EKWDeNGhDlpTlRgZbm84eBCKDdVO9Bi0ye/RJFgUR3G\n4qAxRC7uPmEndnm0AtC1BetHzNn77NSncBOveY5C30cBIo6X0tjjrhmkv4mQ\n+LftvoEr6/aSa+QdUtUNwQ38LSpOtuPcnWlgFdu17m/1v/ybKh6g1luR1f/r\nxQqO0D8xiuaoygSOTIQerWa+ToRBvxYqL4ytW5azxyKP/j3Kao07oIMbXnYP\ngqDMKawvBpIMt45gQP9zcIYtIkBBj4sFfkA40aYd/BGV0OujwDceCN7E1DBY\ntq1thkyMKk1KsvR8ABUp3QiIo43tnuevoEl2aQG2rb6gyXZ2PVu/d6d5LNmC\nFJD5I5vXe4J9farjN6Kb1DjFr9tDHm+fslW5FkLpA3zk9NkAitgw+lFdTKWm\nItGs\r\n=mLUw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"c2b9071e424e2b32fb68c122a30cb4df75de4dfa","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.15.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.7.0-alpha.14","apollo-server-types":"0.1.1-alpha.13","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.7.0-alpha.14"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.7.0-alpha.14_1563265591402_0.11754359498585165","host":"s3://npm-registry-packages"}},"2.7.0":{"name":"apollo-server-hapi","version":"2.7.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.7.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"815be2845c1e9288cc9e71c71303bb0e17a8af98","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.7.0.tgz","fileCount":21,"integrity":"sha512-steUKwmnvRO2G7F6Q562ELgOiM2gzVq0DkKsIyqC3Q9rwPwci0Uj1Dr1aOLE+eOl4b7ydfb2jdfp1Ss6EyY5BA==","signatures":[{"sig":"MEMCHxH6TloMWs/6DpQ6YAc2z/8UqZ8FB6FS0JUW5jLZ/mACIAS2v/hYGxfQ6TV1rS3OYvBRgiVxcsBFOPs3VJJAYDtm","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53077,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdLdUiCRA9TVsSAnZWagAAXa0P/jOtg2FzUxRfy8x3cvBj\nEzyP3JlEZX+/oQZgG3LbGC/k/ovJ1aymWGsvqA0I6ztr+UPX0rL2pSOzeGLZ\ndoOiaDPjjXu2n7AGMyoruxzxOCSelD1FLW1lUXFdv0kfNyJTwkcZGbhmpNrR\nkJd6Etekq7QiBWOLW99PJ0JupJpRw9rGihwb1KieqSov/OmCh0MgpG04dsvj\nv32b2IliIs9Ol2eOvZpWhmXwJyaUackYsEXs+toigtKkcEvpd0uxsA/RnPy0\nSprMmJf/r6tLHLGsLyZtN6uX4eam1phcuDm96PziyqaFlZDYH5wxSmD2XYA2\noDlY2qMA5NKUarkmTVsPPFm+atf1LsUXJrWzJQI/6s9Fgs4rHpHKr+7cd9VP\n7mVMgdGhkXa2PB/s7OFbIwM5d7+NI4Xw55sBhJwdkShFGy3eKJhI1jrU3Hmg\nqVNnr/ermDjxAs94AXY1haap2en30KVRDcqfOOc5gD3/+amS5pyUptAdlFYQ\n1Uu20JKUSo1rXI39tNdKgZN8slHeBU1c+IGqytFbHaEyNuti+oE7RYKUCjmR\nXA+z0ctXgarwAT+dy0ubxyP7VGFfE1pQRoprVGr0yhBxN/TVstdhu1F00fG7\nIN0BpcTuE6ELwYKtBkRsq7DX2ezedf6SXONPdJb+ZeOpNpbhVO5cCy/ajn4r\nAvaP\r\n=GR4U\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"1d44f3d4756d43123eb01bf293e65f4a3c2e64c8","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.15.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.7.0","apollo-server-types":"0.2.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.7.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.7.0_1563284764349_0.49288701378803124","host":"s3://npm-registry-packages"}},"2.7.1":{"name":"apollo-server-hapi","version":"2.7.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.7.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"b70ee716e1c603c446d133abbd71e0e9a3dc50f6","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.7.1.tgz","fileCount":21,"integrity":"sha512-3VcSmBidSL09w17kkAoj7mDiHqVukI7AxaSSsjI8o2rDp3Lf5N6yS1h+0DUwU8euD0qok3H7KUGiAbLWV1FpGA==","signatures":[{"sig":"MEUCIBimzZ+93NqswzXDFiwlL8DmiNflsPd/V4Ct3wbIR241AiEAtvfTz4DLY7z28IeStzE115DplMVwquDWEhQUQFP1kVM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53077,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdOYjECRA9TVsSAnZWagAA7OEP/1B0IJi4rjQFRTD90jEW\nSwrTxQw1PlChPI1ZwKrYkLQjS0ubmA+bwt+OQsi+0ya5c4mhvlZu+i2bPBH1\nSCwl6DOztJ5EsGGz0Jt8xfps4nFxJ1w/hcYXl6hwDak/b/KNcches6LLM4Kr\nrZrJV8fCMMddHQaih5dIeXXyWjdGNsTnlxXHcXWOCN6q+ibZDXRBvEc7CQil\nLtP1Pm4LeJ0Ge61xPiBOZ9U9gaXmWxQKcYL+cI5AgxDpy0UwwGzTAyex3N5N\nvhytwNMXi6uGvAwj83bWAM22oTn5YgjZgb2v3cmNlVKs61fp6GMMJSxGFc+6\nojng22621wBYG62idpI9VFAyOSneV4tQbk2+Sk91D/JIz4nw02CsSZa9R4kc\nFllGW9kMcJA255WycentWi7dOlhXGnAGb9f7GfipMrNuFjoNwMUvATuwAn2c\n6/nwTKp/4nijL6xNJ4OQRnP0/1JaXbmYQrmFhAWyoPZZKhkOw7d7lNsFHNFl\nRBj4msaIE3dzv3bIAdjqFi/TxdQEw7a/U2+6l8xuFJEcE+pAiAWmB+Jqna+s\n82RYJSavI89PvMwt4pebPFjuzn97zlVhRSLq05/64rkQwUfAe/TKi8zeVXeb\nzLMyCNSMlNdRInEW7INAfdVvcZp9Xg95Y3f5rtVyoqP3UioRftaa7OsWdm39\nvVwA\r\n=3Z+u\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"2f87e4af9a6f1e3c8f4c51b4f77860bd3150c8c6","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.16.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.16.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.7.1","apollo-server-types":"0.2.1","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.7.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.7.1_1564051651589_0.48848941857206385","host":"s3://npm-registry-packages"}},"2.7.2":{"name":"apollo-server-hapi","version":"2.7.2","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.7.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"3f525322e9684471abcb2147d12d094441f3692f","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.7.2.tgz","fileCount":21,"integrity":"sha512-U7X8N2RevGpjF/fcBAZQi5Oz+L5Cfz5mhFOyf2Ql+loMitbpN5Mn9N4jaDOUWLs/hKyKTn7NVGN7T6sbRqDXww==","signatures":[{"sig":"MEQCIENuph0EtQnV6HbFvl7415VTxs2ui+CRYp/353hjGo77AiAc869fjPgxwzGsjK367bK9Kkpo6o5dEG9K4kBhn8Wr4A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53077,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdO4y/CRA9TVsSAnZWagAAQSoQAJy/xv7FcyQuDN023BUu\n0l0XlWlthkxUYmAb9euemtZrZssrn1Daojezxwei5yAF8ceVtx2y9OTFBbfH\nWmABf4LHze/7hWcW29kIQwhHnv4p67geG5oGhCxFFs0jD7DLxhhPQIUi74pi\ngKctMC2Bvwg7ITPajvUIs9co9yKhgg/94CA13ARwnuQPGhds6l8PabJ0lbJP\nTag0CEkF5G9nrRNn3LWfvMTaddhOwPVTFQq5mN/hHo1nVeoudsojBWVthbBl\nxiS+nhsdxWqQthzKlC/qh4nTF9yPSFqKFfuqJmptTmFTQG+ApYfiaM6R37xr\nCp97H6BT6IJ/QAN5g/Kp4jbCsjmEWH8qBKq1AV77iZo0Tpf2ubyc+1BYZ7z6\nRFwsJjLpK5qvr49QQzh9kiUtsdrc2uzN21Jrflunq7VAHupFm16oQwD2qrsf\n1AiCxRLKZlem8MYYLJ6AfQnhsm8xVfKamfnVYBJ2bABAbRx1+yl45aq9ny4J\ntxqjqdr3g0F5cxph9CJ5zuZ2zhCGg1++9M4zdY5zDzNY+3yePLZyPQpvLbPE\nuZpSCtn7cPPstoV6cJ6ZOJwjoBbFCc1y94EECj32CfXHL94nFqidhuu9iNhg\nOv+wSHCQfiHtbYb9p7MulaOCyP1huvYUK1x74IfUnCMGzX0QituMHCIofyEM\nUfJf\r\n=yhwN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"d0b33f20ba4731c071d6fd8cfaeca1a1f3d83e4b","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.13.4/node@v12.7.0+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.7.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.7.2","apollo-server-types":"0.2.1","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.7.2"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.7.2_1564183743203_0.5867289519126142","host":"s3://npm-registry-packages"}},"2.8.0":{"name":"apollo-server-hapi","version":"2.8.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.8.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"92907d0f4664dcd6b6d958b76ff365584c475764","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.8.0.tgz","fileCount":21,"integrity":"sha512-MQm2ZyI17x+YNqDYyg2nEAlxTj6ptB+3EpFkOhPfE5c43bb5YBPG+gkOog0Bq3dJJMjwxrUf/RU1+6lDureuHw==","signatures":[{"sig":"MEYCIQCTWm7RuvPcFpOFmVpDIwjLo4lmJxNvM9QR6hNORT8lLgIhAI/hgrA+n5EqIAJYJte+M3AgTaJdxtFwmtmnEBT76bXv","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53089,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdPyl4CRA9TVsSAnZWagAANfYP/icnl2ckSO9qsWGz5hCV\nR3jIGkcJFOn6wdtO7/IZaYiQfY9hQ6ENCsWFQk7nhips7kgoQmhVb00GYuhR\nyqBH3IMWzSMn5GhmrqYbptk+xxsI05OvFRrChw/kk3en0cJM3FKdStg47ZsA\nEeKqd6Jaswim+U/U7O3vji5LgcvO2N3V7iG/8I9jP4+8LgfLGUBfgAHxu4rs\neeHK1VtVB1Hf82dzQvII3N1cZ3uKuuOvegobAqGVvz/fafAYERlkCU706iqz\nsJBeAc3ZH/ctRC7k9tU6sVvJ8D1jVIgQU00LvnIFikVknowLyBXNpvnFAOoz\nLr0Qix74VR1g02qEk40fyGCKrnwCx96eNmfXUmY1BRjhWnu3taCDwGBK9IwM\n+n5rF3+Jmueau4PBce+1tNlVHLSLWWwhhsEMfZHf/2/MHFlghEiuO1nH/Jwe\na3/GzzTe8VTgel5aW/Hwv98jUU9MnWJchc/EWSVXMU5E6jOyK1YAQDpswEot\nhRXt0VXjOI0ahiF88wiBx3OUz8jrk+CDXFNNWKz6v/eX0r0WJk97pDEMU0oF\nWOJvRY6Rw8txTFl7NU228N0PlWnX1J6QORLraJaDi6clMmsG1mu/tHDeQaYp\nc4gWUDpgcgeuE1IEbspe7n+gD0Ic2ptdWqpCp//mHGrGNjfzDkuIcRHPSoFE\nPSJe\r\n=X9+j\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"ddeb71f8d6a0f3c91646aa0c7c99d2003b5bf73f","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.16.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.15.1","dependencies":{"@hapi/boom":"^7.4.2","@hapi/accept":"^3.2.2","graphql-tools":"^4.0.0","apollo-server-core":"2.8.0","apollo-server-types":"0.2.1","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.8.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.8.0_1564420472209_0.17672888643031803","host":"s3://npm-registry-packages"}},"2.8.1":{"name":"apollo-server-hapi","version":"2.8.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.8.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"44210c20627ea95b348bb5b6a5829776f92e56a0","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.8.1.tgz","fileCount":21,"integrity":"sha512-tl9oU515qtwrOvR5d+hmA/o6RMjr2xjM6h9ZmRKniesIeTh1d/2MFbqdUwWsjsytwszFeQ63AhN7j48yK+wGvA==","signatures":[{"sig":"MEQCIBBZqC1SMQFgErIEbQma/Q3Opy2gtbb/XRmQGa0M6USHAiBf+ruWBc9n5rlCitbw7UvC66WZGEwD05v6i4br9LIhrA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53120,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdQXisCRA9TVsSAnZWagAAtNkP/R/PJKRV2NB14waSye5+\nj9PDVDEWkSvlYnwC4DRlFysEST3klecfcqvDW+5zvGL5FPRKpwz8ClS/mG5r\nymyctC+eXi7o5CPv0vwnAezaNW22rKCOTmEKqTXaJHErjE7WWrEsTM1Be+30\nfPOhVd3ibZK2Sy/QF0rL6fALCjWl2Yax0kWax/zjbOslgZRBWCIsDVh9iMpk\nx+mQztjXNYH4JbCGuCih930e9pzYG6oFVvZ1bv+OnXF2rauOIFUKuXJC4VFU\nb47dBjokVNYFERfA6N3ActCIsdBCynRsvVCEM8KViVlRvmTx/L54mSy8vGSE\nezA4SmAVPBorAV1WmbLaGDrtVRAxzruxT+8cORv1guh5nCx/XG2z6RZhrBL9\n61aQOM+ZvyY8Ax+cYvQK7lzqO9flw0paSNK5hzYXxbn3IGFZit42abIMNkFw\nBawotFeywiSpvIfGKspF7n3RFe+fN3OdVbKQutUFuRxyH76VQ1kyU+jFAX8n\n5/tsaVWCqVhuVSLnzqoNZvE7r5uZem9a6ULbNa9JTGyiwfdL/qclJvZRebEg\nY3Y2EK/mDBJbs4vzj/GhmLp4+6H/tlAhkOtD2utwRie9WKKP1ADVQHjISMyl\nfl2oqf6cdbwsG5jXq2byrgZPmfK3Hsciw4y5brDRn1woqsYQgmqBgXJpPw4Z\n8WlA\r\n=rZeM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"84d80eba10d87663dab60af4a1cd46bccf30513f","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.16.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.15.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.8.1","apollo-server-types":"0.2.1","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.8.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.8.1_1564571819999_0.9486937126104422","host":"s3://npm-registry-packages"}},"2.8.2":{"name":"apollo-server-hapi","version":"2.8.2","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.8.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"774e62601102e8cc152cb9091ba4f87ccfa545f8","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.8.2.tgz","fileCount":21,"integrity":"sha512-cunLgKmXsAugypgdx4qkslzj9GitueNQER9hs7cWGiY2A5a817+RMJdaWf6NBxYqzaCnbZKV8JdIdArWi2nBHw==","signatures":[{"sig":"MEUCIG7c1jkA6HKVIi1d7W/rS5LTzaPoVGZfsnSIWik9lEPeAiEAs5Th8yv8nEpFsMGpOj2eBzEbKjUvA/GImO2Wk2/Izsg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53120,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdXDXaCRA9TVsSAnZWagAABfoP/ROW1QhRVjcFtH7ZHh1g\nKO9RSuowXfw0R2U2fVUxJOInnXLgDZyhlZUmZ/IpW5MyZosXUvNL2IiCP3oH\nZlq9CjBFKM0dIPCjIA421rJrduO/gRBS6mVnz0iKrIk/T+fCBkskv+pdHVBU\n/ujdVc+05iWKOY//1hpfiJz0BttdaHf2wHXKRfd7x76Ltw7XYIzD8STEuwhQ\nG/+PrcnovSnV4BgE0wb9+U1ohv1id04SzczB70BtES0KYMX17QzoCkqtIwLz\ne/eoGfhcTSCSiUOTojOs7HHNRaGjt8bUuuZVGtStcESwmqm3XQEpoY24vXf3\nSbJ8iFkuEg5ySbQdzvp274IaYt5/fxH1xFb2QBnoXSjuGbaJE2kY83uiekQz\nka16JCeTAeyP+lID4UO9PE/vxTtYMbC+JYOoSN2cQQuuQSRAbNu6lov1Xua6\n0x7D6eEXqSY+9uv7ntcuoEfm22E85CbwQbolV3egSwmDHo9s0Y/B5vj2S+eA\nvp0/ihPcGnLqaJAQuKCjgi9/cr6XWfqyELMbU5JhoU+GerlKQbIqc2Orexqs\n8zMP4LEboW91hGLzyeqt9OPPzXbTSdJ9sMYnhZx3NbFWTdvxzjEdXHkiQsA2\nEF2PwSQja3C/CmKfp4UL8/mzsDBD5JVrS+hI9t9w0FLBuKbsI1p4h8iMDcpT\nKEPk\r\n=nLQX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"99f78c6782bce170186ba6ef311182a8c9f281b7","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.16.4/node@v11.14.0+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"11.14.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.8.2","apollo-server-types":"0.2.1","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.8.2"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.8.2_1566324185297_0.9541665289916799","host":"s3://npm-registry-packages"}},"2.9.0":{"name":"apollo-server-hapi","version":"2.9.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.9.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"1c0186b8396388fa855b55871ec0a15737f8d6b2","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.9.0.tgz","fileCount":21,"integrity":"sha512-nNfqwSIs34scqIHAFTju4uF83bP+YQMidVBE1UfxhRGf3m//aQP9ZRYESK4esj8yRzGXxWIWMZLzcmzTnpO5vg==","signatures":[{"sig":"MEQCICNMQlGL3SvTTsnT1O2JMfoar3by3i/dP4v6YK9QAhIoAiBqKmHW+suHWGu90dOOU50uDWnWDjYt9uQHbXKrMrcoxA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53120,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdYASvCRA9TVsSAnZWagAAMcIQAJ2XgjlAt7PFjuybO+bU\nQ7jxwWdmsjuoB2JQGjjuolxMT+KZ0kBDAWUUB6+utnWZgUXv3lPNBGnSKIDB\nPynMUF53GrlUevGn19u3KvK2T4O5Fiqps5l+5BMcTPL/jeZ0xfctRLvjNda6\n20aC9F4DW6NTUCH6khWVLlvvyHJxqPCrxzntMTZbQKCKqaHk9gm6Lko1Apr2\n0cBWFdCiKkNfMPoL3Q9HStJxN+v/ESebwCshDpEjMefR+0FGYXUHOIIUKeCv\nyEQl8ZcCmz6CErECOfk2i0SLouFeUEktCFN1acTVrd9f9KDJT6jw+1lsiwSr\nhwGse00vsjInzq9UXsOv1OBlhbW+ivAQbvCde8QRIRhHkFWgIFX+MZ7/GGoI\nZRJlAnckEu3aR63SfQtBK9NTEaJ6oQ3PwjUz8pUsjfPUwIWm2O1dgVCLttfx\n8dFv0YI16DjGXtpF8Gus47I404JIThIYo0qXyZuQY4eDpMlVNsjvgSSUbrbt\n1TErpmyK2JvPbXzq3uEh6uyYjg0bfWrdHTxAjhdBUcldU0veLfVgxVvTfEAb\n/reL+70uGQc5LDEAjbHiFNC/hf96nq9v//udveKA/xr/Mtcc3N53QeDRSOe/\nwHhQsJVu4GFS964GdX0fivXR0EdhC93EnziUpeJk1DCIwv9CphmLp3cGF4mi\nrmNU\r\n=L5K4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"6037f6e80fdaa53b50b99ae94d93c724c382c23c","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.16.4/node@v10.16.2+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.16.2","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.9.0","apollo-server-types":"0.2.1","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.9.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.9.0_1566573742715_0.6144104309996716","host":"s3://npm-registry-packages"}},"2.9.1":{"name":"apollo-server-hapi","version":"2.9.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.9.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"0c7089dfe6f3454918cc03c52eb2bf1eaa86094c","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.9.1.tgz","fileCount":21,"integrity":"sha512-29b8BkXuryd5DMZUPTkojt+UZjrlsyOUPGyMMJDjp/IuYblKx5z8JQMF9bjxVgBRen56OdHWN2nTzEk2byICOw==","signatures":[{"sig":"MEUCIQCbZnDblBlojOExqLip4z+ov6bBq0Hraw/46Acgt/Xz2wIgGB9krdAJDcXzaw9ZLajox/mIhZrcG9mbc4hUwYk9eKg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53120,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdZuUHCRA9TVsSAnZWagAAB48P+wTrv91274Tkjuv295U/\nDIt4LJ759a1Q9YtZL8SqRUzrn7PC/VpzqPetCJkVgmJmqrUHn7M2Sz+RIaXP\noKyhAntm5Q4Tber2UKAmbx9nT/GqLxTOOF7PgdJk0tqzXx3R4N7Z9oUjC9Rj\n5cdvHMTk0Qy/oDJL+7XBEXz/l3lRThNHijK4mYRIuUGEgkHdS37q8b2nK9bD\n59xLUQQGsCvqhs2prdg1q/JUA4Ptzhyso3HmIilUQiIXJhqmkL5WWipxU8m2\n3807zyGvKJJAHxXQClZQBeakY7vpvSv4k3uDeU74wtkJFnXt/rRJz96OUo2s\nZFlnzE/9kviMrVdAJybKHT8GRaBsrF+mhYHRVzWJreH2HEG6bZ2tXn3xON/J\n8fGr0PQq37aNoDQV8d7I9VQrLrbmY+ipWD1sI9SKGBUhYtJsGUl8iPPXNgxc\nLWLMQOJN49auLrg2oxLVJfMwN7MYWy/zt/O9HkR5qoCkCa+PI/KZdHTNxmpS\n72y2l9K2iJV0i51ZvBm2WQ1HdOPvztL2CuysOXz8U6jMVXw826GuxI72FqEm\nQhFMzPBwvQwlHE/G5dOM04MwlCx23qmS/MD3XAfIJ0PcgWYXGNp8umrCnKNu\n482zlc1e9/ixXimvoRdmHIvoUYVi6bjqJX05OYi5XnoSnvPum7Lf0KiUkFgz\nmzVH\r\n=CTXg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"029c8dca3af812ee70589cdb6de749df3d2843d8","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.16.4/node@v11.14.0+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"11.14.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"2.9.1","apollo-server-types":"0.2.2","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.9.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.9.1_1567024390334_0.6944980255492283","host":"s3://npm-registry-packages"}},"2.9.2":{"name":"apollo-server-hapi","version":"2.9.2","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.9.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"eb3804e873dab57b5643cdcc97a97dcb0caf2948","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.9.2.tgz","fileCount":21,"integrity":"sha512-1GxpTW/2i8yWhGrj3ahnHtUtePgxLyXsn231C8a5m9soJrFHETl7zM4EAOe3yJm4i1t+dVQD5IQnq5v4Z69fGA==","signatures":[{"sig":"MEUCIQDkQAnFyQtOP1KITBStbYpmYRPHPBuCzj056t8p3kHvJgIgTMr0PQB+SR0vk/qnAVvFYhMGhLXmKTD/KI43jpnE7LQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53123,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdaPUOCRA9TVsSAnZWagAAB+gP/RKP8YOVgAhFBeQKZbme\nx2UkTvJHUnXor6bISjHBxDj29wWOWaHLPwpv99oGc3Qj+25njnSfPlQ+iob3\nXzOVuMGSVkskhGME6uDSJlJ+lZ50L9RU8rC3iv/VVycBqKnERQVZS2LD0MxO\nTFMhrxg7M9nTDqqt0+raKAd/vpnLHbx9wvVfYhY1eBDAhLkMk5uVwJ7I/WJ2\n7xxaWc/FzHujtQeaxY0CHV89pJTHqqWzQ0RARrqDq4VTtKqmZnSD0jcAm1yk\nr6A3I6zlglHabv296eivevT5PGV1Y/yxd2QAZ4l0zkqbt3b045vBc8W0r/re\nb5PXhhS0v/RANKyXIdr+VxPPFsld6T7hfQ+k5R0QgyVNv6PIQNX2Fa2SpOjb\nlSzUIbrbH8ujN3JKOu36nXVph5UVJtPW0o7gWrli6AFqKj8KA2w6v3EzQwax\nIloZet5OClv1K0zwLJZSTIRtnWrIHsKguIYDqf2uuTVcWXfgOvHig5wa8vSr\nVJVX4S4dQyXLQObwom2tZyGsv+qzN09Yzwz921YVJq6bZsY0+o9/IAjAfln4\niW3227FhEJUFDXFhqFbCNC/zmkWsgN1NpqWJLoX6SYjSZRVlvnOe3kS1PC+4\ndKnYmUmcxg2GLXYHGIaoI/GugV6/Xiv7ebQIDYyPSAlebIGb0JlKoyoE34+W\nIjcN\r\n=uCDV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"92ea402a90bf9817c9b887707abbd77dcf5edcb4","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.16.4/node@v10.16.2+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.16.2","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.9.2","apollo-server-types":"^0.2.3","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.9.2"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.9.2_1567159565493_0.7459352209042396","host":"s3://npm-registry-packages"}},"2.9.3":{"name":"apollo-server-hapi","version":"2.9.3","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.9.3","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"b785245087fc2bd189fb23ac8420d0bff5ba64b9","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.9.3.tgz","fileCount":21,"integrity":"sha512-NO2wqbr20wy/u+hxCHMSU0AaM1BYLSLBwtb/WIYez43gH2oDMxYg4aO63OCejSga6bP3Uut4p3+jWZEwDM5s3w==","signatures":[{"sig":"MEQCIE+2ENDm9RxzmMtQ7GLzbhGRoUX9chwKKMbOLODD26RfAiAYLecJGb4w0tDeSAyjDNy6tsjD6O7HvjlaweJ3vTZOYg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53287,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdbDxjCRA9TVsSAnZWagAArVwP/jcE2aq8l3cOVOLGCg7C\nHQbtchlvnPyHFwo74cvWoA0lRyDuQ1T0fjsOwLYPVlcdKI9ATlg6491UVtpx\n9ZC+pvzAFurqVgROzcNFkI/BfjH/I73uLj4oqM2u/V1fm42Y2hFkSXUZbMzm\n5Usu3b71j3J0hSwBCOcKXaT/P3QIwMetun5g6Pj6YZP/PF9MFJTwVc2zh28+\nkFV+RipfPagRWQ5sdlEqV9Q40O77XI9k/S3q4AV3URGC4CGbrYZAr2kowSlD\n7lOi6FiGmankWjw57QPQD7gs3U7my5IFedKL8NjAZN5iMMeFUd2hqbtFOfHK\nQS0VQvVn5A1k80FaLWlS8dnod4jP5JxiWbqeRG608J/X/FfDJREo6gApkBd+\nPzsKxxOcRE2XntUbXBmOdX2seA18jaMOEithDkFIpVzhLRa2akO9Cl1+ajMp\n2qpOcfd7l5jw0w7/1DV9dyB1yoecHGcqwj0Txidky0iAL9hzTfVUD/11h42o\n53NUSeDhaVNYP8YmllJLTDmhf8vN/J5dnwCbe7Q8D5aL68+qFQsjiAgA3zcV\nOAfNiKDlhPvdDoWyn2ZhBGEy79VebMGgsYJlB6CwHmf+bsyEnTO6ydQcLWeV\neXubjnNYduGvrum8NxA3qeVH/e7M5A8evb78PVhYlJDoU4o8ZuJjtOPNSWfT\nO6HY\r\n=yP9t\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"a1fbf95fc01739d5cbaa59919149bb85c563fdaa","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.16.4/node@v10.16.2+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.16.2","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.9.3","apollo-server-types":"^0.2.4","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.9.3"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.9.3_1567374434631_0.20469468420302062","host":"s3://npm-registry-packages"}},"2.9.4":{"name":"apollo-server-hapi","version":"2.9.4","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.9.4","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"7c7db2d5612f5d914d97c46f545242b18a88df35","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.9.4.tgz","fileCount":21,"integrity":"sha512-BimFj9YjFlmn/Ca1/3X2ff+maPJsbAvuRMTguQDAdDSK+FJLlDK3kZAwjPiDR/pGPLKKz90v9vB4JoPew1lowQ==","signatures":[{"sig":"MEQCIH3bhb6NPVlhb0KJOJw+nQXelvcxZamKEGrFgjWLRiB+AiBju/7f0/GWUvzOUAnX6Sx9LhFCEp5UeOKLr13J2gKIWQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52643,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdikxXCRA9TVsSAnZWagAAIK4QAKS61Zg4pev/r6B7eErd\nidEu3pdfAaW/vv0i0ksQY+ntTl+q8hlHyLZpzTyvm8KIsMc3tyzEsr9t1mfw\nEb8Wh4r0T1otnSr/pw3gpfZNKygfh+u3OjF/0LhjFr7VZuJXSUY/6WoUCDDL\neuxk/WcPeA8G4kLIBJdWm9nanhluDnt3PCFPZ/VLaDlbwbbfgkTW1UAWvJ8h\n24lvuDWdqwg0xsbYquNdoK1SMloUZM0l+I+W7bMH5433YxQCVH4ST8ViXI51\n1IEJveOrQHwllMsgBAbZJN1BKqHdPLS0d3neavJU8rxvm6C2KsiXzomZt28Z\njWdzp3An/zLP1pFg5whGKexKbXqETRUmM3AJCagHzaVIyFou6p6RNTDyFmQy\n2reSP0tv9gDSFPHmCAtslIWEJZxW3WdVdDUnBDEM9wBJaL03fvPOCCHsLO3q\nQMPghdmwtW8XLDvsDsfFmFZnkEA1N8dXGLJUWA2KREgKFfpDSxQcuSPos0iw\nFPLMkHG/K0lZI3l77RklWJu7Ocy9NiXYUk9hL8ts5jTMV3sxB/N7I7l5DUXo\nJ5PAlUzmBvWOmNal1sZOe4iK62/B2UmN3ySCFDAFmN3VR17aoWi1EQaprMjR\nyucZ7oZbKR9KDxKv7zX7azytnbjky08h3dYkD+hmrBwLn3FMXUcnVDBX5hLr\nBCch\r\n=sOdn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"6100fb5e0797cd1f578ded7cb77b60fac47e58e3","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.16.4/node@v10.16.3+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.16.3","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.9.4","apollo-server-types":"^0.2.4","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.9.4"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.9.4_1569344599041_0.4278847531852339","host":"s3://npm-registry-packages"}},"2.9.5":{"name":"apollo-server-hapi","version":"2.9.5","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.9.5","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"2cdf53e3105a5e27330eed91507f615bd14f2f99","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.9.5.tgz","fileCount":21,"integrity":"sha512-t662OdVNKINKd2aLQrWO2sW6Q3hEbCjPlQhrzQOO8eNzSoiWFgsZBEX4SQ+/4qqRah1SBClqIpC2+kNs5bbG3A==","signatures":[{"sig":"MEUCIQCO+3OWzc26ncwOZ5VK4ecMMn1qHEFrmj9/MVnJ6Vm/7AIgdesZI8aipDZIB/qxKLLylXzb2bbcr5NeLZdaARF5quw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52643,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdl7XQCRA9TVsSAnZWagAAvsgQAJU1vGAY93zVDaZdilUa\nssdJIiBdZza4T2jHOZ1XZGcHh+uRsPvRumjZeAnPEIYdgRXASOHJT0C1arCh\nz7bT/h5h5Bc/z3hwsoQoWUg3OcK7o6A7P0iPYoAjCZUWOBxSEab604HbCtaK\n8ZGxX/gMp3/WE6jvGT3vbaq3NTy1KTCsZbe7bHu3rcnpxoCSkeR8nnz310Qv\n2XuRNqHprNEfSjCzl3PVewX2I3NqOadDlY7zsKCZaTx04att7YXjiEGDiBHc\nKXgHJLKavbI40GHJ1FlF1oa1htfG1axw/TckK/+cF5QB7C9RGRNYadsGDugw\nj7WTV3GVyy8YKQMob54sOVyou+EsR3kbpJG6hz1qhS8IYFnxjiqm3L0x3xgd\nekkjJ76YebBxCffFJAMBOU9ONaHVSZB6PqSesKhVMVstW4Jiq11+3P9BVr4v\nWTYjsdQJAQTVXTcWyq2xV6+LBBwqqcHn3jKY5vIQTrK6kSgRsQVbirp0vm5x\nmZkl7XMEBoj/wpDoIzSW+qaviS1UeoipwctujBzF1NZrI7525uytVo4+Gxm7\nWd2CChc+r4GdvQS9FQJO2gYpvbluzZ7uit1HyItELSyP/RvMGnjI5C4T+9FF\naiaQvqIrZVRGaTooMHJUD4ki+vGVrbLUB1l9EhqXYE1pA5wvNdGeJK0lYFbU\nqNCk\r\n=ONp2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"aa200ce24b834320fc79d2605dac340b37d3e434","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.16.4/node@v10.16.3+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.16.3","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.9.5","apollo-server-types":"^0.2.4","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.9.5"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.9.5_1570223567842_0.44278158242894516","host":"s3://npm-registry-packages"}},"2.9.6":{"name":"apollo-server-hapi","version":"2.9.6","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.9.6","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"072a9f08d5743848072dbfb9da60131850228ec2","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.9.6.tgz","fileCount":21,"integrity":"sha512-YYoBF8mQLe2Toe6kiW+4x8s0Qgh7m5whcr2Y6AVZA5U3AJRq7iMDS1rzzrAg/btsxirI1hU4Njv1HLzJxn4gKQ==","signatures":[{"sig":"MEUCIQC+ZmDstO5ghRQkxKkY6rdI3FwygSJS/0ebvsvyqk4AsQIgRCNhVynM8nw74ib1OBfUu5q7YTjXDKMRn+MNPzdslgA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52643,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdnyD3CRA9TVsSAnZWagAACXwQAIGwoOGbL03QJDBWQNYo\naxL1avveBtU9wvDW+SwFOMKJc+tpN9ZyO9VoveuNZglGLc/f685xaIv0irAK\nwGs77DiJYrSv/o4qW52qyzwPNy1EKFWNt6LKxgZLOJOCC6+SrRWVfYkHyDVK\nwCh/iDoDEM6BHLiuQAWflZPqxKgSC73KZ8XmpmUxvij2iBjFaeMd448mXgyf\nnJvo41ukJ3ZhXywv4QHuSA2LSoii4wsoXpKTvYONB9LQW2r9y4pQHE9bKMSA\nDfRb+siJ45mu1NY0c5dPR4uCE2Vrl2tBAxsdHGTAC6oZq5W/SurAWZf3RavL\n/ijqopledveA8rKymF9EXzeASWuS6v9hqAG1GX1zCKsoy9iwruBwslqR1dcC\nMQKuWo4N/2fyPeWcStbcOsm0q8R8vSe3VesauBcjekhzOSPufVK//cC6aXom\nv4upI2uVkTvs/3Atl/9WED4AAm4K9acm68Hg+oamzwq+3BHbe1Ot0Q3LnBrC\nes6ncp2nnZOmrdZCq7yjaUCNgYSw7AzoSes6j6GHlS3zsEbAw3s+OWTry5Xf\nmT5kv7rdQoybP8giAicCazhIu5upyQpLyW6DCpM9fpoq+b2tOTUN7rtrEpvD\nPIu0qDnf7E4OwI7bH0KEAYJKoxdmTKV8aEabr1JF7tCMOVsNeFTE3bBHUMJv\nJXqn\r\n=vqfv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"fc7462ec5f8604bd6cba99aa9a377a9b8e045566","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.16.4/node@v10.16.3+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.16.3","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.9.6","apollo-server-types":"^0.2.5","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.9.6"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.9.6_1570709750362_0.8272575654597301","host":"s3://npm-registry-packages"}},"2.9.7":{"name":"apollo-server-hapi","version":"2.9.7","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.9.7","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"deb0a72c28df82ac69f7af60cf250da3c341fabb","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.9.7.tgz","fileCount":21,"integrity":"sha512-F5oIgg9ixfSO+d3/7IsKh+S2Lq/rWvEkEgr3KjrfYs6sJg/P4BDvsG87IGKARZYhhXvdXTuaeDwn76AgO01qpw==","signatures":[{"sig":"MEUCIHQNj9miXOyBLYfe33kXlXnKBcTK0VUYKcbWBQvwJ3p0AiEAjz/wlVHw8qXv+NvrKejy4qwETg2vyewlG03tgwOAXeI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52643,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdrepOCRA9TVsSAnZWagAAAyUQAJU83yZ6d/ZGNkrtzYVX\nhmcW7kAl1nKR8ZsoDjyalPrPB9QdvAVh3fmIYMc/ARgDQPq3h2MMumNekBHW\nF60UidB0C+UO49ST5qAG0Bu9PPJ5SiuZLflXcvCKNN6fC7O++VuNPd4UmgYo\naZfEuV0cOWmGntE9eEamFQo0RTHL4PiQWycKJs+UN2M/coI1PHzuBVNLrlNO\ndxenCGGNrC/Zv0iAE/Luox+AAXHyQviClAIuGf2zcQSuxmxVd5gKA258VtbY\nFpYKW2sxnlEehxurLTnMgcSgPa6kNxjpygwhhI7tdqLo5+UF9aYGaZL01pQc\nYC3chNajThbCl7L6nqSGGrU5xO389GD7wJ4XPfDUVXSahFE30gnPjJywJxr5\n+VDrXR53IPIvsguZX6qNXtm5Et01i7CrlYhsrlBD/VzKFPAChJ8j72AxT8et\nxO7yZWNV6V2aEliPN9XiVciJf+XnCBOXCvtdQ1zvOEV0Rc/Uv1KSfWMtZxVD\nF92afBt9Atq7EDWxJ7KO/FH9rpAnT1w45AeK13l93vmpw0vjpzMUuu/msgrS\njutRLKF3RDNPTJ4QMITy4JPT/Qz60plNkQXMDw4Rh7ZxYWzWGhoBh2Swvvx0\nWSWAEYHRBChoi/YcXjv0NwVGlUGhm8gZVUGwJpjnoji1HREyZihWyC9wOIUB\nlFxZ\r\n=RxPA\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"5d94e986f04457ec17114791ee6db3ece4213dd8","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.17.0/node@v10.16.3+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.16.3","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.9.7","apollo-server-types":"^0.2.5","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.9.7"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.9.7_1571678797791_0.9655162153318846","host":"s3://npm-registry-packages"}},"2.9.8":{"name":"apollo-server-hapi","version":"2.9.8","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.9.8","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"ba7b98d6901dafd71d8d764ee78e65520e0b8e7f","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.9.8.tgz","fileCount":21,"integrity":"sha512-ym8H8r2ArD3BXi7V6Z8XC5XR963FHncEckeWJG8K1g4ug/MW3nvbWhAOLHOAuuXZjCr204Y1/PUmK8B/zPqc2Q==","signatures":[{"sig":"MEUCIEqtzdx0uQa9qSF3sBITE350YLu68QKtmADlO1+jwSQXAiEAtvcskcHs+fTDcx6utTIGaHk4/zsvRcA0tWEZhiJ3kgk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52643,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdyv04CRA9TVsSAnZWagAAujYP/R3szrOOetY3qCoYdr2z\n8STPazPx2wyMxCpvjziunkNBShOMO4PGMl2CCtN63tqm+VpU3+x/Sx7T4gnz\nbjsrU4jRuxBjq1afCpyulYupWApb1M8gsXhBNnIC4/DINLQO1uYwEXVC9sad\n3LK21qYTL1DkzAVPYVeVwJ83IUt7MkLf+w2pDPu0vvblWhDUGkNJQ6rqfGLu\nnktqjMtcTTyQfzBa1B2tSt8hwahIlAmE0jCezUBx6ojhnO7VXka0kW586nx9\nCQXqAS0tJdjqRdi5XSLwXSvmvy3tvoKHDq+IjlZQhpz+GJhF5znmxyQNhvnZ\n1AL6UFuDAw6i00kqKOyaB1xUySLfrODoHhctPxdXKW+iLe1rCmSzpdZJzH00\nfIjsz1lINovaqILlQFeNU0KvU2+t6GPocVcnQOrV9/3QijaOE/jE6aMqJrgb\ncfbs0ZcjiiUrMzHeIQSvc7WUlF9/obsXkHShvi1xFJ3NgTuiLcvTMNqRN1e4\ngi2E4ap3klS9+RXZF2usk56yxnkhd/O4g8SGElUd5E3rzNcMI6K/4nF9VTwB\nx1sDQYfCigUwYFPVf1NbOXjrCXP3GUfIyP786SdfDCshu5MyE8VljwbF1DnW\n7zuMIkFJGGDBw1zRTPCnyXoryvzn7egWoStLlkYbB2o50qLPpuPHNOaEm46n\n/Z2p\r\n=pIXm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"3cdde1b7a71ace6411fbacf82a1a61bf737444a6","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.18.4/node@v10.17.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.17.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.9.8","apollo-server-types":"^0.2.5","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.9.8"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.9.8_1573584184239_0.6541064352802175","host":"s3://npm-registry-packages"}},"2.9.9":{"name":"apollo-server-hapi","version":"2.9.9","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.9.9","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"e8c98815a5a20838d40459da0cd46ff3a7d59480","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.9.9.tgz","fileCount":21,"integrity":"sha512-11HSfW1b99YqPLfL9+zQGgT4+bbyyYBR0qrRZj4fe5fvyChtwhqL8NzoSOpdfDwcUjI2fSICSztoc7pPNQ8YpQ==","signatures":[{"sig":"MEUCIQDhik+WDNqTMhs17ynrsoBvrT7dAWTondS+dKlxUO69XwIgazuaQaNOcc27pazg1ajWBNZzOGgZpgc5L9llr3/SvzI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52643,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdzIcNCRA9TVsSAnZWagAAZk0P/0o+ZBSmUk4L2P8PISyV\n7IIxoak4OF8E6ihSPSz4NIBkb1XDzHJ7L8nEJP9TxXQgG1upkUhVa8e/GM+z\n6oYjyYKg3BwM5gEMzusHSw7yTq871RTe9in0Q3tcYsEsz4re/tUzVWkRJXP8\nRodf8Wnp07lP8ncGiAWgmFbQJAN6YPVg/586F2pzzrVDhzE7dD/uNajiPoys\nWIEky4aAHB19Xf0xxEjFQi8a3t1CQKzlCXyOR/KGEcQfUqhVm43JBcUJsmkT\nRtGHlkawVgXKXBBC1ycq/T0fI3un4//MzG5Hv41UVVHbexdgM+L9BKoSB2c/\ndUvkwncm22yfT3Vi1L+n1M2Obd7JuU02xdDiF4c1UetdySTMpi3PPOVfLfyi\ngqYJYhc0XpQEOIxkVAxqSgCb6rbnQYpi03nIE9wfp18ezjyGZ/ipLhM9E+Ya\nAytklkFWJYWFZCPjjleONl5gDe6sLgWBsk2Pv1fLmSzmeXqzU2X7z1nZeNt6\nsSZD8j+LxYilWUi1JmeVsEkn2b/xmetFLk9cTg2dhXaC9K6HrOPXWe2uRQ5m\nVrbiti9O+CZAMoPTHs2j+e2qqW4kuYeGUMVs2zYZCVC3niTXMGVnGSrkpf7d\nfhJDbBSlC6QDGTtxOt26zGTJCpyJBBjbseiecAO1BiDlWrbwTgtly4gV2QxC\nhpjp\r\n=rZac\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"93002737d53dd9a50b473ab9cef14849b3e539aa","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.18.4/node@v10.17.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.17.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.9.9","apollo-server-types":"^0.2.5","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.9.9"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.9.9_1573685004739_0.8485149632839701","host":"s3://npm-registry-packages"}},"2.9.10":{"name":"apollo-server-hapi","version":"2.9.10","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.9.10","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"b5224ca8f437e3e5f2c07972111806b101e08074","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.9.10.tgz","fileCount":21,"integrity":"sha512-APbMduGukNGsql1XXKoeK2+c2Jk/V1sNbh/lf+XnBWefHO2qzNRybKe9u2ZEkalrjzdsLEZ9UBFX0ll0f1VBRQ==","signatures":[{"sig":"MEYCIQDxsV4oQCuaufi/lN8u6dj/kOZaR+VID0P9ZoE0lUPcXQIhALsiohKOg91c/c9qB1bBnIXSd83GGrcVXHGprVSm46CE","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52646,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd1b3FCRA9TVsSAnZWagAA39oQAJNweLmaUBJPeeVoFGNJ\nNrFWoniTJdV2xOhoQ3CoNVcLoZGpNkarUqyRfDOLCq55IJxemWeN/DmFq62k\ny3HPOUe/0I8duBo+Yj/TyTCtEN4ObFHc7BCSZHg9pR4euFkZlqgk2JaY5iFR\nA1q38BF557wlqhMJfmklMRmUEqBPkrvvIV3q4/ItiGOWJchkhXWK4J1ydTlq\nexNS0f+uwdbYv6TgHE3V0fWPCN3MeG/O9lL96/0D3pyaRMZ/KGbJhSwZUiHM\nys5YXlUOV+hsPUK2Bo0Hkd+gzfrLGTFC6LQy4L9u21A7TEPjwGswH9zNRZyg\n2ga9a+rzHv19S8v/4qD8obkq2bsLrbi18JagMxNwOIgSqt45gkfVf+DsuZUQ\nhGD0mdRbsQEqBwfir2CqQrou8y7RwRCscDG+P0OH2SJqWDVl4YeXOZYKFwD+\n6Hg6/Dxs1y4Utn+5kUE4Itk++giYuyJrI/jeoJ1RXnGfpZ+ZSKMW5FUQksFe\nrYVL+t8MlyAzKqJHjYozLvLv0QRvSgI6lbqevn34wljmOd2SrXsyQo7egIUl\nTCSGJBUATZ868kOFj5/Dzu8SJM86MdH0sKYLg8holCnNb8jKu48W8QllNXs0\nKqT1BtmVIWnJeWL5mzIwAVitBpli12VXajx5y8e+b25QkqP7XTCsBnPR5cIn\nU2hg\r\n=/C+w\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"2a4c654986a158aaccf947ee56a4bfc48a3173c7","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.18.4/node@v10.17.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.17.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.9.10","apollo-server-types":"^0.2.6","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.9.10"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.9.10_1574288836815_0.4437424042729765","host":"s3://npm-registry-packages"}},"2.9.11":{"name":"apollo-server-hapi","version":"2.9.11","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.9.11","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"af418fbb76779ec398bfe30dad39622bca1c835c","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.9.11.tgz","fileCount":21,"integrity":"sha512-nGYwF24U0gU6nIljgaMuHJV5PyXGDqg02w5kyRG/MfIEYF16tM0Rp7+tyETTMrw0XwyNNBMg3Ju/nGRbjh7IVQ==","signatures":[{"sig":"MEUCIGACYUU0B83EMtAXm2vnLcK9nFa/ZeDw+nD0E/I9rxcMAiEAvmZddVTZw4ZdCFXAlFzOAoWl2zXnnm3ffM9sz445KZM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52646,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd1cxtCRA9TVsSAnZWagAAhYsP/10Kvv19VF3H+JECEvXh\ngKgtuKJYIh4QT8pLY0X2kKH4AdZ0fJK2neySBDzKgC4o8e+5Qzh97JunjPfv\nrHFj0GrQpHDm2vnzPsPZhpNyCnG4g4SCgvm5ybespFZ5ewJLDrWY3seV2hDI\nujTp9svxxfqiaXQMtmRjVzQelwU/NNsKw22PpW7xPZlnELLJdMQ6IilvTDDZ\n47u67a6jnpAMBJhzGQUnetird03m4vRAA8gUCWDKZAI7EFiKMxm5ewITWoDk\n1NDXEFG3qdxPoVRrd/4/QlVyqJ7D+Tz5w50qciX8NmSx96ucx++IAHB2IjOK\np2Zb2SDdWIQ1X4zSP/xt1WThmqfBjoJIDiJUN1GaeaEGqoCnOlKykEll+UQB\nGDVpLAC0KgF+eCYD3VJWAgLHdq9l9RE5RpEtGuKAArM5/O2+WDY7kxy+T3Se\nZdoWDWoyk+UlYKF7Cm49OI6ZgA+Wo8gwu18/sIsul3/3VAT49I+hGDHceQUY\notVrBsdXFjYxThA6BF1OhMP6taGO6bnq7fTjramcUsAoTrEJiXBMqz1QUld0\nEsxXQQ1134hXWZdSvK4pO2sCX3zci4uWSzm3K9eBQnWEBlsb3j1KP4JW1gOE\nDYrqgKNk3iSFU4DyAFH3gLzinsRlXvaIN12PMKcYEi5hXaH5IxtHhXElZ0kx\nbf4e\r\n=HTry\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"d49e4d2038df4f5aae824a98ddb21dca909051a9","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.18.4/node@v10.17.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.17.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.9.11","apollo-server-types":"^0.2.7","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.9.11"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.9.11_1574292589433_0.9711954330683281","host":"s3://npm-registry-packages"}},"2.9.12":{"name":"apollo-server-hapi","version":"2.9.12","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.9.12","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"0b12053165d9abf8a82b1fe9c8c84aaea08178d1","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.9.12.tgz","fileCount":21,"integrity":"sha512-Gnziz61roTZ4vlgYCNKwWMBDBCUCAhfR7ufbM5eMNYwa5xodIEhxTkTm8tDLQtb7zpKGJl3bNRCoovC/WEM+ew==","signatures":[{"sig":"MEUCIQDlt9O2/0jFbClCQimfL0enaTgngjU1ICTr4muO4GuWqgIgLP9DWqurfaBv+7kX4qRS+gtcMPN+CKW5iwXoayrs8dU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52646,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd1tD3CRA9TVsSAnZWagAAHmoP/0vxbEr+quD0Uzs7l2Up\nm00dzjPC4d7GroCPCqRPPucT1beWSk6deexYdnFUexoQGYFVwyXlvvEtbnvT\nAaw6pIrxtajRr2G9eUf02L0E0Y78FRlbWUURWNsXQaoLmsENOmIOw7J5aCoE\n/8xaD7GS+Vb0Ja7elN7ZDjCjanMR+OKbjjp4KGF8Utv1T6b49xunbtAjKZHi\n9xDYsfhRGbXLx60SEWQCTUnxfUknNf6P0LhyhOFp4lm32Dv2Gi0uYJypG0cY\nxXVduMWbcJYKipRF555xxNnosBXg/nSZw+dcM2HaGGmjPiyIC7mER1svwfpM\nu+Mn0VDY+ZRfAvNsOItpqYkIpuwecKYPHUq0TDjoIvLRopy+XM3DvB6HRyvt\nownQ8DmD8QFspApfe6vA67BbQ64m+JdI82nAbLlGSf+aP6i5PhC3adk3DRQQ\ng8LiruTEkzSyihLh20zAQ4E+G+xnGt2H58J0BWHhS6VLpY0a8kJqTFKP8Vtk\njuydy0XBjmLO/0JIQ0udd5MgWBxdMK+hG5B3M/zfSCGR/MHszxDaddPI7CtZ\n6zhpY/FeO/Bmad1WJZHJ208czXsUvwiyhyAg+fsqq0iVbgz51C1eL4PF0F0R\nitcglpdxXMWtJbUqnuvRCEB0rGhipT+4Aa5cfRjDQ5ymK1TAW3syEfYzah9z\ng09u\r\n=xCi7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"8d065d8b8b7f35f814695e74f5c685b7d68d5e00","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.18.4/node@v10.17.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.17.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.9.12","apollo-server-types":"^0.2.8","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.9.12"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.9.12_1574359287102_0.09550501216815399","host":"s3://npm-registry-packages"}},"2.9.13":{"name":"apollo-server-hapi","version":"2.9.13","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.9.13","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"6fc79580eea0afa281be26d543cc695828d69dd6","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.9.13.tgz","fileCount":21,"integrity":"sha512-JDL2KCVwiMoMncvjgst8hQEhpyVwf8mtglbXdM7TAnbh5BgY8pEYmUvCmCHzFDJcpG8FEnbM4uojufGdiaolfA==","signatures":[{"sig":"MEUCIQDJAeOitdgA+ia//YGgQ4pfv4FvpKM6hJGg/TezjZSSEgIgKA081kxYCU+HFfxD+MmnNo4dmAUCTL/C89BnvLOzKHc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52646,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd6WIfCRA9TVsSAnZWagAANlcP/innjVxZVl7KSPhGZd4J\nFmBYhxlV5iUiCpJ079cDeqKFfSHkQY92cC2GYhY2XqtI3nOguDjHkgrkDLVs\nYSEfIVQ02MwFLMzK2ZdgB4zDQLjBB89biIvfLGQvmesaF5O9IesK9xMnm67F\n1zK6glElC02B97rwhsoUMl3XiFUdxXV5QVWIDDDrdEshhnnTq7xulemwsG4t\nFqjM9vmBf7ZjRJ41XcmP3H11ZWkn1IhIz7JrttyqrpmgPktqEm7CRowVF0+H\na9rhus2LmvTJmA6ZeUB33TQEi38RK+Xh2hHvU/nH2D0X6+winFXwol4gpOZG\n2U7Z+K2Hogojaq4+7tqu+6WWaaOckFtUktQhABoH01BARcPMn6BzXdG407sP\nQzD/gU6x4BCZkYW3hgWB+YSUf6wpFYyrwCz/HmdstTnKze2U+8mzuuKUdCbE\nQuACgEwt5wPbmAhC28okEOxmqdjdnYTngf+YlYay1By8BjcZ7zv8r/R5j4xz\nyqRyR6iX9BtNPYQ5y0CBD6b70z2YGnb31Em1GhNySqKmUib9tYPeG6as/6Yy\nnG1iLOT0tU83bcHPJqa98718GuZXibTDkGAsY80uUwGnxDL/xrdBg4mAZie6\nKKKb4hEPnjmP1DZBkdTSriyn4XSzwlfF8vkfiQXNYkzqev5UZcwrLBSE/rw4\n4nEr\r\n=o4ht\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"a0a60e73e04e913d388de8324f7d17e4406deea2","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.19.0/node@v10.17.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.17.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.9.13","apollo-server-types":"^0.2.8","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.9.13"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.9.13_1575576095252_0.9716856166366259","host":"s3://npm-registry-packages"}},"2.9.14":{"name":"apollo-server-hapi","version":"2.9.14","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.9.14","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"4de23fc5cb1ba27430db931dc1223d556b08c8d9","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.9.14.tgz","fileCount":21,"integrity":"sha512-TClmxJ6AI8CXU/5va+a7N0XWrO0iZTCnuV1JwkVo2DaV1jmM/gxNfvmHf1u5wE4MhedAfne1iEvpGBgZ6YU7Xg==","signatures":[{"sig":"MEUCIGNZmYNS1RvpqwVOYbw7h+ew+QykvElUThTQcY6Ce5xaAiEAy1jN31GTI0plyafkDZ7ECrAEDS4OOmpevTvwAwHgy5s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52651,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd+MjxCRA9TVsSAnZWagAAjFUP/RLhDaKmQGnBvhBUWA9s\n7L0y51uOOhfifoOlyV23BnUVEW9NA77+Jtbs0KCtCDksQaueVX69yTnrhTAN\nMj/2jvVTCX1ay6aCo3XKPOfexuhVaFqL2y+O7Dqy89BOW+Pl/dCrarIZIyLj\nmSTcU1svpnNDRfaXUQPUXDTf1qWCRmlg4bClK0vAPMs0OrO6dP16vbkX81LR\nNlcThp453LT++gdTjuHHciUV8fPDkUutGpLj4Z5biYoyAaSbqApvhuCbalHH\nnmA6e7/f/x6EAEfmG2FJ1aYUfh2rbifKs93VqMInqBRSjAM2AYuW1R3XM4x4\nW0/M8Kds9SS3vv3/v9Pil0M0vspM88I5nOqBfHL7VU3XT5U3pJHd4N98Kq4V\nz/fcCLG8vlHBi9vQhFQP/vQumje2Gyn2V23Qy6bJ8YHG5Xv1Go6gq3EshE7U\nxNrgl7kB5vaa2LbPeIfLo9t42h4BmHhjK5y4kmWJuM3J/VaVxpLmUjel26J6\nLie+JBxgxPTRFaozdwAxz9V7nnbFpNUS0PBtjvdEWq2hRjmVXX8umyArllKS\nU9PV1AG0B6QeZXkjSQm2rfmfFCNuVRjXgl6KodyvLEYhV96Hfav/hkACu+Pv\nnyOhucSTE3bVsmAcpKTqRAZo3qS10Rdkkux3FVm0ZdFGnXBAeDQc93VAcvt9\n1atW\r\n=/bgN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"ad5eac5ea1741142122e4cb8fd34a9748be31e89","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.19.0/node@v10.17.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.17.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.9.14","apollo-server-types":"^0.2.9","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.9.14"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.9.14_1576585450061_0.39029991982243617","host":"s3://npm-registry-packages"}},"2.9.15":{"name":"apollo-server-hapi","version":"2.9.15","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.9.15","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"29212fa023db03733f7bbcbffb4b78c485299d93","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.9.15.tgz","fileCount":21,"integrity":"sha512-iezR5bAk0SUBZh4NvO+gJmVkTimZu5zGOIzR2Eb3J/28Y1Mzq+O3sOzRBjSxFEkINje8eKOgTQJgcS5v8C3tug==","signatures":[{"sig":"MEUCIQCjLtLt3Wem/uauYXvN4Yhnx3Lm07/f2YtA2NMfthVhzwIgPEHGoHfZ/6+WdA1gAxXm4UzhCwvXiBGgAXRUKpqRpwk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52634,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeBfTNCRA9TVsSAnZWagAAVrwP/3du3tgiyl8+a3iPPaZv\n8tYbW6zlR3yH/R7mLkFVxLGn56fM/DW1nV7JOehLn8jHIzuUXIjOXhEg0VWM\niGjgkgSZjw8rOMkR5N32LxB4N4t0a1uxTWLnimIWOu3Z8eS4EKFkRz/ZpB2L\nOmu9POQXiH8NUokHcEYrI/2g8A4ql1H+3O1utE//fElfY8Ba+jP/kYSC9Lbu\nsqTPJ/qDu01zqe6hkg/D6dbqkoJPosxLPl4j+T95HA6SursbPOCMtQMeFJUI\nKF2T96plOTjdYsC2dzuXl26e2M5pX8llhvRRLFQ8IKtdZAjRc5wh+qm76Q0O\nuQshWcYSFkz6QGzClYLOnrltEBBcfDoqHSJ/Wz65aMSQz6Xw/fn3VnuciRfn\nbCFk6xU5NuZ/mMKHIiU7Gxj7McNjYGY0Ev15+HpIqR3EUf6EKPX0AoT3OlYU\nLWE+kqqVTU6H5u1U1/r4FTXWGXPHrPlSM8PNBxbyuM91AY7iFjENEZb13vVg\n2Kvr4HW3L3tbDGUVVmvBY3jcXxfrrzjedqOvPl54fG4UQzMYCb2/CGKsF5Ie\n1mczOU67uw+nbXNnjbT6zfg1TqE9mMYhFaIX7OKy8ATp8iZZAHBt1p2sKhHv\nPTA8razd8ZXKS91f9BxNC/qcwLOE1mBM3LQDpFkllpBurl7+TznHjfbQXg7D\nG2b/\r\n=jD9q\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"0743d6b2f1737758cf09e80d2086917772bc00c9","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.19.0/node@v10.18.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.18.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.9.15","apollo-server-types":"^0.2.10","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.9.15"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.9.15_1577448652759_0.08183802571069232","host":"s3://npm-registry-packages"}},"2.9.16":{"name":"apollo-server-hapi","version":"2.9.16","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.9.16","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"c6cb6f3181131339599128ce35f45b8ea74e6958","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.9.16.tgz","fileCount":21,"integrity":"sha512-QwxKPz9TmplxmUrZsyvI8rEO9P3dv9CJD1TkWgar6gVyqJxYUV4kB22SWRcPCyO9/WO+M9e5QRh+g7UY+8W4Sg==","signatures":[{"sig":"MEUCIQD9Wk72eJkYymKNgsuUYAtl+FSqIXZ/2tNOxxhLEdY8VwIgPMJZjBf1R/tXO/lts/V3/n0LMGrF3HfLHtMvaGEqdGw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52634,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeF6ZdCRA9TVsSAnZWagAAxMYP/3mLtnsnjmhk3mx7NXR8\nyDKXUbR3UwUUhmiTmjxmAUIVt6+RUOSjXZbqM6OnfpFfP9jMBGQ1m0nmfdF6\nIsQZCcBtbQi0fUHVWOkEo41yev6u5GHBjyXSMe974TDlmEYp+2j0g+YXuXAG\nbYmbvKFi/S6zf7k6tC2g/+xDaketdYJ0X/sroWRxh4OBxi8eEL16B2IAye1T\nRkXpuNRaj0X1BmD92Qgxp1KtDwgBExnNaQTmu19hFnL7y99NLe0wzbRML+ls\nWn9TpwHSRMYjVxjM4S2bqRwWSatuCpZjKeZ6Qnv535xyAkW2+KPjJKgnm/Y+\nP6HKksSqUVA+OGj5KnvBZZUSrNA5Ofb4lH6qcdaVWXAnod6bsXIMarf6Sh+z\noYczCrLFIBwpVkSUe1G9SJKlD/C4ouTLl9dHKFzsB/azHWFu3E874uHfvslQ\nlcB5nVZ1ecEGGS6u/BBGeHcYyBE6LzMDHixfz7tVKidWCXgyqkFTgAh+tkB3\nYbysSq01gCr9NnxbQ5MTmBMBoJagJnl2JInA/omwJI9pM+pVoQ4/L7Y2IiqX\nn90/YzCnpsrUkxDIp8m04UyRyK0zTb+O1BzZp1GVmcvXDGn4/mDbJWHXZJR4\nVof+QRklvl5eSiee5mL2np9l6oH+sc7Tch8Osc7RAUgaIyQ5/N/TiUQRScdE\n7be8\r\n=DiYU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"4d1a75e318897c335674c7ee046c0baec7df4a9b","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.20.2/node@v10.18.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.18.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.9.16","apollo-server-types":"^0.2.10","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.9.16"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.9.16_1578608220664_0.8972716173444177","host":"s3://npm-registry-packages"}},"2.10.0":{"name":"apollo-server-hapi","version":"2.10.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.10.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"c1b729be4e75502665a57ffb38937bbe99629e4b","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.10.0.tgz","fileCount":21,"integrity":"sha512-YmdTuJE8BKlMiyB8Uzkp8CL+/8GAEEOBs6itCxjn/XZGWZZSPBnq5RSuFQL6H45HZIZzmfzGz/OKUM5U9dnT1w==","signatures":[{"sig":"MEUCIQCPU4EcBPKLERMMqRFW4SDeBKnfXjtUNobJlXe+TdBoXgIgIAHuG+By5gQEuWgZUsB76izNKSJ2hd1WJWpmtrlj2eM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52634,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJePAflCRA9TVsSAnZWagAA7aQQAIJjyPZkp99qiHMzHayH\nVl9nr0Z3xMzsDc2WdPCYd/0kfwT/pawgH27E9GMswwZGeVs/zUXNWcZD31Cg\nyN24WaZPGB/cRJkm/+sutOcmUVOhfqk1/1hboMND9c38Rm5QnsnO9WEeYapv\nERmLmFAhP4uObhM3ZI9ulTeZRwm4jw6xO6K06AKUC+Hzuo7EcMn3xxzLH1Yz\nob+l5HQnsXAYB2nhSFmG5SjEIyshOYcuB86PqWet4Orzvc6KBj++7EFT7vyB\nddLo2AE6rvVaXOy/O3XsPfJ5oOTxMnc2ZUhAYX0eDJB/tXi6PfH3vEjQsfPN\nan+Bz0elwamdoPLjlJUGcjm0DhdTEkhWUSJROMkM8TJbjg8NXxmDm7aS8eM0\nbE7D42gD/QF5SllK3XkqXrHIpnC/io6y0RZ8npP3CquVFTwmM5YsUFoXy324\nW8uyFouovknxWjNMZu0yE0S+LhsH4K/04H2rwHmrp3fFBRW6MiAx3T3pklM/\nd7SJIZDi+iy4UXKn5Ca/NUqKoVchEbFpuag+dkpyoWtiQoQM5FoDFabsMeTZ\nEfpGOysF1hOmmd4ZWm6pBsVBN1YUUkjvJxFFT/G6l7eMtl7RO3ihay+3Urrk\n9uCfKAUrxNsxP7sypePA/Pw+ktFa80wbnMXinbJGKoJ8QjixjWtDIrhzGCdo\nNEFS\r\n=VXwS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"9c0aa1e661ccc2c5a1471b781102637dd47e21b1","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.20.2/node@v10.18.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.18.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.10.0","apollo-server-types":"^0.2.10","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.10.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.10.0_1580992485374_0.6588344275612921","host":"s3://npm-registry-packages"}},"2.10.1":{"name":"apollo-server-hapi","version":"2.10.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.10.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"8152e67cda98ce8daf8724904f8bc34d0ea37674","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.10.1.tgz","fileCount":21,"integrity":"sha512-C+/b3WCuNlZrkGESI3FMHA7Zqbgc5PbSmn31n0dQWEVXvzhmxaZFNDHnNz0xNaZOyP605QYTHF2tvu4E8Z45BA==","signatures":[{"sig":"MEUCIQDFe2Cp0VVfcVxX601tb1XnqGKHOlmFm+3xC18ywRGcwwIgDyQEYysFWHhCXCROLdHdUBhCEVa+HzjviAHJ1sYfQuY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52634,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeRqfkCRA9TVsSAnZWagAA4HQQAJRtJAPPTWSaRjjbHie4\nnymAvlGJCvktbs+wAWOWpwkAvBEAu0DXBbE9CGiv+vtQ7iUdDsWiydVAmI48\nCeLIEFGLEEgw0ApxIqwnUPZzM0ylCrywEB9ry9caHKbBqBIhYGCxXhapQoNr\nR2LGDqEIT3tgiZYeJQmymwOO97oLcnwLsNhzHcskUKkf6Wjr/MW6uvo+jk/L\ny9z/E4T7SY6GiHJtnPWGQnv9T0iXaOEM4sboBrjH4a/lDSz7pOTlLWyG2oNp\nKv92G961oW2C8x+QS9h6tu/JjI0kA/9OOukpO4NMXvVyn53zeETmIVELpOKu\naDN9zH6jvuws9dxRRGeOWTYCEzt5Qg++lfjpRdOFuBMdCud8Kdt6qMC9pfDT\nnyxuGef8P90fFh9L6sBodinvO5qrDVc4At8/A6xhdZpGP1MoS4al9xqhUIwg\n9fo++N+xWS3q7nASLBaHTJ/eCJMCPb7nNwvrszGrc+8aUbeijqG4V9GjJm0T\n7ccuE1x9sWxLCaeKTvfZVQmW/SPDIiOXMTP9QeC1aVerMhglx1JYVPY80q3H\nmuyPQE11bn1vmbCDu25T8gkzyI/ny0IGX5T1GwaliaXBSKR3+bcHHcxxhv/D\n3GXWZf8usrwj1/Qu+CDiXPl4rUamswCIbMBZfX3K0xa8g4kr5VIX4GAOInor\nK6jo\r\n=4A+Z\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"dba97895485d6444535a684d4646f1363954f698","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.20.2/node@v10.19.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.19.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.10.1","apollo-server-types":"^0.2.10","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.10.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.10.1_1581688803709_0.05590124502964433","host":"s3://npm-registry-packages"}},"2.11.0-alpha.1":{"name":"apollo-server-hapi","version":"2.11.0-alpha.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.11.0-alpha.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"19ce44f0f5718a6e297b9976a257f98f3fbd1cfc","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.11.0-alpha.1.tgz","fileCount":21,"integrity":"sha512-iHVsMg+O2f+Hd7QRYvs3KcLD18eYCD9UldAX5Ax2Cmnvnj9VZFl6/mjjrlDH+RXlZlqTkl6+Z7fsVkXgsmTwpg==","signatures":[{"sig":"MEUCIQC5Iv6PBtiMxkWXGoA35YauhJPcqLvFpwvpFINJYzv1AwIgNISEWpCzoFMKHcqzM4UdQIp22PbvLX0cVg5ugc1dLYU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52681,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeU+uyCRA9TVsSAnZWagAASDUP+wUdBrCQQo/w9U9KK+8z\nFn+bJkIod0zGqZuU8nFHDK32V5rUuvMJko02MdEo+w68jgVeb2NQ4eP/e42Z\nrppVaJLgb4o9Oz7simyknbuyGVPIZ1L6LZVNurbg+pCy8yhaMJIRtR4Tp2JZ\ns7jbjaLbMq3ClpuFdwfqCoGNp4C6CNFzHZy8l4wmcRkDwCvEttMpHwdi0oLG\n7lZyukL1DOyFfeuYU8y4UgUrbZPbkSl5abqR3lcFwXykAcZIcKNOUEq+cFmX\nQg/deirJp8LipOB5b1Rvl0UwUW3LNaaKQmxhtW5MCLaPy/TDOTh47kSZdyK+\njagP9ZGWIqiAO+CxbDF4UxxWNdQYGuRr6b9W0E+pquX+3wzZ9Stf46DVsnat\neQ5czegpaZZTceVXY30gzna7gPjmq7uZLNLo0ihezdnvnslqbM0CdWno7YpQ\nlJ76PYEZCiOFIfX9BZZchuAGVMs4i/72Z7DFpwRdU3flIdCAWURwDFjOSnz/\nWNh1KE3ZTpsKNUQRqST7Xy3PdlroyVuNU+6RAa8fGLVwS3t/VCMyhs0K3Pdr\nfwhE128X9/I4uOy5xJKXxwxriS5+R1DhIyCkEvlxXQHftDwGBDjl/7r44/xl\nlMAXt+DmtxRxuBwCdfv1ybfGrdm7BCIv1oYzAQihPEzZtVL9ND2JSI2W8a6O\nx88Z\r\n=Axdd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"a07ce0fba5a78d6e1a3c0a08dfda1b449e6c16e0","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.20.2/node@v10.19.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.19.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.11.0-alpha.1","apollo-server-types":"^0.3.0-alpha.1","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.11.0-alpha.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0-rc.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.11.0-alpha.1_1582558129535_0.7757347428993606","host":"s3://npm-registry-packages"}},"2.11.0-alpha.2":{"name":"apollo-server-hapi","version":"2.11.0-alpha.2","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.11.0-alpha.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"b75ca7abe364c4c2c74ff0ba8193e407db1fe57b","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.11.0-alpha.2.tgz","fileCount":21,"integrity":"sha512-rWP6xFY4qNj2SgAlWjC3gmp5u/6Z0wYQ8YymuDSvCCrKRJKZKwm44ISKIvucgFuVs3tBYPYEJl7ZbKklU5wNqA==","signatures":[{"sig":"MEUCIElXf9OcItjxZNPQMei1cBYHLhAivkCVJOrFFEcigOwFAiEApYFDkDa5e14pEcQOTctgqbNxuSA1SevKsbgCPhRVuLo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52681,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeVUUeCRA9TVsSAnZWagAAfjcP/1a/hJpBtpZoLT3237Fq\nea9/was3NBl35XJ5BuSjE+dTfnea0aF6Syu5natd4ixuP9/F9xYjw3Ei8Ds9\niSnc3Q4cIAn7WDhfCzT/KiTe+joa1rZ5PMUW2jPLaSqGKXFK/J9FfOhP5eT8\nULFEtv7Q11+qFuMmlZGH9jU1DkJhyd4zb7CL8eqsHcKSLKOmYPvnFW3mchyH\noriLenLwGQj5n9YoJfO3CXHEJNWEn0OXsffgx/vLYY5HpGtr2Cx6/guL0mN7\nyy0rbYwCmI+yKoU43hQahqm7MjHzWHGSYtKDZD24IdxoSTPpXA92BkSktgJm\nY5nbmO5JiNKrGWk8lna/MTJhoo9FOTnbOsqYFhL4JMr1N+yNeaKMdepiAW2N\njfZTpkuvVATvwJ7eI1XAyuql9wSKNpDzferLG54uwKg8FWmCMbQRiD0PBB/Y\nHyp1H/2i9h4gBLcCgvroQnAQZL9TVzBR7s991ScvFT62KzuzrCDN35HYmuPf\nHPMCC314REDbIDYjJtRAQiLzYBItZ2J9xw6Rs42y6wpZVMnk9lK486TNaZnq\n2QNKX75XYLM0WGhOjwkrsDY3FQmu/U30+myE+j7e/9RpjUNVSyd6ynvUShjd\nfHynpjix62U0H2vVSo0zqcnu+jmAGTRdDbO9STXEeeHB600oH+KIiLje3bwk\nxjxX\r\n=HS3G\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"5235abdaeebcf2000b49172474df150d0dd4a247","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.20.2/node@v10.19.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.19.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.11.0-alpha.2","apollo-server-types":"^0.3.0-alpha.1","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.11.0-alpha.2"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0-rc.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.11.0-alpha.2_1582646557985_0.2905574599563172","host":"s3://npm-registry-packages"}},"2.11.0-alpha.3":{"name":"apollo-server-hapi","version":"2.11.0-alpha.3","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.11.0-alpha.3","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"8c99bc5cc57f5fbe6e4561277a65c96c78410751","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.11.0-alpha.3.tgz","fileCount":21,"integrity":"sha512-ToiwcHYQUViirvg/gFOZoOF4mJySlIAK8HmkpI76G+DYYjjnFuo4k/VqQYQ6OkP6d7s+LQ2MS91n9xUYeS/DUQ==","signatures":[{"sig":"MEYCIQDfijW7qVi6JMym7eEO4nRx85i0oQsFqHC2JpfTWkaOaAIhAM7bPx3WP9E9IzdFA9P+yv6KLPeqNUcRFlmpRKy6rjBt","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52681,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeVUtSCRA9TVsSAnZWagAA6p0P/igdJmytVGLC3KBcU/4x\nPc54a5vIpG01HsrWT39tetuheR6hE2YBYbEExXgxatJc1zqK04SV6/8KKQ6O\n8CLO7YQi/szPfyRm0zNyAQa1iWkF2bcJ1/dSh6bQmL4mMcrQvTdVig7vGs5G\nKvGqBRwpR3r2MxWTjKBE9gyjMysEXDOOU7K/ZbVCk6le4FA4LwtJV3mYtuZo\nBbeiv0qCVuUtj5FI7z7nl5lk299Jb753Ql4+e06VZQq8Mwu/uEEMNQJTw81N\nyiRkvkbqFdj6rfmlvjUhQ9Lo9ESbYKaKAf7mmDLs8q2JHKvauP7leWIlyiOO\n302KS9FGBSjgyIpNIIshuaRTfIxyFWjhlWPGRNr5sGGHzHzxZO1iVc9DBSFd\nPcoA5aP752NaTkvO15nIlj/qM4Kbu5ScuJGW3ZF4m+X4mU1uNmRv79qGXkOc\nXIcC7zGtfEehixLYyEJzCbaGlM1tcKdXCXVixBZ043uxflmVunHU26caViCO\n3SOqKcQbBfeMqns+hKagEHkLLUSm6agS7KUksnN1SLFHSEXF3enIMFdKOd3a\nykV2rzekPKCI9kEWJL+s0BezQrOzrdimWMq5/4cFm1jZJG7qAfg53hKjh4j9\nml5I3c9O2rkhnsYcZtYjz/3F09JKsl/9h+N7bLZYydFywN6xWOIlN7jjAln6\n8Zn+\r\n=C5lv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"062e6a3a76f00c6f9c5253c1db00f77ba4a74ae4","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.20.2/node@v10.19.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.19.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.11.0-alpha.3","apollo-server-types":"^0.3.0-alpha.1","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.11.0-alpha.3"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0-rc.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.11.0-alpha.3_1582648146172_0.30215702101613595","host":"s3://npm-registry-packages"}},"2.11.0":{"name":"apollo-server-hapi","version":"2.11.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.11.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"b6954f5921500f8503e37db0cb1c3649a2784e76","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.11.0.tgz","fileCount":21,"integrity":"sha512-YTV1DHtoxrKK1pUiOgZ6qoF2fP58Ep9sQEvpZRVFxoY7iAQBgIeTmhpgJpvfFi+0MViVKusLR82juogonfAW8g==","signatures":[{"sig":"MEYCIQD7G91fjcKPuKGzPgFYV7QotxnDIOGRe4Xv76fAWqO0dgIhAOQnWOEe5TSI9cdSCdyUcxQspKACAirpLIgtfCYI5ibi","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52649,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeXpcdCRA9TVsSAnZWagAAOCIP/2RT9ygrbr/KtPy1IUli\nBbmZeVtwacRwuUnNuzc1Xb77wRsmvojkCYIwhIa51Dtv39kFtljeVc75L7fH\nXhcDn2Nz8XqoMt7gnxSK5zP6wBWRhjTRaVViV/+FLfPwTaFUnj+yQHz2+7Nd\n4Xi7JQyuL4wPXyrcG287NHDmoxWjFXZBOkNJRlto9j6tF2hVPKFI1pCrY+z/\n0afOCfYfMP9Rybb0+JtgPgd/KgWZ2NMWI2n/DU2faXX28a3H8POUXX+Gh5Mm\nFA71VOIj9ClEfKeKf57roR55wg1hcDTII3R+9QF+i1/cqmYR4OdatgQ2cEBG\nAIAd4Z7nFLZyncZ/SGXgC2bKQ2Hw4u15EmeEnSeRTYZPOCKQByw7iSkAyCsn\nTNhi7F5hFkjKH0gBuwnRG9N+tF7eqkl+tc1ZdLXT52HVTdcFLBuwc3YRJxAP\n+K7q+uodWgfccrIRav9kzpgnrByc80cs+h0iDh9Xg4YhYoJBS/Hzn9KjOlEW\n76RV8IZboRU5yRnmIGFr69AUrleL1fYPoA8EosiwHR8PDjbTbOS3As5/F3FG\nGPhWbtB8kWjTK5nlgr9AuPQBfK2M5WKtAj5k4WBNzu2/HAgYvle5dgTW6hK+\nuwmzE2vVmBoXsdhyPpjITERJOu1kwyb2jv+gC7K2SxTxEFZfd104h8m5fF8q\nFc8l\r\n=kbRl\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"056f083ddaf116633e6f759a2b3d69248bb18f66","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.20.2/node@v10.19.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.19.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.11.0","apollo-server-types":"^0.3.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.11.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0-rc.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.11.0_1583257372959_0.9142259988491839","host":"s3://npm-registry-packages"}},"2.12.0-alpha.0":{"name":"apollo-server-hapi","version":"2.12.0-alpha.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.12.0-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"9b1265a843c84d12f3a05faa3480c664b0e37766","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.12.0-alpha.0.tgz","fileCount":21,"integrity":"sha512-MtYlDVmv6REYiQcdwCejjHmVw8T0Ro+bK72Cez/llNG9m+wlnfsMdZjwxTpP0WPE3FTctqPifhPoTiJaU0IvdA==","signatures":[{"sig":"MEYCIQDTRnjGJXch5k3gZItgYuuiL6M4J+qGbiY5WMzcwBn9TgIhAPOAPsaL1e7dauBromB+sssYjOSxna4Ms+PM0uO145hp","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52673,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeb9gACRA9TVsSAnZWagAAOacP/RK35hyiYdkTesOm7oo2\n3w2VNEOkZrfzTl0diF9Vb/b8cH1ssFU2b0EaeBOlSRRXWsDeSxyq8zjBZIEb\nPAWGrlOROdWSs3S+r4Uk+rLNHfhLlcHELrV/bCMAATzJAGdTKZ5o0C49ltLG\nxG9IkDC+sbtEDHWtuwuqCObING4UTSJ8rGH6QpvoAvaE37XlcgYy6viTn2RO\nM+CQznaRBJ8D7/xw+WoWH8tWf9Gn+STXiVpAcsO8yjOHw1F2RoelUn7r2Oem\nfJKoivB0PVCwxkZggcG/wfgWoi7US4tdkxvfmS4p0WU0/oUWPY27R3ea/zNG\n4CQ6Lqbt+SdxDqY9vJeIfTqRAY75qEIW248+014zjntggikUED/CfU8QGDzf\nS/RihbwJ+WCiejo5/iIvIhNYWzGjhDr5sxQnytBjvWrF5VD1O2ipGRLUIvm9\nZ94KSxS3hPyEiQHBMS7xsbmEh1x1r5bMKo7TCHElTZyYh4X+3C7TgiaPD1Bk\nPGBqMijBPyOT6H9NQ4mGVnqr3p8n/Dnq2CL2kZuq/T238bkLgx6pGMesT/2l\nc3WcFZLpGMnIjLgjxO3ZwxSxwuE+ht+6PXQuxJSVdvpBzrzthTJTunRZga3f\nlX7zNSwH5HCe3U6Yb/hejxVl30SDmRDdt/7rVd/VoCGlddKTu+zBnXB6tdnQ\nc/kY\r\n=rppm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"61f912de18abbbacb2acfb20a248b88149ccdf47","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.20.2/node@v10.19.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.19.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.12.0-alpha.0","apollo-server-types":"^0.3.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.12.0-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0-rc.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.12.0-alpha.0_1584388095630_0.4667399096781386","host":"s3://npm-registry-packages"}},"2.12.0-alpha.1":{"name":"apollo-server-hapi","version":"2.12.0-alpha.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.12.0-alpha.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"86fb6f5717c4c4e6cc8f9938adb178b58149266c","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.12.0-alpha.1.tgz","fileCount":21,"integrity":"sha512-aA7yWjg+c/tJ36SUm4XJ5DTzwmxXur+ZiXyZduG0e5vFGxcyIcAGezPNJHrYvaUP1lZpeIlFdGr2JfB9rbrJ6Q==","signatures":[{"sig":"MEYCIQCkGgSGccYHth7C8LLoA7YkaN1dVzYjfQ7mMuqvirnBDwIhAOWZgMN1+rXssQ9HDq44ObqwPULI32lTL/ThA3GFB+N0","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52681,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJecmO0CRA9TVsSAnZWagAA8R8P/jrHO+uJnF77l/SBsSRi\nN9AfGd+CIwMkEZ6BVL0wNNmkp32Me+Mr6Y0fG9AjiHEoFWLPCNUHguvHYacS\nq92sCjjBj9oSZ96WP3kFucjgMnZQX7Dw4csw3A10r8gXv7YI9estnktZPwqJ\n0mYXbtdhJUQemxyxKLX22PjWB/p0zoRRFNLL1Yj19mx4h5UtD7IdJ6w1jyPU\nIGtr9fo7MDKkdO384X0IVF/O5hV4XacWB18hHMwxPQGeOFGMoub472gmCrjY\n2VlWVNJG4rkhuBYoygPF6EnazqlkcysVwY4rg2FBU3RtteRUS3AaIhupCRK6\nwl+mN6hzLIns3vtbteAYPAeXPo0Jbyw/KnVYnCipBh8R+8vpyCOoKc/9rag+\nvmn6D5hWIuFnHiaHMnJTQYxyYxK0MGfFXHXFotE4mWf4MKvGRw/igDxQ85PV\n8QipPeCKQD0UfEwm7goDAAq0FDbRm5RHG6qzfRA/4vBflzLKJU9bBUjg24Ac\nv8Lz9gui/m/DRvEBu+ELnqxRZ8odtaMHk/keCLLNL2uAzQaFKjaA52CeB/7w\n4B7hl37YNNC2j83smW9GrNy+esdN7RlV8DEElrjeYhRUvE32mYQd4aDg9v7Q\nDUsNhUXSs7v+th20whlH1NOX1HUsXo0c+p4FzFAx9tOAcX9p4lCJAO1xKcuU\n05ti\r\n=wAPv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"7422d70e19576f7e34aa289c535325552881a17f","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.20.2/node@v10.19.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.19.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.12.0-alpha.1","apollo-server-types":"^0.3.1-alpha.1","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.12.0-alpha.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0-rc.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.12.0-alpha.1_1584554931886_0.45607390467129694","host":"s3://npm-registry-packages"}},"2.12.0-alpha.2":{"name":"apollo-server-hapi","version":"2.12.0-alpha.2","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.12.0-alpha.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"f4c8534b8bf4c2871d5b2dd90c8a79f019392a4c","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.12.0-alpha.2.tgz","fileCount":21,"integrity":"sha512-05XJe/xU+YoT+gipLj32qHOIIqSvdiI0P3NLdvjHldwcyEV2v0S5ePLCWF6aC+qubyAbng+TwEgviPY7+yXGNg==","signatures":[{"sig":"MEQCIHIk8zrnekHU7HO9v9w7VnkV4W6x3BKTMAH33x5dYLT2AiBAPC23BHxtnqZRWuXrXl9WOEQcxF6fRpM3NjU15Fr4oQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52681,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeeMpwCRA9TVsSAnZWagAA2BkP/ip7jDlDzS4PU58Bf9Xx\nzb/pZl6aOfv9iR6HIxD2+p8XHyWFSYs6Oy68rn8Erig4zAE+DWwxhPQyS2Tx\nEBpF6rLi+8n591JLJk6M75l8nBH9+NuQ+4dy+ifsyC66ufBzh1uy51dhIkEA\nYPBMB1Yn4Csa79Bqkbg7AugkGZVwa5OnUguaj5QiCl6YoM4iWlbISHdqYdkM\nTmG5Wbch0kx4rtaDF+4vUwxwVaOwfIjBWksHLcaG9kdNgatlpoS//zPU7zsh\nA22UnEKKssAh4d+HDaQvHMrFmKLRUQwf7m3zfLfIAnQhGbGXGX0dUO9gAT0y\nl4/I1WW+tLEwJCnc/YQXbGuzNCHt3Gcm9rFNkb5Shs2GUaZJER987mJO7E4n\njTQfTvvpbAhrlgreiq3oJ9ChCsSB5/oHwht4ccG2w1WvGgTHnehhrgyhDN9e\nTGxJQ1y7UKRXeVjeoc1lQm+1xDx2EAF0UL/bU0doSYQKRsg9tPfGdAmw2GGV\nyDzmSZp9uskAoo7Y6wayEFBXsKDZs3GdzfUZSl6bwl93ldRbHUP+amast1Tq\ng5CAZidijqfdVNv4tVrEMSzR654P0jRuW23kcor7NfpC79MrGtSzLNwR1b6d\n3RLLVVpaJfrnpaIyyegrTi1GfVyQ+anhYU+AjNL90VYgqFHLe+tnJwKCzaDW\n8qmL\r\n=OvmM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"34c707246f8df95a1916aa59469e78fc3144c8bd","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.20.2/node@v10.19.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.19.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.12.0-alpha.2","apollo-server-types":"^0.3.1-alpha.1","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.12.0-alpha.2"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0-rc.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.12.0-alpha.2_1584974447732_0.003536019337149421","host":"s3://npm-registry-packages"}},"2.12.0-alpha.3":{"name":"apollo-server-hapi","version":"2.12.0-alpha.3","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.12.0-alpha.3","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"3e0c251b3ef3804ea665bfb331256822948cd5b1","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.12.0-alpha.3.tgz","fileCount":21,"integrity":"sha512-HXZElVUAAbUA2GxFXQKE6iECpLBEq1D0wZ+zt4KQCqjpk6BhFrkdM07C+/I1q+dL6QQ44rOznytyX2tWFJMb9g==","signatures":[{"sig":"MEUCIQDKjIiGVHofe07hGRI0QYRo58wd1F2xvLi8Fy5Gy4DfVQIgcek6ttYicj1Pn5jJxg4LgiW3xJdYf+wW/7r4lCCsxik=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52681,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJefKqYCRA9TVsSAnZWagAAXx4QAJ+6TkxHexOC4uP2ujqk\nZX0oE3VtAYogy7qob6aey/91BjO7mLKZ8PtAsVSvXh3oV603AaEyWtbxoZAc\nrsbGHuS3Z01qzf4ZjY4+v+jNZlX4Jzy9Bu0XqtO0lnyDbpftmAe2t5WwqBGr\nk2ILyOgFENFGYqksQE/G2ElahwlUhvTgfUa4JCBEwn8R7vs/vGNWFOfvl4qB\n5CoMS3l32sVq5K7r38wRSpNZHdrvBxqDENwPhOzi0+nVhJg8fQlYNYTV5+lk\nO4+7xWVnjWg1cYpoX1AgUy1sXW46MKT3gSUhJxLO0nseDqrNiicqhi0uldm9\nopaXXW/2LrA1lOQGEt3SgAG3mj9rg+oIk4BvVJQOHN1ObJGP7VwJmlDI7USX\nv4isRfmhNb3GrPSsuGEMramCcSRpM0mA7qeOj5X/o+wvO9SFd7vNXLM6O0uT\nchYgruJWbdAnqwbDwzwIUf+fG13RRO4Zj1/oVcksRULZihV87DE/R2cwT/zY\nkogkL38kWpZKxmgX4mcT36hnYBNv83CiisKT3Ny3tMwerlX5fbGS4G3gp5Yc\n9Wq3vHtCdCs+taxYLbDhZXueDlvOI1Bb6Kkne6GXfTL3qfxcWsBu5avnJ8sb\n2poo8EZAI6FOaw7gN4/Kp2SwC7aY73L11k2h7nVrIwkGjPmoZRkmtenWYm0D\n1KNI\r\n=gdjA\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"3eaed42548ad524129601263b4b2d8e3d7b65d27","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.20.2/node@v10.19.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.19.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.12.0-alpha.3","apollo-server-types":"^0.3.1-alpha.3","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.12.0-alpha.3"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0-rc.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.12.0-alpha.3_1585228439793_0.31371298228922684","host":"s3://npm-registry-packages"}},"2.12.0-alpha.4":{"name":"apollo-server-hapi","version":"2.12.0-alpha.4","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.12.0-alpha.4","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"52d3a31ed98fa40c25463091ccd03e02ee60dbc4","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.12.0-alpha.4.tgz","fileCount":21,"integrity":"sha512-y3mMQh/yyDppKgkeTcAdZnIQRhkV2x7ssnfRoEg2x6DbbDMvDYydmerLdQ0aV87AIBtcnvQkGa/LwFa4M2H/ww==","signatures":[{"sig":"MEUCIEZjDrrF3LYR27h0Vnt8dq0EVGcsk8808axgyjaw/UISAiEAuz5N1HqkQqo0kknK7+F1kkYVrWkzcmgSYFS9JPgsbyQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52681,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJefLQPCRA9TVsSAnZWagAABSkP/iq+25du2j4oegdADeNR\nXnyZshv5sfnIH7PCSrkWHO1dGxOc4pAb9vCugMg2JwHispTTFct+bGS2EuEk\nNrVCVZZ0Np/1beSmHM+TY2L9WGGCDsj17kf9msj6ECBsB5wK8VeEm4eBy0sq\nt7fWDX6KpAFqzwsN2sx2cZl1uBLUGBmsHMn2VM7zncww1TviMENsZ1SEJIwg\nKiJ+USbYd3Na5G0KiST74I4Coiaqa2HQy2quSzXLvpV/WAvkooTBWNVFlXSp\njetMsz5SJnGYbM6KI8i+dONY+Mv6RU7GIX/xmSoiiguYVEl6FH1SnlpDrlXg\n1JvNAaS/19xfdu4wZOkO3yRjJ4+LnyGmYQ8sxRrnJ8xQ5g2KFBO8Yv4qyqoC\np/8lbu3XzZBos2p2Ef483L0xoiUbe4rvhWbFERJkwnT4+MHp53f/EphNR6cp\nGUr+jjTSHygVOkUCHNd5q8J6daVwaxnhKKzjlmEiyB15a93ExUe9pwAlab4t\nGeRPP3lo/EZL2Sk4X9OqjP45C9JRQvidFqQfYBUHVSO6OlHjL3AFDfNIUBLj\noGku+ODl609xQzThKk3vKLH7Ur/g2KxEYWr+nkKbQu7vZyxXODjrt4yLSqTb\n5bFcj8RhPHP4JBGkCr+twmnMzeEFX8KqtPq0JtHvAGUdltPmmKT6hOScA7XG\nnxNb\r\n=7Vmv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"a6189b32fec3f1ea1ee717e59d89c8137797aa50","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.20.2/node@v10.19.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.19.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.12.0-alpha.4","apollo-server-types":"^0.3.1-alpha.4","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.12.0-alpha.4"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0-rc.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.12.0-alpha.4_1585230863052_0.8884746039046021","host":"s3://npm-registry-packages"}},"2.12.0-alpha.5":{"name":"apollo-server-hapi","version":"2.12.0-alpha.5","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.12.0-alpha.5","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"f4e821476dd6a034a695dfa7f8698938b448d909","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.12.0-alpha.5.tgz","fileCount":21,"integrity":"sha512-JhiJXkWOZPtGOjQ4R03eTb3HU1lbNGly4QJJMtoSD+tAbqswoxVtH9WdvEqcyDdpUCFp1ewnKOmTWTMP8oxlXw==","signatures":[{"sig":"MEUCIQCxr3VlPYlzJUkIya1iYDdG44vKND7hmyYYfIT6ibZp9gIgIQH0w9hpDKPRkh7kB6Rm6Pd/0PfOPiS+oFzT0y8ipCM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52676,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJehnDUCRA9TVsSAnZWagAAraAP/1xRZfyfAYi7mEmMiMxT\ngEThMUQXr8fYzxtuG8KRkQEGNyyRQnp0uzJTgnJUJb0e+7bDSWG80+0AsHSG\nex2JJzAZhxLWPpYo7h2aaKEZKcpx8AY+29kSSqKfxSUPqm2HKLS5TXHm5jAe\nwQOoE7L/FVaMqwG57L+X4jL66nGud19DP+5qEEpPu/he6Q/he5vs1JLMoxyW\n/hblo12Bl53KYZZrFh258leAtWoeAhszyyIzaqkQnh8y1V1xeJIecuLP08ci\nSnPntGdt4h0HXHIjMROj4dOXw7LWPJk7Pf9Tkd7sHPBQpDxEqMF0OlsjLINK\nexFwV8PnWvmKk8LISNrlyn6KhqmH90NUwBTiCo30ya4RCnJf3Tf2t9BH53yr\nnMNap+M+3VOqeDq2IOnHH6R+nqMMIDLu4iR85sKqXeFjCDNUJUA9VhCt0mvP\nAZaCtieYPYfte4D+ONZMuy/1tKAUQuo7jluUBAKs3nMIlUGPiDVwA/oPBx3z\nfkBua38vsTFgTub3Fn4u/ZwZr/sCxySmOlswUH9YFsRvKiCERg4Hv2MAXV6N\ncdFqkOd8hGli4x47dLtv77RNdIhX0vl+lMrF61pYecJiRbpiYzDi8HusbdAL\nJE0B0IkynuLWxRbHuyM6J3p63tYgb8fWt3MlEFjL9Fk4GLZyuL+uYB2h/Vx5\ngsf2\r\n=pQ9T\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"c69557b0e94e15ab2ddd031ec46f20f58cbcb96f","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.20.2/node@v10.19.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.19.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.12.0-alpha.5","apollo-server-types":"^0.3.1-alpha.5","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.12.0-alpha.5"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.12.0-alpha.5_1585869011680_0.47145637978026","host":"s3://npm-registry-packages"}},"2.12.0":{"name":"apollo-server-hapi","version":"2.12.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.12.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"6565da61b44039e0c5a90c61e6aa81a9aeea83ed","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.12.0.tgz","fileCount":21,"integrity":"sha512-b1msrOPe2Zkf9HQIN+4aBV2yZbQBLkcnXEmC0m6bxQSl5mb2T3z2nyYnLQhII5sv9XO0szeHmyTT/XeCkHNniA==","signatures":[{"sig":"MEQCIDEmP2genvgtq6GTsJXXq7Aqv3dB3eZjPMVAC+p94xxJAiBvB39OI5Fe53h7144ttr4ur8hBXkxijS58j33LqVz3ig==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52644,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJejMg0CRA9TVsSAnZWagAAgxoP/2WTnWM2TI0axYYf7sdv\nUZCAnH2W6mNa17VDGZ8LgeO+TkAG2k31rMlcM//xNN0eXlZSjsEEgcOF/fqH\nPRdnptM1Tx8oziEf9VvpPpF/UP+DEG4ihT6pReyspRe2EH01pG/L074jPk6E\nMetx9CQJsEY/dJdKvoqnA6fd0tsWFNMF8n+tRiQnOr9WHB9Wd299q50GBDD5\nuo9B9Ypz+uku7tPBSiGdKa6NaZM/uhmmv0FcNDkQ551sb6PMzurUxi182am+\nD3QyNGifL+dxrthQer+t4SptJJI0LIoz2H5z69FZaVdqcaXjtXCDA3Tasuge\nR9CaHQ4bXgUC5ZWxdYESejzbWmy2WBtTkcMLXLsh2woNtwbxaL9Syt57stsB\nVKW3HuzbnJ+9DjA7KZgQJBXk528rqBme3wCsWXlWe80hYqiVZhkZwpV4aM8y\nR1F7tqBtMXQtmGKScl8Fs00E2twDU5MWQppCLCD+XI8yMnC5bk+6V741BbW9\nwAeES2lUyCGqK/zTssxsqsZd9KohQnj4ww54ewatXkDA2V3piGuJweBz9brE\nPHUhzUfsrkDrP+lqNg15xRjFKfW56WZsb9Ny3+yZKILb50LwSbcn3JHC4Rdm\nDyja14jnWuJRyOJvO9VSNYR0C/wWvE8vGAzoObCf4gsXrETXuT05jE/58It0\n07ez\r\n=iRZw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"71a3863f59f4ab2c9052c316479d94c6708c4309","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.20.2/node@v10.19.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.19.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.12.0","apollo-server-types":"^0.3.1","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.12.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.12.0_1586284596128_0.3080812810766014","host":"s3://npm-registry-packages"}},"2.13.0-alpha.0":{"name":"apollo-server-hapi","version":"2.13.0-alpha.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.13.0-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"c00e72ee2c0f3b1887eed62f7d48df61a68ce64f","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.13.0-alpha.0.tgz","fileCount":22,"integrity":"sha512-w7gPGMtfbidoE2m7agnQb3md+EonLbV+6QIJAkHhYtX18u7usvpgMXn9awJkB1jWljQGmoEtI6JR/PSmnZb6cA==","signatures":[{"sig":"MEQCIDcoiG/hcQixRsSjnAypdkViX0R2BaFagCfgKdbYfc3AAiB2A9ozXmE2Tn5lmX3F/z25CdshaW10Tw+HE9DG2qBaHg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53093,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJekGNACRA9TVsSAnZWagAA9OgP+wVfL+67TH7uGoUUITJ1\nac9uuUchVNQYU3pA+xYuhferrO6OidjQYZtG3jd7ctGIaqCXGPu5vdLZSsTd\nUUZtBKpJaO6spuC/AAkr2V13oShfDzebr2wP3W4fL/rGpHKCam5DozCaxHte\nt0Ecpd/Szaz81V6DU8jX1fU3mdnCarbvJL2wRXVHRiMrRY+U6Xf1aAwixp1L\nMjUFaE/m/zWBZEjS9toBOaIbtzs3wbY/c0gFZb9JMfqW+ajxhtP0KPBoa+jF\nfNMP7hJululof4Tc3J/56URGWCqWsqq4KmnojtdUJNOLy25DkzLKy7WQetHk\nQ7aTI2i7EBGUdxCOCoXcT3kLlsg4C+MRMHZgDgP/th1ZuYmwPZ0WbyuSMLOx\nEoX6rAlWcn41egHkoQq2k4okKvbpMFIhxZiEoudjsi3JU/RZryFEb9Fp2prC\ng0xaTY2Vp8T9BNKrxVr5eVmMb3TF7ZVgQ2vrxxNqiP0PwvXkBrC/foPaKWKa\nsTIqFSINMhcTtuA+ThrNPj2Amswb5QuLqnSz8SUE+LUwx/S7hXcIkgHcq/D8\nbGnMC1MbzU8tSUYv7A3O4WUw9aoi5QSguaZP88D1UXGVwUKS8LBtd3dZQldS\nS0cuh+qDKNXMNRrIaK+15dg05Hyzj3uQ1mAZAir2hzKE7cGqdL44IPzxf4bl\nAQfS\r\n=z9LI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"e8266d6ed37b1072041f9d6d9353caacdfaa069f","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.20.2/node@v10.20.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.20.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.13.0-alpha.0","apollo-server-types":"^0.4.0-alpha.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.13.0-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.13.0-alpha.0_1586520895919_0.7276468122601099","host":"s3://npm-registry-packages"}},"2.13.0-alpha.1":{"name":"apollo-server-hapi","version":"2.13.0-alpha.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.13.0-alpha.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"f647211c40fb419c45bad38a9099066ec3f2bdc6","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.13.0-alpha.1.tgz","fileCount":22,"integrity":"sha512-Dvg2uWkR5uYlhR24rQDMJs8ZjoguezJakIVbEf198arOQpzlF18q21amddIsLNI3RevpQ422NTRKmSSrT4Mp5w==","signatures":[{"sig":"MEQCIFR6H+MZgTMgUgLVa/jfxJDFs+HUlNZJ6mKZ3zljWFrGAiBZQH9WPEmzxFOREpoi9y7lCjmHjTgh7lzImmaHJXqRHw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53093,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeocTLCRA9TVsSAnZWagAAgVMQAJLGIjgNVLwVLsxyEssH\nnl8x8t0c3UGtu9WdtNbujOXP2uYq7YPFxJo66e9OKH3TJDdD0KieV5hPiPKX\nXqEm7fgqdvsZjp858j0j0Qh+xTdyxuNOgKfedyJ8QfXJkExXtY25Zy1jFT/S\nD3W5oQQeEp1zGkv94kZ3wfXljz8kDll9IM3ZUtqOSyH3SZEIs+2HbzhcpQ2c\nEwdaW0S52XyK0iuXYIF8Ezw+ZQQiAcBTmqFgCV9gXnK0BxBfTvy85Kx3tLeq\n5jB0zaJhIMqdO6kGznu5kk7PZTJe/3z/nENrAQGuPGIL64uqa0pKvF6aINkH\nPn9nqaACeGgAWPasiIO8t42EjI5ETXm6ev4NNsGeE2MH8nela6xTzIl5O04O\nEeZRHWK1nsN7R/3/FxpR66HDTpWsYEJLdbGNfchzul9NVC30Rd7RoFGPuQmI\nFIBL7aqwA+SA1tpuFZWUyqOSKkhAEaLuxgjT9Fhp4U6ZUV10v1jUNiw3eoXJ\nd83dvkBl7TMriGtLCqMeRABvjz40+rHMnOG0L2LZX2zDyBS46uj1TUKdz7/H\nuXo9iggYOQcUV3cS/RQIoSbdRZWG8uyqbRJZmhF/DGalFX4KI3RM6Zd1wwEB\n3erIep5Tl+M5KqOql70C4FDP7aGnwyA2MOUX8EB2lvDkhCcPRPRtU9hl5hoQ\nf4YR\r\n=r6ij\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"0c73f3180a960ff5f94ea87466a7c5aab986a03e","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.20.2/node@v10.20.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.20.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.13.0-alpha.1","apollo-server-types":"^0.4.0-alpha.1","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.13.0-alpha.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.13.0-alpha.1_1587659979291_0.01961070725424152","host":"s3://npm-registry-packages"}},"2.13.0":{"name":"apollo-server-hapi","version":"2.13.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.13.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"d79fcf2a6d00776b044ea66360927ca1ec606770","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.13.0.tgz","fileCount":22,"integrity":"sha512-B7y7LrEATL3DLzGh3jyoskkbUzKq3f59e8avihdP9gbaDi50JwtAU+1put9cUCGeH2gTv/2xecg1w3gLm3gHbQ==","signatures":[{"sig":"MEUCICX+tLyXNsRWycECDpyoN6dDnwSny71vkoC8utasihhBAiEA4xkHmATkOuk/x/qrvqyFeZbFg4IQjVNYCWOOCwVclqc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53061,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJesCt3CRA9TVsSAnZWagAAZaYP/3NJnYRVl21Q8UbKbgtM\nsHNrCtAB6oLB5grmDDi3JzE+pZUPAt1uA8kArhqoNxHPJhhd7AVsfrLoUKz6\njKusnp8AXhIFFOV6U6WF6wnRud/DuHeSuvftYJllpH+B9dDCtrs0ITT1jVJo\n+dzM8F5zq+JGXbkQHxZYDIBALdwt85CLNRnMalSeAOJnJA1SPNY6lES1qoxw\nxTFOlOwmxban61IYbhgz5eZupvDQ064wwnHmsAB8Z/kw/0j0x4VQtXGlkd9o\nqUREFPC6HNn7cSWWeOxqXCp8MJbpN5G0RRlVDpFOzvXtMERfS8X1vPofoLBg\nwwqlsN6XVQtv6CkaUfBrO+uepzDw5PAAkkyWUv7hlv1zbF62seCV5jPi66HS\nZCaj//U+X90pkB2Shl02r3wCqFGbSekdhTMRmxl83gYdqsy2r2lT43ZUXT2z\nGebDft6GEKN/QwWkshMSUYPf/lbN6p07/f4JEyiRWDOipWLHA2VJg3eK9t6g\nKUckUjANZcnZVgHbK7LWjFjwxBvOK9Lfe3Te7Lwms8Pnegeq/28WASSWgL9A\nZ4YIHwqJfSWAUsMaDQ8TdPRfZlvkoYYl7ecfyvV1a2p5e7Ie1AO2JOemvmON\nkE3Ht+aacPCaPibbdeRca60jYTUXxom2vsJH0Kf1ftX/uqL22vcS7HFeFM4+\nYUWX\r\n=3mIj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"e37384a49b2bf474eed0de3e9f4a1bebaeee64c7","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.20.2/node@v10.20.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.20.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.13.0","apollo-server-types":"^0.4.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.13.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.13.0_1588603766752_0.6819851895630029","host":"s3://npm-registry-packages"}},"2.13.1-alpha.0":{"name":"apollo-server-hapi","version":"2.13.1-alpha.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.13.1-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"bc60fc1d4215b30756775cd53c0870ac6f31cadd","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.13.1-alpha.0.tgz","fileCount":21,"integrity":"sha512-OC8zUFVOxgnmFC8zZZLOaM4q1nbpGiFNmFZ59p/ygAN/GehPJ3DGywRxPe4F7nbXB2vK0wfJwduV0wJ2rYHfEQ==","signatures":[{"sig":"MEUCIENSsFZxs7Z/rS+hJgAXNyiz0G18mWvqqKnzvYCn3BQjAiEA0M3hi+Z0qJ14eubYkTVCAdu1wJ0ItS/RSuJSNvnYTXU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52676,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJetbfPCRA9TVsSAnZWagAAt9cP/1HAjBJIa7kDh6ypjqz6\nu+0qX5HPNsdfMk3C4luRDbZoN9DGgVGLp+Jbr8xegfZMVYokqlnjecSwQO5D\nIX7W6ypSNpNRy/LuPhccd/5l9i18BYV4TBBRaHJuXv+B0csdUrTbYYu7q43y\nneAQ0fA/6nTPfb+CI5HkirA1ObetpPc/S0sn0uHvN2i+BNy7iZJ0pUNhksnn\n9Dh5SYMI4F/0qELS6XE6AH5+RrQNdGHOF0RD7FBnkc7qZZ/hifaeJ3dHsZ3N\nd5ree0VcsSFiATHsmwTtgM7ZB0HjWFKhwEvwSUzjd4V/jhGZzzGO/q2jMqp4\nqCXAUS7yEGpQyNZf54cZ/85UVWlKQFdtOXm5daRn0mPOKmKbChFrQyQ9xOa4\nxS9GKNtOOlFS4/uYjgGVXagB7HINv2ghHgGv2HEkT9Y7DYDfCG/flFB1Ub4W\najKF3aSWn35XUeZ7K+F0nkQmUTY+2c2EVl1rtXHsBJPYn8ulZGSUtKA416Pq\nzu49dYva6XGC9Mal/VPEjMwB4hsHdn7IEbbmUuqRphduQuYUkOoppyR0VutL\nvNGYsx+EMVFWJNoGzMWhH28hf5ZnfeJJvxpRmYE7RFPEOdw6+HutZg3RPOHB\n0bG/cjG55/pZqUiUPome10vGAil0vsvxrB6olzop/KY5v0Dmn9n8sjCGTQvX\nwoHn\r\n=8bib\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"626c4b6505ed98d47855712a568fc4eba9d8ff18","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.20.2/node@v10.20.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.20.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.13.1-alpha.0","apollo-server-types":"^0.4.1-alpha.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.13.1-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.13.1-alpha.0_1588967374718_0.6261655832714006","host":"s3://npm-registry-packages"}},"2.13.1-alpha.1":{"name":"apollo-server-hapi","version":"2.13.1-alpha.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.13.1-alpha.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"02cf65cdbcd68fa308a47a74e486a80472f492a6","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.13.1-alpha.1.tgz","fileCount":21,"integrity":"sha512-xJWbAnWjkeO6nhVJ81TM3+V8DzRiU0mf036fGG2ZHtZPmQXVSp2BfEaQdnkydbSyRZuUQraG5M7cVPNud9sbng==","signatures":[{"sig":"MEQCIFMvIXktvx/cboIycPXogaRSi6mqBtPu4k5e5dElUDZNAiBOUW05h8H55h/d0MTqrBJti/K5OHVqvIwREvXkeAwv5A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52676,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeuZrdCRA9TVsSAnZWagAAiSgQAJGZ2zA1iXCvd5Ax6LFT\nR2qMM4KnPLgj+tKgB4eRbh70LB4dGvQBwLPgmFNPYBxikW0MnFaip7AvYu/X\n5HR9r01H6JMes39ihq3N0FkXyhRYncvnd5IyY5+JtVMt1COW0mDEPEJQbWY/\nI+Oqggp8JQsuUZdKGVq7F23osyCkPiEoINyxns9fnWrY9PHOu5eQ57WWt1UR\n/9kMDOQDB6HkFyEYatCGpo/L4cZx5o0iK8mlh9s9+OyahqTPGMJBwnRXIdU6\nV0C9eDjgW7cbHaMKDsTUs2wfJfUy8q4xuWounPitH3JIjGJCdRpzca9pvu2i\nN1t1fdG/8nrYsbbrUFRQGKkbmrkGMJuM0JP76tDJomVbbPCr3Fi/QfBIxkVO\nHldhGaAEW5hYEF+7GPZGz7q/lsQtFXE5fZCJK/7b6I/sPRF68zkoOq48htr0\nAxlAGLulbvelvK+Q43g2fP6JjjaSlgREn4MTkYQEobfjRkM97QSlZ9/d0o+d\ncY/DvZTmG4+eAkJvM1sd9ZNjbcv47cUL+0KomfVLa9n82ocB0J4n2BmQT/lI\nLspDPi/zA6EGKMO4qIbpWO3pwJAusMVS1GDR6zpjKCPZPYsYS8q/27G3gNC9\nfZCpFhADUS5eQPXkQGnL5mAwOgZAVV9q1NmytlpsgmPUsG7SSDJ1iG8SS3iB\nUWoz\r\n=J1nO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"e71ddc404865cfc8519241ed713254a3a73bcc69","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.20.2/node@v10.20.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.20.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.13.1-alpha.1","apollo-server-types":"^0.4.1-alpha.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.13.1-alpha.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.13.1-alpha.1_1589222109115_0.08270984542857374","host":"s3://npm-registry-packages"}},"2.13.1":{"name":"apollo-server-hapi","version":"2.13.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.13.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"7c4bb7ae53f4584030c774fc54bd4528f4a0f6ea","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.13.1.tgz","fileCount":21,"integrity":"sha512-FjjUX63vxAG3G6EBU0jQng0ak+acoLuh1jAkCgKZYSRXhCdYQh9gacVBJwjmczRDy4/0auA3gy+OAPlXTm/DmA==","signatures":[{"sig":"MEQCIGESmz1rAu7/KUcc5KwWlDTC05GK4b7auSrcakQXLtPEAiBt5f2HFIj4ggHR6BdxXfyWvLMUdlgPxAGHKbeGF2aE5g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52652,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeuaQ0CRA9TVsSAnZWagAAjwAP/Rtaz8aDZUwiXOPHKqJq\n8DobZZqj+gXSzp78vhPcFfbQVpumX9KyzeLPQ0BzQWAvkNSD5cA997iydmUR\nIt0u67u8QRXPbU+XvPUh1czE71HGSheOS5VVtQL+3R86AJzGSBah0afh1txW\nnm9iEJ/Tuc+rgXmT5uliJzE4O4+o3DH7oagdOt23Qzq+KspfHM6FUYYoipme\nG3oW5SH0cjlL6nKDpaI7uGXXUOoULn+c/Eyvg9KBgHFHwAsDZ+AcY+cOeiac\ncsRAlLBJAjkqXhNpa0FtT6ITz2ZnhaTeiJJQvCTsDzClNb2dHzcM3sU+lQTC\nn77ADo4CLYKDR4rPAs3Mj1+xmk/x9U1EAfql0scnV/vQTNqFqBkeS8YPmOPC\nhFZy2bA7SUebamAjbwGDdV2u9HMzWWB+UJK2Er/Jg4kAOD9ZncULvpKsovKl\nCfxET5PmS29xPcLEhyS+wZgfKhzFoDEg6I3dJfGffByrWnF+UZ3VpWUvZU08\nxI49JtGSgjewMDVCTW/hNYX7C2Pvv8ZmUOTuL+OTrs7VKfOYnChyOTwDY99w\nLBnLY0tdm7YxXdrFYyoH6fzFDgapZbusYnS5jkLAe8vmddJndGHR9IZZJdcf\nlxUfLYHoq6z6nDVIkTKFZzy/pJM2n6kCFjDshCcKdEikeo+3pnbK0IV0jhbc\nJX0s\r\n=x41v\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"05df0790346facb64d7bf76d4520f4ba734b114c","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.20.2/node@v10.20.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.20.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.13.1","apollo-server-types":"^0.4.1-alpha.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.13.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.13.1_1589224500037_0.9178977562318666","host":"s3://npm-registry-packages"}},"2.14.0-alpha.0":{"name":"apollo-server-hapi","version":"2.14.0-alpha.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.14.0-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"00d24f5c8c7aded5fd17e0dfa7932fd56dfd3878","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.14.0-alpha.0.tgz","fileCount":21,"integrity":"sha512-haWgiLef2x5wXP9wjqeubA1CYatqMrob+G6loQje3Wpbps8GE8PFr2UNo/u92129K4UhUzU+/UYYfQ4lurebHw==","signatures":[{"sig":"MEUCIQDzyWRn0eqK/AzZ1cHl8+P+MBVpDCSMFyKRpo2XOelNBAIgVuYddBNAaduNE75VwKw8/ypte0gk6MIgK1ufNZ8s+zU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52676,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeu8afCRA9TVsSAnZWagAALXQP/2+oUKIqXHWfs3ZIH74P\nbv71/95WDgyQk5C2xSbMOTj2RJ0A70SPgox8XsNEax2XrDxVfNACaavKKW1N\nHf8XlF1uaZTgRjwkXS+EJ/BM4AcQZWJ58JNg+b3Lg2ZSWc0/fblrJUIhMDNV\nEhwVJoSTowaWcbci+PK+IegRWm7GDEzdb+JUionLAKuBTP1ckrt/a9o+VZuZ\niBr958k6RBJSzM/qarDRlycKPUJGfgaiX3m3oyo6RoU6VsNUVpyE5eQ/CCLN\nw7HwAsrr1+WwP8/BoUrdq2wr7jJVZM58Rg7s+X+o0dYfA3kHKuajYT6WeFaK\n3CSuCsLu90xXFxqfb8OktAqGoUNnpRA6AChb+I3+vPLIw5I+pp1SqRvgXbOT\nk3MCoIz4QQhVO+w5SZMHbn+7CcZUwZo5lKFxa6FDnbre9F9ZFsa9XKt0EbEI\nBwj2Hycfpngjehpl349gXSwowzPazBdmrMEhhQmgd5z+V54zcGn244Ux7lfP\nVqoPImkUTrXy+tIcBX+CNPjmiaBPanMMS6zZQTggQLIGi5jpV7eFAY+i8ZyA\n5F1PbAge5bZj+POCMntl4HmOOqdM6PL3/fGazdaG/tl4obLniCSFHtXskEwi\nvWOlsWujChnG/RaP516+cH20ujz3uW32j1V295N+RRWmo1ubEmQavNIvvlpq\nvdIh\r\n=1cau\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"bfef89b8cc44d4bd94f9d5fcd3df8941de526360","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.20.2/node@v10.20.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.20.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.14.0-alpha.0","apollo-server-types":"^0.5.0-alpha.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.14.0-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.14.0-alpha.0_1589364383141_0.5358681723299645","host":"s3://npm-registry-packages"}},"2.14.0-alpha.1":{"name":"apollo-server-hapi","version":"2.14.0-alpha.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.14.0-alpha.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"39b29d773959fe69c7e394a65c4d98f610552fce","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.14.0-alpha.1.tgz","fileCount":21,"integrity":"sha512-QWFCQ6YGICwquVNTsoB5bqBuZSBDlSkxBgMsO8D1Xgec/0upX0HttOkQmx33orI2vWThPSkgJCfT4O1h1Sef+w==","signatures":[{"sig":"MEUCIQCJuErr2hl4LVOSsI6yJLcQj5gSCxOpnkQV4bUVgKFMsgIgCVg4AhsFrhTHLvTjpscSCospcsgAPqMkK2V5GI6Ssmc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54151,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJew6z0CRA9TVsSAnZWagAAMAsQAInreTyDpk+2PygIPua9\nUWsMDZcBwWSyCL8ur/1f3C5rYvNjqXIVLmcdsTSfbIgPEWetfA8G68JtD3+P\nVM2V8PdIqwGqCm+tauTufzNEsiPcIwa74NSpBQ9ESsYI79aLd1R4OVN+GA++\nLIBbEjfw7rIyA+Cai99KEmrnynC6EWR9bAC4H0ldNLM0NoCjZ8fowIO0RlC5\n1AxAJnBFT9ayloKfaTqK1S9vmpsI1vPoC+sW+chRWUAVN3auq+Qotjr5UkV8\nXfG0E2US/bThzUiICfTfKydzj+b/oIH2CyTdi+DXRMXiQt4OcVc6gxi2XqSU\ntuICaHm+UDFfYIew728q4AXdP6tRI60/PmVPJjQQggaynPvWjmk7k3vKoXYS\nGXJGwqFo66f1TFouzT15KxeaHYTdVN3lXUM2o5tQX8uZb7eSor6DAl22FCSV\nvwNA/zh4Bb3RJTKhwJDPsHBVyMpbgI3MyClxucFLynf/zoMYuC0mTyRh3nHS\n9PXc5VyxA/Mu53iI7qmwnT9zii9F8pi4Msusw1h6XdfG+BCGZg4FbY6XuLo2\nAZ66JChz4pSMRThnriSRnQPAs16nVlF3Oou+MUvZ9p6Z+8Q7g7qBv9kFQF6i\nltGvD394G7WQxg5UKKlDg/eh6FX+rDi1EcFTZgnkrRx6NFITqZCLCOYDvisA\nF6Mh\r\n=35VE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"6b8a4366363c27a8d828e733edef4d06ecc1cd55","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.21.0/node@v10.20.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.20.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.14.0-alpha.1","apollo-server-types":"^0.5.0-alpha.1","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.14.0-alpha.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.14.0-alpha.1_1589882100151_0.30780410249923706","host":"s3://npm-registry-packages"}},"2.14.0-alpha.2":{"name":"apollo-server-hapi","version":"2.14.0-alpha.2","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.14.0-alpha.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"932cc15f7b85787f077314dd3f201740b35206e1","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.14.0-alpha.2.tgz","fileCount":21,"integrity":"sha512-/k/vCAXi8RRupsqQkHgm/q9thqrR62EalKn0KmzgXoJdXU/7Pqzq1RDQEAx+MTOzlya4/JwXYTyYuaZPblVYrg==","signatures":[{"sig":"MEUCIQCCt1TONuCVCo21zCG8IwvsTfDo8k8/zNEUBfjjWgC9bQIgCwmI2F8ajs55o0VP3WYlainW919W6nmFqOFQk7ksJAQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54151,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJexUDWCRA9TVsSAnZWagAAqiAQAIbMJRCpEhZkKgPrwR2E\naVezaT5AzBi82KqSvZ/4qTLWg1ARI1b0LrpOaLXp3yGRWPSyU2HWLYxJYtER\n77PjnDTk9bgCK+LgPvabsbvMuYJWyom2iPGQbXCjKVryUjKi1sMPFz3vYuWb\nrBh0jZMTc5h3jQvujew0md1nWRV2+I3DnnE2tqIm01ELtqD6VcxeJtoV879d\nsOUDB11kUb3ftvhOhrK2OSyNIQzs66rmyR1O7MMsw/FUqySEYUWVhjiz+9g/\nkJqrNgHUElHaoGy99mZIFMrVpln0UKjbdz8sUtNocdxz9UkEsndmyIlkAgPb\nBvPR30ZdFDMuVLCbt8Ij/WXuFACh3qqr+muoyx7dhb/zZMxAeuYMGvw3v21t\ntnfUoETnudZHHUXojDTTIM8ySGyP8DL0SiGHHOqxIDk62kbX64EwYoTUVFvr\nPck8zMO98Imf/UAHw0LyKnarhvKPuKn5urKx3dVTndna2BSti2/9yiOVZCWA\nP7Ey6ZaFAMpe8nyTnrpQ4BQ1PfHX5qiyV+L0w90inE5j5AQW2lhPhBibfXYo\nNxwrTB5lhnexH1IiUQdhN8aOSEjreAiNoSYZAEwQMzHsrMO29mPILnTT1xy8\n/feX3SOY/543LFglmGw5D5twAnmw+ojSaKNnwsGAOzd25VtCPvLfmj/vK/6I\niFR5\r\n=GwYM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"36afcd616858a772c6c46ee4fe4544f54c69ab75","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.21.0/node@v10.20.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.20.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.14.0-alpha.2","apollo-server-types":"^0.5.0-alpha.1","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.14.0-alpha.2"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.14.0-alpha.2_1589985493946_0.2912502190565456","host":"s3://npm-registry-packages"}},"2.14.0":{"name":"apollo-server-hapi","version":"2.14.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.14.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"0e55332a0f853af1005388fae005e903c99d708c","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.14.0.tgz","fileCount":21,"integrity":"sha512-I9QHFRkAERWMVcT2Ibaq2hlHkqkzfl8DYxtE/bVL1BjYfgVKwTiEgHBosp6+mf8nUJUVAs2mN+KS1jII3MY1Aw==","signatures":[{"sig":"MEUCIQCyro552irv/8VbwGskPkAab1O3Hb0GYNErHG6XBTXbUgIgYWnDuEHwt20R6dCI13wnkEDU48go/7XTjMrKbcrRvJQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54119,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeznn4CRA9TVsSAnZWagAAEVsP/iEL0rLQRGQarLx3f/Ms\nA7k6sSl+FuhTu5f98fCK03OxHWz7MKHd55XN6w4eQ3De1sYC1mn2Y78CGajY\noJ5ZHEHLw5DfxVo4fCp/EhRIlqRXpfZJdb4gM3vlyN238T/C8Ef7/T8O5492\nQWtQb2MP2hdT3nQkOJ6xCijdC8RIkmsPfOr1XFsV1cxYi6GOlpGL4ITPzTfU\nSskw4sf7HBsjU3kUineSZ8vm8QfpoB03cFqJwYcZ2bS88IoYzq9EXoGJYZQ4\nNhMRDVQ9zP92nwpFbKYMa31hnoQP/Nz7pt9jgFW0Y6Iw9uS+2CbtBC8QaZFG\nnuXULaMJu9X/xHvu8ni04PCV0L/st+BHmRQctqrSCw5PZhRUaY30SMnh6wfL\niFe1rPp3f7Rk3tbGRYdLbrqfaBRl0vH2PPjfPTJnuLGfTFoRJA9rC6Yv/WHM\nAvHOONVgFJe8++gBEZ/Bok5AxmHalTCHqS8E9wbtaqqv/VG5tX5I973ovLzF\nR/gXdjUpq4JSzrI8KdOIlcVNVb974+XyC86sUq0ZFulOb7GFV2ea7bn0YeI4\ntpl4w4kA1/WR/cjEw2rk29sHYroKMDzToRYhUJsA4NagsFuX9kX31qFi6NUS\n3yxD8qUOz6Rzwj2HD9AMTgg1nJJwDWhYnwLzFTzIJq4ke/haBHSEWk9gaCMN\nhKGk\r\n=MVRg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"d159e320879f594ba2d04036e3e1aa0653ff164d","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.21.0/node@v10.20.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.20.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.14.0","apollo-server-types":"^0.5.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.14.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.14.0_1590589943993_0.5779330085528847","host":"s3://npm-registry-packages"}},"2.14.1":{"name":"apollo-server-hapi","version":"2.14.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.14.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"7aa192c157770fa3940abd3fedbe0df4587a4efc","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.14.1.tgz","fileCount":21,"integrity":"sha512-m3OsUKZ3W0GbfM8DjspPZGDVnR/gZgjF5cbtHj3jNFsOGkRz195f2P41xKD2brjT8G0sYRbzBcThED8XxyJwaA==","signatures":[{"sig":"MEQCIBwTm3eWH+8cn8z1T+OTIMxyV8CBqFb//BDxz6OZAX23AiAZoPFVFf6OQLxcHSH4e+klE2W3K4mqYt8fGj2YaHeWvw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54119,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJez/LvCRA9TVsSAnZWagAAfLMQAJQlOvZFCT2myNwLzujg\nKTxY7K1YgrZYElD93L0LwKjZlzwyD0lDaiiPzs3dSxCgmNCs9qdaZKFlh48i\nu6wgrPUfh/wbaBFvnJNau8cm9yMCT4NlA3kF2sVECrZ3CIvF6soiYp3FMu4z\nNczcb5TbwYtKZkCmz/YVBdBFt/3TLiw8GsN2gG6HjpYCZIKzFgMP8IsrvrED\nigmaiRWbEmkOuNite/60m2hUBm33twGeSNUq0n+n649aguqJ5OP+Jvpgh7JC\nwGZ9GIJ0Fkc4aM2Xu847AIbHnHi24aAg2r5NK5QVIARiLh+Az+OiHYRPcuOR\n48hRypXFWtQo8CvFeGEyMm/oZ39sFEdb8fjVpumg/i+SVpnpYo8neIjbGo/i\nzD3ICg80y2iXqteBQaQui7tTBP6ywcffz/o5vaao+lDoW3DMsjz6/OybQWRE\nLzEDAsPEfhpGUyBTnVePPAykpcRBKVAt/onH13hUlFl/GXXGgjg3vEFT41a4\nUhHKHZTnMlqihJJQ39I9HbVNlyC4ZdGmk2RYauWNuAgIJ5bB4kx5wWUvjF1j\nlf6v0074ApqFfYszoNIGwDXW7zSqcP6rhhf7XPeKt7A49CdhkSgsj8JTDfOd\nH6bJ+J7A9YvssTAYxV5pzQJrF3Ala3WqfBuNVciUmbziy6kgqkRA5Y7Qhc5h\nnbBc\r\n=PYpI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"2da65ef9204027e43baedf9ce385bb3794fd0c9b","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.21.0/node@v10.20.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.20.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.14.1","apollo-server-types":"^0.5.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.14.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.14.1_1590686446977_0.6743758556955692","host":"s3://npm-registry-packages"}},"2.14.2":{"name":"apollo-server-hapi","version":"2.14.2","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.14.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"f2573c5bb86716e78c47c579b1c09d6c0e64f31b","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.14.2.tgz","fileCount":21,"integrity":"sha512-jI81UHlMLNT7+pPAnEeF69p1QrRtSHvXrOm2KPBbbBMkEAwlBqys7A0XEwd8XmveDqptLuE+bUvnp12Ocxh7hA==","signatures":[{"sig":"MEUCIC7KFhtzP/XNQD7TQCs5W4PBmMKVmAxkMKtC72PRjcBkAiEAti7RBaHgYVpAXCBM7Jb7FHhD27G84dbx7V22J+mI8uw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54120,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe2S5JCRA9TVsSAnZWagAA9AwP/2YC5TlrSlHhIoOenlK2\ny2iNtnblp+oUxCAN7R5LtTGnj6ZvnSIK50kuj4FZlVq7SV/YKD1gpQuU1w3w\njlF2c281g6MneaVbGu+MhYnhvlC5xQjhbIPD536OfVl9rino7YSFDJ0pMYWs\n7BGB+bjisPkww8xDS7+8RxSkcP+DvqrQn42Ab4JQOYSvJqqegfOIKnV93+kK\n3P6xkbjWhbc0Skfbgr9AqKvLKCpzF08C3a+2yg5458Mjr7ETxOlyBYjRbnCV\nqjJ3iM7n/2/bD9wvr7/GEXuLDDpbyPWnsMOspHTTZsFwVKpoOwg50X91faBH\nYheXCOF5xTEVIW9261AIlmd6gAQR66hTF1AaImaIbFWfchi5qqjESWTZB0lY\nAoMQMtARbGTjUBu0PEgA+Y/0TMeuGJt1b9xpmleh2QRudIvVWZpV2LS3lfTA\n/HgyxdP89x/0vxFj4eH2p9egrBagvyrYRM+4yvHaKTHezryPPL/ibZ3i7MyT\nMNjOaSxwHI0+uCt0AMynGJ56XAzmuArkvAbOtTqM8ea9yLZxqgswJSvcC1Pg\n2YnmRoV0rMHps+cQN5/p1oT7+4cj7FUAdOiSh//1JyW5kQMCRRmJ7v4ZDIUk\naq8kFdh/Nm+5TNzmjUVz1FWhmp9RxVLYt7NaYEuR6UtJmp42bgs8Ry0vCzf8\n0oxo\r\n=jd0C\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"a17f26bf3ee2892f5c3751713cf59920049cc73a","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.22.0/node@v10.21.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.21.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.14.2","apollo-server-types":"^0.5.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.14.2"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.14.2_1591291464957_0.3186603180226588","host":"s3://npm-registry-packages"}},"2.14.3":{"name":"apollo-server-hapi","version":"2.14.3","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.14.3","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"e4e369acc32e5cc649f15e45bbc0df236f111ec7","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.14.3.tgz","fileCount":21,"integrity":"sha512-/zdaZw1AchkED0pgLYAE2RO/QbQQEBxLh04vs/nGyTuXh6/ZN72UnNunuLMl5Jkk3eBWCNlJds8Uki+p0CVi8Q==","signatures":[{"sig":"MEUCIEgeFcdBVdjjUPiaqg0uR0Z5I18IQi93xOoNEezoAsGNAiEAkBAlzDAa4oSt1E1KIQJCXhqZAL6QLV3sZdtEUptX+OM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54120,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe3rFFCRA9TVsSAnZWagAAB7MP/iJBM6RMY99kOBgarOS/\nBP39JxFnNNnER990hSdSX79tjOAKgmpqQmkHhUtkLXu9rim4D6CO1/QyfJ0I\nQSu6svoEE4evNzQx2BHveoNUE2aeDNDJcwlQjpUuAuUz8QXg1D3wTijHTEZh\npaqdfK8KAbdFz10HobWvtfCLiCReD9Hu0/E3ydk6d4GnHfywOPiN/3Oks2CL\nHSi3HeAv3JVrTfd+4CHZ0vZxXuDjmZl5TSX4HdlO5/XEUxndh+UTZq1VkwbA\nArMUTsyzEeQj1t1YWR+kaxdG7iMjLRj+V3KSKIr92Sz1uLi41m7yKQUeEknp\nNA+l73Rlk4HdSb2xWwVcd5L3aIvQQ3TuZ2mMEq55W6t3IeFP4oBTjn8xkK44\nVNbWNypbr10LlGYnsO69d5svuunLr2dp/5KHbEjdalM442SkPbdDQMx74DHy\nSQHBXgMypwgRA7eGV9wxzNgCUl0RGfgViRG5FMjcpWNK/vONMX0DmxaHyGY8\nGO9d3RKZlsEQctpWlV9eZt2df5FwZnfq6CQimyUnFkpo7/3I08JzGKvbNVNV\nLhXBnIvPH519e4BvZdWav/SEgez3A0CQ6I4hL5AiTisJoWjRZpWTlg5z4xi4\nffpDPu2REYo0pHtNsOE6XJIDik1hPQ4eXTp2tVkniozu6PyA4IY0fyuohCeZ\npbWX\r\n=Fq8G\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"724806fed355dfcb9203032bcf9d7ec74e8529cd","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.22.0/node@v10.21.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.21.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.14.3","apollo-server-types":"^0.5.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.14.3"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.14.3_1591652670443_0.5631851666354695","host":"s3://npm-registry-packages"}},"2.14.4":{"name":"apollo-server-hapi","version":"2.14.4","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.14.4","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"fe0c2cfbf665f875189391a01c56c8a53ac5f4eb","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.14.4.tgz","fileCount":21,"integrity":"sha512-fO1J19DcwZwzS1narhAYJWbI68DW4OKCDX5Os2OsEMtrDMQVrkS4NAfZgv3H7TtWzRxqLSxCHHD0iam+5wNtFA==","signatures":[{"sig":"MEQCIENBwaKd4s+wZojidG0jiIkUJlvl3dCId3c/KgxipeCEAiB3xLKPvqjPwrufIt13lIzVGLxZr3meUTSifGfK2GsBGg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54120,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe45QsCRA9TVsSAnZWagAA0mcQAJAfM6ENkKt+f3kaeXgn\nP7s1KngYxgriy9cNb8Qao617J/qJaQI70frLlR8bPzhsLHz0hm5A4e4vBots\nXHUkRqxoTUO35naAKbzxBF/o6JsMdt8CshaU4Dw7t0ifVPofjVedHFqHIeyh\nPNnCZCyF3xh8+uNyzvqJFVrq+85ZCQUz/cLjEBy9sv2qjuPU1NTRA0nbIUH4\nuk1uF0OT0WJPXlv6xk39wc+3EiYkhcKJu+Zt+gVUK1rWfsudrM/NXmlxVsz6\nnJCig7n1UefqJiyqF7fFk2O+OUqemnXWvAAfY9gVCUdqHlSNx7DTaa8BcADu\nG/yeLRxT0twnavnzu9HP2aLPDzfZ2J7vtsaSkGba1V6X2u3cKWDUMLkSiS8S\nedBtFEnnXtcN0ANF1XFyQkvYjLANrr9pLflYpvuxmxRUfQrTVngesVa6ni71\niclhzqzZUkgIZe0eBRJpzvdwv5YVfKG1OzPvpAy/xC+xmnNw5uZS92y1GI5U\nbf1TMMxVYkLTbVEUmcO/TVBU9d9H0xUcneGZEqk09ZtKVS7Pdf1W+92zr2yU\ny4YKlMK3GFpvRlQHMvZWrsIMwiKMCyMUKOxkDWbmz3YnMfqK8nkukTUQshQI\nUmdpZ18nSMiHI+cSvO2LhxveQepCRJ1/QEnjYfR5X4FtdKrFQJiPhH+ALE2Q\nVVnb\r\n=0u0Z\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"0ddf084f8c8a107774ce49e534bb2733b7e56c5b","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.22.0/node@v10.21.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.21.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.14.4","apollo-server-types":"^0.5.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.14.4"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.14.4_1591972907855_0.7639208755193738","host":"s3://npm-registry-packages"}},"2.15.0-alpha.0":{"name":"apollo-server-hapi","version":"2.15.0-alpha.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.15.0-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"81fd5495859c0253c3b7c850ac31144fc716bc43","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.15.0-alpha.0.tgz","fileCount":21,"integrity":"sha512-54I6eT3KyD81YyqzGQl/yERrYH1qFH/24+nJ3EUkz1h6395gtGqS2+blFB6zZ89iHTKfv+2wEccAM95ZQIVIlQ==","signatures":[{"sig":"MEYCIQCwH7TtqUSEKs75LLkaXpjS31QrtInu0a6HTaJPrD5sXgIhAMoxCAn9BV8BdX6YAxn4WF7u295h+vWPJmRdKwdVduo3","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54144,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe6RGJCRA9TVsSAnZWagAArcsQAKCjMiB/MFampX/2CEsb\nGPXbfm6gUi0YSFSTndZfzWugdQts0lbx9l16TCENulAiLynpbkQUZSiIY2gd\nzOWkDkyItMx7Xe/u6M9G+VPLiLS4WqwkNRpd2fmG1AE/Nsi9xeRN/bvKgSbL\nr4ffsS4XD4vdhKhPyLAcoLIl2/EdKY+USuN9rMw6XFV8NAYHeQfzBMJizWlD\npvgslJaxnxcwM2TsCpcR/HEACkQQsfwJefElJe5CZtMa0KAtqPvVSjR1Ecwn\nePxcToakoBnMeKJjWNog7/EH+ULqm8IIDJLKrR3tQmdrqAq5RIaDh2OrvSZ7\ndhyM2NqYzq0eMCLn56qaeZiudWWvFwHNMU40VhSUrZGUvWkgixiJSx1PjF0U\nmLqrMNl4QsK39y+mVjU/XOrxPujYUkfAEmceyiiRIUBNakAsL1FfcrQZ8zM8\nHTBIftssqNqBSu6Ls0TB/K4Be3aCwkOHCbyFkrEzH4N1cOt0jFJvDs8ul7ev\neo1TT0eYS7JjGFa2gWUq2ChSflKU1yIzmMJTcvvBQ/ozEkXRuFJqpTZMz1d5\nYU8l8CEG0k3LYcTMMM5heGCj9Bzas1Jl52dPDrphzfYAzWjXQDZc8TOaTkmn\njc8Vh6eTFwaPzlUC6D1pxcZtjUIv4qOCTjdoV6bPLAPQlhj2bvHsuKZ9k61B\nOsOb\r\n=IPnO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"a7d6e26cb1915a2d11f766df84d555562e9986ba","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.22.1/node@v10.21.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.21.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.15.0-alpha.0","apollo-server-types":"^0.5.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.15.0-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.15.0-alpha.0_1592332681147_0.2863560929991462","host":"s3://npm-registry-packages"}},"2.14.5":{"name":"apollo-server-hapi","version":"2.14.5","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.14.5","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"8b6ac510cc731e9a5f84bf6d7ef9e0e0f2c9a89a","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.14.5.tgz","fileCount":21,"integrity":"sha512-lqS13vhZMRNyAubx0Czv7A1dMmJSUMzV6ogEQ3XzOmoXUDrvL3daLGLTxXOZSekef+Xlmg31gL71eH2vHuz1dw==","signatures":[{"sig":"MEYCIQDm1y1lxtzQnu5pmf21QdqQgN8D5Mue5NDx2rePbwfXwQIhANYTyXVxQltE/+T5BDogx7MJ/E9pWHT73IP8vCN99pwS","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54120,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe6T0yCRA9TVsSAnZWagAA/XoP/00uzpu1akkaqp9BxD6A\n/HagCR1mHMfViK2ASHYgq8vQ03Wd1t0B3PYeGSLUBYH6//pJcndf0fwTMe50\n9SvTTGItXXvyy36bsk5/N9/boRe/qnz2zBrvGpgd8bForIgo2OxveUts+inY\nLXoUwWVmzebzsJbS9VKQH9mYgPAfRZVD5CoBU/Be19UE7a7sD9XSXjJOioLM\nngOist9+hIpm0VqIxz9rQsVgOhb8a2lA2NEBC0mgbGUts+rqYwK6wl0TYeDv\nFtqyKuzpIZbhpR+WoZzheEINy1MQlz/mj8O09MJWTHR7WsSRmUWgQiLYZjA+\npSiCZhXIat75myAU9nHCdNngZu6r8fqXrfKlPnXT59tt0B4AUft7Ghyn/bXr\n0ZOs12r2WZwsjuNSIfliLxaK5PJc7ysctS/S47YfMdjYkKh9XCNVHMg/2caG\nVSrpsg/87RH0Q5hItwK5UwiPUriJEYhDScsO3OXPcVa/S1uCMibD+pD+Hem+\naQdvK4UdNrprMfB3ZPCZSf2n9qXJzOjLfCmY9XkL9wX1JlHpBIiDagUKM5Qh\nLk6ZvMlTT/Evd9vrIXHQtGmrbZnAqYQgfScfOqYna2UPBdmytRV1zgvcxeWq\nkjCAQhhHkn8x310f5YVBMZR7Fj29YzcXE/sMHzszwdPCHJxAYXxR+7PXY3pZ\nsG7D\r\n=rmF0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"1824b55f68531b01c2ed965ea44a250e16e5e46b","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.22.1/node@v10.21.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.21.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.14.5","apollo-server-types":"^0.5.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.14.5"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.14.5_1592343858108_0.17798285863774654","host":"s3://npm-registry-packages"}},"2.15.0-alpha.1":{"name":"apollo-server-hapi","version":"2.15.0-alpha.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.15.0-alpha.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"b924b663d272000684dc0e5650575bc069c77ce1","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.15.0-alpha.1.tgz","fileCount":21,"integrity":"sha512-iO+GrfEkI3/tl/1ZhhN4ZcYCdTR5Lt6K74dBh+GoGF2HlhoGtCBm5rgF+JM2NL0qx3viX+MELWC+Tw/6yw7nWA==","signatures":[{"sig":"MEUCIQC8KrjV/qtCOyd7Y+3pVVkTtCrW2kRAtdERHsw1CT7SUAIgREvWswVUc2SFUugrCF4KU8KtWQ47ioHKOdB8OYKZZYk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54144,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe6lBVCRA9TVsSAnZWagAAsxoP/0mefRB+33N80GCP3mny\n3EXqyeX8RCN6+CAgoHuAacz2m7ysmlWVKwxHVADrYuYvtONQjkFeWrgu0Ncr\nua15bCLgag3E10IicXxnd56PP3HqcrHwsNxOUeHIRZoy5O+33cDMrG60fc5W\nztTS6M/upz8SJpRnPA5vlfd/bXfLV2lj9qPQRfF5BG1XkDPxttro6DyU6XYs\n3HjJwx8MIyguMlz/5ql++4Pq0r+mQSM8ELpfUnXSUTekhoo3XC6NGSGsAIhz\n0llRifV1vQ+1pBBaHlUpRRwXFjw8v61+danjV4ipD1XsgfG1nDLG2CG4SKLT\nnrlAbeNWHZOrdIk32lKPRncisqcoKC2MG6GG12ES7Am7+1u6D9okmPIjUBn7\n7HsY7GVt3VtbGdYQ64kzNC4cD7bp4/DRnm9vZou2wZYaD5WZOF6doNsV5Nwj\njiIx+d3On+WmtB9WIW88z6TdvH1L29lrnZsqE0A6ohd4j+pZOZ3Kfy4HDVuY\nSJpx4cc5QPhY5vEhoHtztv/ItRupziPQ8xHyY2Duu8dlYPuU09cLchUnzZZT\nFt3c99lVLJs1/jeCmF/SG3DYzPTLkiPV6fVFnQvX/B5zQyatBZyg5ZrMJJav\nB7+wf66CYG67ZoFGWTvmHT+YOgLBTd2WTDSsfLDZo9tEvdu51/uivD2N1Ca1\nedO6\r\n=Xm/Q\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"803db445585364f1ad75b1984008ce44524679c6","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.22.1/node@v10.21.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.21.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.15.0-alpha.1","apollo-server-types":"^0.5.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.15.0-alpha.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.15.0-alpha.1_1592414293509_0.911782337455439","host":"s3://npm-registry-packages"}},"2.15.0":{"name":"apollo-server-hapi","version":"2.15.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Jonas Helfer","email":"jonas@helfer.email"},"license":"MIT","_id":"apollo-server-hapi@2.15.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"996ce29e64616ea5c7749ea16bf1684aff27d1d7","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.15.0.tgz","fileCount":21,"integrity":"sha512-w0zGc/PBaaHwhTiVioIs5Lsss0NWkdZHGxZRHXmHwsW7pdq+hX2Druu3y7UXQky2sNP9yLLTq1ffjj0tLZM3jA==","signatures":[{"sig":"MEQCIAsmXIVu2xqBp3W9zgq66lRgy6EXHHIEttg2tCa9Gkf3AiBe2XVH9+690jCOWlva7roaX0V2D6n8GpxmuCZ9845usQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54120,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe6lIGCRA9TVsSAnZWagAADHcP/2iC7GRBR2YvCzV1Vuxv\nDkcNfyDjRHNRvcXmylQkGdIOXJqJlvqNeAWCVomdsmIwGkvqhejVj6IgY7oO\n4U98gBLFkWsfB/Jfkw2KxhjSOuDU+HQ4jk9jMgEpTI2hmu4tIQRc9hdurWQP\naN2BVAHheC3OmpOfMOm+k8GIb9vJXE+gTc8HO/lzj5vAULqBBHpz1ZumHqGM\nlx0OgQ1TRmeYxIyS9WL+GG1qvUdSqH/i6lbL6IP+en7S8xUI1M8/XhOvIHjD\ni4z5tRKbgfloCvoqZvAXcz6ne6RzlW87wKInkx4AJAS9RSttBZLAAveNKpFc\nycnDOkAyiEEQH0NgNnEgZnHqFAFhznGyguaoUcyTgufDxWzi1zct6k9olDmx\ncGupTb9Ar6KWx4TFh+UIUE4zss395QCPYJhA/OLdxEz0ch6vNGsfjF3pWmqo\ndl2BBZHd4kBOpf2S9LabZ5rjYiHCBlrFRh+8+hz2b1tj5NsXp45gJog//l1P\nGRQdabOmNVRY9iwPZmqR0/2hUZyfXfvUgsmfEwk6xVydxGSLM5ue+eaDkiBq\nZg/3EKzdBrRfJzo6hyVp7/qVQROL8JcOrOkraDnWSQAvbOv4O6EjonW8W1Tz\nL4OWfBg10TLApoZtYpRICm8DiUwDrZTHllMi+kiGx4JWeXLPsIs2DC/ecpcj\nOF8d\r\n=2vPQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"6f7bdc6099669728926ea88f6317cb17cc6a4b43","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi","type":"git"},"_npmVersion":"lerna/3.22.1/node@v10.21.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.21.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.15.0","apollo-server-types":"^0.5.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.15.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.15.0_1592414726189_0.038800155407201276","host":"s3://npm-registry-packages"}},"2.15.1":{"name":"apollo-server-hapi","version":"2.15.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@2.15.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"be0ba91c2e81f497f25578e90176cb4509ce13e2","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.15.1.tgz","fileCount":21,"integrity":"sha512-ZSs8rXLHMEiIwYLTTsrszwuJjlqEtp8HJSgcv/tpIav9D4b5tgewMffhuBJFFkHup/KFi3hTDvXFBkyzek+pHw==","signatures":[{"sig":"MEYCIQDsJdMZMuK1qShpnx13F6D7mIy56M9U1BA/2eY44Lj9iAIhAMA0+S9zeonlcmvnIQtIBAnzmifU3Z2r+cLA9cHlau3Z","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54126,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe+yEWCRA9TVsSAnZWagAAT3sP/3sv3v4FuDXpJiR8dXkN\nIF80P6eVDGFG7mq2JJzk6BobOYJLVoYdBiPRoSoP2sRm4qhVLl3JHJlvYaPy\nu+3WetBbGSqs54+eAZSVZYkOYCojNwIrFuhXyqKYHwJwItOydvL77s2EJ34b\n9dFsytxDd3xoy4xutWHYpHCKwJAJtoFRXFW9Ocqjfn4YEuW37vkoy82YhlWp\ne8EjV/D1QhHZVN0vBoBKjkw3Q05rZrIwoQ3ZAicPLRX9RRYBVxGA4KQqBTDM\nuMnAUkYYdgg3KMWL0mefI2cbMlf7pfrvXksaAn/c6K0rVH7jEWu3/4+lKK7g\n8CM1fpelWTN+eU+fwM6GKK5z1GceaZYw5MsClvkQOU8XGOEF2AVdp+syADmN\n0ya+Z/hKfWQl3oQ4EFd0dHpI4eevVW0vBv9xtxHs0Pv5zp/tzFB4T92+oo9z\nErzrQ+rD18AT4xzJObnCevCj9p1bDWopc+eGEn8taiFHM8J6/SCnfIOVj5Rs\nMm8WJ0s+CJfuq1KmIT1I+VBdmte++k2HmT0ssa5uyIohgwku9Xq1F5oad4ZR\n9Gd/5fbeJMutb5jpvvU560MR5oew77+zciAtKlO9HO0bikRSRAPHIt7ucO+Q\n5eVlcCzETnXSLR21u1P+7ztjhz0viL6U3QBb3PZ63SOubc2hMph1x5nskX9G\ngoUN\r\n=tsj8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"8cfc947ed56fa3f32b82b32b4bcca53470712984","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v10.21.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.21.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.15.1","apollo-server-types":"^0.5.1","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.15.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.15.1_1593516310093_0.9656797477791756","host":"s3://npm-registry-packages"}},"2.16.0":{"name":"apollo-server-hapi","version":"2.16.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@2.16.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"f160ed1f80481941d2e0bcdef88fe0f8398e6e58","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.16.0.tgz","fileCount":21,"integrity":"sha512-GYVW6UvhBoSo5D1FtdbLMTNWXhCTicyb+rlkeVme1RYSlrTcY6YvTnH4R9khCMHR2xhehUg4oia8iPnCbbuvOA==","signatures":[{"sig":"MEYCIQCVfftIlGQ5rq9aQ6nN4eJfmDz+WYeCk6ACseNgdRw3QQIhAJQcGJElIq6huFQSUEmJ5EjFJe6wiboYSDw+K46TsiRn","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54126,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfEZYBCRA9TVsSAnZWagAAyGYP/1pSt7U+FYfY3T1w4OZE\n0YFmaAONBe75av0WwYjj92fnE6Bi9zFdz2cuC2042DQkIqGEoKzgOR4veL6e\nv3haRRgd3YIh8TxxdakOSiEb0z9x1mMISWzsnL50k8cZU8oj+cYsfzXbXagl\nBXUA688C3CMdGP53I+5alwTE+CfiYVJ8dek1f1DY0g+EyDwUCT4DHl99qa3U\n+3XhCudjPuEn/QegYGmb3pGqjBfNfqcKWfhdWs8pKV95eQ79S2ogadk3eb4H\n1ZtKOUKbxTYA9IJwNJHAiewJZUgDuJM30/+iZpasZKnbbU3gilvH2IOTjs2T\naiEjHM+qt9KgLejgo3hxc8jO17P13Pa8GZ4Pp2C+D0z0ABzpFX6HI0fxQkKD\nXohdaY5hbVQ+03xdZDMuBRGcA6G7eDusM4WZBPk28TDu/lloCp1wfamGVgsl\nq2WLQdGy/xe7xHV974/I8o9GdBdSrQKsH01q27lCoyR7Zua0USszbo2+J6iH\nDbiE0+cZ1M7qLlm9FOAvSngTAeD7b95V7AbMrZ2Bp6xbNh5XQcAyqPoS78wi\nYDjvAv53ywzQ6TMsyhB3qW0/A8wra44uSJA4VvYtzXMnYIUWPE9eKoN3IjRX\ngkUON3ooC4NQV5Lj1yUzt1UB2uawOn9EtUvUWq9XNKG+NhpffxU5XAfjtDfN\nOu7j\r\n=zSxs\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"f4cfb22b93913c98e54c638ae39f39ed153daf66","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v10.21.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.21.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.16.0","apollo-server-types":"^0.5.1","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.16.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.16.0_1594988032742_0.8276169223132432","host":"s3://npm-registry-packages"}},"2.16.1":{"name":"apollo-server-hapi","version":"2.16.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@2.16.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"f2b639919f95a95c19d3d24b2bc60433de1a42fa","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.16.1.tgz","fileCount":21,"integrity":"sha512-gB7SPek8dc9FiQg+30LhATNQc1rW04frHtYDJBkFAK4qbcKjPblNHIkGvAaJBwPt7ZFrRzpJw1VocCukiI4Vrw==","signatures":[{"sig":"MEUCIBnVVIjz2CxuFjI+NnYIKU3mdCUkjCre0o/QZr55/Zf/AiEA6ea9tv3H9BG4s2QpLG4hKn+rIRbMhnm2ypa+eFsnPFc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54126,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfHz34CRA9TVsSAnZWagAAZfsP/iDq//mYZnREGQ4jxqG0\n2AjAmWTpy0t662kIG92otyYPlwtFBSMC+9vcx62ucMEcgq3AkKove58QQuKM\nXLIA1DmyuH7U6henwqvZBZMTAUGv1JvHk8M6sWZOYmGW/bMLTdIpY2cE5NVt\n7bmChlW9sL/Iykj0b50hmVN2V5Ro2cHmxD63sM668kxA14itgk3UqZwYW3Kk\nQ+YVFb/xZ+ydOXptqezGiisdRjI0AM4aS8QmeNZ2+R/YaK9fZdCDCc267S0q\nEKmSCnU1ZrKOT0KvorEpZ71rQBJMMgE+acJ7UHL0llNhr3HSEC/Me0hxFulz\n8G4CNJyllNeY+mC9r3lYrXlUpld2nauG/lRyjfYtQ3+Zd4bHnBn9uDSYv/vR\nZT4H/E7Z+QKa8xNzagiSXiJlSPUTfb53NMhmYEHDC0t/BFGhVxDTZbBhGfYE\nitQ4C8vAnmF/ClqczUhxB6Qb+F9mD9p2QQezjaz0uIzNjMyp6J+D/sZexkkp\nIvgrdPD48cw5OG03wsYkNjLwzZDhDQt2u39f8VmTqJmn8yrpJtQ3w/zBwuks\nRSv1Id7UMjWWD7Kxa9IG0fhBZepalHpljF7lAJTY0PXXK51X1f5Bxf4ismAW\n22Wcx8fMVb9TdRHYNt0yE6nCA2z/cYkX/PRCGF1Cu4CONPkOtAHtqJTGhFcD\nNApp\r\n=iE7I\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"128c1b0930ff789c55ac258a0b579f18c6d5312b","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v10.22.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.22.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.16.1","apollo-server-types":"^0.5.1","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.16.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.16.1_1595882999771_0.03819863611368679","host":"s3://npm-registry-packages"}},"3.0.0-alpha.2":{"name":"apollo-server-hapi","version":"3.0.0-alpha.2","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@3.0.0-alpha.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"e4dee1254287c3f1edd1c9ebd77923ccae1b78f6","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-3.0.0-alpha.2.tgz","fileCount":21,"integrity":"sha512-FyrUuJTrM9x/UMY5+O2doAP5r6I5cw3eP95lnWcA0oSXgVZlBTBcLniXSD6Xzar1G0K0U0oJroJ9KgP69NGByw==","signatures":[{"sig":"MEQCIE8XwSBa897FZFNaJYhKuQBUayTDftez4Qa0XegUY2DFAiB9Sk2c9HU/aht0rzNIy7GuDMCGwz5x+4yYeKysAq5JYA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44951,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfLGGTCRA9TVsSAnZWagAAWf4P/iAaQQHkfEeWzY2S/hEJ\nUoRfSpkQt05rpMLEUf9BfXOt8ZRBLpTfu5Fc4/rWLghCq44k6bm5A3pZLpej\nnmo5H5dKezOmdpQw+dAXkJl8ivHbUez7aqUU6ZNr9a+/ty5eWgm0rncF/sm6\nkK8maEkT13yYep2bLbqIYdc+UufaBHYEWho2ExgpIQeL9UpnqHXlTkvqbp5r\npN9ngDZphHa7RxnKmDnIblyJk14VAnng+sSnDI17LS6A2pI9MtleKLKttc19\nj0h/0djzW91vnPtMkKjMVDqSzTLXD46/L+0IeUUqa9SF/M8USD9r6qw1cDDD\nv007sqc6sssIOk+a8rM9kZqQira6Co/MqkK4IHsarc4HhsKfG8vic/xIffeo\ng+VOUXS6OLmqqE0hiGaeCPAB89Nk6p6flORtDrpOEwhsBLSw8SQhqNu/q0FI\nPt/MtzsnL/UJStoMiYtxxS9NsFBEVXlw5sgNX3t7yt3dLexV2FQ6/wWIRTsx\nGfT7siVxexp5iQ84VCjuQInxSfTCvtmMgF6XseJ/vimTjcbBFbXML9t+/yH8\n8JUMbbcmMQm/wxCUmqV7MrvfhLc5e529gS8PaKV2sAxf3rEVe3hqzgxKJM41\nKEUqJNxJxpEVOTyJ5IECXGr9YdcmS8HSgTpcvvpFUhlTORbF4ezp0PHz1XJ5\nTne7\r\n=U5Cr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 18 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('@hapi/hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=12.0 <15.0"},"gitHead":"6f3711b589dca8079264969263266cd7b6010ed3","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v10.22.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.22.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^3.0.0-alpha.2","apollo-server-types":"^0.300.0-alpha.2","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^3.0.0-alpha.2"},"peerDependencies":{"graphql":"^15.0.0","@hapi/hapi":"^18.2.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_3.0.0-alpha.2_1596744082614_0.15063575044720667","host":"s3://npm-registry-packages"}},"3.0.0-alpha.3":{"name":"apollo-server-hapi","version":"3.0.0-alpha.3","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@3.0.0-alpha.3","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"0140ddfb2af2cec6c078942af47216a7828a1d32","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-3.0.0-alpha.3.tgz","fileCount":21,"integrity":"sha512-S7BgFo2fKVs39aGVS8VlKGk5qXEgGeCueY2dz4vWHWAuA7fS13LDG+zgxJ8vTx+uL4xF34TtJbb1nUrqVexl1Q==","signatures":[{"sig":"MEYCIQCs3kkNidBeqn3Zg7jKPVIelShhfg06C9CwfLyUnw9GeQIhAIwSnMERKvg6QJo0ZCKHfgWRJIUBqolvRamwvdk8/bZY","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44867,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfNB/BCRA9TVsSAnZWagAA1dQP/2H75i7w0ys2lPvslLqb\n3FwnH1DXEs32jozKdjnrSeVnBkRmmywYP9mge8/6EfDXtYbYJ6xnHKXkRg+f\nUbg8HTQq1n8ng9jt1nag6PHu+zJcwzK1qQ8E2JAhuC3n/lI69Wl1sypG9rNi\ndgWzBAOXt5G/R/ZW+Qb/MVbQKU9h/0U3pY6Q1pwgpx2cBGe8Z8wyGKAtou4V\nKffSS1PeyfnYtkwBaaJRvC93FXwbkQPAoctJHwAc/Hw0L8lQTXzs3B77oZWm\nYutRl5l4GPQsSM3J3F5eNNnlh6syKCduL2ZVIEYuKT5D/L3SqzotFmmlWD2v\nSLmIvIXMypp7jhF5r26rmxXXCWWrxZ3uo0/jVqpW3+cptYkBzOvDJPx0Brv/\nWJYtcSJrLzuHbSG9TXZgInGrL/zwzFHzTyASpQiGTKxAKzSKOm7vhkKJ5Py2\nxyCG7AOWFHOrslcsjANGjP8Zg/SJrL9FjDX2+Ly00wsT9vvYzFySNI8VbEWM\nswAk3Sa7LNXjI9zaNK5c+dth2Ko1bAAa0Rm4zblTBcPQazvo6VOGiPIRDXPJ\nr1rzjlGlFsgCNKRXqpzNVxlTIJZs5YGNdkgyhrUtsuTwKduO+6xbwW9hbiQ1\nbUf0KbgAcYzVvjKjqZNTnYFBE1n5ftzgYvNz2D+5fANjUz2ynmw3oewIjMDe\nRhFd\r\n=PCzd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 18 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('@hapi/hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=12.0 <15.0"},"gitHead":"15b90eec22523e32e00d97a51b28cbfba3f39c78","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v10.22.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.22.0","dependencies":{"boom":"^7.3.0","accept":"^3.1.3","apollo-server-core":"^3.0.0-alpha.3","apollo-server-types":"^0.300.0-alpha.3","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^3.0.0-alpha.3"},"peerDependencies":{"graphql":"^15.3.0","@hapi/hapi":"^19.2.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_3.0.0-alpha.3_1597251521039_0.44084579778131583","host":"s3://npm-registry-packages"}},"2.17.0":{"name":"apollo-server-hapi","version":"2.17.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@2.17.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"c564b5fa973b65763a224070d40504e8d820bb5b","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.17.0.tgz","fileCount":21,"integrity":"sha512-Xgn+ODEpoN2QcZaBtGZzDiI3U66Oc/Su2pOgNrbf3gWzG9lhDB0bsInjdtbaHRF0qDo0fOFYfgMHjEQA8is//A==","signatures":[{"sig":"MEUCIDnAyTH0Rleacd6JxbKAp8Onvn/anPoOigotrMNDEVj4AiEAjjIFaZVl1QOBxVNBKpVXfYfUNwX21ZxF+d/Pa+juGL4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54126,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfR/6BCRA9TVsSAnZWagAAUiAP/0jEPuJioq8exnvRyh7E\n7hpd61UumxVYkS0Z9f7AKqSgmoRQxSwzzr32x6FaSqGg0nBK/S6zY1XdXoAM\nI0ZsahCXswBV4oymAKbLUd01C9HwgKFPoqEPIm/GFVSh2DkLPouZBGu2TskJ\nvkt5sHIe0HsAu74rg0AoE5JVasJdSiQRXHJ+K0ONu+g8qUA7AUX9wiuToW0O\nWvQICcuu+aJwzg17TSFz+/vomFKXaxBBXLV0+lpgtJcgmH10KWYtMvcMFJ2Y\nc522WVBocvy19NteuEpydJGoDJXFTTyK8eNZ0VbIXBTmjB2vLNRQzGVKbT69\n+AyyuddePtd80LUexexLFvetwcBz3Jz5VnvtWOQno3tE7TtluDuQA+S1dGmb\nvjwGzCS3y6TRZ2k4L+ztI6EMZhau+HIJFjBacmbBRjs5pQ2IGL97VhItXtfW\nJiKFMrZf7Q0YQVqarQFGRrm5KkNgzU6ShB0RrNdK3Bvyanqi1B6k8cNZb+gq\nGeFoFYeFuDdkQiS41jgUf1s4ohIYXLZVA3HjzEee63lgs65z1/zQS7ZNNN+5\nM6eFIEoiID3tsQzxUb3PvST1jiLN4IKEQZX9eH9CWr7wtLp4X0HoXHJYMy3x\njivDxXCWsbBStkJqmZ20caIYZlhd3fWUDGYLlW8TtnNi1k4dNRP7ffN3y2t3\n5THN\r\n=DNdT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"2db096051fc5bad822c0d37b530c792da39eb6f3","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v10.22.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.22.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.17.0","apollo-server-types":"^0.5.1","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.17.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.17.0_1598553728956_0.5721727873865552","host":"s3://npm-registry-packages"}},"2.17.1-alpha.0":{"name":"apollo-server-hapi","version":"2.17.1-alpha.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@2.17.1-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"38b098bc1334ee2bb7809ff0d25395e6a5fceaf2","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.17.1-alpha.0.tgz","fileCount":21,"integrity":"sha512-fbtWjFuqZZnljWPBsGSWpm9aRnXSFQaRx66zjCOK+rllQkYq/GTf71azlYqd/fSVTHMDW+AP+SwG+chDxQbbKw==","signatures":[{"sig":"MEQCIF73T4wv8gKs6brDPXmJf6l1jDWFS1Smrgq8CpzfrRQqAiAxmPpwecsbknKYm5ute+8NLRt4QBcvO9oZCy1zgkn7zg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54150,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfUTSXCRA9TVsSAnZWagAAx1cP+wdAjDxzJGtdVj4CB764\n5QrqVbS8TeiFnErJ/3IVcF75WnIEWRX9gxtRvCg/eJOSnMfFs19zIoLZFJgJ\nsHgeRuUssWZjj3pHnku6zYocPsSHxJGrI/txI76P1G0ojW6opNQxdp9RLo1V\nmCQXDURHe8+ihhem+MPNyicyEPJwbeBLbft2jOwh9vM4jC9mHSXkiPimwflx\nqFqVCxuhJSfkc5pbC/Swo1Nr6piTpCzz0W2BaGrMiX97QBt7E9DOyR+lfWQr\nOvTfJg7FozoZkTYKDDC940dnTMuKpW1bacmuvOt0esKVZH2JRZuLyM4eYl9W\nLwozVIZgckBJ/Ueb8rNDyz8mT7tvjuSL/ikexXhlVmTYjPuowbM9cn/MREuW\ntnGrcjSbZZqwpyP1Kq79C0UFCsfJSR+YjsOVtXGxVO7d6SW6VHlXYVWfCMlT\nhDGD+4ev0sfwDQqSKBFfRbPlG9Y2v/BzbMh9RBHbwhoVP1FWrNC9RIJc5Kc9\n0gKsu8LbpvBCuwrUjKqHguWLmnv2U+hNuhldf+oj9v7qvlhwu2axFMBXPHKl\n4T4ilRFd7+TYNyJuk/L4wHAswif6na8VjWxFfgPofHv4kzh6uuA+ov/mwHTe\n59FPM6mzzvHesUAwnhq1HjTYeU782Sqr4IoTGHKT21yff56T6hYcVOQVGFgK\nrtbQ\r\n=fFJk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"a2571cd6efae7e8c9bdfaa6351ec2e62dba4f5bf","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v10.22.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.22.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.17.1-alpha.0","apollo-server-types":"^0.5.1","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.17.1-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.17.1-alpha.0_1599157392137_0.671839365999735","host":"s3://npm-registry-packages"}},"2.18.0-rc.0":{"name":"apollo-server-hapi","version":"2.18.0-rc.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@2.18.0-rc.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"3c5dc3f418d934ca21b5f640ac922fae885ce8b0","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.18.0-rc.0.tgz","fileCount":21,"integrity":"sha512-XDRdD4qf7hLHmrsoQYLYoI4MmM+MtfzwdtdGDWQZG3h2S1tuxppaocK+s4128Z/P4m0K1Fub+zo0gMxNyrST3w==","signatures":[{"sig":"MEUCIChPGpH2X7oaEhZLrObcVWz4RMFdjCFhOWovgUqayj6DAiEAvweXexkba4F2PLSsxdal128c58o6pN20Yn7+VWYqwSc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54550,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfZTHpCRA9TVsSAnZWagAAffkP/jslsVYBjcyGR3qfUyxr\nxs2NnWpDBHF+sdZkuwjoP8taP4rRrTPT7yUD/j0KqqP2rlXxcSCuVT2bX1/X\ngIjSKyhAkJFyPcOR4fw2XlgRnPUf+Gs30UrfoG20fA95xfV8WTF+QThUBRof\n+Eh6LCgK48hhf9t9yWLEXxF5buB6X8dtT6lk/K7s7SMtiXeX3NNq3rmbPAfq\nFbw5gYIwd4piR08LczYpDQjQPiqTNvrkvlvNH4WBWD8UXIuuJ9q8sB3kamHD\n3IEhwUu0V287wCpqawW6DGmGK/HTq7YM5nPqa2oWR6FN7o42/xEoYiYIcso3\nwehb1g5cfHOuINMSACWS1WrS302tfEfUJHIoZJLPNA0EYc8Fp3hgMQfyFD8G\nU+AV5079XKJDm0OKduggsTu7pQJCX1DdzuB/RrrzB+uCmW5+yqHXAsyPffyf\nlK3QWQFvA/x0EFQBhwm8TdcdyTaPIrEqndVoPRtbhfhXLdatqQjT6BoI5r3k\ndRIZh2VTlYK0O4wY3OtNQ+aytRMX/j1OSEiU4H8Eglx9S2H8rNf4g9eUc6s5\nR57Xchlt7rpGAFi/TxlwOIqCXsOq3sJNdfIeToHYItTi44fHyIcYxrczCuCP\nNL4zOcZk6wub1VkRAk2blILobG2PAB55Vf9fTUL4QtYnS4dTDhrabI7n1MOf\nV9l/\r\n=NhuW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"9e5cd2804c4a5c320cfcee3d0b7448e02e9b2b8f","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v10.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.22.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.18.0-rc.0","apollo-server-types":"^0.6.0-rc.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.18.0-rc.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.18.0-rc.0_1600467432974_0.9493824911797295","host":"s3://npm-registry-packages"}},"2.18.0-rc.1":{"name":"apollo-server-hapi","version":"2.18.0-rc.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@2.18.0-rc.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"57229163dcc18f77e2ecd7b5972b38630b8d1756","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.18.0-rc.1.tgz","fileCount":21,"integrity":"sha512-ehBl4lt1j95wsxAjwwGuyA4q6CO9k8lnfk38fU+kG60pjKlVLj2Eid2VXV+yS2DPzf543BXCDLLm5HebYBrniQ==","signatures":[{"sig":"MEUCIGXoV6yJCn4U2y3qzC4j8BqjbCjpAMOBQsk+b1dsZNxsAiEArlZNuuIFvhrSIkp3+3mIEbln7UU15xCWLoBaHyQ26+Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54550,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfaOcFCRA9TVsSAnZWagAAaD0P/0qr78RiR25rKeMp/50o\nJVG86mXzPIX8apsuXkCkkWOYyvmhznXl8sXLPzitaMqeCV0z0786LMpOBYzx\nYEhlAwqqc0d8Hcd9+CavYlWgu8ErKcuGSMcRpFwk47hA9PkMGoq19uTybdCw\neegrfjCDcKlv3M792GJOcXAkp/inQtPXXbxOM6WvcYeXC7swNuPE1zWKN87Y\nZ/rX8zPo/jC5xpGObKDHRU0KRS2cipj1fo0gNUMW79YjtKxqO7cdggtrNKxR\nppMsoJvP+SRNaD8RN4ZWaGE7Uh+MzdE1iLK/bAE0jjk9JMMa7iAlDVXb7M6t\n1G3D7XsRMzOGXUttjpIGAKkSOlpeKD62on4/+Aapv/8iMJlXwHg6LgBzc6uz\nSiYx2gcu6olHhvEESGvrteYkYAtBSVJw3XNtfyZ99Nx/972Eq4X74Bozp1G1\nQjLL5vELLcNHeeGbnKEEawuWDgQ8wA+rjBaXg3T6hE1nrG4HAORML6MWQ23x\navpnJY6XzLt1tRLClumiqLxjp+5cozQuntaaY639r7C21Kyke3YqTpU0bB3C\nqplbWVGeZpm+RHLeqyyZCjM9YGY+CZtbeWCDKfsn7Tu0m/oqYjZGFGP1Emov\nab/0ucMb1BlHGRHEpKXmadwVHCaUpoPbgccNy/7I+X7t+RT7O0uin1/Qb225\nq2kN\r\n=DBiw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"7481e51d6de10e684e9fe0252dfbac22392771f7","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v10.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.22.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.18.0-rc.1","apollo-server-types":"^0.6.0-rc.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.18.0-rc.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.18.0-rc.1_1600710405349_0.7919384681030999","host":"s3://npm-registry-packages"}},"2.18.0":{"name":"apollo-server-hapi","version":"2.18.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@2.18.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"04d1e4604efc8c3f23436e3825e442f100e7e225","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.18.0.tgz","fileCount":21,"integrity":"sha512-hLAmFzjgUpoZxx/vev2XE7AZvhhjnXeDQtrQu2PeYuGyQjR0cCejAL/6wNjhrIRTcMXQZaUHpOPueelbYI7Tbg==","signatures":[{"sig":"MEUCIErxxM1VYAfMNnhP8XDanHTa1QcIt1Sr23hFFTsqoistAiEA1Lokxydh8/Wh1ppCWghjM+D9nz9LouJOBbUwBQKnnYo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54530,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfaXx2CRA9TVsSAnZWagAA9lEP/0yTkJ6WT+rGY7FSA7Gw\nDpgxHNhDAcZzVWhnqii5WonnDgAwWkYvy2oAWEWTDds2OkKee1XcAtJa15wI\nHerWKOO0xxImOom+b93U1KVQC3YKd1aHY89vvHrlQanzUHUPnIjLId3hy2Z8\nBlomP9+5zHhCLDm+tMgKn+lcPKcLcFOp1ayAuwK2/tcL7fJ1Ptlv8sjFx0im\nbqoB+um+pMGG3wGZjKQgTmzhj1lVo/AUzeTxsNrNuA4RSwW1O9XYkDmVOufx\nc9ZmaI7z5qUkkCLCxKwVpkJJ6cmbbO4Tqb6aQBW16Ld9QZtUEverbhNTz6vW\n7Z8IZ9GtQaeRZff76aAHIQZ0yO0fhVnhQb+1RNEaRj1RRbiIjAT1hT49+xz+\nbxdVr6B6zucartjYC7tfEDpunBq2Okkspf1bJ5A3y8XqwtTTYRFbTPex5cxp\ndyP/VTkC4x73quFpEbQWL4HeH6ZtR4jcCYyL5D7uLSd/YNruGFSTrz//SE8R\nT3mOL9EoaX3SkioXxQljnKMLcIPUcegwbwz6mKg/ZG8T+LH/JnVZX41yH4+9\nhF+NT74fySWdNteA5iR7uJqdFc3Jc6oFben3BtUljLhUfs/xJy3YVfYov2vA\nfXg/aqvixXD9sNqjtp8wIjJsqzg8O5lF2SmMooYh2NFBGl1lL73SwNqxJ202\n7NCS\r\n=3fDL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"2aab7fd973bf352a0de28b2385dbad4be7c7fabc","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v10.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.22.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.18.0","apollo-server-types":"^0.6.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.18.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.18.0_1600748662025_0.47270938757156444","host":"s3://npm-registry-packages"}},"2.18.1":{"name":"apollo-server-hapi","version":"2.18.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@2.18.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"59b8d8fd8731f440c96ee29adb30fe937b48cc3c","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.18.1.tgz","fileCount":21,"integrity":"sha512-+5Tc5frBOjnVengKJ2jlTRdiVb7LZUbbe8LITLGAq3QbYh4pYxTBldTrCN7BRL/fQGvrJ8lWgeLKhC7ORcCbEQ==","signatures":[{"sig":"MEUCIHGzP12jdk4a2fHVe3BohH6iJmiVAp/v1tnXuvGu9RhCAiEA+2LEhY4DsktU1zRCwjt/gJ90pYTs/c4HzvUdk5cfRfE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54530,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfbODvCRA9TVsSAnZWagAA4H0QAILyLffAu273MZUTvMTt\n+1M585JHGhgP3+qIKSYceVcQpegweEGssUadfK0vqzVjyAQYjEB876cGfBvE\nSEZthR7FCsHG5n+/TqyuQGUoBSXQ7kmrgUmEiUOSMjzHTE1M52ovnWQvY9Y2\n/XO0PFXb1+msegpI1QMY0S642V9WtPr8bcl/Aoc8cNoJIUpQbh81mn8IO7/r\n+CbrrBRTQK44DWYOUxs9/t8i+3mgHqOElvkMLW6q9C3/GT/mpdRwCm88Zhwb\nhvSJsuQotoG0VtTK/Xvrt+z81fpHRZRY/WTuFdi9tyCG6O93BBa8+6u2nlan\nQS16X0usoAOETyzRB65qioMxAEJKB4v2RKBuvIs1N4U9je1Dzi3lSXdZEMBR\noEDBv1vPJaVc0f/acCUMBWVFhDvZfPHFfveiLFHaHI0V6uQFw9KWP7f2nQXo\n6G5O8QShiKFX3Q1Eqnc8ExkFvlhzeAysCV/oAXP0JFncqz5zSsOsg55EoCEJ\nJkMn9mJUy5t9Ttf/RmnR6ZSA7QNRBTqFOFwC/ITF8ma1s0a0sYEAacQIP8My\nMqJV6FfOOrhvOhUhhm4NqudI0J40TgH8cGxHA4KbKY+wY7dPExQIyiDP7mYL\nxXVbELbLwqzizsIgDFxQbZCy02QZdbfU1mxkug+XIaoBtQl1YB5Af7XYQGNp\nEBGY\r\n=HFz1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"83e22003c717e93bc57655d4849b0833369f1152","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v10.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.22.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.18.1","apollo-server-types":"^0.6.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.18.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.18.1_1600970991354_0.8173223847476307","host":"s3://npm-registry-packages"}},"2.19.0-alpha.0":{"name":"apollo-server-hapi","version":"2.19.0-alpha.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@2.19.0-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"5843cdb5ca60d66f1b18e6b46982043f62b1b1f6","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.19.0-alpha.0.tgz","fileCount":21,"integrity":"sha512-KK+7SMe3KPTUULuf0EcGLT9hLmsKB0cNwBbiedeBlDatHPydCmdmHNMFr4l82zcDPa0aAfxnK9L//wo1iprqUQ==","signatures":[{"sig":"MEQCIDtORM9lPMdi70hPgZqWcYwlFD4BVHmbtx2vkwAgFMDkAiBBdy/ThN08N/NCZUOGd8CIdYTS+3RO6TESq/9PZXbsxA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54554,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfeyxfCRA9TVsSAnZWagAApUcP/0fkCb3tgrMCEnICWeS1\npKIU/H7uvEYYszvtEqmAl7tjOH0wsQuFCYdlpixMOqYHn/IJCoIB2N73Gc+9\ne0ZYhNT2yCDSj8Hp9vKo9LUNz1jl2uYyIpW2DlUt5wloq5sVTxsPz9P4GR/y\nPekDf/JxXdSxswesGhTYcJ8sM4imcKx3IH+NA/1tt6SzQFNasNIijE9C0WOh\nHveFaYS+I4894vadurObCBqf4Z64HZoChY3J4w/yzYCVyKh+126YDqGE0kDU\nOFS5wbaPE8p3t7Z0qoB73cYBWu9UmvPWT7Xy79YxwLr0Dsx0/rOhuahJSktG\nDkkL4y+pillFVP1sDqPAzF7cZTjtAokHIkb+ixpaRz9rPAvTsdpY56ZZkrD6\nIKjumQNHX1brtr8VQSM9agsMw0ZuuLCYXVCAChuoK2J1haLgSYpx6SZUTroG\nx+JelBiETzpDPwjkAhx49BjQaRZe4DZDNHXKERujfWbk3pokBS6T4wyg9lwq\nidcgiT6qXLA8wrZYPZmlj8yeLmZzlQxyVuFSdGc25CzsNu/Q5ksRrfvFoPGT\nvK0uiD/x3lcwY/pgS7MVwFYbsIRuRQtjve9eMgeiCML7Duxqc0moYPGHgFbo\nI7FczxUX/+Iru5q4jhRydBZZJGqtxb3b21orD+PSx1MtvBFAM7ip27TErKYY\ncpvT\r\n=hQq8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"507081eee4cbab5ecceee39de341f8941d2d7b06","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v10.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.22.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.19.0-alpha.0","apollo-server-types":"^0.6.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.19.0-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.19.0-alpha.0_1601907799996_0.10520226461252191","host":"s3://npm-registry-packages"}},"2.18.2":{"name":"apollo-server-hapi","version":"2.18.2","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@2.18.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"571db86e76a7ada4fca54539f037da5a8027981f","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.18.2.tgz","fileCount":21,"integrity":"sha512-UWZ/ZeHXRZs0F8vBjS+XnS3jOo5Dp4eDSOg65BeaoRsMEuIpvJN86oCf8oMr/f7dg5Idpzu59PevpWwh30r92w==","signatures":[{"sig":"MEUCIBI41upDiACdeVuWqyhxRWfEyTtPPEMCh7zFJOMhJ/MmAiEAjXCVQY5+1hfWOaspNltdFkNQEue2wJcawYtMa0J+XfQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54530,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfe3B5CRA9TVsSAnZWagAA2YEQAIDqa9Y9ODUh+rp5hW2l\nJVCMHKjEPFzoVYOjorhQm/qvtwLvDyOMPyCnt/uIOeQO8juI4EkG9arX6plu\nBFaVCyLiY4ML+y1RhYptzl9rzytD/Q/RBCwjUZ63EIC1IspEIw/jZfpDON6r\nTxSsTi9KPr4PNTw2CTxthA3+gxQUFuhp2D9S8NNYscD6sG6KYGpuOS4Ju40B\nXLsAmYlvxv8ykQCpLkqe64+QRD5Cn8Mhg5h7ye94LHpF08JKcf8OFSuVM9Yd\nX8Ha4v0Y6eg3Ov3migiJ7Mg1s9xZEhpky+Jzeo6HgI/gtxZC/ACcojnbc1zy\nR85Q8t1H+xsjH5FyN4URVf1oT4oQIdgbrDWp333ZAnX4eDeY3imz1IsUBaQN\n3wU/GspdjDu1Cm0Dhcl3sIIXsMB1uYEgz3JLxwer+obiwJr8OVoLrH4Sgq0m\nTyw3/bD/VY5TgQWRTIOxcFjNzXweF+U3cGv6XSI2YBe5CIe3PUoo+L67KbSH\nM692PeXXp3Oum5I2DWzIbWieNIz0MAbuRS6+LPEUJ+3Y4zYtd2LOjCDUxseI\nPC7g1swxX2edrcHNe0Zw/IRg/Vy6f1yVukSeDwTzb++0VIsRiCOgCsbb8SV4\nmv03fzfdv67bUvnJHGO+xSqgGfWmZ1tswF/IzTWObBo+Cg6JlBWNTEY30xFx\nLe+3\r\n=tJj0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"a4786b2fbfd2ae60e1bf1cfaaced3f9c8d174a93","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v10.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.22.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.18.2","apollo-server-types":"^0.6.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.18.2"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.18.2_1601925240938_0.040251738774607526","host":"s3://npm-registry-packages"}},"2.19.0-alpha.1":{"name":"apollo-server-hapi","version":"2.19.0-alpha.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@2.19.0-alpha.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"647ea58569bf910d9c8a92b1886030f555e439c4","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.19.0-alpha.1.tgz","fileCount":21,"integrity":"sha512-trt9+rW27p55Te4p0y9fwT+lRBtsJXWEhTPklV/7bkAeXZP6fh8jhlRsly193eIyi+P2jaFLKx+2lBl4Puz2jQ==","signatures":[{"sig":"MEYCIQCEKXYGy2Vy9uF1qvTfoQTrRhRuWJfj3mKcdv+xPs427wIhALzXtGATOlkN9g96nex/nUHTmhFWyC8kzpqQgVXvFVxC","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54562,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfjdwNCRA9TVsSAnZWagAAZ0EP/R/gmgYenbwbFujIjc2a\nrcAwwIWsZMJMTUS8gvA2KOzUi4JPt2vD5GKzU7Nr7cTsgx/S4Da7HFG8v2mR\nMf4Xgt9Um3YsXhliDrFDtFnQNJqDNoms+yQvgRIq7RxFf/gWxWdiYFzj9s1q\npTHiHxLmBEg3oEak3B24xWVECXPc2g8CGepPt7YEKItbNARJd3uc/bhSloDE\nvZGDdOY8jAh1BTtLtOYZgRk43W5zugXsgGhoUQIAZ8CRLynhzIvwrVItJ6cN\ngT8SInKHmxf1svlFIuRNtbtXjbj2ai2KdVbPdIJzLvOw1tLfgUBuDYkYfM1V\nOjl8bXH4vLIUMeKA8EbvvBduq7pkuNTfSc7MWgwmNOwiLx4qrQDeJMH4AC4G\n30ya2F2Y3QJCtmMSbbVVsM6m+Dh9fr9jWvof6G2pBr6mPdjd3T+JZ9Q3jk2m\nsU0BUxzVhHRk4tD3e50gh/5OX6vv3wVs9cifndOPDbOwTzdR8BOGE3Lmv9gA\nnYNZlFqACMvM/9HIvXQl+DzsVMQfWtNzYJB16eyPdveSfIKWtwXLLZIFgV6G\nZGejh+rZEk3ple5aYT4PsPdFYtNKjAUhItYj2nUfABSS6yTsLPHoLkP4yCBH\nOsdMLjzAbMNGqyx7CbU98zDLfMPpsu0WwF50plAHwzRNt9OVLFtRGJyHpDvQ\n20mT\r\n=cCBq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"495f8d83689340357f6d8ba959601913050e35a9","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v10.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.22.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.19.0-alpha.1","apollo-server-types":"^0.6.1-alpha.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.19.0-alpha.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.19.0-alpha.1_1603132429175_0.692163909513752","host":"s3://npm-registry-packages"}},"2.19.0":{"name":"apollo-server-hapi","version":"2.19.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@2.19.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"fcb0135e4fb52d976b0d26609803a84756a11a12","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.19.0.tgz","fileCount":21,"integrity":"sha512-X9eZJUoloi43ysoCnMpohIj0Zc62JcmA15WdtOEA2l/YVc4GOtB7o0iFaFc9XhhgNx1z8WECSGWxEr5IEOeZ1w==","signatures":[{"sig":"MEYCIQC5vXqBg5TfpBy3XEpS/PgiMkpV6RRgKPT0BXNT9k1KvAIhANq3OdQUyITw6+GTP+Idrp7Ixq1wcdpIPBQd4keUOmll","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54530,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfnHFhCRA9TVsSAnZWagAAFWkP/3/wn0zbO7qVx4+1uunc\n/EHD1CAKQsNU3szPAN6Q4L8maYkekU8SQA/cCJXzis9PuJOHA/Fikv3Te9Xf\nBLoRvuP9/VeQY+wAR+D9Yrm+Zs2oa0HE7x8DJzdU+tiQD75QlAjqjgYdNWg6\n7YLY6PnF5QDDdqK+fOLv0o3Ug3m5gR/CWel7FuJc+S4ISDtBGKmAZjJSO2AH\nTt19od0zTIcBakIlL9+36zedQ0gTy4SRtu3zNhsQdzOf1A4x+i/pkRwzL409\nTUXJKboCmGRP1rUh2XTGoQu2NIKgoV6wAMhJq+pNXb21vphpnkYjrv3ra8WA\nSSVicSi8gw3gbxE9dcLV/G3iXj58rzeS2a1TxS6Y8dLri+MX69a3wU3BBUtI\nKa4UDpSnkYLP+/DbJKjkC3aid0gWJVW5eEebVB/AU8CP84/PXZ8f8GlQxuBh\nYhy/895Ngn6873XEv9BSC3/mF35XyVrbJGcl13obhQK7UbSPpQQ808Iu4AKm\nGj/cQ/meR9Y+dlf8dJSbcso1kFDa65cqOFPv3nThuPuSijwqWu1Xi6YvJRZo\ndvcG99k4iQHM41I7B+VVNia7nI2fs8q4h5BQ028r0FJTavk+3IvtYB43ReWu\nhBVsEfLZvW8MAqVmjS3JxwWMmS0EHzHqYPJ9GwRKOHAZVllWpVm0wXBUZce7\n8K3P\r\n=1DXw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"4c6d16f14ab735ba0361057d75e51adb6790426c","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v10.23.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.23.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.19.0","apollo-server-types":"^0.6.1","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.19.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.19.0_1604088161166_0.3948185090444265","host":"s3://npm-registry-packages"}},"2.19.1":{"name":"apollo-server-hapi","version":"2.19.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@2.19.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"c28a2c4d8e436a930861687bd5d77337166ec565","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.19.1.tgz","fileCount":21,"integrity":"sha512-wihVit/ZDvMbw32RIVzPZaL2j8LriZ2IBrLPq2UyBy8Oy29pjguZseg4ehiOUtaIQoNUJi55TILvyFVfMJirgA==","signatures":[{"sig":"MEUCIQDAdTCD5IdoR/V1YqbP8p+xL598LkIsfUve7LSiQAnT6gIgSfJZEVIh6vGtAoj1nCUzZ7tJRixCdP6tXfKuo/i65Ts=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54530,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf4nwoCRA9TVsSAnZWagAArKwP/2R00qDko9799yHHpTjm\nlRpDM8CccoW7dUcLHxGgWcRbsQGjyroJaqSzJTacqzcN+ssG15OdQQ+smomX\nZh4xVigc0m3NU4hTvBEPxNVKoS86hCUJbf+xQ7ZH44d9V36hpLO5P+hWqI7u\ntwtI+j2NvWHIE5BUHVHRhBdpCZ9kMJVFGEwu2M2wvBCozjHDrbmGkwBaW7oT\n1sBo5y84eh8PdFJ92ZEfHqPJqxllQv8CPWa4mCMoEuc7kJ99N/ZnrI+OCTtF\n1Erp1ZQia20pUdVAV8Y874ima2wypeAPqfvKQe8huCvQvgNIvcSjHPM44+wC\nw21WALE++kVaFiNOO/WqAg/BQDJvM3iEHjK8/sHulKKrx10eGpalpIPGxjNT\n4Tzl1OSqf8KmB/gvOEHjTWyTRfOUMPlr45wWZfgUhc4emwcNYCLsRzZdB3L4\nYwaxVrkQ7VHGf0USvBIhrd5KpcPbFZEXEwX/rHtwnYOMYPkd0iv9B/o+83hW\n4/d0ke7i+fOMJGijj1WzF8TDZvoFC5Ves++dgyO4WrwEJcKtb6KYO8TncF9H\n9MOUUh65ZZbqqiOA0LhQtJgy9aBI3jCDhJCiWLf1Itrh2U41fHAwfmrvH5FV\nSR4k8ODQz0Vym7wkb0eRnrCKTto/rPeI6S38JeJbyCZjsJfGq/mfi9zY9Ze8\nAsNn\r\n=eKks\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"7e543ed5540ce5995b30b1bb2a7b54367fd49d6f","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v10.23.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.23.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.19.1","apollo-server-types":"^0.6.2","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.19.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.19.1_1608678440051_0.39304282401323154","host":"s3://npm-registry-packages"}},"2.19.2":{"name":"apollo-server-hapi","version":"2.19.2","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@2.19.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"dd180eea73d5843462c533fc06a926cea721465a","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.19.2.tgz","fileCount":21,"integrity":"sha512-40hORRS2/V1sTtlK5cj3Mk/2UuSg9AsNIGGMhZPhF+o5tJQ6uLN714hMwZMizyHo56Y2yvIge6eQ2AzKn7cDtQ==","signatures":[{"sig":"MEUCIGmUS2S6LDeZTs1gbFoT96a5/bli3sA+0IsuD2/wpuENAiEAqra1kNKjEUI+hJdib2FBCZ3I8XR1i5g5+fdKgSzsMnM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54530,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgAHaFCRA9TVsSAnZWagAAVFwP+gJi7iMbO2GMDw61qm+/\n2vEgFQKR9LSW8AlV2GCu+xxiN3lNceYkCYDAljgcZ63q84usYzpAUFbZX8b8\nHYDHwwxa8R5NeP0poTxoxhCMbUBzH32cPWhk8h3lOAbJZHvIDn5e/vqoKWvC\nWjyHoeqS21rgvplHsTWMeemLFnurUMg/+yTdfmXA+kuK2G9fJltnRkQJwWwq\nANzSflQmYEL+nKeqEQuvIb7Ks1Eh3BnADS0jrJ7ZxnfX1r388KrUHftvUhdX\n02vR1pe+vy1ZyVZfyd7ff9XCpRmlqs1a0t7nNdBW/3Y4nwIiJeIwjNoq6zJo\nBMfT4E3DQArzflcDLz5+Sy2mpmrHHTYYBeaeraZBywlsmwrSppC0ie0WF+uL\n2D3KtK5nbw/UlOmyEvT7mIcOiCfiOVbmSdgv1l8ODQq6+aXPXD3HrHFlKnbm\nfw6HFePlRwp6RcqglDGjMOqEsBoxu5oCAebgRVAM7m9r4DlrtYWBk1NLRctN\n3AHzpQ625dgSq7L9NQ7Dqyn3tGmhikwn31rxhn/rfeMvjgqMfQnqhbl/YeyV\nSrTkZe1n/fUiqSq9bjx3Z3i7zb8SA/VCSgBWIrcrYYX+JVcCZUaDOzRC2np+\no+oArtIxCcVS+1OEGHOm4G4s1m2+ASV6bWX65Ykfa+6jfJP+GBULl6/DDkBG\nAJpT\r\n=Llrm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"c212627be591cd2c2469321b58b15f1b7909778d","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v10.23.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.23.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.19.2","apollo-server-types":"^0.6.3","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.19.2"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.19.2_1610643077147_0.164069850434444","host":"s3://npm-registry-packages"}},"2.20.0-alpha.0":{"name":"apollo-server-hapi","version":"2.20.0-alpha.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@2.20.0-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"6da7abeeaa9c75110c3ca37b7765c2dc4fd21174","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.20.0-alpha.0.tgz","fileCount":21,"integrity":"sha512-idXQjCNpVduDNA0xpdSErNDgUu8aRnKRJ7JjAymINC2tYsVopARTHne9UCG/D9Yk8hvWE1mieaxHKHc5boxwCw==","signatures":[{"sig":"MEYCIQDlHv90azQxP13eRZRRd6A7mujKr/4opJC/buxL3msCmQIhANhR20C8MwXeeZvwWhAULodMgjDS/0TCAwlhmXxyCzTe","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54554,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgIeE+CRA9TVsSAnZWagAAWkMP/1zoQeEhtQUv4qZG2aqV\ndKe+C+Os+ZwjUK9TCFVdDDSfHOFmgbqWgwNYdLCbDZul5L3TJB7Q6bDhqyNv\nZky1gmnxtU23zQTxKMZyrXHVirvyNy7tRw4ydTXf+IFH5DiPLTlbXM8lGgOA\nr6JjlVa0r1Iwro9O3CjL7sLsMGpKbLXPPbuhydGRYYMPSSg2nDFf4qlqClUi\nc66b370af1ID/SWaNGjKCOkZB/GEKtilrVY6GjxbpX+4m1Kgd0XLLXgAYQYu\nLni5BvXJ/nEOo6rWzQaiI39ByLlAcSIe3O8Fi8o6zXhce0yvh4WVPMTcZneJ\nh6hSf8LBCWyUJI+ET7zGWlEA5ENJSUI+FllMQPac1sGprupFdnP3r+TxmtwM\naRF0ceNZqeadP7L92/CIKVUVnZXsaJBOFPn9NawMcmR205unF0C3zTM8P822\nmPghKbJ6uWN+hL9DXB25u90yJEKT39aNht1QpAlQQiU+c+/9ORfoK2toHknw\nLc//rRUOtAtDXv+mmEqcM/a8EJF+Nzw24DiMWid8pVjpcsPsHRaC/Z7mQrkf\nyg+KQiKD3UdRptfE9jOGw2fpFs61pyOYVyS4GKW99yRVhHkV2oCS6NrdnYzx\nXa7ZdBJN9iAHeu0JI4U1FO8s+Ti8mNBnhknHFkNmK2GnloJ/65s3kMfKvgqu\nUc2X\r\n=gSBO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"d18b7a94a6984017955e117060738f190b6f604d","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v10.23.2+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.23.2","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.20.0-alpha.0","apollo-server-types":"^0.6.3","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.20.0-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.20.0-alpha.0_1612833086419_0.8854447645688444","host":"s3://npm-registry-packages"}},"2.20.0":{"name":"apollo-server-hapi","version":"2.20.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@2.20.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"5afcb81321fec61d8ab0203ca033802e6106b3d2","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.20.0.tgz","fileCount":21,"integrity":"sha512-9XfqAExqBsmWZFEAlNnbP26JjKoukfXaO9aCwkoslXcEDrtwzGXQ97ZB647F7IpeM+TYvoqcu4K17+uYQZjMNg==","signatures":[{"sig":"MEUCIQCFrlNkIZWPcvgRl5KGPl/IUBlXyJMN4SYcUZI0uG+lvgIgM+AjJEh9xJzQIfWPaU+zgG35xGAQj3XImHQPNkcU4no=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54530,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgIxWACRA9TVsSAnZWagAAkpUP/RdyngXT6Og+zvYxJkxi\nEOJ12tWvC610guEalCuW//NPbj7F8Q7S8l8b3K72rlGQForw6+Gy2HbQUuPO\nJitllSy2vxVdpyqebo/w+bRpHv5WfA0eiJCa0cfCbIN74O3kI0mMQX3Mpk2E\nSLfnxWqdchrfB+eMGQOvJ+XaScaSJuUvfngb2zJba/OUBmL+CCgJxAS6PAz/\n2TeclypA7RcU/kNNraeMLoWxHVaGVcVIHC0xb0duOv95VRUHSNHYyaQIXbD+\nXFudVuKs4qeL9aBgFGJP3mZ02AtJAs2EBwhy5UexEe2neaajS/F5fYyKaRgf\n0kLBl3JypiXzyDmK0+2GNiw5ITT4O5BZPyszd2BRc85JVRp51omcucbz9FlW\n3SBOh+Ne9amosoimp5AzbOv54WcgHttQ7rhUNlKrU2t5Nhdk4PSepJYRiJ9z\ny+spTeTnhdSOI9fJUmApkJbueZs6Xz/aX/SOl8LIhwXKGK8dst+ChsR1PC1d\nbcXZiHBe14S2usyi6RPdkMU3q2JhMkMEERfw3gYqJyjHZpfTUmWbFw5xQ3JX\nQOFQbe5GOyaBrF9bGy7vHng2Lnh8ZyWio2DHRIZlE+jxJpYAdNaW7ww9e/DD\nTKBxD7mgVklkcU19oKndeKn8g9wbH7XaeREhj3ZHUpLacj89sioMnNt6cK6S\nHopm\r\n=mPkg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"baf9b252dfab150ec828ef83345a7ceb2d34a6a3","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v10.23.2+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.23.2","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.20.0","apollo-server-types":"^0.6.3","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.20.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.20.0_1612911999675_0.7404711541831672","host":"s3://npm-registry-packages"}},"2.21.0-alpha.0":{"name":"apollo-server-hapi","version":"2.21.0-alpha.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@2.21.0-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"8ab629dd01ff59d3acfd01925b21bfc014a8728a","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.21.0-alpha.0.tgz","fileCount":21,"integrity":"sha512-nHIsbdNAMJIFNSjlv71v1qwUiAkrhDjzZfaC63ux49qj4cPjxxchhSd8N7dCwnF1TjUMvuP5wrHqlGLFYUQ3Vg==","signatures":[{"sig":"MEYCIQDitz4MYTKSa4S4J+aDareE6i2pEWVaFY1fkBJkjQaH9gIhAMbqauIwb4FUi7x1Y7I9viismtYL4AUpq12yb1Ew9omP","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54554,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgJYKECRA9TVsSAnZWagAADFMP/0zTHISQuaSwk0VDDCYn\nUUx+PiaAvw4UHbygS7s6IIcNAKyW/BVN3gQEpnQpQeSd/E/UbKO5W5nHum/5\nd6A4Cg4x8pnJA+d9mU9VgUxq1dBwKM2Da08cTIn8o9eo3ZYKLXxFyhA9HfnS\n9Ij3WgLBg7K8lK65V0olvDt/Z4OG1dAcVUvZD4fP8ZL1mpukNnyNiORjTZ8U\nYnkP44SVZHUFlIL2MCP0Ty6p8frtq/ZRkh8piSd9/URCcVNpLbwFBb6h4j4G\nrdalluF3FcyrvMGHP5rNZAkVV91TKLrdCmHw6cvY+ryZcQEYTGZBZf+x8OXe\nxIm/mRLG80ITNbmKQL4D7pB2xgHvQSkL1Y+msODetkZl5J1u+39+tIFkcrJ4\ng7jsPdUw87wkXX0qft68e98PS9cjAdc4XIiddfMT1p+VLX0OWle/DoT0mdSm\nrxHOFbs0UbZYSHSdU+jTUgBvYWsJev2//oKLVf0GE8LVXPTINzMiHCrtD+7m\n0F2be2RkKKTX1EJU4Do/c8iLFpVdEoiIMAMhLCFnTIpLtU8wyequc3tCcZG6\ntuf24DCKiLtqkvpp0wwdbxrIR1xYh+rezn/ORdICHnLZ2WXd4azEFNNAu00R\ndEISWrMZb6exWeXk6j60h5gHLBdoEF/TwDhigbImUmgtug/26hygCmucknw+\nx+He\r\n=ymfK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"3642ce88eb6b83150a90428721dcdffd5bf48a4d","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v10.23.2+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.23.2","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.21.0-alpha.0","apollo-server-types":"^0.6.3","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.21.0-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.21.0-alpha.0_1613070979912_0.6940095617695505","host":"s3://npm-registry-packages"}},"2.21.0-alpha.1":{"name":"apollo-server-hapi","version":"2.21.0-alpha.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@2.21.0-alpha.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"cb0a9d61c4b9c364fea2996ee133fb0111e95150","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.21.0-alpha.1.tgz","fileCount":21,"integrity":"sha512-CjAFs1dOuoeNERetzWmr6eKde539wPnfwdhdDM+9HdupCmOHWNmKSGFNgGnuaY6PvMC3Fa09oun7LN58/0/6qA==","signatures":[{"sig":"MEUCIBHrFgYhGpyMeCkrXnoBx3sApO7p27dP1nuyivbEywoZAiEA93B9TtUwLL8xD/Ar+viNU83L06N3nrdu3Vi5K26hJlY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54554,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgJYtACRA9TVsSAnZWagAAD/kP/jq1WlYA9iHIsb507BDC\nz8fWJahySgDOUYCCRYn/7jpUy2XMQmWT4AJdNhR6UUtIBlYS1t4vsiql1q6k\niTiilIciXFMGzhsiweO/iwCxGfFOSItzi2Sj/UdIIe1Mn2cC33ayVlV0I/Rg\npMPfRRd+IWTBViUsIEtV35eVWV2C6jSEhDpWI5XC2ybQVPDGz6qsYqZq8E6w\nmEXBDOrR7qrBjSf+IuPPlgepB1W1IWuHYDUWI2mTdoh5epWT1eQIRbR7STGH\n4gzzTPKSg3BL9eAZZHTRWV5j/jx20bsjIUe7qQOF6OhaInZqucnf4WYNa/2v\ntjUHgELtLwET3ruXU03waTTAarnsM3nN4xZmHS3xGG4TRTAVkDFl8COgoSUr\n9KS6X7z6y/V/3wehvvf7RZgMMpfa9YdiaUpYaKccenG4R7Ye30PO7mHEI6ka\nNNnT0zFJjfcRRyUgk0Zce4ad1pmBv22YXROND/2L8kTUhC9P5pDVgSznwlOP\nuyt8/PmUfgut8I+Xvc23xSnO0moPeyRyOY7nvEX+miYVlmYcDFCIO0xBAAz1\nXrdXY1m8h9SkeFQMaf4WGcYRuogsGrkTZQVNPI3uwGXCoCLdHx2QgsY9i+6r\nzV1gSM/cuw3IDX3/K/ZdLtUwMVekJ0nWJrBEDkoOPAyZTyp/KoFPjtq2fq+G\ndgJZ\r\n=8Qfm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"26279de6a638ff1e76c34bd3f9177669a4632f83","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v10.23.2+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.23.2","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.0","apollo-server-core":"^2.21.0-alpha.1","apollo-server-types":"^0.6.3","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.21.0-alpha.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.21.0-alpha.1_1613073208863_0.6879340565566148","host":"s3://npm-registry-packages"}},"2.21.0-alpha.2":{"name":"apollo-server-hapi","version":"2.21.0-alpha.2","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@2.21.0-alpha.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"6dbf696c1c57914c0479f1267fb50b89e2a3913c","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.21.0-alpha.2.tgz","fileCount":21,"integrity":"sha512-K8SQ00Isvlnzj6MeOw43Q+OGxshq+nDalL8FblDtD9xbhIdVs+aETimAO7iwJbhfnTiiO2R8wsqgzFpIZAiP5A==","signatures":[{"sig":"MEYCIQC5HHhSfkalY24KUMTblBn+BCaO8hGoAMwZW1wiaY6QAgIhAKgrar1iRWr2ZcAvVLPFUQ6EHqrkzT5yk4D+iH0YS/1k","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54554,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgJaYlCRA9TVsSAnZWagAAAegQAJth+wl2k5goOlRhWoOx\nP0uCWarSYVAt7mfwMPoeW1+ItCXKLdOjoPLv2PznZ/ZisJ7U/Mx0c9ZFY0/C\ndHydbn17x9+OMLGnfURhxQ0c5wmnoJ4jU4UwER65eGWaUke8OM7FZLFGD7lB\nXR6l4awdsZxXpbk9Q1bsQutYLB9dRelPVDRWRb0cvx3lnT6qW2t9iZ7u13UP\nYYLh/2tJsUZF4o+mT/dd43iSTQ9SvagXk45dz3wnNbAuEyFiJ6sccj373xev\n0AdPQESVEQPPenvTAw26QZ0YbBfxGHulVxqQolMUkWnY7X4zlWOXhDP08sbH\nhS0TdTqJ+4NL5FyJBKSqae/MB8Uo6hDGsC6/TY0yziWKRhx/SL7J8tMDDIuO\nQzWHRDKIa3kmxmaQ3E1+fi4vkg2zdDpmowpoQ9f6EIB0Be7AbHigrhC16/Xw\nmAVrY/b818/e8C2ZMD47d1Y37irhqwGulZ6HOHfRYGGbYrX6FkhMtTGycwIz\nB+r2MdrlBvZvt/zir8y5kDW1OKbyR0srVOYIoCL+RgbhHYhReJEHhm3c0clW\nKJfXqLU/XGjRpHEYZbHVnkHDM+Lsw4JqlAt+GerdJrZwKwlBm5rk2SH7rr4/\nE2iXkr6buRtNh4NT5rem1vxumd+agGdifsl7IGd3mYmrGe/GU+CZeiWDLNWk\nZylm\r\n=f6oi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"ae81d5546aa73e5328f9b08a4166d7e50d8f4f3e","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v10.23.2+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.23.2","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.8","apollo-server-core":"^2.21.0-alpha.2","apollo-server-types":"^0.6.3","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.21.0-alpha.2"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.21.0-alpha.2_1613080101404_0.7845879935873592","host":"s3://npm-registry-packages"}},"2.21.0":{"name":"apollo-server-hapi","version":"2.21.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@2.21.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"35813cf55539deb86d641fd50d6fd5f71a7536c2","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.21.0.tgz","fileCount":21,"integrity":"sha512-OVuYh54eiF3iU02aic1wxOKY+1PkVZNswTnQq+HrSRf0Oufg7viMXzoQE2OFcGewSEUEz07wLvAFkWoU7k4mQQ==","signatures":[{"sig":"MEUCIH2MjomeyIxTszTcHpPrvX8xHahjny2190kz9e2Aw1XnAiEArNzpOvskEoXzibP0DUGQR5QQbpiqleB3liNo4r+Yvwk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54530,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgJeCCCRA9TVsSAnZWagAAri8P/iFZEAGxYrHLBuvsoaUg\nMYd/1plNh8urmTjeQVu8GqDRziZ7wrYp6BGUtkF1MNXNVe0Iy5IVukPQhr64\nWlXsbPDRjlLbCqDlVF2n+eiZkVhYfBOPsTY1M5C3lMAR/g7sLkZOJnh4CFzo\nBFblcigmH8rEkoQAX5dm7Bq2oJaDxS9odyTtmxSbVcIKAhCffciRuk5WCSW3\n570NsmvG1QWfXyQ5iLHhhHwgHjQ2X3L/dfRrlD51IVTCnLxAAo7PAAChQFEk\nLhfWrSDWGriSA4DTyJRbHzwtzZyrAourwIHHveQxvOszoaQXTk8GlyH4Evnr\nizeAA9ocgmhUqhUKlgRJUWHvX0D0h3wPWW1oFKgDqpL5aR1TfyI5/jOSErK9\nyEeBW13ZxPhd67r7G2SNOGzY78C/e8M5S1RH/fQP7jxXRxPOPKHpYTLqHEB7\njNfouTUQpw//GN4XdiccQqut8bvHG0H8+k1I4JSp1GbUbETVwhSk9bNH94xB\nkl7p3YFrqyl0sYXprhFL/5PMX6eLQtCM0SPut+fJFd0k0VLIzob7rz3wzbS9\nQihlaLzq2PJkT+qTntVOVEQti59WRP5Twm1zTArPqTUuJf7PZNhIMyf5QpXo\n30miwTnhi3VJeNlOdVtDk15vSx8D6tTpNGLHF6g9aJIxLQGTqq/WMI2rIgRy\nz698\r\n=N15d\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"456487f425d3504c1b1425cbb7c954c664b0631e","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v10.23.2+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.23.2","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.8","apollo-server-core":"^2.21.0","apollo-server-types":"^0.6.3","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.21.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.21.0_1613095042171_0.6524966169061128","host":"s3://npm-registry-packages"}},"2.21.1-alpha.0":{"name":"apollo-server-hapi","version":"2.21.1-alpha.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@2.21.1-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"ba221805a21466737e300570cb7f144728e5e92f","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.21.1-alpha.0.tgz","fileCount":21,"integrity":"sha512-P59XA7KGcnFPwRQ+xwGWSppCbci1/izJNKp7Ofc+MVAPqMeuFvit9V1fx+MhBjKzKfSocFuN/eFMv2zmJWNqCQ==","signatures":[{"sig":"MEUCIQDB6aYCW6AcCOv+zRHvZK9d81aVhIqsBSpFs4nJ3PF1MAIgdU2EimMfqggiOKqehbpmquYro8k7MBQuxjGHpXDI6uc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54554,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgQs29CRA9TVsSAnZWagAA1QEQAKNCVkwS1C4gyt+tsbvu\nEeoqdnvIPxuXqlX4oHmdSRipazsbPzPPcJg+w+ce9zeYM+/m1CNl5pBVqLmB\nH/IJic0p6iXgRioMAUNNJNeyiF+RekCn6M0auHy3J7lW/lyg2bq+2ld9OXQu\n+PpysowoHcKDwwiYhd1WZHTtmqOel36vhTEUih2uO+XxDWLSHm8oGQcVSscu\nzfYuOkpP9ZrHd47hodmGdKtETv/78vry88lOkzqdQnCtiNba0sFcvQxoaPse\nXjfZUkFNtPtgvbXOHQ4xQIKPYjwxtDKotLT2FijnACE8hrpymzRopBVoeuf/\nj/6iDO2UA2Kk92TH5L/2Dn0m74PyR28e9h8IFrGlXLxTz5cgy0Z2p29ERN/h\nnt6LdX3Wq1alhpbchEsZkb7hMqFzYMVyEcwRjZHM36tcbihpIcWpMYBfCpyp\ngrSjcEFPxz9F9qphP1cJ/G8YS0S/CnIsg0yg+oz8dCGfvnSOh0Pkz+J89Pg3\nICw9uKNTiPL47+jTmX3EUecerzkGDaJsf9IKMIO5vPNiumoKvpGe/Vn3G+bx\nkK1BUBS9Y/ZK0TVxDg3St/ZlC3Snbr+DZJvJcsSXR9ujCSe8f1QFB6JlZUCs\nmp5pkvr4H8Btkhhv5ooZW3OikL2PjnrGzfRtXSrJR7vFYCtJ3qAA5a/Ee9pc\nQS2I\r\n=h9Gl\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"2397291e292dc92b378ac6628ff8d291c2006a68","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v10.24.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.24.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.8","apollo-server-core":"^2.21.1-alpha.0","apollo-server-types":"^0.6.3","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.21.1-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.21.1-alpha.0_1614990781228_0.23284494459318217","host":"s3://npm-registry-packages"}},"2.21.1":{"name":"apollo-server-hapi","version":"2.21.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@2.21.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"95d66d31fd57dd5644e66a19e28e1cb91e409f3c","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.21.1.tgz","fileCount":21,"integrity":"sha512-TgN1tNiNPb45nFPPAHLJXV7PYXVi8CYNUa/HvMY9ES7t7Q4o5ar7gEIe9x32rR4bJUv9Qx++sH4qMzAmRqUeVw==","signatures":[{"sig":"MEQCIH3khME/+7F1TqkWWwgEFpNhvW+nx+Bv+RR0+/+CUA15AiB9vu/bKgaWQZLM2C6W0t/zC3pymEZgSd+9LF99DFGgtQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54530,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgRmx7CRA9TVsSAnZWagAAFN8P/1/u2z2UIhDoqQPp4B51\neVRNLYLnZe2ZySye4mEKNbQEf7NivRh+I//Eym+n8kaiZYv74KD/nBe1HP9n\nPrQbuzCq/tjJlown8MG16ElC83Qc0SSppBlHbRVU0UPFQ9SZtor0n2BeMQU8\nqp84ZIqIk8Umqzb8coGasOVVAxVHR/9zbUIeTLxS0TVUeMCzQQcndhuHkMxo\nyfxL8XbQNOqEFOK6vnVaZyygLNL7IaQRDyzqe6CPgASQVCyR3HeEGpifpTUJ\npwCMW7MsEmkLQH2rB+6MyhbYcC1pswCgxzj/NHdRZyn3DbjQGzVPdg6nwu7A\nOT1jQSGrm8SvcPgui/e9vli9EWHlIgBz7QPyF9cxSDZz0j/SPlUmNikg7I/d\nRb1TvjxHOSNi9RqX9GhWkMkmadgwkm5WoY9/Xq3CyDNRcb5M1mmtfd8+oaN3\n3np1w9PLsWRMQ76pRgrZHtwCT/N7tH5P9kwkmONg2rHC/5+//euROJqnQOcS\nwG+5VSGzBpO3MiUN1NvvRS/lxB0kq0k540mlXB21k4U7buzbPblg8CjromPK\nPaY8Q++XJjjQ/CowahhnFtul9cn673TN6SZL/peq0E20cAFuYnlh0ZR5CD4b\n1xYwbsXTUiJPpESCbCMKDQN/GyyBgyumH7J9eTjnDU7VmviENHgE9DWO35Cp\nODOK\r\n=+jNZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"9941c8f027cc8fce6a15f8678629fdc5dab4c2d0","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v10.24.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.24.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.8","apollo-server-core":"^2.21.1","apollo-server-types":"^0.6.3","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.21.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.21.1_1615228027271_0.1417223377529795","host":"s3://npm-registry-packages"}},"2.21.2-alpha.0":{"name":"apollo-server-hapi","version":"2.21.2-alpha.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@2.21.2-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"566a00fc6aa9a9e9b7b536736f2073424722cf8c","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.21.2-alpha.0.tgz","fileCount":21,"integrity":"sha512-6x0RaPWlISTPo6Ne7n1axUBVty9Te8UXbV2P7K/AnSv5OytOy9udbMui2efSaoY6mdKAc1r4iuQyXCSLnpy+Ig==","signatures":[{"sig":"MEYCIQCI3nigWRhJ4QsrFqZl/cUouknIgDJegxtHVm6tBKcZ1AIhAM4SDoyeoX+xCME4KdjlpiXArnWNpXTxjfrIpaMs3WzL","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54554,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgUSShCRA9TVsSAnZWagAADHwP/jNnO8QkIoSpOsgXhNle\n5VO/Va1p/ERor6MdAADcHI9i8Z+69o38kTXWzK11nOGvRi78L1NfcdpbpKGA\nbgN5+Iosn0FLydOBakL35Q4ubgq7471oKpLQnuey+m4fhV4iGmxRKQ5UaEN7\nxPLkHkbNzOghBjLVWtxLcLjEOyC1LyJHkFWdXwnOlD03fKnVueYEfHmqu7Jn\nJ7744IaOyo4+Rp4oGoxZvCxHvelaaWhleFVnzpgaGYldk2VCYa/HgHXLQ5Dl\ni15Oljh/8ujtIEoxLA5jiDrFqmIdRwTR2DGjKUlaC4slVU/pdF7FlXuKccYY\n/ASBQ0JhayJIM+HJmgWVBqvjtfNTdqCpJm0HppnpthduEin/SZyRf93j6JCJ\nhskucY76+7vUS6OZy8y0J856nZxaLmAnIlJZDEA1FR0sDnIbiCoX8lIWjhlf\ny6wNU0a3hddMBxGTGoJL5bS3bLQl8RXiACDbq2jNx3z1Z/3yvCFb1yMSosEU\nyCXDYoWVOgaXsgcARcib8O+ROq7VNjh7dO8KS+iassZuMinRuPXUyWYbhgrx\nXyLi4k1BNmYyT8Fot3PW0r8+2VTVUIbGY5IZvRXqGSmyoxise+s/sW4odkPI\nX7oyCndJxLx+Cz4D4q4HwkhC0/ydITRovMWJsBLiIi3DUN/PmKsX/udpQiRq\nv1zK\r\n=2lyh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"2f717937413c56aa66470e76c9c8c423a95b67bc","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v10.24.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.24.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.8","apollo-server-core":"^2.21.2-alpha.0","apollo-server-types":"^0.6.3","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.21.2-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.21.2-alpha.0_1615930529263_0.26111084752968217","host":"s3://npm-registry-packages"}},"2.21.2":{"name":"apollo-server-hapi","version":"2.21.2","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@2.21.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"e56fbb5c26cf46028128c97b1d2bfc4722268185","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.21.2.tgz","fileCount":21,"integrity":"sha512-juwtIfat3h1GwCVhwNbc2U7AlaqSHRClerEfiQLUKaN437IxV99tw1LaqiN3/GXfUCm6bqqndhZv7YttlXiKhA==","signatures":[{"sig":"MEYCIQDQwKuXrHwEblmjsp98WCvtFUHhmcy3xaiLevx6YY320wIhAK46s22fmPbFRm0heXVqDmMKAsMeQnbj6zr8e0X0t3iO","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54530,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgU69xCRA9TVsSAnZWagAArgoP/j0zeRuSbRsf0aF9YrYM\nTihRybJyhyXSBJGQfHsXYt3umj3Ywh5JiJS3oit3DzTW0F1hE0RGvW8hPJym\n7nbrYcYenbq8RRlzwnMa5EzBBbf5hR33A1ymM6ZPTaCVZxnX5NJ3nBtVcqxm\nRXQEF6rQzKgoTjZrFoIvc7B1Lm4elksAVbP8Kv+ulAihWw+8vhvItlGL8JNk\nx0piUP3pKxsWvbC6a4EX19c4Y3pqGwejjWrKPt7bVcenwETfen5cFKeFJsoR\nDHQEInaFYTASZYT1RRYo7syKM2c4PgWVPvoS4bpelVVh2IxGr9UiJUUm9m+Z\nOZrSB1XokZ1MjtP/oiczN+8rujJIfN8IExC5qDK1zLYvvxokXcpsBhVxHUqA\nAYLe9lf9NB6pXF+riEbpeqGoSuEQHWcW9J0O2IMIPFZDkL0A26rShLnnXc6p\nx2vX/ZdunMTD/+fUNUrSV8gZNLXRU4Ou/DCBKJIHEl53hBY0s9JJlATRw/f3\n77DSjo3z5xYE0TYD/PfTHJF745FMPmdZvFC26MjhHKZlsEUzlsVKRMz8VR0A\no6zreh2eidJA/au2kApWgR4xsKC8gwFy7vaxAVKUuJh0QxYzXcS/SdvkdbAv\n2llIE4Mx4VST9RVKAPO0OZ957vuXE36Ajl5X6JkoVdaFQ/C6gx7JDNKebSDW\nG6Cq\r\n=+J7m\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"7d3593d2c27be2a74cba4adfb57894856d8fac81","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v10.24.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.24.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.8","apollo-server-core":"^2.21.2","apollo-server-types":"^0.6.3","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.21.2"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.21.2_1616097136588_0.8742632235021215","host":"s3://npm-registry-packages"}},"2.22.0-alpha.0":{"name":"apollo-server-hapi","version":"2.22.0-alpha.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@2.22.0-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"952aa6f7a73b6dfed3ab8d652f31410c9ca7945b","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.22.0-alpha.0.tgz","fileCount":21,"integrity":"sha512-hLEEjnBDdzwiQb6fqtpPByc60VOCYOOltK4HJ67sGxcfRQM9deOqgYJqk8H1qb4nOeije0+DHx1+tgqIZpJlGQ==","signatures":[{"sig":"MEYCIQDdgUOIkBBkDYRrznNDUhGHc5yr6inhGe8e3/aQtsZPMgIhAPflKM0caHMuBKq5YJeK3Pk+3IHhNDGil2EvJKJCaBYM","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54909,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgWRM3CRA9TVsSAnZWagAA2/cP/0/LXLucpGC60iw6kgao\n7e8tR8LLhxpGLs+6Z2aOmqvvcBvXLavPzE8k68tqPOMIe30gVSj80Wk0aP/6\nBNpW9rCAsVNMSEhszBHZrS/iy1Vhn+iHW75AIKa2CE1Ty3wzq32vO3pIZ8O0\nqEoxDrp6QnBQrY8AOeW5378pRNjEuewpvMOSR3DkWoGpWq2z3ZsvkGcxsgl9\nupVejD88lbVJx+B645hAQX+dWvxleogRjeWf3oPiuvHPFfxQNaJx3ExbMGaO\nlaY9N5nX1TUjh+GLgmO9hTdGrbbfJzPdw5BbpRhZyy9T5I+/tjBhYTBQRT4Q\nlDga+WOaiYpu6wtlIhLy9cnltetI8DUuGJzd2a8N9731LlcxSNr0k65NjjBz\nNXEGxS27huyig4/yAkaALMzcdCbc2ijWsRL6DXY5ePtyYKUfBYDQH3WI+DaJ\nVkqdQjs90sPWyRSucregRK8OoW2zFoS5WfzM4RBbKwRYG4MZg3H8b63lKOAr\ngkdsmlhP6aGppx59ZW95rIXNwlCUCU2FDG72uPvp1tK7Zs/gWq6dACwqPPYJ\n9JAj/LZLOJNpwIlg0k5ArfmGdk/gQq3Hw0yBEtpz7/LOO8EnkL41t5G8JmDk\nzTgR2k9oW+Syposj8nL3jfywAdk80Upk60rQ6DfQB3TTAXrUeF+S388Mdp6w\nU+jL\r\n=aSNp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n  await server.start();\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"1682a2566c135381b67310922ab7fba44c4f0644","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v10.24.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.24.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.8","apollo-server-core":"^2.22.0-alpha.0","apollo-server-types":"^0.7.0-alpha.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.22.0-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.22.0-alpha.0_1616450352344_0.3865287524956831","host":"s3://npm-registry-packages"}},"2.22.0":{"name":"apollo-server-hapi","version":"2.22.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@2.22.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"1fd56b7e0e83fde49729b0b831a25eb3b360ca36","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.22.0.tgz","fileCount":21,"integrity":"sha512-6tvWJM//da4mMA6DYYrlJeK/fgKglRGDs9we9uRWzMGkzGjr0JtsU4+RtVH15vyBRz9wPI8ZbnAdke9QyYQuqA==","signatures":[{"sig":"MEYCIQDRasqpqZYjvks380NESbYrXNHBxa9J1txL4zxWICP+vAIhAMKDHKj3+tJRptWGG3eI9XGgxSfBXwZv5oYXlOyWaz+N","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54877,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgXSqqCRA9TVsSAnZWagAAbwoP/1dJFBobSqhgV1U0Z31G\nk0hzd8MZUrYyke6A9HSdvJ8aPjGYee/4YdUAu/RQaNFuzyi27jmfAicy2xLE\nb6nzMkO4Q0t35u9cmpeDbYz4Ji68i2KxPsumsT9qjCGZ9TwPOD6VSXB2Y2q/\nOD7UHvtQrgANBOte2TI1kWObhmoSeSddvBmrv2UtH18nWZd4Z1RtQ3b58u6K\nXDjnizGQQlAbuzZbG7saSQJ+/PvVRh/F/oiIue6PmQ3lDb1RFE9Os+jQ/tdE\nO7dAeATHyO+Kw0z9QseTDMvejQanvTKpGeV7wv5x6FH6m/FNvIEz2d0MJkiE\nd6ZYFs0h7r0TJo2GnPt+DcRYjMVJSLlswo4V7vaS60/X5RQo754cr9gcz3RS\nKCxBMdibWzx4cX8vbRJ93NvEZ6zH250Lc8Af7G8UZwmSia+24NIAmKXnOZT4\nIUmNkCRGDgn++XX/f84KVDuvGzdaRAs6GT2TLBjngh+BxduhiwwD+aRAGcWv\nc/i/RagAtnZBdENkl+DaN74klOoCa9HFkWiKbtcKRiFOyW1TWEAIOZuURO8U\n5Y2v2mQZ7hebZ7KeE50nr/LCar3vDueOyRlayAyx2LyygX5rVUvRPJF58MdM\nAkU1NGm82449bAoiWm39Oodvj2x+m4n+IqsVgVCV52eYJCk+vHrPnPoT/AZj\nbhUT\r\n=Z3hF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"93499e703a375ff0fbd128138e46b574074b44e6","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v10.24.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.24.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.8","apollo-server-core":"^2.22.0","apollo-server-types":"^0.7.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.22.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.22.0_1616718506016_0.49500493270763646","host":"s3://npm-registry-packages"}},"2.22.1":{"name":"apollo-server-hapi","version":"2.22.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@2.22.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"c9d2b3b5821fe43f696e6ffd9dba6baf21b29797","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.22.1.tgz","fileCount":21,"integrity":"sha512-Yw5v8hmmpJrFU92ZWfGt7VA+3FxAAEYpbvWDCnF6fOr4yzBdzNmLStA5SWYuWroDwxr/iz2prjyQ3OEZ7VpHgA==","signatures":[{"sig":"MEYCIQDFVnh/SC01ocxFTvupSE24SU+PDXG27NEzCTkkdjmpIwIhAK2aRMvZB8MfDToGHFcAsT3BJOsy2pLEPPL2inGKyp7Z","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54877,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgXWqKCRA9TVsSAnZWagAAHTAP/iPGOxTA5NT7TGc9HYo3\nyqceZpJFSx1RRqJidpFB5WWqMwJQt2X1iMWsOOa/6ddOk3A0MwSE5KrGvyRg\nN9WOYofsjVit/6wKXKUZ4CeDQqBsAP712yQ70Te511TXBsxoQC3gpdTW1OUO\n2YInRL3hZQRCuqR4VIJew2OIXgnwzeMus0LA1qZHbhhAEIl79leJyw5kitfb\niWMP6XK0C/qECquV9NS8U2ly5YFMmbpvJHwiWx8baDqdz1KAfy/UmIGb7eB0\nhnvNzNHcFztlZIDuCKcCZzAGzYY1+iZXR5n45mGCTGHIhnLZ5L7qCNhjxZbt\noH4YLlrAbGTUOmgwzQtzVMDzXV+BXCoECqhf0wtvWJrafOy+rmkbRRvJ6anW\nC8PD/VFNg26SjHcKXPEdUG6SXIDV7i/k+YYSgyw0/1JGG2OjKXfg0A6Ulat4\njMRJbu2+yK3qXk8ojBIgkGKLkjSNnU4lQjaLpv7XlYXsXYfJoU+O9TMpz6Kd\nDUrzHWLlw/PF25RURtee7V80GXn77y+QXlHwurI/Sr881W44F54xbS6+MBOX\n8Rv/e/3IsOvYxSeA7LXv/Qs/8EDufZ3d8ARDgRAVZiSfnzxV9jxBn+jRGVRz\nkUauxgA4RDFlDQ6Zysv5Smp9Yh/mg8/hE9ORP1cp8oI9Q+o31qXnehBH/QgZ\nmO1Y\r\n=tuX2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"6ad8f8f8ce743553d99097f77aeb7fdd4a536e7c","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v10.24.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.24.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.8","apollo-server-core":"^2.22.1","apollo-server-types":"^0.7.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.22.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.22.1_1616734857578_0.8234484461731448","host":"s3://npm-registry-packages"}},"2.22.2-alpha.0":{"name":"apollo-server-hapi","version":"2.22.2-alpha.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@2.22.2-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"4a7b8d1366accee4f3a4db2a9a9c14a5e5b9f307","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.22.2-alpha.0.tgz","fileCount":21,"integrity":"sha512-5QlgY7dZXOhsC9CnwltXvbWP9nyElnvlL04npo1UZdeBKrUGPoMVy1y69kEXFhxdFLIeKN2y8/UX8odwOr/PYA==","signatures":[{"sig":"MEUCICQONr/8zRob57VUDS/Menumk7gHDFuxIoFuarHWT79wAiEAh5oduD4Ds+W9+ogFiTos4Bea0jlDaZc5ks5RpavPidM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54901,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgYinKCRA9TVsSAnZWagAAoV0QAKN+qgckf0NsyDn6b3SG\nBeVx4OGNdKrd8b59lNY8PMsFqnC4GiC53hf7WNqAQcw5PbFINC/W85qFzUk1\n2+KVmBJ7a5g7mUCsQPWgeuveOyHVI6rrvdTZYP9hdu1D35ooy4uWbfibhD6H\nQ82zXqFCbBh4E6I+emtoBu4WjpD8id0Raubz4iuTlunC1Q0H3n6IF7aEmBiA\nN5yMCj7ChTu8BPf5p71GR2mvld8ZzGdaJXNNSMZI0ExImVioPRqycz44HqBu\nA6aHW04wftQkZOq0+17NLKssLOHvXmF29ckHvMZzlnVX+7fHsr5k4Sx2ijpu\nX+LiGnDkq0jrBnQO8GWUJ63I5GwzV/FQhIYJRWKUJfS+Ys/Nnu4n6U9oomvP\ncfmPcx/MFX0fRpe0nWwkd5H9jRE0mG/ivXwzejn8Qi4IyTwVMQNK6UzYWQni\nbmCBVJ20q4va8Qisik5whSN0u/lhWyWYfZG5AWxXNDI0ltHm6m4TYyJp1o21\nP6Ms8gT+elpLQQv0iA4EK/wITbSzTml7gRUc1te8ugSTa2fEtoWTVUt3zQ6P\ni1GFl+q68rZGlhDA1LSze+zdCwOqXgbZdK1PclAzoljiKAOyBjEvcOXFtaNs\nCPHZh7wvoxBQLCp9lWTXpFqZlvd6pLIi5z2h/hLWxIIVl4J2LJIc5JxW0N7l\nzDRP\r\n=ZSQa\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n  await server.start();\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"f4f14d3d6f7a278a21c334b39644199d2c919202","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v10.24.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.24.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.8","apollo-server-core":"^2.22.2-alpha.0","apollo-server-types":"^0.7.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.22.2-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.22.2-alpha.0_1617045962354_0.9852201608109399","host":"s3://npm-registry-packages"}},"2.22.2":{"name":"apollo-server-hapi","version":"2.22.2","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@2.22.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"3814b0fa47414f9d07a421db707bb523b9b06edb","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.22.2.tgz","fileCount":21,"integrity":"sha512-nDaxmHZxlEYZFxkDL+A4wJCtnbmqLOuJRZc1cBY3SA0kadKKJygLdH/MT4PbwUSyLY7TaiCOAhHeOc2vrmneSA==","signatures":[{"sig":"MEYCIQD8Xu8f+U+wZiiOuFdwM3Lohoz/PXIWU6SpLRlR6n5KvQIhAL4voO23KU5dtRArMnGqr0cTb8lwj5uXrqDFfaCByyT9","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54877,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgYixiCRA9TVsSAnZWagAAD24QAKLoib/lZZeKHeebkTqU\ngtEkTaiTfRVUTqMa+d9pdURmcGtDM3eKDA6dnlLQ4urDBwOFdt9l9niCnuyi\nWMTERrzy9w+7oWMNvK5sKj5VCQy/JbxCqpHZqRPxoVPUi1pDQvz4J2htrl3R\nmb//vu0pnSzDYfV0EMiMgLg5fBDd9cwGDBoyPfzgDlfPS2x0Q9Rz5WX3kH0A\ncVl7fHc6S2jP0GTdJG9yVUgN0Kgv+Bqhok/Xfth3VLCAOSpN1uQ6yPl8oVOl\nUDpz2kq7WwXLVO3lXpsOK2mdiduY/xGWiX9S8UpAXUYDLbmF4PX3eoumA9wb\nuWNzSMviicligj1NNjEHv1UJdVO/RtoHyMhxFx5pSgLalDOt4UDTMAoeRdUZ\nV0HkSymSiFTwFJH/JSrJL72MUv0TeVJtvPfWCjMMcYTOg9CRoJ/GTDpoJDiz\n6xw7rrhJLUzz+RiRY5P7JFvPRaLQGD60PmAnbp4zHWwnOf7FBr1D3LWkN9sl\n3eOWyAuhX2JXA7McOt/MpWN1YPjf5ovFeN8Jfm/Pe8gyWWifdoXT6XNSXpfn\nn4DA8yLzVTLcwSiNAbgMOd4PymuXag5PvzCgnZppuV+AAsKrkgIjrE8hzDYE\nUFL6PX+5OLR38sIekgUj023D3ghl4TBdzBJYJvBX2fpzLELmU0g6+14YPaYY\nOPNt\r\n=cxfK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"9562af498407e86923d96902683bb5285b849800","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v10.24.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.24.0","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.8","apollo-server-core":"^2.22.2","apollo-server-types":"^0.7.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.22.2"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.22.2_1617046626311_0.46164712142873565","host":"s3://npm-registry-packages"}},"2.23.0-alpha.0":{"name":"apollo-server-hapi","version":"2.23.0-alpha.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@2.23.0-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"f116870562eb34901b934c72504f0a6f75a3c7c8","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.23.0-alpha.0.tgz","fileCount":21,"integrity":"sha512-qEUNWweAKhu9JZyPiSCbA8lvJOxOKkvTNsyLriclD72eN06wVvIk6ggG6K4cIuK5DQEhXtOgS/SyM0hklr82vg==","signatures":[{"sig":"MEQCIEm9VKUgA6a2m2B8ZwrDp2gOqPm1RuAT7J2GHT0J8o/gAiBiD/GdyTquTDYygn085MIcXx7g37195Ib1mbhD7nuqOQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54909,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgb5suCRA9TVsSAnZWagAAWd4P/2xT9Yj/GlCaDC9g0FJ2\nmdlOjVXX9iV5GeNqAEbEu6AW5AU5SIzzL/WwcmfakFcGpXXY2ME/IhbJC0GK\nHbCfGBFEkwgJ2DgD3JJA4+f1pU51U+mupEQzc2SG6bqx9fBAVt14S26ZFHPF\nqI5y+mVs/0FY6c3Yqb+bVC/Oy/DwJRPDI2BBM3Kfnj8Xibe+RXrmATKcZH3R\nFP1akY5eOyLR9iydJfsOVeuCK3jjdMOay5SrImyLDEVIlv0nHDTncaLYdE7T\npCf5lQ0PsomMp9N4SEvoburRFLl5X/913qhqgR2WunG7zR9uWkr9jqMWt9PG\nClLz/K+RaYQnWEqeg2ctf33pq6Kj5XKDdWlmdP5LrZkmOQ+QsJtME6gvMF82\nYU6X6IQDgeSm9QIGNE5slmAJIKKjS5AESyzN/J7utrhTwYrFBluBLOukGOSZ\nWvc9jq8f1ofHfa+dmdr0jEFzp9qKQOm3G3fd6AHExwdjRfDw+e5o2htuDWW9\n61SIy5QiOVarwh6hCLeXY/9eqP8WfU2yvG2kZPpG1GlqJ4T4FNa1XZGZeVEm\n1jnhUeCNWOy10K/pdGb8fVxK7FIO+8Al4FE9jaSx9m6Jasc/qB2vLrXIItd0\nn7ekBaBycBQbYKckFdWSJRqMv0jtjEmdDwHRJrkziH3WV/gGDbHY4m31Jxpv\neq1s\r\n=VgwX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi graphql\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n  await server.start();\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"9d1cbd17e61bb0146a0c0ef2b207eb100bfc70a6","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v10.24.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"10.24.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.8","apollo-server-core":"^2.23.0-alpha.0","apollo-server-types":"^0.7.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.23.0-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.23.0-alpha.0_1617926958454_0.05861529302617852","host":"s3://npm-registry-packages"}},"2.23.0-alpha.1":{"name":"apollo-server-hapi","version":"2.23.0-alpha.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@2.23.0-alpha.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"00c2d8dc2186a8a2c09f86ce7bf5f905dd35a4b0","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.23.0-alpha.1.tgz","fileCount":21,"integrity":"sha512-lwcHH/oRT/jWetNLTmnGAoY0oYNoW72mnwX/jHzmdlI97/8Tw9f0hihcvONFwXbF0icti6GFjVlTCisIqqX2oA==","signatures":[{"sig":"MEUCIQCf7vb3ZjYlZuoLy5sc54LbNxG8LZk+CYwCHTLz3r00TwIgMyZBzVGhggaNejNU3r4LDBL8WVKJdJFzs49NvzqiXjI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54909,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgcLPvCRA9TVsSAnZWagAAwpQP/2HIVxLFBXhNExMIJkZU\nceivXUvxrqJgVwQmzZC2dXsw6ourqWzS3yKIOaYoWiMhaaQdnrAaO28cLCAT\nqxCaULosLeOR8YctyZtLGfGYupWznx2HgLp9RteowebCr1YylVTBfOSVA2q4\nhOn4O1F/2JCpg2IU/o7btQwJ7e25Tk26daAT9mkayEQ1RIwPs99DZFR8gb1p\n8Z4A/JpWQRnRpMxywBEvjOqcuI58CvzNJZFDIMTgdovDQlOrQ3iJyBuXAhKe\nE4XwL/ropIM6W1aPMmSo9R3RwUxmdFqMgRszgYYVx5a+yAFj0ULywdif/6Sd\nmxL8xMfjwpsjouvjFAAjwCZ8B0z/8fjCECnuk6LMaZ4mSAzuLn0k2xR7NY3m\nJ4satHFgZv6l6HTmSdCRGF6bDRq45BHfaFyhOtrNlRVv4ZST1OLJdzHiKW9d\nA64ZcqbEjXGGdSbf+YY6JUILcGWSMkP7PFzWH87nPp0dWACeUnVRNU5bBhFh\nIAs1U+y25QPqia82+g2lTPeG8/DN8Vl3jmS+U/4SiGFqN67ioB24Y1r2uOcW\nFalNlkUbwANBWP0+ReiwowRL2W9JK8aSDX+dB7EWsF5ZnwqneGh13cGz6JRV\nChzHIfkKsUa7WibSDSzvzH+UDYjv9ivBa32yVALfyCvgHWV2710cU4/9F6Ar\nEBOC\r\n=xrVt\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi graphql\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n  await server.start();\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"3a369c3b43ab389492ed107331fad4f947d5217a","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.8","apollo-server-core":"^2.23.0-alpha.1","apollo-server-types":"^0.7.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.23.0-alpha.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.23.0-alpha.1_1617998830990_0.8542977871148985","host":"s3://npm-registry-packages"}},"2.23.0":{"name":"apollo-server-hapi","version":"2.23.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@2.23.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"9fc66ababed70eed9015e8668f1575d1c55620b5","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.23.0.tgz","fileCount":21,"integrity":"sha512-6+OKsZ2N3dEeG9H4A9MgXD1XApgYjyCDJiCqcv5gDBNKr/XRQI9BFRAzayQtkCsbrnOphsGlOMVa5pxm1R/b7Q==","signatures":[{"sig":"MEYCIQDIIT9ILdprlQVPPDAOYYyE/p/N5lMIvD7zwWY299xeNQIhAOMYCcfp+v2TCr6O5Z+yjrnqKarKVXGoIbjiGqfbOG+H","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54885,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgd3l1CRA9TVsSAnZWagAAZ1AP+wYbTF1kFmeWivwNsTzm\nMOxT7qWh5kugK/6x2yY+cWHQ/xG1mBLVP0oJ8HeXctGE+gwffqxvlTkjsGkv\nDwCjAIoiSRo2+CfU0ourb/ZXHCA8nfyEMU5GtPeuRRzxBtrIqbs/BnxGe165\nkLw0GrYKkLmwSHp3JQv9538UDiYp22fFKGlwn7KQpUKHrdJsmHT/r6nyvkKS\n9bqTyIPXsUVDT5RGXFNKnlmGsCjzskfK/BEpoFutwLkE3TEGrhsFI+rXPUFN\n96OShVDRosCA9+MblNq7LjmSvE1q9IMAsgWkbjTMhs6g3b7aRb7t9aXqFXVQ\ngJFCMDPmrNJ9AIWkxyTwHGnCCECw079LvsA1it7zr2K5O1nUM0C/nca7TPaG\nXTwX3NkO0cCLPR6nwKT75bj9XLR8w7o5CQSWgT4nQ3zkGZbqksE7mMZ6ee4f\nYVD2xuWAmUGatz1Kjpz1C0OlYiritIxgre1FHFQdUihAAYWCbjDSufia1vQw\n5wq+Q3SHiF8bZyTXL3aVZImE4FiJrhpmuSerDdZk6GepCICAr97fh/mAEUk6\nPhQJb+gn8tGK4d5zJw5GNhUbmDQbPO/QUT7tU411Gw3OKPClsf58ERaTCUSV\nujND2EfZsYosAoKAwz0A+izVZgrF9tWUDoj7XNwQI0OTyK1ucSfDQE2z2ipb\nGXdB\r\n=kZJE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"8a4cc583b692a30670d1893c01851259dbd70ce1","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.8","apollo-server-core":"^2.23.0","apollo-server-types":"^0.7.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.23.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.23.0_1618442613009_0.7059688686467771","host":"s3://npm-registry-packages"}},"2.23.1-unified.0":{"name":"apollo-server-hapi","version":"2.23.1-unified.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@2.23.1-unified.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"669620db45b71baba796b258822a144fdf77f7ac","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.23.1-unified.0.tgz","fileCount":21,"integrity":"sha512-JbKyogkiDaNmWr8B25ZPbN4zDu3uKGNZHVNLw4p109UmENfs5QnwNC7TTGGV9Mxm7NF3ZyDW56KmU5sj5AJ1EQ==","signatures":[{"sig":"MEQCICDBHONm+1tlHaV48IZ/xlNgMLE0ehknmi0xY5mAFwOPAiA1xDv1s3cG0riKASSX0O21XocgstijYqQuyazv6x8uGA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54925,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJggfcuCRA9TVsSAnZWagAA0/AP/ijq7D2wRQfHD+giEBUc\n+E+Uz0U4eT12GakpHrSz70oZEkAdMjFr5CW4huEOsyETD/Pwz/UomWmPicz5\nZ/5KG7jtfhxVJV++hWUvcME2Xe8dftATMB3s6FjQr+n6O2Ff9/ZDeEmeCRyn\ntdtbJPfeECTI0236eG+oIInE3wii5TLnCEwJcr8DfyADvlTYK/zR09DwFyBm\nrCZoenMA5s6Q6/WNAq+ioNIPmolLWVhC5i0Ej0eWTLt6yH7A2/5j07bTR6pg\nQFoX/i6bxkb9hJ9IxaouEs5ooWRAGwa/EWxCWQ4/1uD82eYvs3SQD4SBWZmV\nnIf+7VX5QiWT5C+0Kra/1NF7uoeqJQsWkttQsyZognjQXbJwK0PfiID9dH5M\npATrxgI3FbgaoZBvWiFTn4em+J9yan03znWeA7LXRP7OcspvidUoN+yqCXx0\nbfFpKi+8bmss5J/KfkEri8nWSfjDPLDKqYRSK8LiACohz2x8gb7Zk+EpP6kh\nPkK0n8wI/+HRuiHPH0OSBTW7ld9AApj1wJkYOWGi37FGRtEGTyW3pOY8gVsg\nIHT/EgXL9E7h4Oz+Z6hhxnD4kXo7x7I4thNryHh+OCeZvVhRX0rzVyPzEMm2\nzkcwzQWZUTrDe6+xElWAYMeod0JOTxOckjMdpAOw+/thU+j+CT3qKXs8WeIY\nfidD\r\n=3FHD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi graphql\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n  await server.start();\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"6972e2379e91b08ccc458a230c6a687099dbf108","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.8","apollo-server-core":"^2.23.1-unified.0","apollo-server-types":"^0.7.1-unified.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.23.1-unified.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.23.1-unified.0_1619130157679_0.6043714408533771","host":"s3://npm-registry-packages"}},"2.23.1-unified.2":{"name":"apollo-server-hapi","version":"2.23.1-unified.2","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@2.23.1-unified.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"3adff6695b00051267ab5c2fa6d25724129fcd88","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.23.1-unified.2.tgz","fileCount":21,"integrity":"sha512-6h721nCaE/MnoRgGWZrki2hoTCGjaVsbyv9YvfbgAiae3gtCDajrYtMBWHvNe4kdLiq4fWSICKGXx/iJB2mezw==","signatures":[{"sig":"MEUCIECEPW2ev3VQ0kkXfyx0hXAsHIY32YZDbe7d299BnvLDAiEAtZJYNer4rSzpBmaN9L6JR+e2x6VSW9Aa6i0Bv8INqf0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54925,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgggFMCRA9TVsSAnZWagAA45EP/2MjxqnP0WlaTtpPpdFg\nC4K1rf4hVcKIkL61NUzMmeoWtgvxiZeoKkPq1ef7nErD7N4kG7k/hQGvkdTv\na3e8/vYcP8MJrU4ioFbpl7clzo3vK2qXI4vjRA2lCE+NuzmWnvxAWtXaSUyz\nHikh0AtIfZaZYIv8xTfiOdN8+idTx/+s6OQbQez/t+39gFyakrV+S8YZd/lQ\nGYrdR5mUDMLZbasAH/j6weXHVwMSoYTBQWXwSgnIp9sfr4QbScvC9UG2/Anq\nUi3CUAYLb2GtybxlFb4eG15UO4BXrDwxiMFUwZqn5Ezl3CtECHFYTyVH/wP/\nTZrvhTv1xOElTO9GjjOJZstWKwOaUeOgVO9TjUFw0CRRqMk1cSyg3Mghb/ad\nEg493cRr/6LqDf5rK3UjE7wwdX3/cNk0NTOFL5e1BJvlXAHuTfVxiZaPC8ZT\n5DE8iBOCUqXHWQgAw/yZkH6GYJuHb67iTEbcCy39gGr591RlzUCEt0STRDGD\njypvOhicivdH1ZVdlm3/560mIJKMiah8iQsLNTUWYyWPJoG4OfTi6WhJJzry\nP+T3IC1LTqCeurAwC3uF78MUAwEKHe6SWFfeg7hdRvCvO7zLhDzglWE4jRd9\nYlODSsT60G+gD8anG9InShq2Fprn88S3RKujSEhqTtbF7qXBEOJG5Z2qSrH/\nvYfZ\r\n=5xDU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi graphql\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n  await server.start();\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"20ded004ddea79faea267addf88da76ad91f2dd8","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.8","apollo-server-core":"^2.23.1-unified.2","apollo-server-types":"^0.7.1-unified.1","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.23.1-unified.2"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.23.1-unified.2_1619132747496_0.496174620318244","host":"s3://npm-registry-packages"}},"2.23.1-unified2.0":{"name":"apollo-server-hapi","version":"2.23.1-unified2.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@2.23.1-unified2.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"4fe0646ef0cdc446e6326283139164ef024eb646","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.23.1-unified2.0.tgz","fileCount":21,"integrity":"sha512-p1o9XKE0pMRZtYY4ud5j2DzZPHedhPmmXlRPQqF8h6LR75DgLaRtoHU1MFwmDqaJ4T9ob0oJvGHhyAXnRwrQzg==","signatures":[{"sig":"MEUCIBhnG/IVbr6OpnGoIiJvvwBeVZqU+I4MZ5Sunu/WrU9RAiEAtFaVriu7pYrFUMX/8rNudhCfL3178RLY2BN89oSBDzU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54929,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgggNiCRA9TVsSAnZWagAAvv8P/2nQk0frhfk8xKstjVrq\nQELCDmarnvusG3FkZ5t+7bytZclSNLN1M0AXk12C+n8dIkJVKJewCtnsYcTL\nEfXzClOVFJOqTxzq2DnIbA/nxi/d8AFXohK8V2ALkJemChSc4vVWHujuviC/\nQeBRznbsSpeH5WDHt20QbXNBM0mj5PIPpMQ0oy2zrMLb+eyAMMBEpLQpxXXI\nwfUZ3qP+mvlBaBhBNNYvgd1YMLJuc3m3saZNEr2jKd/hU2czaXTDy3jchjb8\nzgpEGuPx2Fd3oTMOiu5R2K2b1iwe+dn7l3lgxxl8tLSUib7gZF3vjTJT3fb5\nKMN9D83hVBhspXmhbEMVCmvgIcMmhTcu89kyMxHQxiMKEY4fvkicwbQCwJQJ\nO+spxaBgu8N9qQCS+bDsAQlCISa59UKrnf4T/yCDC6xF9DxloCVXQJDbISwT\n/JfzlH9u3B3lOeV5W/BIbTUFyj4+Z+cXblMGe1X6R59ck5pfUGXs1X8SXC/L\nqUQ1xp8VvCbvmorsOHBW2aJ5jVT+APzw1gJ3vG4bCOj85oxEkQVhhWTDFlJb\n38tgo388xD24JxUzC6Db/I3Yal7Ae8kOtxiPfukPwmyXzgJ6S01K/FbHzwvm\nlDQ2nAQ9Ea8bi2hmr0V8ypM67o/aaI3pfgsgz/PekEMuFS1mP26XknU5spJR\n9XhR\r\n=94Ps\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi graphql\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n  await server.start();\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"9d2889bf59a781fc297672fe463ad4b88e0062af","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.8","apollo-server-core":"^2.23.1-unified2.0","apollo-server-types":"^0.7.1-unified2.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.23.1-unified2.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.23.1-unified2.0_1619133281902_0.7041532119053686","host":"s3://npm-registry-packages"}},"2.23.1-unified2.1":{"name":"apollo-server-hapi","version":"2.23.1-unified2.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@2.23.1-unified2.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"71129213ad1ad1e749635ccee484a3a6a145a2da","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.23.1-unified2.1.tgz","fileCount":21,"integrity":"sha512-3I45QL69p44UaOG/5fzwZFh2TfCDJXeVME5ztpSQOesysTYBdabI4r3uP9bYCa3pypTb8DcyNEm2zr3nENH/PA==","signatures":[{"sig":"MEUCIQD3xOo/iqp5nVTSRwEAy6wX1MBhyDsNYGZg+Rx7hEuPFgIgV4s5omA8RekRgJRrAsfbSithZNzUHrT2BWWosmpK0OI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54929,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJggl8hCRA9TVsSAnZWagAA85UP/3C4XYzHRgnvHnYlITLC\nZK7i9xMnl8OINRMUkILq8CjRteMAzJOcgmmc+zvjoN96gJ0Q3PiUd9x09jNg\n4kNt5w6VuQRnGza0b80a5O0tuAL4FN9qoaT/9+4zdjY7quptL/LlVRs25Woj\nTbxeIvVsoPKArnLKONbTG4D9qTMXZf+OQ3W5OH32fvm+JtktxCHcikd9qGRf\nDlAuPeSP8qz6LbeoaaPKXXRz3/vV32x8D+ECZhrBK2Cl6+M4VfoXShZHyUyQ\nYWCztSl400Z84x/BYTSv51iY3IomYAw8idTnG3eDFZ7SXgDf0wYY3Zh3mTqJ\nCZ4qmzvE7IHFZKTj8hTP9AczWkRWTWZxV/XZJ/M9rHluscy/7MOqF0H55Yyl\nulwId1H1iLxHjGiz0hlvDIz+5o6H037cjvCsc3vuXxVzcxfh8Wkl0GCb4i+T\nzTuobIO4SaMXfKkINAx+1Fr2+u8G8NtGtoo/BcTR4bOTbAlfNTopBAJNidXO\nkNLJDEYrrkwQBVrbwjt4qmZwQY+zh5A4TcZAwyDSpDly6LL4pXiHCO8uMd4H\nNpJABHNiiGqmA59wz6W6tnBBewntPpJ52FN78SkfzAuBCf+k9GNgPuX2oaRE\nqXaiONr+aXUXud94594GL5Nsdx8ld+/lG2YXG7gURJs+jh2/V6A0z4g8vEbc\nNf5R\r\n=q7nD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi graphql\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n  await server.start();\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"b17019065d5613198ccbd22f8fbc6e5e18863b3c","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.8","apollo-server-core":"^2.23.1-unified2.1","apollo-server-types":"^0.7.1-unified2.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.23.1-unified2.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.23.1-unified2.1_1619156768758_0.5576236810845632","host":"s3://npm-registry-packages"}},"2.23.1-unified2.2":{"name":"apollo-server-hapi","version":"2.23.1-unified2.2","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@2.23.1-unified2.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"5e2dafd27c1a1bc089cc3a27338c0ca3b6eeb303","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.23.1-unified2.2.tgz","fileCount":21,"integrity":"sha512-iCUJyWbhF9yFGJQ2ujwMvHkcr6AeCaRgc0SOe5u1wrzbwYzJjj1h/XAuu1Xe5mV1N9fFa3wBaQdfs9z4V/+Veg==","signatures":[{"sig":"MEQCIC1cnvHqo5e+kQg0b3fGXh0WNFS9wM98coRjqrmcE65xAiBhy3A5OjeEy00BrJZ+6z6Afe7OT1gIP63fKKqf16gbag==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54929,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgiI1kCRA9TVsSAnZWagAAjGoP/isN0Ky9B1emJjIfT9Mz\nMppFQKG6+JOuTRCvYewdAh3W5tqlbQC3qdlNRkEIPuLiTFencHeM3p8CJv6D\nESPdMHiKOxB+7TI4+XrJxSO1RXmQf7PVS8Cp/9hKhD8Jj60/0l5oNdD89jjL\n0re8ruTpAHQxLtZ8ObuEbxo99P/2q78GAbQArWx9471n7Sdoy22RDCCY1qsN\nsxbgWLJyzllfYcaduhP8YI4UAiYYlx9TdT5YJI8nOhYsic4iWC2ivcrA6DWI\nZQVXPWwWV3qBliJQHThNvuq1Az9z5ur68vzb+F6Eq1qAN4fcBv4lmSC8KjXE\nL0ENjt89DYmD4cTuKhRcQjudK9sz0tLKs9TRGvnz6u1O5BBxXQjGg7KkwKLp\nCeQ7i8522ts00HklEwkwpLzVMfadRiFPmR3C4syG5QPGeSQXf7YOiWHAA07Z\nono7aofBVR9TKKiOI1U4iymlCLD896trbXRmzzdUs+iw++yDeZD91mg3uprK\n64JLg8f0POffAhC9bjAx9GgJQ5Ekp5DW9vPMmKNPQTjXG/2OqQ1jNtWemWUW\n0c7unLR9IB8f56o0CjvKrqwp6i6V3pLhhIf2ajnXLOSr+RDk3iAGhuTDxVSX\nAPjMaJ+NGJW6CwYVYquP0nqks3FKzMaCpa0jNIbqNOVdnhvMUreVvxBOgEu7\nB+aZ\r\n=3Qj8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi graphql\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n  await server.start();\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"414d1839ae9203ec4d7ea04af4eeb6fe11aea19c","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.8","apollo-server-core":"^2.23.1-unified2.2","apollo-server-types":"^0.7.1-unified2.1","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.23.1-unified2.2"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.23.1-unified2.2_1619561827877_0.9290701179923884","host":"s3://npm-registry-packages"}},"2.23.1-unified2.3":{"name":"apollo-server-hapi","version":"2.23.1-unified2.3","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@2.23.1-unified2.3","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"ffb015efeab7bd4a7b7bb59add98f2f1d088079f","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.23.1-unified2.3.tgz","fileCount":21,"integrity":"sha512-aY6528yBsmtoel22bivY9J1+SH9ik1BwMu+hze8MzJL7HG6LmBsXG6iO9QZjCknLuXn9pi8EmHwBF+VPUQtfRA==","signatures":[{"sig":"MEYCIQCHbgvJPkxDJOC84A4i9p1joHnXbKQyVYnoj5aWtnU4LAIhAPX7qLVPkrDkkjlIRJmG2OgtJa31Riea919VmA71qtvy","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54929,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgiJYVCRA9TVsSAnZWagAAJ4EP/joM0uy7PDecvkuMn9bd\nwQIczxMV+6i231UscD/aqm2BgBVcFDQzYFUNMD4+uKxKOATcDuqEcHSxYQI3\nxzTO2Odw2SXdPlyD7GMDUOVF5/fptvOWjf5tT7QN0f8DgvgZYAr3zqBwPdi3\n8jfSlEphnmlHCv4hhWRsx3V08xH+8snTIHMTOQ40ahsfDkluP5gbfWm733Im\nqOgzOlbTQWxVI/u0RzY3iGtSMdXcckpOEIiCBnie8yRvKwqib8+spNlU3U0w\nW71jc8nibAL5wxYLnaQOOuVZfp8wR1LNQ9WNZhtELOkRfUDPasxXfz71XSQV\n7FC2KjBbG4a8CqJKR9DUWZDBafXXBlg7Hku4OZfkO2zk5oXMrlXoE04eoDa3\nJY5AIV37pCUCsScsViPgTAFbndGqNB6t6p/WVgBn5S7TlAbRSbbsXRrhnuGN\nrfMiRlk7uqA2nqSPTE58iQdOkiBsWCK/Lle/Ca8S/jPQvlK7orxhrVLmx4MM\nlZ/66cPxA/R8NJTGA1UB/EdL+PN3e4RoKSkObuMOthDvPC7M2WYnQ+1i8ZVD\n1nQRmikGTIwyv4wGmrAhrgg+qQ7/vL2FpD0DgE4ZmF2ckuRo0kyOz0KeEiWT\nA6IC+zpg7hRYPk1Nvy7ZkOZi21AgUgdhT+Aj94NiFGK69DSTh+SDJJDazBru\nfUq5\r\n=audW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi graphql\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n  await server.start();\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"667744f93502a480e7aa3e8c09e4c2c4d4f59e32","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.8","apollo-server-core":"^2.23.1-unified2.3","apollo-server-types":"^0.7.1-unified2.1","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.23.1-unified2.3"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.23.1-unified2.3_1619564053463_0.4567690556369639","host":"s3://npm-registry-packages"}},"2.24.0-alpha.0":{"name":"apollo-server-hapi","version":"2.24.0-alpha.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@2.24.0-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"a84db259fdd84803cbde66c705f56033636ad517","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.24.0-alpha.0.tgz","fileCount":21,"integrity":"sha512-7u6ebA3RCLNx+mndiJ4g7tfQdfONUySYx0X3X/mfaynqEsPQCt6K1XDw+a8YNfhIKFrNQXeV6gDCLsrIdC4TNA==","signatures":[{"sig":"MEUCIQDzGY/TOduWcdZdiQ786OTZKGRh8ZiyE4P3xSULQuBsrAIgQownwE4fg6MAmXV9YdRxsGjKginFqPgdfC+MUapuo1M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54917,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgic1BCRA9TVsSAnZWagAA508QAKPi8YhlK9rTXQ12aS6B\ni75Gii4ZezAGI74OmJx8osMLthxMBTVigOXmk4STkKcLsDNcRl8KLZ9Vy8Tb\nNE8cvOj4sE/y6lIM0oOjzkhfOhL+LHbD87B5yk8XGHOxhgktfmL6lniOSSs9\ncV0gMSrO/8YiBPtS0SjlpTNlmBbPilGwgOP3ovGhEE63pwAHMA2Vq8aqGSd3\nNsra59Pm3yKfsSuOkyLXSjy6oCK3U8gl7dJcIZN5spl8Jt9m/Kh7uPKFrLf3\nRW4FqKcEcTXR6PRokzMLsmZzLtp4Fm0HQ5gVISiGNKzBIJVIEM+4y4CnlJpY\nvu4HVDvQfMT8u0J3yHLu1HgwBnSMAvhRQGt1lltdD1oeyCz0Rdf2VeVIvn1X\niRbvZlRu8mA5iVLC4oSjNuR9ozwGn/DdrDKoEZjXmDkQVZgpdtFC2r2GVrhD\nFd5h/wFYNy6xgjkyh8XPaFu0xp3HISZJ/P2Ha9/l4spIeYoNvHTOa8kVV7n7\niDM3mPgENvxJoupzNN72lbXY3NukbaUCnepzN8Qmpt8YjB35ex9A9+ZA2G4c\nceR7xa8WbR0eKcx6gpP9I41NiyqF8wAT1AE3wEKr56MSFg68vgqC6WZD49eY\nceV9WmYXBygYalEimDGaZcaJsWtNlzRWcyblKOwrvfmT5P0iqS1zXm+XT6+c\nVDGJ\r\n=Ky7W\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi graphql\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n  await server.start();\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"3415b0708fed87b393d9f34ef9df9340502d2b25","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.8","apollo-server-core":"^2.24.0-alpha.0","apollo-server-types":"^0.8.0-alpha.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.24.0-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.24.0-alpha.0_1619643712659_0.23666889443523753","host":"s3://npm-registry-packages"}},"2.24.0-alpha.1":{"name":"apollo-server-hapi","version":"2.24.0-alpha.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@2.24.0-alpha.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"db0ba21cf4f614c76ba540a087a06315a5507ceb","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.24.0-alpha.1.tgz","fileCount":21,"integrity":"sha512-4zN2ewZruFqB6nG8ezVSnJG2viVJZOLrHKWYm8TEzE4scDptecFK+dVZVOEQq2YYJIHKBOr9veqCG/P+ZSN1ig==","signatures":[{"sig":"MEQCIB54vJ1b3e7SH8h8sOl5e5NAdb/A6/4pxbKHJeFv8NqwAiAWr12us9P05va0UnaplcsWIr86QrVXHM/5pUDYxOTKdw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54917,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgizQxCRA9TVsSAnZWagAAUQMP/0tjxUfhvuznkQsghWIm\nOv/EtdLPQRIro1k9+sgjQoMKkTOfxR0hUAc/6J8zOlZ1bIBZ18127lcWMIi+\nLc/RpU98RHylB63tKAfhIGfMKFmGUuico8htid441nrujgoqWQsiaRxnzPi7\nr5//yL3smqkfWEybcca/hPShRCSnmLjKT5rZKnTWRDve4u46WDV+k2hfFk//\nLCDSqwjGr+XPt15oIyYGP0A8EhBaY4AnLyV1FXdx4fbnG+MShdnl51+8xz8a\n53RDKxhbp9KKr9TQHWC2ZYDvvM9tTdVBAYWJcFbg7k8N0Usr5Crk+tapTra9\nv5z9GW+vGwfmj2doCjQ1HLKwN+WMRQu5YQy2lejVbv6I19KxXZNjguw7jgb3\nAsmo4VZ4HFoMX8thqv3PCFt2HiA0AeSRZl+dZnZbnlPVqEV2sXZ2qBZTscDU\nvYOMS6Hm4m3x0qFRiOll6X9GQAgZCEl3wt6PaNVq/eBvQz4mJhXZoNltmRfc\nqDSPvbsX56DMTsRd3yQbDqODdkUvn/igOmXMywryO2hw8iNgbR4Q2bxa/xYv\nlS2snRxwZdVV6Yu0OhO2rjU1KvvLbx5Bk3hWQGh4zAsDCzx3kwhmu2adXR2D\nWRiQPD74Nh4BuEW3+IBPlNc2UfcW4H2VuVKXbTdcA+9pynSLXYxyf9XTJIyf\ni0ft\r\n=s2ag\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi graphql\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n  await server.start();\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"27275564a9ebf9251ed4e990c4ff1900b6cb49e8","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.8","apollo-server-core":"^2.24.0-alpha.1","apollo-server-types":"^0.8.0-alpha.1","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.24.0-alpha.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.24.0-alpha.1_1619735600829_0.42421758907840945","host":"s3://npm-registry-packages"}},"2.24.0-alpha.2":{"name":"apollo-server-hapi","version":"2.24.0-alpha.2","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@2.24.0-alpha.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"4445caf215882ddce228544cb080c931a47915df","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.24.0-alpha.2.tgz","fileCount":21,"integrity":"sha512-ECcIQntuSQpmgV5jygjf/HPFCEDUIGEyLeH2Qmb3DqLvZjb9JwYf7TO4yiJJ1sMxxeCoSU2fCzlTizlFovy2QA==","signatures":[{"sig":"MEUCIQD97EE0NZix/svvs7weYge+foSpCffqcvpMwmyrgfhrVAIgHCGrfMWmlt/+StDNa3/WTZ50HtInUnNdO8nYlAKqc8k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54917,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgjA7kCRA9TVsSAnZWagAAMbEP/jDCxOPqk7TIYvBzCyaL\nE8fxt7DfCU7ETaFpF5EYCgiP/kVWBOOWJb9RaP4Y3LLT+g5IYLOC4YqoW8Z2\nUXvxJD7iz/kFeZDqNqDW842tTtd0Maj3yew8umK+wma4SagxwnxGMkjcaytc\nTAGRRXMDyguBD8fY7pWIbxkd0e9tYDh6sqfLH/6xVlbCXGzrabn+D0cpd9Bp\nbXiDD1OEOLuIBWz3dxMv8IFWINTmo3lW36iC7CfYTgZYnZUJ7k5cUNr0QoI5\nS1/inEVQNjqtWLlXXg8AgCZ2Xz9Oqs/N7kZALpgb4Vl8n8eRBQx+Tvc31pL+\nM3j8YePgHU4gx+VisDsnRq2qRVVksYu7lo/Xa8kdeNeISvaD+p/Dqe12FvO+\nn1/z1rtCR8CNx62o5EpX+eICxqYXM6LV+mxikgwKys6610543mlKlQnU5B0B\nG2eRopFA6lgEsp7Lr4nIXdf8i/hVkFaV5amsTPguaky4VMLD56Oy6n8S5o6N\nvpd5mfuJFmH1R9w5iSAEoOgVdPvRucQ0iNLTt7ufG8Gk9/hreELan4R5k1jy\neup+9Cpnz3yc8YXdfbTPIIV5kKUyNxwkneIR/pZHVm5DNJ5okwxr/ZPuKPgU\n54Gsiu3qtn0ev9b94anoSWzg4yvvq4aShJd5hTFKbbPk38YCmU66gyid+JWQ\nJsiA\r\n=Acvs\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi graphql\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n  await server.start();\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"4e5f03e2b071c2a049836dd14f072f161a0ccd12","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.8","apollo-server-core":"^2.24.0-alpha.2","apollo-server-types":"^0.8.0-alpha.2","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.24.0-alpha.2"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.24.0-alpha.2_1619791587945_0.004271170008191438","host":"s3://npm-registry-packages"}},"2.24.0":{"name":"apollo-server-hapi","version":"2.24.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@2.24.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"8d92e04619b1d80d88719d01b1aa76cc21f26284","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.24.0.tgz","fileCount":21,"integrity":"sha512-eMukDPia4ABlDR8Rx5T+I2uQhjj68OvWQ9U0Hz1pLcLRZfgrowHbN3v5HeCgfKDfeAg3oplGCz/3VEr9y791fg==","signatures":[{"sig":"MEUCIQDG9ssBT5wMiJgkIgl6TU0G8ueQw0RSMadz4tX1UciLxAIgFCEy08xePcEQ88aLUnkwqVa/5UqKh4jWOAzjwrB6q0o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54885,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgjEgBCRA9TVsSAnZWagAAuwwP/1/SoCsyRe1BWSi6am06\n0VcXADSruSTXr68qCK/XKDmwtlGfMSizNPd/fDmuVWR1r477gc+l8vIn0GHv\n0LuotMyi0GWmp3mj71ELSqN+uIttp3210FLWdXMgWGsA57AjlMLq4gx08aZo\nHSORzgXoAowJR3dYRSjjv37sIL3jnU9ZHl/h3yQTd7YehOdtjlD0+NGEqSrf\nsE8eZ1IgKt3NbHwX1xMS9xVCqwGJ9WLsO82BKEQOUeMNyT2mZZBOj7Fsg27b\n+vIjavQ7ed6K/t+K8o/j36UbCnh5dh2HBRj0+8S3DX1LWIUXFEDamQT2xi/U\nhbsetFh7smOhUqn5Cw8uBfV2z1l6HPGcY5G4WAmm6WJIJ7RR0wvrKxnsB5pf\n044mNFR8R59hHgyQxHwRghOGayoOEqHXk9MpzhGb/z2WMQUE8KujOQQfT2pk\nzTZPwyy6Du/K7+iiw7OlY9q+MUv5U9c+Lhk9MNjZCfSOtH2m1J/0ZGCXYxJh\nGSJK0KxM6yp8TEopoJGJi/3jgchIWCDkEpj0gd7AnQ1AEuSu9iJds7vlpx6r\n4Ac9332Z8FBEY8cS7ZR8zxRk7AvARVLSymUCe9NqDi65Eg/w9ZVIK+IUlL4X\nWTpDs26hpHfltjFGCOGcReAEuybUItxfU4uea0gOLlUqvs8RolFZvoQT2WKX\nuPZs\r\n=N46e\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"f2349d0e10633ee79bed152f682e53730175d59b","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.8","apollo-server-core":"^2.24.0","apollo-server-types":"^0.8.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.24.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.24.0_1619806208522_0.7561944107780849","host":"s3://npm-registry-packages"}},"3.0.0-alpha.4":{"name":"apollo-server-hapi","version":"3.0.0-alpha.4","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@3.0.0-alpha.4","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"c749c80df6182a0586d49a895cb8d912de71bc7d","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-3.0.0-alpha.4.tgz","fileCount":17,"integrity":"sha512-7QcmNECnbi5TnUxMvPwOKOiunoU7ps134jDHou/OTlzXiJcNaunaRRJB9pwHEvQ6KuyS+KaKavflt6422o2kdw==","signatures":[{"sig":"MEYCIQCTTYuqfi2Crli59xr+62K5qBKz50RmpuEguNqWDBarFQIhAJYVrpHIvPJ2ytvOR1WbYTrtsPrJ2Pml14FEG3OMnUfC","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":479314,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJglFAnCRA9TVsSAnZWagAAi80P/0Q4nGEGIOzqhxvqrr9b\n/+1QuZBY9wwtBb3M8Mfgt6QQZYdBcw1eobPDzf43jp0nsP8yOhSbSpwNDVca\n1yFYbhpLbRpeAWtFTN3XS/gnsKimXjt/HuRJxZ5QaTNaaBDR80jUOlZ/+7Qk\nLc/HGUKdj4FEiBUQu5diVnhW5oywnR8mp/7ZwEiFO4+cM0EnBu0ZvVExWhjs\nlQYXtPIYmlAJzg08ZWW0j3xlQgq/Xoyf0eSFQWaSkPkneER3UCBhvg5Qsa7+\n7NRuqe98A/u9Y1q89TSaiNwotMwpO3AJk7ClbizJXjuqtuUhmaEYAyxLKTWY\nqPtTL2XtW713/nRIW3/j9IxWs/yWj/zVaIHE2Excc4laaREbo4nsWlIp9EFo\n6KH96ZM18ZcyRRn8IAHy7Y83xpODTi/CWM3qfcuZpbLP+ho7lEglSHlgA7Pr\n9KBd5rV/N06j9TudMVJRnjokfKF2kQAj9aWdRE64R9dAf0BemJaMMnTB8SkT\nYPrr5Jo/thDjE8fh/4dag9pPv5cnEsNgyGQrDaHqcNJI+NyBYfEq0auICe1Q\nyVB8UH/6SM7DXqso6wyCZFTCwBurCqr6kSBRfNNJwfcCz1aQYIlIn2Zvkxhe\n3iQyPTBNw+Iw75Gk83LYLXFTBd6r6GmuISWh+TUE4K6QUA9rZT4ff3CzcoSp\nmeQF\r\n=+v3y\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi graphql\n```\n\nThis package is only tested with `@hapi/hapi` 20.1.2 and higher; that is the minimum version of Hapi that supports Node 16.\n## Usage\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('@hapi/hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n  await server.start();\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=12.0"},"gitHead":"97073f33d30f2d682655eb0e4dce1d7d43721807","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/4.0.0/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.1","dependencies":{"@hapi/boom":"^9.1.2","@hapi/accept":"^5.0.2","apollo-server-core":"^3.0.0-alpha.4","apollo-server-types":"^0.300.0-alpha.4","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^3.0.0-alpha.4"},"peerDependencies":{"graphql":"^15.3.0","@hapi/hapi":"^20.1.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_3.0.0-alpha.4_1620332583397_0.18511790770139647","host":"s3://npm-registry-packages"}},"3.0.0-lambda.0":{"name":"apollo-server-hapi","version":"3.0.0-lambda.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@3.0.0-lambda.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"cbb31c815b3f90298ae8bd0b59844a6f428ca7bb","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-3.0.0-lambda.0.tgz","fileCount":17,"integrity":"sha512-XZeu/bwoiejLK1O0/iP1f2SzjmSLp5vcOOgOoWQQ4GsV9z4iTGCgjSdoRkKH6bhiPQ1Y4icH9Yg7q6lBoLbzNg==","signatures":[{"sig":"MEUCIQDkfr2MYM8C0I8I/PW4O8F7tEZg4xr0OIwOnyvqeZiuEQIgRXTlaSHhkjL3p3kJgLvsHubRpQXBU0stR2nP+w4akgw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":490151,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgnYGxCRA9TVsSAnZWagAAiAYP/2wjVHUZDy8KhRnCbq2m\nQ7o8qqRNZysA08BHwl3igdcjdSUwqqU+kN3miiBOEagSbowOooWULlKaSk6G\nD4U2/UlAaj1OkKcC9OO/bmIfTxeUyJDSMqAzO1nlLlDp+Pqa0nLAJPjbBE3w\nIEb3RiZhrZF+jjSYjZMNr81Acl5hjueFTrk4wvzDfdmK8F4ImEk24ZJyEYJF\nJkV6P5QZDgMblCp2JCiKt0AYPvvx+SHGuJR7G2Ot/NiUVXewZhkXPXQLLpFx\nNQchY8k90hDNVXaoBpQrZMu0AYsdnor1uIXtQqDfGxyF3spj5ZLrd5wC71w9\nM3E/MedQr3K7Hh0ewu7o/+tcoI7Uhtfw9JIch0VlSoU43v2dVYOt5gIIlZZz\nu++P2/8kq1mrTCNeF3IqQIxqG8qT7KH99H4/EELo/ma5stnQ/OK8KR25FW9f\nJqi7p+/DuJW/vxH8J6fg4URbCh3lSY8PKu0nWkRIo3lMwb2Apy6DStHui4QK\nUhpoO7OnVijLZHE59VwNn46Uo8k6PkNr79CJ7Epl2Pt9j/avdsXCKTwWcQuL\nyjJpFYZhi5ZGOEkzg3P5BZMuoLqB25PMkgvW5K2s3SQmQJus1i3ntFWWqLAg\nJimmjB8QnDYZaTq29lBiVHspvT+txyA5aQXp5n09rR81oeWksAtHwhHEy4gO\ndV84\r\n=bp+y\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi graphql\n```\n\nThis package is only tested with `@hapi/hapi` 20.1.2 and higher; that is the minimum version of Hapi that supports Node 16.\n## Usage\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('@hapi/hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n  await server.start();\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=12.0"},"gitHead":"3a3d4984e7a7a31f9338f03d3c219d7da8b87f5a","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/4.0.0/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.1","dependencies":{"@hapi/boom":"^9.1.2","@hapi/accept":"^5.0.2","apollo-server-core":"^3.0.0-lambda.0","apollo-server-types":"^0.300.0-lambda.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^3.0.0-lambda.0"},"peerDependencies":{"graphql":"^15.3.0","@hapi/hapi":"^20.1.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_3.0.0-lambda.0_1620935089131_0.7159539297763524","host":"s3://npm-registry-packages"}},"2.24.1":{"name":"apollo-server-hapi","version":"2.24.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@2.24.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"121d1d9d80c75f64f25d1335fc96689e13d0587c","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.24.1.tgz","fileCount":21,"integrity":"sha512-5Rybrzl8pYo/z/xr9+kZUn76hHPvW9HxuqM83SH8B7ZBL5ZeFj8XeN7sXsRuzMtI8TcUoUDOf2S40SD+KSx7Fw==","signatures":[{"sig":"MEUCIQDxT8qzR6mOrLBMMO1ldDmgjkfp2OMpZPLx9CM049hJuQIgBay4mNsuzT5PmVvD8ECjrWsRgNAKo1TVCMdBrWdStc4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54885,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgpER4CRA9TVsSAnZWagAAeCEP/ilbqfGo44YCGRIgVmsv\nn+IWs8KjxIgbC9bgOoSxVEBcAOy5MyYsFfBByp0fUZKobhuyTplb2b9PSHvi\ntixgMPRXKuXyuqOStT5kVie/6hSvNk0a7G2/e9JnArDKJt+9hAjWr8Mpq1MU\nl05La/F0qjOdBCo2DZ2tiVKOCa2pC+AMuxtHtZPmv4ONb8DfMCxSeoUyln3X\ndWY0WHhLBxfGR7JwXEhL6CVEAYGfA+TY+o2OnD5Yzm4psTyTNlKottPjP8hb\nx88Ea2z9pUIi8xqjxGD30lOYSyNvZ6yngg2UGmN0iZr90vOK2ikzYd6HOvhr\ndlHcPguV0QXuu1IbjyeR7VwwicBz1fIlVJMN7RPk3Qi8RWMDPRxWnOlEUSp/\ngvqyYjeCSL/bd8gtiXyRVJjYrvZpnKvASK+W4c20bknzUFa1IFT/oUVDASfy\nfXM70RMgAB7mr8xnwqQtsQ1kzfU1GF5/eh7lurD3M6A+8wsMZ4mpt7nbnqNj\nYhD0mU6UNkahIgWZ1F25C26zjW8UPMrcpAqvsQKKu1vYLogPiqqnjiaQv5kT\n+A71FoOuqdnJjDwbhLIvvJuK4PD4IJI0tbuQcmg5EtnTcR6FQvLRfWdJwxhY\nuKrlljAlfnOjXcMV3ivSdyzTSobJ8OJTSyYpDoItfhln+VglhNRSh50YCSg2\nSL2e\r\n=AMO+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"9e1bf7df8ce856f62e851a9cf268508eb574e32c","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.8","apollo-server-core":"^2.24.1","apollo-server-types":"^0.8.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.24.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.24.1_1621378168393_0.7024370976820209","host":"s3://npm-registry-packages"}},"3.0.0-html.0":{"name":"apollo-server-hapi","version":"3.0.0-html.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@3.0.0-html.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"c5de7e55ab86f9e0e363ecfe5b4395afbf05b1e9","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-3.0.0-html.0.tgz","fileCount":17,"integrity":"sha512-FH73++EWnOyA/xAcCxJbtH1tX7M88qjITFZCD7w5zwZMgFPcUheMrtEhfoqNyTk9O/OSfet3bVARsKte/ugpfA==","signatures":[{"sig":"MEUCIHyPbDdrJsHuGy4LGAFn0fphX/Gzs1q2wbWMcrGJ6NAUAiEA7w4sNphpfH+vVD09kf9oik4G1bvpWcnfHs2diYdGTgQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":483117,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgrH6NCRA9TVsSAnZWagAABSsP/0iv5wlZmAUm2jdxDU21\ntbewxUcUJB9YQrxWwQDiNNbpe/uiUx4wx3Bih+eEU4ZhSeAGSvJ1NKGdSJC0\nD7UoQfDPni1FsCXyNw352iSaFALDMPMz9xqqDTqeCAGHILBc2ed7IZMYuuXm\nTmb9Xe5Bal2aOEVeXd9ZNCwSQpPtthk+DglFudqBlNYGgpsl+OJ/wNr583r/\nKYpP8EiLddJOfxIlhvvjqXe7zUdzzwtBtKiNoR0+VBCcyM9PwMQfXqLm0OKi\n97ZeGcYdGu8Tr2iIxu7x+Wf8Okint0sa7wu2FjVbpkXFU/jBprmkMc6WP8FY\ntHiyFjBGZSYDkxNRFdwc/BBGg5ga6BdNuH/wISSnDxs96/AwMwd+6aMIXhyj\nDfa//RUbk5JShwgXNV32Bu1L+McUAzqjSptL2+EIiHwk7NpVOF0dF9OwQk/m\nQF3b2DsLcrVc5ybFm8eCpl5+ck/3Nqqt1S4Tz7pF/3nYYLDqIGCjxuh0daJT\nmH7M1Q4CvDmce/sQ1bSK5ztGPnVP7jJAI24pf7IqxqaknbHBGJgH/KmMarog\n/OIQEGnyhHw2KumTQp4Z6iFGIcV9Ib0CyyrPrKQOPjkeJBiwJfIRWDsjnsWk\nAmGVgmcKrX+Xw+TE0f8TIywoDB6ZkaRBQbKA+7YNa27sXRe0E2+qhQKZiFNT\nnIqq\r\n=zpnQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi graphql\n```\n\nThis package is only tested with `@hapi/hapi` 20.1.2 and higher; that is the minimum version of Hapi that supports Node 16.\n## Usage\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('@hapi/hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n  await server.start();\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=12.0"},"gitHead":"ee3ff095c8818cbfd721639741481703fb4d62a0","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/4.0.0/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.1","dependencies":{"@hapi/boom":"^9.1.2","@hapi/accept":"^5.0.2","apollo-server-core":"^3.0.0-html.0","apollo-server-types":"^0.300.0-html.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^3.0.0-html.0"},"peerDependencies":{"graphql":"^15.3.0","@hapi/hapi":"^20.1.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_3.0.0-html.0_1621917325107_0.2411141851280565","host":"s3://npm-registry-packages"}},"3.0.0-html.2":{"name":"apollo-server-hapi","version":"3.0.0-html.2","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@3.0.0-html.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"0afea760459bce19aeda0574ad67660ac8013e40","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-3.0.0-html.2.tgz","fileCount":17,"integrity":"sha512-dJ2SOoIoR6A/LLNcN2OGlkwEDcoqSZ7LvRHvNNfejuJEjaTPgV8xgPq/BznOAlOVJiGVom2Q9op7lfQBSLbT8w==","signatures":[{"sig":"MEUCIQD1XjV5zXyb3lBrv/pgm6wWAEa+UpTHVF0Fiu3cQH/75AIgdKt9/VG6q0Z5fGnva482UEOfdaY4517Bpd1ivV/Ii9k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":483114,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgrIj6CRA9TVsSAnZWagAAvpUP/RwLLO1OEtlOli2R0tGs\ne5ivTZIe+a5Pc1LNJffDkmm7tYGStyWBYKXESCNedjz62XvT53hk7LsM4XyU\nn4qhQUyr4Cr1igy5UOABTlOxfzIAZgzbwmheJEQRLpi2u6DIIV2MCrgQMKhD\nMafiOWeAAGWcLa+UakSaPnlohOGcKebsMmBDUMiUjw00E3Ae+d+slO5pxda9\nctZzmboFapMlKJqKMXAGVAqLU2sWC24D0nLdzmNFoe9rLnv1Qqw1SbulZm5l\naxKiC0ITeXTqKGiTTUKi9pijucpTMmL8hnV+K0kypB6KS3uu8UrWneXCX3tv\ni6cUlYTtHAhBmPfrqT/Qg2hyeaSeGgihPmFO79u4IVA2hRogmXInipke7jB2\nXSCMHgz1DJdpymqiiDQDOxeMiMgMCDgLaS2WwBUCoaUBu2iLCwLCuSBwxKhf\nL0TMS1RVA8U7tR0blI9br6EQYMV6gvGXknmc9kMNYyVqjZHs2QZjI35Or5A6\nM2QHM63oJj+bZoz1217cWLfeo5o+xMVlHkDaAg4ZgN8OE9KM+iUK6ymZzTuI\nY+xAgqTGDL0hH+Q292EIt2Vil4MkBaUGC2RzYquG8nbYn2DJY0k+olNH6QnX\njTJbK5VN4EkqpBI72LB7PVOEeNgu2pnKM0+H562i7+Nazd57nNPiIRRwmwQD\nXU3Z\r\n=IAKS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi) [![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)\n[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi graphql\n```\n\nThis package is only tested with `@hapi/hapi` 20.1.2 and higher; that is the minimum version of Hapi that supports Node 16.\n## Usage\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('@hapi/hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n  await server.start();\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=12.0"},"gitHead":"f4056708a8291e4773e99d41cd8f95686d773964","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/4.0.0/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.1","dependencies":{"@hapi/boom":"^9.1.2","@hapi/accept":"^5.0.2","apollo-server-core":"3.0.0-html.2","apollo-server-types":"0.300.0-html.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"3.0.0-html.2"},"peerDependencies":{"graphql":"^15.3.0","@hapi/hapi":"^20.1.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_3.0.0-html.2_1621919994230_0.6467647218105836","host":"s3://npm-registry-packages"}},"2.25.0-alpha.0":{"name":"apollo-server-hapi","version":"2.25.0-alpha.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@2.25.0-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"6c6cb21f16002c8fc5ef825126f6f845dda26ab3","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.25.0-alpha.0.tgz","fileCount":21,"integrity":"sha512-88acWnio/dh7MSJB01YQNizA38i50x7WmfcsGsUBNxvo7IKUtblo0x3FinnzTqAcABw2bKs8GHAWVAEise+eUA==","signatures":[{"sig":"MEYCIQCP3x85gcmope26O+sG3yeJH6wK0GfR3wegvGZjRgG1GwIhAM64sDH0d/wFTlTbtrX/5wI2N9hAW4gFjDH8nDh+vSXf","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54940,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgrsxDCRA9TVsSAnZWagAA66QP/0sGhOvj5z4lYzUVJR+r\ntnVC2veW3LLUsFER7Lcha45hAWsFVry8WTUV1j4ZzXHwbuYh+PHIG98xo4Zy\nJpimxHA+HwoZvJbsBQ1EE01DP5urhbpbH30epqvaeMDbnTdhT9oVCFPnKo6X\nx5bHoIER/dIhPz+KhjzLIkTeGPh2TQC0wB3E2bg16ac8V/hRjdVXLMsRZlik\noupKoYsfKcOhwKBRLFh4wM2QVK9A+52A13iYgpNFtVJ+DDTM97SkvYfEgSUT\nbb/YoB8HnKWqbTZv9yGNyNg5KchoBUUcVqIs0GYV5nNaR9vdxQ1inL5pfc5X\nZgvc06xm8TnGyV9PK6Ia6WOGkQvRbbCocUS8B9u2pMCi0Ppxf4rJXS4OCk73\nOgfI30LYUABezZAmSuSdvVxEdUXN/rJCVwzJagnSP6jTWNaDyu1uFTGeRdfJ\nwmbAE6YGpzVFbzqB45UzBKfRqXLDdMJ136zJRfR99hk3uX+IK7LasMf1i+TT\nZT9ARrXadFjfWMKD9XGLTBmY3R2Oux9CSQQr4mqw3VAljuV3q5B7ZIZznaek\nKD5mg5tnW96PvM0+5iF31jWjsbnLyHng768WA9PeNh5Ga41NqVpkXuVOT5B4\nADDmaMpT0enfLFSMM61NP2U2U05LsXjYDSXdkYUlbo536nzVN4WOUTJ00Qkb\nk7zc\r\n=kdkN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi)\n[![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server)\n[![Join the community forum](https://img.shields.io/badge/join%20the%20community-forum-blueviolet)](https://community.apollographql.com)\n[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi graphql\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n  await server.start();\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"c8c07483f914a18c07cce6435dcc8816fa795c34","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.8","apollo-server-core":"^2.25.0-alpha.0","apollo-server-types":"^0.9.0-alpha.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.25.0-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.25.0-alpha.0_1622068290816_0.2921770874268965","host":"s3://npm-registry-packages"}},"2.25.0-alpha.1":{"name":"apollo-server-hapi","version":"2.25.0-alpha.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@2.25.0-alpha.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"9c8510b31a31cb17217119ac9aefce789aab85e9","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.25.0-alpha.1.tgz","fileCount":21,"integrity":"sha512-YIJ3m6vFekhHviBdwtb9lgrISFXMCeenw8u188XPpAPAJlxb7T5Rqq/pLXmVrnDiPHmtBhYuXm+NwR5CJZZy4A==","signatures":[{"sig":"MEYCIQDWb3O/IGbuLAyUh45nSGDoh3yQXuQZYlPCaM93B6X/bgIhAJPrgeOPsOA01xrBb4pprLEbqvgVmfPRgRnqymo8khqm","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54940,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgr6htCRA9TVsSAnZWagAA/u8P/0dZzt6KvBatreJRqJnr\nfA+1j3TMzCoVlFNMhEfVS7NRk9zywivFaETftolnF04joUMdARZN6noxC7l2\np2pmYZ//8uoVYu5VluDfySrNTIY4/1KQlhg0IaT84Ui0f/HKKTPJkOR7gsuo\nXkdVJ/N7FTYS5YnwLHOMe/eqmgI5J+op6p7RF5w8S4t7o/lwPPBcVA7QcOKm\ngF+Pet1XS8f+bPH0p+J66lxlRd8ipKTU9FMxw78RUMUwpNGFCnVvsFp7/nKV\nJi0YCtr4geDZpO/Ey/DCA3fIu7NKyLr1gNDoAM8AjEWmvi5eD8WKrFQO2Zaz\ndYX8A5aWYokCfMoknBybzYaW+gCoBUioboIC/6fSF0E57gxoTMkNZL5fIzBY\nsQl+z6XDis17wqrg2YaBQD+/7NwH9CkHdG3nG3lIcjVgRqH+43f0KonR8Aes\nRIbhNR1GhIZmGGT1mnt9RPFqytD5CB/GT1qFHGORpRK2f9XtWDc16UVsZw5p\nETNKSZeTy6C9H387hgDKe2H75AIq9jEczAGGMX6JNg1WydkWd+zg99P5Erjx\n0rNnWb/uRCM2WwYD56kYL7xdKr80RM2sy42Ct4k/1h9Os8IiZGZGIqmdQPB/\nL1VV23CcBbBijiePz7+pkrYnLkenR4GLkrjHQ75qn3jXW6ItgjnyFrHs7Ego\nN1FZ\r\n=bxIb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi)\n[![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server)\n[![Join the community forum](https://img.shields.io/badge/join%20the%20community-forum-blueviolet)](https://community.apollographql.com)\n[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi graphql\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n  await server.start();\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"19572d7b36f01768faf2b2e9b1fbd18638ef7397","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.8","apollo-server-core":"^2.25.0-alpha.1","apollo-server-types":"^0.9.0-alpha.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.25.0-alpha.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.25.0-alpha.1_1622124652925_0.32872731000327815","host":"s3://npm-registry-packages"}},"2.25.0":{"name":"apollo-server-hapi","version":"2.25.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@2.25.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"b1934323ae48403b9de0027c146f984f4260534f","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.25.0.tgz","fileCount":21,"integrity":"sha512-YhMKAkEFhH+i2jhPgpCw9W6b4xW59k/fpdarLHvxfbjSoHXC9S3Rm8S7wAzRmTuxPXasLLSC8tjBWoxqvbFzdg==","signatures":[{"sig":"MEUCIQDiRQa7LUKzu5xL1+AssyN2uTe5wNJJw3KyT1DNDcQxOQIgVbgWJ+xLiF2G9pZLcLkr1Nw1FijdLA2zy1Q/oFnX/bg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54908,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgr69eCRA9TVsSAnZWagAABYkQAIAcoqlB3Y1kQEbXmjxt\n+sPboiuX+H8geEui7wKNTJB8pewZdddaN+MKgSrp51yz1Yi2mhQ5a3qBe7GK\nS16DRDNrLgdncLN943v3CdCjfwvZJXhXVkX7apTZwJCfCpEcUMxdaq+coPmf\naxowfcqD8Cm09G/qVcZtOJAa0iMCowfurtrfX2SC/yJZIBQ9qSrV8e1aiccI\nYrAAFoGzXD6tf5SdJ2lw0GMLEeafZ6l7Bw3Kk3OY3NCUZtsiBKyP2rNf5R7b\nQ2tuvv6LuxQsWUSayqwj4VsmbEO2xnByCdmXo2LvNTHiqoHbMKydrdDg54Mr\n+ZeaKobOMk8H7XEnVmvWLPI4a8IBckflRc57FI+rFsHvJWW6UgZv3Da64Lbh\nFyssyX907Oa/JOD0BaDTBbAj48loP3ccLOVlsgv0+TiO3J+idhls3JfAtsoi\nC6S9HrF67cUSv99y4hWyZ25zU6S8P72R/AZCGqFeb1/md/G6oSLMWJzjHIc/\n96SlrRZ8qes8ebTJUBG0jTFyvDq5IlMMIJ5ejpydGZfW068smtr5fR3H/uBS\nWx/R7h69SkZt+0yjtSrXH2slvhwSE64wlbl52HPo5VvQLfXbP/pc7uQLGW0F\n6hLmfSaWWfJyGEYtLJB+x0XqSrVd8uQ6QeRqzVl2QQ/0dxa5k8M2ba6iebOK\n2nzp\r\n=DvDC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"42983b06a381aee6333fd11d5af7bd7fa0d549ec","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.8","apollo-server-core":"^2.25.0","apollo-server-types":"^0.9.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.25.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.25.0_1622126430382_0.217756883856409","host":"s3://npm-registry-packages"}},"3.0.0-preview.0":{"name":"apollo-server-hapi","version":"3.0.0-preview.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@3.0.0-preview.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"2695bb1e7e1a257af6557b900029ae4966b7b7a6","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-3.0.0-preview.0.tgz","fileCount":17,"integrity":"sha512-OmTf0FTpKoljP9wfRTR+DHHHDM/IATj3s4cVw4ujEvWbDcuhtlMGoZbN6V7W4sesd/MXUl+jg9StAc41hpsRyg==","signatures":[{"sig":"MEUCIDPP5nF55JwS06sV2dW7yFx8f4CLl4vKQqL8px8Zd4ESAiEA810JEtcQvtNtkuNbsDlx2pE3evA4oxwnVUnpnrZCpwA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":469568,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgtcvrCRA9TVsSAnZWagAAJEQQAJ2TNs1EF3cPD521ZIWP\n7zopLmfhD3Cj8vM3QtKWASvXuYGa2WoI/UtfGg55YZ0xPCoMtmY53Jlh4UDU\n6rWkw7cQLIG0gpk9xm9bs6tW5Ak2nnz0+cqn6Sw71v47bzHmpatKvDz2e6dD\nOOQldpScr6J6J7CNyjGfoD8MVYu4GgDTVnF630s4LvGhZLMrd8BM1TWJdP6I\nR1k04rUeRPjsUhPl890B77w4HgHQNk7Rw5EwPf87kU1o/pNlPbRH6nPMqK91\nK4CzpQZK5cL2vs2WSaIjcdNOFF3rYkEKfHf4VSNHY3gL0X1maDUKwocDmYTL\nCARoCAnRgW1J71v3LnM/M9QAdqJ3KjYiAK+/jyNZV4bqu5xGGT4gN8nrgJ3j\n0YCudldL5NALgO2oh45mod5rmHhaKSrhepTEh6wxs7CPfGGuyJGP3o0vesC/\nTGPbywqlGKs11GlAnuctdI/dF8xlNL4Gjpquii0JZxQr72HkPSRIPlR0I111\n4MOVN9TXskvUOY8LPDtJEaeFQtrsAJ3qvzj7n46ys6YC1hvyFJtDTqCqrYDo\nhCELeFiCixIq3bwa3z5/S2NOLnfkuhf9ga3CWy1xw0G53zNANcGqHq6l/1bL\nhMbb1YcDBHQEBNxzFLE8Nf/SZjp2NprRTbbnVUHYh8wd8rJpvZ8E3iXJSA/p\nwhN4\r\n=HbjH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi)\n[![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server)\n[![Join the community forum](https://img.shields.io/badge/join%20the%20community-forum-blueviolet)](https://community.apollographql.com)\n[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi graphql\n```\n\nThis package is only tested with `@hapi/hapi` 20.1.2 and higher; that is the minimum version of Hapi that supports Node 16.\n## Usage\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('@hapi/hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n  await server.start();\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=12.0"},"gitHead":"68b776f0a08d7361efecf40e0a9e344b19b3e4b8","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/4.0.0/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.1","dependencies":{"@hapi/boom":"^9.1.2","@hapi/accept":"^5.0.2","apollo-server-core":"^3.0.0-preview.0","apollo-server-types":"^0.300.0-preview.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^3.0.0-preview.0"},"peerDependencies":{"graphql":"^15.3.0","@hapi/hapi":"^20.1.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_3.0.0-preview.0_1622526954886_0.5136371177695287","host":"s3://npm-registry-packages"}},"2.25.1":{"name":"apollo-server-hapi","version":"2.25.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@2.25.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"fcfe94cf303f31c0d038b845d73ba9e7903364b6","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.25.1.tgz","fileCount":21,"integrity":"sha512-dcEzy7DR3fs0ef1IbxKCvRxq3nxPMkApnya10gYGGU24DsxsmdrcYpc3+0zm5ckWgnnRf9fYfpc2yr5iWNegjQ==","signatures":[{"sig":"MEUCIFNYbBFL6rxUCR9Gxx3rfhCvOKIEG7FAwkQslVTBhys7AiEAv8/OUa0pFKjOIcJqNmV9w4/hLfeAuMwqoCTon/IOxPg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54908,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgv9vGCRA9TVsSAnZWagAA6gIP/3ZWAkZZeA6z7HzTEhRi\nF6Eh8l3/8KQtISH10TFoNXZez8g4Mllb9ZqGAlra0LNgT4QW8AgxDUT4XGO8\nNOuNcn6DaLw8qJcByMoHFXkeOHGEQ69mZRzWkecgLyNy3+qBx09G0vU5xX5/\nBToxyv01PCIa2w+tvcQ6pftt6sh5I6iRtvWKUi05VmbDw4KA2nGRaaiIflpK\nDT5PAlcDfjM6IEzFQc02BVk0j5mHc4It6LQe5FX+C7h36EI+wiMnB4yj4+1G\nrAN1DRUpusd6o3V55fnEUG+xLps0qbLSHsJGmYeKNkYKr/yManBcxi5MotzI\ngIhSBFNdlCCgIV96MvHeOyb6zmzaPIIBd6cAxD0Ke5rsvGzoFeuO0zhIPSep\n6hoZjU//3L87tKm7sQHGIEUcjUfGcsIhS2/ohHydM0g83E+Cpe3MpOaBXxZ9\nVZz9CoeV2ACEWnIWrMJ/bE7a2x412ncA9YLNN6YgvFxqUcC2PT56pEa7Tc45\nncoEQOQsk4HOZv/snP9/QwEm8kKJwwKZQjXa2QDXXFTNCZYgkK2CxkQ8Tkwo\nArDf9F6Pge5PBjMYs19W7mKq+Ot9EZ9TCgPzRyJRK408Zu53j8Nry2D2YKQ9\n15e0hJWeYk0816m2xQ+Tol9prkTHqW9bbPnEfdop7bRhpUSZzVJ9IWJEqxLA\ngfFd\r\n=t43A\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"f47c11d3f40f87797c5a615af0bd0225fb18fda8","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.8","apollo-server-core":"^2.25.1","apollo-server-types":"^0.9.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.25.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.25.1_1623186374389_0.04733705601065874","host":"s3://npm-registry-packages"}},"3.0.0-preview.1":{"name":"apollo-server-hapi","version":"3.0.0-preview.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@3.0.0-preview.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"53cc7783575ff4e8a24e6e51a9ddffb9a381f90d","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-3.0.0-preview.1.tgz","fileCount":17,"integrity":"sha512-X+fMrZMguPUjlucQNtyJ22dOsDbK8DpIX0HbK3/15Ema1zcr0aIVZgXVgsuCMh0TxTrq9mmCBD0KVr3YDw6yyw==","signatures":[{"sig":"MEYCIQCGXlUrCcU9HGKytonuUpVN0RQS5KUXd7ZIaPw1jRqqPwIhAOuJyu55kvWDlxNAmii5YJw7CVfG96ww+qq3SwD2Qz5x","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87044,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgyZMyCRA9TVsSAnZWagAAswsP/2I95K3NBPHrVeqC/Eo2\nUQP2In62Rhlhs3yMmoDEJudNQzfrY9+MXm7ly7DnxnlCc0JWr0j9ueLe7BaY\nKjzi+pbcgJOAvTsMbtybN/sfJ0fgIR1mIB5bsYc3rlEFulcZnBHzomWCW6Zb\nk+XN3IyNfqZQXjIz8JgsInG1NBm0Ag9IhSuWebKTlp3LfzWaJDqmXh7KIZyg\nHEX3E9nYTLKlF2VAKdJXPMqh3wA+Ti6Xv8WkW1OHhpXgqLp8WcXWTmd1sxZz\nnJEEcej+VDeBDwc88Iyov0zryPrU9YzQG3oyNRgiuxIQlQKdpllFF4TWb8bj\nBD4SxMOV9jzAX833Da4hUtAVcOka/RWX1AYfOtbxLfx2Vdk9BYWjMUGsb3HH\n7qeZYwbyKvI7ja1E+0AdOSS46afr6jRHikwrFbztxPyWVNs0mHtglSdg5Daj\nKwS1zTMhClwqmWAbs5BksYWa1RuCopOYFCOusF+BHEYk8IOV3UarVHi9roQS\n1STqW2EWGX6xcOu0/DYYyrGTuhAihhyxiS7LPw6wIr+358AsrIxMLpM1U0n9\n9zAg/b2q0SieLugeaRbI3cHLp5ylWtab+kZ+N/qNSlgaxV+OqZI2Y2jTtAHU\nIzzVMaqUO/LpxL4tMe5sY3AeACjjMprIie+CM/EMohzXmZB2fG7sr3O85fVI\nxYtU\r\n=5j4X\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi)\n[![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server)\n[![Join the community forum](https://img.shields.io/badge/join%20the%20community-forum-blueviolet)](https://community.apollographql.com)\n[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi graphql\n```\n\nThis package is only tested with `@hapi/hapi` 20.1.2 and higher; that is the minimum version of Hapi that supports Node 16.\n## Usage\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('@hapi/hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n  await server.start();\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=12.0"},"gitHead":"f23a4eb1aa5c5ae8cf83a1f41bd9bae3a03d3360","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/4.0.0/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.1","dependencies":{"@hapi/boom":"^9.1.2","@hapi/accept":"^5.0.2","apollo-server-core":"^3.0.0-preview.1","apollo-server-types":"^3.0.0-preview.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^3.0.0-preview.1"},"peerDependencies":{"graphql":"^15.3.0","@hapi/hapi":"^20.1.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_3.0.0-preview.1_1623823154083_0.8041940081845453","host":"s3://npm-registry-packages"}},"3.0.0-preview.2":{"name":"apollo-server-hapi","version":"3.0.0-preview.2","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@3.0.0-preview.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"b96b79009cd2300fe0f302ebe580e227d07aed46","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-3.0.0-preview.2.tgz","fileCount":17,"integrity":"sha512-9OE5NWsqRV6RDxM2cJtNjpzLzOx0+GKBO/RO1+SommYrNUB2BoYf9furjgGzUF9bDVox27Pp+eanNwH5VvEeqg==","signatures":[{"sig":"MEUCIQCuEIDNS74UcpXIw+KKyqDLZU8+aTT2MUNzwGDrSz8ddAIgEdEtqm6oF1VkgTVvwYMWBS8ZGtyOdIXkqGy5SjgKLrY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87044,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgyZcKCRA9TVsSAnZWagAA/s8P/iFDM3E2mSJLILFQxXTT\ng8tEEz6s0Hye6+gmHp7BkbIIWH9oUdWlmKXd5qDSzypyYuHZSO9SatoN+SCD\nvCvdNLoftSuQcAC8aVUjtiO3ux6YD1OodTq68o18cYjmwYVAaKBTC21Dtu5e\nBLFi5AEU150IuOpDfADIQSARe1Ejfy5aEf78o3M2ToqtOsgTRKNHbbP+cEYS\nc3HEk4t36/BY1A1VxJbYCTfYEm8DtiGDYwrPJsKwpmE49m5ct3O9I2kn39GS\n3WnoLbScBGDVv0FqFhD9WmP6W3W5etIHdc9IgS6oqAqq0w+IykcT/e1gAYhe\nMeR2ob+0LzZQcDRUyOzsETNUtaBe1cDoO70Okdgap0sq8UCMUto7bsskd1eP\n9kX8R+LcskP2MoycC+umhH5Ij714tYT7ps/5Lu2WkItbTaLmZWr/sjWkKakN\n+Tdv5G8H45T32xs6GQg0ZPs2Bc5l9J1Kzo1cqXHWq+jCkwis5ayZ39rACVpV\nwatdV3XRFLg4EVAQPSVA/zVd+SCHWdHlpD2XDjOwm/TRfJ3FRCBOcWRyjt72\ngtHxHDtWegcd0u7KKyvPIP2IEZZlwQOZjzGrnYHgnbQJBgWbPaBkA0vmWT8n\nDI3Hw91bv/yEllyeG9Js6FHV+GcKD58o8wEIQJ753IpaW9ERlkLhTiRy2f2M\nOud6\r\n=TLy8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi)\n[![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server)\n[![Join the community forum](https://img.shields.io/badge/join%20the%20community-forum-blueviolet)](https://community.apollographql.com)\n[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi graphql\n```\n\nThis package is only tested with `@hapi/hapi` 20.1.2 and higher; that is the minimum version of Hapi that supports Node 16.\n## Usage\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('@hapi/hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n  await server.start();\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=12.0"},"gitHead":"09dbe3e7029ea3ccdf16538699848f08bbed3904","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/4.0.0/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.1","dependencies":{"@hapi/boom":"^9.1.2","@hapi/accept":"^5.0.2","apollo-server-core":"^3.0.0-preview.2","apollo-server-types":"^3.0.0-preview.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^3.0.0-preview.2"},"peerDependencies":{"graphql":"^15.3.0","@hapi/hapi":"^20.1.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_3.0.0-preview.2_1623824138080_0.07924056159393866","host":"s3://npm-registry-packages"}},"2.25.2":{"name":"apollo-server-hapi","version":"2.25.2","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@2.25.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"9db7e634d5eeb2bc1efa3694a7d53b54c17ed554","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.25.2.tgz","fileCount":21,"integrity":"sha512-9QO1sqyJ4S1FQetFwFrLcApLGvExc9EAN1IEkVyMXB8bTsxLVkLYHXSk5AddgLkZsPs+2inn5ZpyATIdic56wA==","signatures":[{"sig":"MEQCICvgt99VxjOu7kW/Y5NFIEGxtbH9qWcbYFn8J4W9BtvOAiBc/vvijfg1LFakzpDZf8Ks0L+PFPAvlpjVQGrZ80VJsg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54908,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg0j/ZCRA9TVsSAnZWagAAfV4QAIvo281YfJeCe6VVeG2R\niR64UNLe/aK4cLo3LOE+5FUlhAK4m+MB2SNZ3HviVrwFUnewAIuVRFnxIixh\nKLBg5eUiwn3a5YPERq5Tyc5E+Dw+A9zuoYuhe6xv7H4773Gz3a6YRUh17/4c\nKi9CfqT4Cp1mDDF+nr3WvTXDT2/uB+RY63DHX2vfO5csUKpY6QilOL3kIQo0\nLJSmpdrz4fK3kDi/eMV8khD96+cth5THEnzlBcJUdAZSQZZAfAUZe6/0+B3S\nfA4N+rbFXe4SvqRP3+H7YANum2femTEBELc3LZMBYDrkxkhAUVZ7OH43SKcZ\nNwc+dA6dBNeaqI3RlmLrl2vOUT6ud5JJTOWNICsAVh4IB5ufIzFX+W1F5+HP\nv9hFIdU4IVtyxEdpRtB6WacBckYeKl0hFIzUyOCdkUge/IrYY5x+VXKpK4D5\n1tIN0KTM3kw+KVyQIuAasJBrom/vKldm0qto22hgsEFdckk9i/8KSzXIBLZb\nW+5hksfguj26HK4Uq5bMK61LU3qfrFeTFZjSnkRPR1gzY6SYpAU7dqeE3/b3\nz6MZpTordgVlwKtW6eQlkN6ORtr6K6BWPBt+Kwbbb4SSj3EdLoFL+aVs3ulw\nq860tNU5Z8rzvAMnkQZ0bQsouS7xE5M0y1evdej1Lhss2Zg80EDfAyVNPwA/\nrPP3\r\n=8x/g\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"70a431212bd2d07d68c962cb5ded63ecc6a21963","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.1","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.8","apollo-server-core":"^2.25.2","apollo-server-types":"^0.9.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.25.2"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.25.2_1624391640402_0.5860317948832283","host":"s3://npm-registry-packages"}},"3.0.0-preview.3":{"name":"apollo-server-hapi","version":"3.0.0-preview.3","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@3.0.0-preview.3","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"403da8025d6b94c12a8a252f3f82e7ce1f73d70e","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-3.0.0-preview.3.tgz","fileCount":17,"integrity":"sha512-aMR3GjTTK2k/VzBlw9CDSBLHtkc3FwUYMlh2SiSEwbcwT9uXjUPFF38n6zjAV7n6MSXTsFNrpqnrQ7R40QCnZA==","signatures":[{"sig":"MEUCIQCH9wMiMnPUkEVewwEIsLv1GZn2kShHs7VoIjJZbLodJgIgJekrobZxso6nTxo2TPpbnjrMttEWHrgyEyulSoC2zc4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87090,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg1r54CRA9TVsSAnZWagAAXFoP/3YPZ0GNZdFxQwkp3fZv\n5Wy1yeBxwNtoaVSQRg0v/TsUpkr9i7A7dNs5VrVjK90M/Ps97ukLdXIC7FH9\nq5oC2mnT7YMSDPbX7QmFDrLAMmllTd93jRG4uZtQfPyywAU1jQubX0TYu6Vm\nAgPhjgdOSCV0QJEG7MRw7JKbp40KYuk06QO0g76dBhUcmPnQC2vM2w8rlnCz\n+0LD3U8OT0HSkR4h4eI9Txfnqg9K27g2wkhWTVlNcju97wUp48Yz+vvct3jU\nAq2o+i4dwb7mksmHoH3M9PYHMuMbDs5SC0tjuKjknJiIJzzvI/WUiQVbG8eK\nAdOuPYiRclHewVRHQAbztRQuG6Po+TuiABCiU4NIujNA4ldJTWYrYMKXVwKt\nsBCDkq2DMj3dtGrPdErO/Or5OKGfru0YRhsr3isFxXsfz3nOGLy5pg8wWx5c\nDaHJIgOBD3K1llEchXnLGJr/mIuSQlCGxbel7Ymo+KrvYxew8I4ivft4sRQb\niRS0096bVlg5nl+Qsw7FmRMHPVqHwdJGBAcqsxgfs4K+bTWYmo4SkO9xq0DA\ng3Cd1qT4NHbfclfnEiX2nDDezAcYWz8QUQlcAyYOqa/UZxg4akon7OXY9Qbn\n2pBNG242UKM0n/H7rpf6+laWWFan6e4zMEBGz9KcNochxt2KLfkS2+/NXCl6\n/b/d\r\n=yMZk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi)\n[![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server)\n[![Join the community forum](https://img.shields.io/badge/join%20the%20community-forum-blueviolet)](https://community.apollographql.com)\n[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi graphql\n```\n\nThis package has only been tested with `@hapi/hapi` 20.1.2 and higher; that is the minimum version of Hapi that supports Node 16.\n## Usage\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('@hapi/hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n  await server.start();\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=12.0"},"gitHead":"16c00c982b11cf91ab8f208f88cf587622fc5dd7","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/4.0.0/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.1","dependencies":{"@hapi/boom":"^9.1.2","@hapi/accept":"^5.0.2","apollo-server-core":"^3.0.0-preview.3","apollo-server-types":"^3.0.0-preview.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^3.0.0-preview.3"},"peerDependencies":{"graphql":"^15.3.0","@hapi/hapi":"^20.1.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_3.0.0-preview.3_1624686199996_0.06478844490879099","host":"s3://npm-registry-packages"}},"3.0.0-preview.4":{"name":"apollo-server-hapi","version":"3.0.0-preview.4","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@3.0.0-preview.4","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"7c61e195335f14a240cdfc7ace58a9c10c5d27b8","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-3.0.0-preview.4.tgz","fileCount":17,"integrity":"sha512-YZEPKeajHOyMcul238ibXaUD0q1G/uhI17GguGDbrJP7g6aHow+hFpab5sw2nW9fffDgRf1WXldN5Xp1SyTuQQ==","signatures":[{"sig":"MEQCIDIUZmc1ijDjRXK0QRBNEaOlwplMBRlIrHTp0IHnfDEzAiAYsNmRIaX8lucteXmPJb6IwskrAxRtDYc3vG7Y/V2yqQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87106,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg3Ny8CRA9TVsSAnZWagAAd50P/AzuunaeG6qufKDvdmSF\nGe2QHGBa/ATZy6tFtSXS8fnptstL06WXuRU+A1B+6APfWEFGHSjWd7E3wdHf\n23MWNvv9cMOdHt4Gl7C49Y1aYkG3ZQfTNVrVra2I2BXjaBEs1qPi2apK0IWz\nDucEMSFwFeOO2NgIstEZF8OG9z6oKfnkQcLgRaDAlU9PptBuJoeif6TMQs6t\nL6XxkE4mxiwiZOlHq87QEO2RUvJqjT5Ns5I+hqcubyNnebyQD9+YA2HJvZ7I\nwgmS7TRmXCabjyfzaDFJ8mD6YsgTUlaPe73xH6ggumZyqdrvs16ws6fymxl9\nHl6rLT5A5LyBI4/x9KaHGZOEzDo8IJAgBEb7i3lODzUZ4dwdwX+mymkZ/nof\nQ7JnsYwyM+9SaP+B5jHf09IvtKQlj/dx3boLGBHJ7/cVgwqldfeGTA+2kRO7\nU55P4DSXtwUmDi88ZfT8ThL54aZfNY7wz3RV2OOfr+CQEj+KcpKJxI2AGvjM\nCOkxGVnaCE6l+rVqsGXXnpGLR//dgU49rL1IWWAJ2HwjzPLIC+13f7Y6ApP7\nq9hz7KAK06llZ1MHnULuawtYg5UjO3OnlYYYz36ggFK8BoiVwCsGPoaxP3cA\nJ9MjSf0v/s6GeIj2D3ORI+m4qj5T8mynIdjnnOrAhvKQ4n58KywJ5569VUWA\ntwaD\r\n=ssUH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi)\n[![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server)\n[![Join the community forum](https://img.shields.io/badge/join%20the%20community-forum-blueviolet)](https://community.apollographql.com)\n[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi graphql\n```\n\nThis package has only been tested with `@hapi/hapi` 20.1.2 and higher; that is the minimum version of Hapi that supports Node 16.\n## Usage\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('@hapi/hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n  await server.start();\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=12.0"},"gitHead":"4669d1aafb6fb6571de1d5789ee4375aa25eacf5","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/4.0.0/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.1","dependencies":{"@hapi/boom":"^9.1.2","@hapi/accept":"^5.0.2","apollo-server-core":"^3.0.0-preview.4","apollo-server-types":"^3.0.0-preview.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^3.0.0-preview.4"},"peerDependencies":{"graphql":"^15.3.0","@hapi/hapi":"^20.1.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_3.0.0-preview.4_1625087164108_0.8846827865958304","host":"s3://npm-registry-packages"}},"3.0.0-rc.0":{"name":"apollo-server-hapi","version":"3.0.0-rc.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@3.0.0-rc.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"b7e230a572fa595e085eef3982d9973156bf21ea","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-3.0.0-rc.0.tgz","fileCount":17,"integrity":"sha512-MzWJJhTB/S9vRnb94tZEDKMQ+2CC+HN++/I6Flw2yPQTTwI3nucKxymx5penQRo/jtMMtmCC3FfsfOTcqimPSQ==","signatures":[{"sig":"MEQCIBRQrWDpt2mzDyA+KZ05LSsJP0Ne9Zl8xtcqHzkGOC4eAiATMWO7sRunorMtkYM0XC4lBZJ04qP7ALvEPtvgt2IEsg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87086,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg3lLXCRA9TVsSAnZWagAAjqYP+gJb/upJ0h1FIrppZtqy\nVPWGCpu5m6lxhT7rsuP0Zi+gn5ZhkP/DiFPa0+MtcIWn9NuHN61RHU0/mezF\nK9Q55+olO42QPmNaTcY6O+j5fLjzaUlpbOMXoWTPoN8OhAUFnEuXdVelDoyi\n1OPKckhl/HrhTguASGHJEZ2tpaoceFquM0SF2VYAel4/BbFrMFrHf7lDtASi\nlP1j/+PaPBMZulgXE4CXhYEdiva3Klp7L1Kr0end8KFiuDpHnHeUlmerGQ7h\ngSb1EmBAEYJho2V6J+7vW/LEQUeGJv/3kaDQ2E9rwfkOoz8wcqowf+P3qeR7\n/7xNsdHe/7MQT6/Vql4M7rW47z/bMpSD8I270niiKzZEmCCCZFpCcyRIh5qW\nC7zMQaX6blJYf5i5rxxzm8h+sJRaQ2v1MYyS0kPBjLHEGpkMwpPUg/MIBl4D\ntn/hbz4DpeIpKzbJ89zd4MdVzCuvf7nXeSMcncN+XvakDrVgonmwddSeb4b5\nGBAYSpZ4hoCHmXntan1oSvSLvKJs5ZNe+8xT4G715agqL0jniB5jUdEzNML3\nLkqUtUdB+N4LLmkWUdhiFy7OokZq0zKnc+04Ignzpn+qvHomOMtXD5AeYxXI\nZtSLMympS7EnUul2jkBBhSfjhebRV/4YPYrkVM8mYbMtHvsdd8Bs5148oSCq\nDQjh\r\n=qfXW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi)\n[![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server)\n[![Join the community forum](https://img.shields.io/badge/join%20the%20community-forum-blueviolet)](https://community.apollographql.com)\n[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi graphql\n```\n\nThis package has only been tested with `@hapi/hapi` 20.1.2 and higher; that is the minimum version of Hapi that supports Node 16.\n## Usage\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('@hapi/hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n  await server.start();\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=12.0"},"gitHead":"b2c2097ddd58623815112c0e084761f426d2e435","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/4.0.0/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.1","dependencies":{"@hapi/boom":"^9.1.2","@hapi/accept":"^5.0.2","apollo-server-core":"^3.0.0-rc.0","apollo-server-types":"^3.0.0-rc.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^3.0.0-rc.0"},"peerDependencies":{"graphql":"^15.3.0","@hapi/hapi":"^20.1.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_3.0.0-rc.0_1625182935405_0.6653836094131349","host":"s3://npm-registry-packages"}},"3.0.0-rc.1":{"name":"apollo-server-hapi","version":"3.0.0-rc.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@3.0.0-rc.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"886e3a9ff5e626a7ddf225f4e3393ccdb30fff3d","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-3.0.0-rc.1.tgz","fileCount":17,"integrity":"sha512-YJDdLM+0UcX1ZTXKSrmILXlnqvVCWmChHLZsHw25GC6O8tVuuKrdxEKAhrQ3+vjebf2fF2ssC7IIyW8WwkLzzA==","signatures":[{"sig":"MEUCIQDr6SpiLm2KgyMjF0n77Z2NiHGsCxpIDEPkjz+W9MqrywIgIeseGOxXktbez3/EChhXfdtUiC/O79pUEWqtkkcUVjU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87086,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg34m2CRA9TVsSAnZWagAAaGsQAKO4p8ewdmZu7H79Vwbx\nBovKlsYPxeA09g4aeWbEH7vMCOA/qNqnLISS39Yx18fsq03HUJtlPT9T/Osk\nPsEFMXb8JSW0cwPgAMfItVPiM9XFpYS0uNt/HtZ0xM4hjEh86/OZcomOUuLm\neZm9xTP1dknsNMVW5IroXK5b+7qyQ7/RodatWIb4RS9GmbWB0FukVUh28MH7\nfjizVYtJDWOdS+ss+SblX6S8rldXzDoNtN7Ii0AVHhPcoBeiuaYnmena/nA3\nlDutzkHdVHIKZ4248hHUWoJmkYSGbK9b5GYsPWBMKW3rpfdssd+1uBWHRHwr\nv+hXKF0vGKBMJ2mVREKl/qsTIB4BXH6GYsrUQQb6pCLOlv5FQuVjKeY7wbRp\nySzP/F8Vf+5M65sqU/Y2ZXIMw6mU2j+ZT5h5UgX3a5RMecobvK0BPE6cp4gg\nzakrszRHWy6Z744CDB4fv8F9oqCsTTr0FzGDaL/53/7SBeEZBsoKZGdsCvB2\n1TXYzDU60R7f+zTju/ojlOpHyAGRRRs2aUm0eRUCvgU1ewxxCeD4jxnjQU56\nNGmuAno8LCJrxCP++nkUb6OJDucVivQQ7MdKm2mhIugxn31dn2k/YTrMxo8H\nTaDIurwhru4tek4j3XAP1EVJQL2k01Z66tg8PpJvqAqt9NIYaXHmibHfMdzn\nrZ/h\r\n=uPxt\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi)\n[![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server)\n[![Join the community forum](https://img.shields.io/badge/join%20the%20community-forum-blueviolet)](https://community.apollographql.com)\n[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi graphql\n```\n\nThis package has only been tested with `@hapi/hapi` 20.1.2 and higher; that is the minimum version of Hapi that supports Node 16.\n## Usage\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('@hapi/hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n  await server.start();\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=12.0"},"gitHead":"ad2cdb557da704acbb42bcbb36086e35264074db","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/4.0.0/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.1","dependencies":{"@hapi/boom":"^9.1.2","@hapi/accept":"^5.0.2","apollo-server-core":"^3.0.0-rc.1","apollo-server-types":"^3.0.0-rc.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^3.0.0-rc.1"},"peerDependencies":{"graphql":"^15.3.0","@hapi/hapi":"^20.1.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_3.0.0-rc.1_1625262517602_0.7330473228495411","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"apollo-server-hapi","version":"3.0.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@3.0.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"4b28cfcb3af5dbea57cadee46f6662093c5a3807","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-3.0.0.tgz","fileCount":17,"integrity":"sha512-NZ8ZKbdmlmndg6reotLI8YHlnxXm55m9H5Ufs1csWu6Dyzuy8lXlTyMs+B/8xAk02NpKvqny7wstRI9AWHeT3A==","signatures":[{"sig":"MEYCIQDaZ44JTMB7G/NJUC3nLFf6VwpPgnOUKGz/eBsRHLdlsgIhAIx6CyrPRJTQ5qjdizMc5+8HFJFCHlFfajZ4eDMEWjbd","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87070,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg5e/RCRA9TVsSAnZWagAAIsEP/3XSHgiIdgVGwd1p5WEd\n9+kn9Sgv4S551zNqL9knPZQkjYde1rNfMkkP2lOX8CyWlUkiVpprNWY6B43M\nZfF61AKiyxzbalfEsVWhpUUEpOBBW/ZseMwnUgwlMRGdmLpnx8gBC7O/hNcC\nx0u+33n6aBG1UdkUBNPkA1nzuotXjtJC4O6yn07ggYRvOvHp8ehs4rQIMTeN\nTaOmtH+BRLFn+UrwXPAPp8UKyfwiE2u1EhVpBmaU9OOkdA1LI0iC1aWvwEM3\nD5EvzaNL8Asj7PGJ5fnqLvmf8r9t3t32+kHWlvinkGY+9MJl9fogatMwugj3\nNdrwsGK/ADdtj4I/LNDjtk/0XmmVcrLDVlatZS6ymX/zU1UVe4uMHUFSx0A3\nVg8R5AefJnffFYN8HBXCMpYOOlOJwmMaLUmaDji8NitGHt2aTfeuAqg1ifRE\nsxvL80urDDz44QzGQaK7mNMvW0fAuJPXUuJRC8VhJFpiYB+m+tnwsw75Gxzv\nJLpDQ8xgVG1hkVXxxhLZnbZZC60lDz7c2CRl8JPKiu5HO7j0+0M0zR8cHMw0\nuRAHiM8HwsmwStT4K3n0LmAqtyrJWBaFy6k2YgOj0ADTVzHIDFA1+OFPZF/s\n/zIRCQhcYitd8xiVQZrWCbw6kDUdKNtbEW8rT7ztO+GEsAMzi5T3AoG9bHtY\nG55S\r\n=gsEn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi)\n[![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server)\n[![Join the community forum](https://img.shields.io/badge/join%20the%20community-forum-blueviolet)](https://community.apollographql.com)\n[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi@3.x graphql\n```\n\nThis package has only been tested with `@hapi/hapi` 20.1.2 and higher; that is the minimum version of Hapi that supports Node 16.\n## Usage\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('@hapi/hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n  await server.start();\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=12.0"},"gitHead":"bcfd36cdd01f9d26d0a225aa62a79c6642cd743f","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/4.0.0/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.1","dependencies":{"@hapi/boom":"^9.1.2","@hapi/accept":"^5.0.2","apollo-server-core":"^3.0.0","apollo-server-types":"^3.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^3.0.0"},"peerDependencies":{"graphql":"^15.3.0","@hapi/hapi":"^20.1.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_3.0.0_1625681872757_0.5747913940099885","host":"s3://npm-registry-packages"}},"3.0.1":{"name":"apollo-server-hapi","version":"3.0.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@3.0.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"7ecf23e85da3b4293c7eebe451ac5b6511c777c5","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-3.0.1.tgz","fileCount":17,"integrity":"sha512-jd/dDeX75plLK1Lld0GbMpzbc1VytAGrHivHVw4ATXlCd0vp+IzsDcJJlAFvRSMaBedyVA913Nm9dsnF97CWeA==","signatures":[{"sig":"MEUCIHJW/UYRllNty6JyWrAKLNtIu1E2VL3bxKFuvbSaWIv9AiEAzaICxc5erc47ES99BTTwN+OUy7iKCvhmUzCkkYXL7wg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87061,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg8gvxCRA9TVsSAnZWagAAODIP/0lCh2KFRx2kWcQrTPm4\n5bQEXTvoX2vRmXOj6d/bMiC9TuOHfmdxsnGkx3d8+GSieIH3rEfJs3J3Hj2O\nek/8FqyMZOL9+rH+GOAPGNgd7Zh9jnJuctazJQxMLPo+FaaTKfkgUfh8VUVO\nrQXZvWiNHNUU34agjSgfPbTLbsxBvFA29ldIAvYIJpA1JoRycfi1KO/PKRtg\nfo1MmcUzWxzgGYzJrZRnKdghQyzN0xhIXL+07KuRlmCJP3UNChvecP2Nxc94\nfJsMJBg5/L9TuX7BY04EUIAqusHhOIn5sm10IM7NpHLLFwuN2AU8CpEIgoCH\nKGRU3CJcwKkg0p9xjZz3bFP1Tsksq4MvQR0ZAvbLshmgCc9zpTaY8LqQu9cX\nDr5/tRK9JDSMwU9TpDxUJ340cDMoxEFVR0n6WeReiuUoOYFBWlSI5FgR6zix\nfS8JxDF2bUkbKb7/UTbO9DSK8zsGkXaZWha7+gSFmkPbabPfXtxXxEcw9HvQ\nCHcPABwpCw7DJNAnn17cKxC27E1Z2ZuEid84DTLOQh2TTuRYQm21AyJujaLY\nXzZCbCY7qXFWzMCdJptgiRw7/yvRH5aEPk6aw8bEkqB6cCvBL2dpmmb7ydl2\nz4zqTaIfd6ENgVs1IwNbd/CTHPvJCvMzAdwFxLBX07Ic/djYxiqaXUxljjox\nvUjK\r\n=DWNm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"856f7fbc151ebef4d6ca8a9efe801ecca3d4f9c3","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/4.0.0/node@v12.22.3+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.3","dependencies":{"@hapi/boom":"^9.1.2","@hapi/accept":"^5.0.2","apollo-server-core":"^3.0.1","apollo-server-types":"^3.0.1"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^3.0.1"},"peerDependencies":{"graphql":"^15.3.0","@hapi/hapi":"^20.1.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_3.0.1_1626475504978_0.4711746781812811","host":"s3://npm-registry-packages"}},"3.0.2":{"name":"apollo-server-hapi","version":"3.0.2","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@3.0.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"5bd520b9660392edcce24af635c864723c380292","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-3.0.2.tgz","fileCount":17,"integrity":"sha512-s265hGQt3CbDLBJ3cf82O6jyPrztzqfUEDwYtAxTvMIvb3AIpfZduXz/V5d3MafsxQ/L2Im3P4GM0GJCrdJ8Kg==","signatures":[{"sig":"MEQCIFZvCaXjcXRoemJ+5G784tcL5CiLCCksfoJLtyrqyuf2AiA+wurv5BrgNOExdW6NTWFNMyyGhCvPOF9xsJys7cfRLA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":86910,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg9wemCRA9TVsSAnZWagAAlmIP/2suYZDmRHMRLdWRI1Al\nZrR+xbS+QDJhQh6CCC7KHZoPhhp9MdkXofh4DXRYCDkFbASQLZwbCCMKxas+\nfOGRqRvE4U8By/muQdagm4qOLPDt5+g3kujpQwEPyVFgk8VCLymE3JCctOGD\nqA/v30EjtcnDY5m6GSV5jiUzAD7AV5o4Dbh+LkKNER9c4SxPN3+Hny0UrrRU\nuP3z/TaffrXoMitB+MO6zSfbCHmcHu45FS5upjZyRMcsQQRJUgeONplW1b9D\ntUyFZxGbDvhUgwyZvwuRBM5kTVe+3/u9apK2B+IZR/rJ5XSYA7mfqGPQ1oT4\nPx0srr8apuzSJ5tQsWS1wIyPnxPcMJk7Aq/Q8/mQx04mhiCW9YssfdmBdKAu\nRzd6OpA2qgrrwyZ8+CuOsz2ZuAMn5Lch+Qg+d+xHq017JZFu+BfNFbiScGnm\nbkCMcT3u1JWodppnWMFgmR7k+qGxYtKBLXMawURp5SSr39teaHRs11h3DQ3x\njVF3xzSOknjVBEav+6cCqsAQKXJpVR/n6ebYlU9xFKc56oqsvAmWPyEt6rnR\n4xrNxfdeiX4WwCyAm/uDZYLwH8eVtBwwri+8nC29CrgSocn0jdGThyBhTLDc\nTIcQb8412JD3U2H4KREk5fkanjgrFinYeJq7ci79lgeNA1dszcI5TA7rjCZ7\nzvUh\r\n=qteR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"69577df0b08d392e99d65644a27d48b9b925dd94","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/4.0.0/node@v12.22.3+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.3","dependencies":{"@hapi/boom":"^9.1.2","@hapi/accept":"^5.0.2","apollo-server-core":"^3.0.2","apollo-server-types":"^3.0.2"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^3.0.2"},"peerDependencies":{"graphql":"^15.3.0","@hapi/hapi":"^20.1.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_3.0.2_1626802086033_0.4643754554167199","host":"s3://npm-registry-packages"}},"3.1.0-alpha.0":{"name":"apollo-server-hapi","version":"3.1.0-alpha.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@3.1.0-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"ca3637fd11b5ddcd5dd147e7298ecfcb9cc141eb","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-3.1.0-alpha.0.tgz","fileCount":17,"integrity":"sha512-HtF94IDdPjmqWQyoT35yeDDTaZXZNPbDNjbb/WBAl6VX4LwcNhX+PAgdeKfVQRKbs5sU5qz6/4M5SWM1A/QLlA==","signatures":[{"sig":"MEUCIQDhkhOZOb7p/yzTz1WNwGWryf1+ixxl6HFsCRK8GmTurQIgX5RJoNFAQJMErEfqu8od62mrqjIdeil2Gy6qNfEvUHA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":86946,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg+dOzCRA9TVsSAnZWagAAq0IP/3dXzEE1a2cVgCoL+G1G\nV19FmSOM2W9uAXt+9y/S1ZZjebTMia6SdxQXZGEeAPQUA1liiCOEby62H9AD\nnElDiIQQr7vpVhF7s3ajGKdBJqYE8Js6XeEFFkj+gGOwRoLvNTvLdCe7I1na\njQZuP8tElTUYEGxegfw3FaEwFLX0JBVIjllZLhiGYL58aBJzPRdCzoi5zAZ4\naYlsMve/hDRJGOIpBp3s1C24PJZI1czxJ3zj55r8gNMlEhfyp1JnrcFFMF2N\nVRNvvUn8JoEdtCUHiPlCPNRyJsOg1qoR6TY+q6c/V0kVBYKfaJHIsF9ik9SH\nJRuuhEloCt3VUEKSU3WWp80tyXEpF4OfhaXF87tYosYvIjLplDJyslvyyo/Z\n8zCm7kMKuq3vRYp3ZUjFsy220w6L51pcj2X7A++7q9k6OdGOEonLf1m2Sy/x\nbm06sF7jjrVRC3os3bEqxUxZXEjpzINqKuos680ZsIPx6qnLjOH2vPx6C4Ut\njIACac4a/lUkNEncUneRaCWgFMmLMVxPlCuFmrLjDKH4MwA5slfqrnbbS1bq\nI3ve2a8qGLOGYVdvx6I8AfN6bPkv8TymvCS6E/k4fDNsb5GJf3jdv9pvhhdl\nCU2cOvLkQI0IEUy2X4KtQYkXvDVqvd6dZcrXSpawG/7zhnMVX6Rc3kRzEVP0\nTQMO\r\n=SqxD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi)\n[![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server)\n[![Join the community forum](https://img.shields.io/badge/join%20the%20community-forum-blueviolet)](https://community.apollographql.com)\n[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi graphql\n```\n\nThis package has only been tested with `@hapi/hapi` 20.1.2 and higher; that is the minimum version of Hapi that supports Node 16.\n## Usage\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('@hapi/hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n  await server.start();\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=12.0"},"gitHead":"4b0722e23503f776dab3e98088a0dc77436fe474","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/4.0.0/node@v12.22.3+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.3","dependencies":{"@hapi/boom":"^9.1.2","@hapi/accept":"^5.0.2","apollo-server-core":"^3.1.0-alpha.0","apollo-server-types":"^3.1.0-alpha.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^3.1.0-alpha.0"},"peerDependencies":{"graphql":"^15.3.0","@hapi/hapi":"^20.1.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_3.1.0-alpha.0_1626985395167_0.8079420258126182","host":"s3://npm-registry-packages"}},"3.1.0-alpha.1":{"name":"apollo-server-hapi","version":"3.1.0-alpha.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@3.1.0-alpha.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"66cc834a3f66a0b3ca640240a2ca68c0d2f8b30f","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-3.1.0-alpha.1.tgz","fileCount":17,"integrity":"sha512-ZNpX06WOQpBj6pfwd5gJsT3aQmpxW5QKwsC/+ekXdHdj2krFrtlhw+mzNyHhr0DXsiImDE0rxF87GHQftBGSEw==","signatures":[{"sig":"MEYCIQDileqZAleq2SVmvxC7yrkoF7kOnU+yiTOaGKIxJkDwdwIhAONqlP4VYrmNhmaaZxeJX20dFYiaqgg1s3KDDzoFHqVl","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":86946,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg+l5ICRA9TVsSAnZWagAAw+wP+gOTz5ex6//DKVDopvei\n7pZ9TYgj5Mzuf1fGkh6fSaXfvsB3iizQLDZpPap3c2LNg9aIBPjomcFJCLr/\nQ3fTHpMV/RkOqxsN7jkjCPoTscoHo1sqauZGoChv/5pKsxRohUbDOYaP3oc8\n7skJnncPESgW0Ms0nuiMUOYAe0kva42PW3w/pvbejsnHx71ytmeCV/AQh+/6\nTQnWoLg2yUMg/2o0FB5nhEGQLuMzOVQb8PpYUNTJd7IT1+6GTIiNzRJFPl8i\npoOZ0JoBK4EPG7L4ZfLhumld+eSW30LKHp/iEYE8orh+yVCnRKKqT+HiqS/c\n0c7gFyGo/NPkGIdFYXegmRZK6VVjF3DNn4SPrNl8c9WS3nGMQgtx3DVpILd7\nQEy5t39f5p28iXbjwnEJad82VDht0vIFSJi3I7mCv9WoZwwmaSDp109i2kC1\n+uIwTJs216kqJWIxRnbRtlM+7DKNSnEitiNDU9Je4MnUKK57n8yuGEjM7US8\nCSJvM7HrHb6UsbA4YuBeDmLOBuUF6QFl4KWehV9SVjFMm+AvWBlndwSAkvXc\nu726uqc1z/LHiafh0h38ZD+1ztFzfT/z60Xjf00EAZ041R2cxlherULwhwWh\ncMdkmJUCzLhMok6bHEw3ngwNSG8H4NmjdXRCUaqC7pCj15s27WOM25D6YjBV\nARz8\r\n=QnLD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi)\n[![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server)\n[![Join the community forum](https://img.shields.io/badge/join%20the%20community-forum-blueviolet)](https://community.apollographql.com)\n[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi graphql\n```\n\nThis package has only been tested with `@hapi/hapi` 20.1.2 and higher; that is the minimum version of Hapi that supports Node 16.\n## Usage\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('@hapi/hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n  await server.start();\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=12.0"},"gitHead":"a383a6d546e69027ce6f0e976f8e6dfffde51dce","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/4.0.0/node@v12.22.3+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.3","dependencies":{"@hapi/boom":"^9.1.2","@hapi/accept":"^5.0.2","apollo-server-core":"^3.1.0-alpha.1","apollo-server-types":"^3.1.0-alpha.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^3.1.0-alpha.1"},"peerDependencies":{"graphql":"^15.3.0","@hapi/hapi":"^20.1.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_3.1.0-alpha.1_1627020872320_0.10496851846005395","host":"s3://npm-registry-packages"}},"3.1.0":{"name":"apollo-server-hapi","version":"3.1.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@3.1.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"b960fbb4d69aacde10bf82294de9fee3e7aae536","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-3.1.0.tgz","fileCount":17,"integrity":"sha512-0M/kfTkneMB+3vZ6Dq81P4+zYy+/0C4a4+O7NlTK8jxD8LfbzLXyTRFmrLIaOVYEQodfKjbebiLal0YPYoMalw==","signatures":[{"sig":"MEQCIBWwwtv0I4UIXtszr7sYJYNubSz9yy+dWvfRIzwRyQDHAiBC+mUM8m2Q19XUIApZ6X1xh5pV0knFWfI9hGo2jI+DDw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":86914,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg/wjICRA9TVsSAnZWagAAP1oP+QH0OJ1jjhKX5uLE9FFL\nu/VnwQ+t2xv4l4z3vMUtzzqNZ9WQWJq1+jQhAeXrSjetbM5VJPBsc07IJoL4\nWKRzgM44Y/QoY7ocg8QohKCLhs4amcrt2z2wMxyBQkXrdGhJ284GqgtpwLQF\nHfviIbJUohSS7x8KXorMguIutV+bikUmOJEPnWTpJtfG9La4SCUW2IgSd3EE\nUZN5SNq5k8mfRkGc4oOh8nO2TBcpaDk/nHfP71rxtT9zIjRbyJ+zZyX7e63N\nwW8THiA1rXPzmp6r+iTLloGebMExLZEQDhxaC6y/yn2TcgQdWwwXKCwztKzs\nlcIjBTJkLixWJavpznet7ZhwdyJ5KFkSbzdwNo/OdHo1TNB3HN7y63YUC+Yu\nSxRkIwDiwZriIuKbGcNzQK7rPLqEYLOr70J8DHecsdnP/vKE0jj2A4PXLjTx\ns1dpIQqyJDz094t3ANn1/VIS/GyfNyU14DdaqRLVu1i9j2vatw6xyJOIlGJW\n7COdg7Lskif8R2u5pY+7iNvR9qF4Wa80NeR1YIL2v2xifLc4z/DaZluo7R1/\nlzao+KqBXhYptoByJSvJ9BX/2lalRombhSGnXaOiUOwUnRQWRy6oFAdcRCUl\nE8vuQJQEWsFr6yXjjFpuOf2oezDx1tAoHITEWrv9WVpqo7++JYQo1geUCTal\nWkOh\r\n=PgLf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi)\n[![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server)\n[![Join the community forum](https://img.shields.io/badge/join%20the%20community-forum-blueviolet)](https://community.apollographql.com)\n[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi graphql\n```\n\nThis package has only been tested with `@hapi/hapi` 20.1.2 and higher; that is the minimum version of Hapi that supports Node 16.\n## Usage\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('@hapi/hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n  await server.start();\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=12.0"},"gitHead":"d22ffd33da9fa2972e6d055ebc4b346ad329edff","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/4.0.0/node@v12.22.3+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.3","dependencies":{"@hapi/boom":"^9.1.2","@hapi/accept":"^5.0.2","apollo-server-core":"^3.1.0","apollo-server-types":"^3.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^3.1.0"},"peerDependencies":{"graphql":"^15.3.0","@hapi/hapi":"^20.1.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_3.1.0_1627326664028_0.5797152257540688","host":"s3://npm-registry-packages"}},"3.1.1":{"name":"apollo-server-hapi","version":"3.1.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@3.1.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"7e8a259cda74a4c41079a543a2432e907f62522f","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-3.1.1.tgz","fileCount":17,"integrity":"sha512-s2oeYsHdbMkogfNYCuJ/OhXI6ZO4IdIk5xa3E1U3B0D3WsgHUblXn6xu4RjF9UznV89RMihQ+u+VFWuLnTMRMg==","signatures":[{"sig":"MEUCIQDyRowBHHR08rwZOISRQlXTn3qWarutOtNqudEHXGL1aAIgT1DPIR04dJRxADTmwekb8FywOZuTk0IAT/hKliSg5qI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":86914,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg/xJBCRA9TVsSAnZWagAAbgMP/jHL54t/0Nw2o6c+98eY\n770/1HoKtz8FpOrsqInC0y+ZU/2Z1emw1Jg8GtdXFPTTyM6bF4Q3gvxa0VXf\nj2T709d+L1CfykU6vDJLyanuvLnCtqRVm3gaDoE0jMf8TGJMQQs1N2r0llh4\nYkqY2oCyRgA9qXOaMLzfoz26VBCcnd6I5O3KbYPjsCc2MSRpFvcuOSm6HQHq\nmzJ/HC9P64airwy/2RyRPKXnKTqIELqYaXxn8DCGuejKgH68DUzi5GlWA3uf\ninrvNMPipOQvNXoB9/Ow2DYSTsIy9tTmsMs58VK5b00k0YwObad+hoR7Ebwj\niD8o9Wetl/cM42ePqbsrEY3NOkYeyxVsdcO63bHD1/VHXN7Hq1iw7mCb1Tu6\nzgq5PJ6frY6hEl5qMSrv14GRXQyZyh4nLKEzjqlfEHldDy2FEoLwM8ahOS/C\ns/HfjPz3RmMXOoScxxzL0moSUu2picu/Jsd9KtUCQcIoWQodfjBf+nn6RaDu\nVMLdFTMl0Uc5XuNjQ05bjYzq/B+QJPbPmEZhn31B78hELvcneSRraro8QGEj\nIsCgD7SvwXk2WGij/AVPmX7uh60c8aEKm5pnfTdsfqt75s2Oxx8K2W4/FH7f\nYOj917A4H4NnVeinF67pEnsVdJz2bTSM3uXa8YmBO0twlytUeYv8+m/uFVmQ\nzoLX\r\n=zie4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi)\n[![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server)\n[![Join the community forum](https://img.shields.io/badge/join%20the%20community-forum-blueviolet)](https://community.apollographql.com)\n[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi graphql\n```\n\nThis package has only been tested with `@hapi/hapi` 20.1.2 and higher; that is the minimum version of Hapi that supports Node 16.\n## Usage\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('@hapi/hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n  await server.start();\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=12.0"},"gitHead":"eb06724ca43042fcbf6e04e1de1dc2e5acfadf33","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/4.0.0/node@v12.22.3+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.3","dependencies":{"@hapi/boom":"^9.1.2","@hapi/accept":"^5.0.2","apollo-server-core":"^3.1.1","apollo-server-types":"^3.1.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^3.1.1"},"peerDependencies":{"graphql":"^15.3.0","@hapi/hapi":"^20.1.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_3.1.1_1627329089623_0.26349627999197445","host":"s3://npm-registry-packages"}},"3.1.2":{"name":"apollo-server-hapi","version":"3.1.2","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@3.1.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"1167edbad246e4e0b395f891992fc6b8f5c3f05b","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-3.1.2.tgz","fileCount":17,"integrity":"sha512-9WOz9jkJtwGfSC1jGptb8h007l2zSGM7n811l2AUSY+EtcWdVmjKq1hpj1zILB5FEU7+oOGueuWTV5YgxC+hfA==","signatures":[{"sig":"MEQCIBz6TLGZj2Qe3tslFkzzrfaqUC7gujwqjLh5jIq5tAUNAiA+G04I/TaCMAh8kP2C0w56Qhyr758JpImOeGSldSLVYw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":85958,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhCI78CRA9TVsSAnZWagAApfIP/jJeOfJ9YzzGTxY6Saob\n+4io5GuEaC22OORmW+lGYJZXmYTLvJNjvQs1Mk2Kz3ZqPlFp3O+SE7bm9bKp\n+xuiUbdgveV8GGiMmxr3hytxnqFdp6qRFImNpGejzFMrxpSIYmjNal7eZxxU\nAQoIRskO20mOXMa7iBSPXh6N/5ZfZm6ZRZEBoNWlWD00rD8+m9JT38OK2ZNz\nYpF/4u4B8gzJzSygapCQIhRkDr5H3DV52r/r1M6cumgGSg8+FFW9JXsczEBt\n70Z6f2+Nn8hO8i7ujtc0Sx1HHWnTfEHFojQiJCKivMpEG081anaH4o0I2an3\nLgI9WOr2I9bGqZljbwQKsfhpKC0dCXDPcBpA9swZMksmk6JDYk09v98MGT5g\nnQyHojop32yk7rdERc72s0TYNRdaxoj+OAu9j+NIHIv/uSIborIHaVW9KcjD\nVPmahPLfIP/XciXVG5vlBnXtXeoJDYX/Uc2YnaQoVl8OJx3TCGAU64mTwp8T\n1EEvxViIOxOCrF6/Fqild68Cr6Ut5cHlIZrNWidguVkliJGEw1xZJ8396waC\nTALitPRoFLzhDvaEcJ6jnLnxyxB4U+N7Q8Sr+QiytkG48cxBx9HJmNxwcKZg\nRvlrnE9vnDGjIgThYL41Nu3kRvUUIYtRsMNOYOFeZ3iAv09D7C6AjqACgYLN\nzZHH\r\n=7KOc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"65c88f171864ee5bffb95f36aec93120b77bd56b","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/4.0.0/node@v12.22.4+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.4","dependencies":{"@hapi/boom":"^9.1.2","@hapi/accept":"^5.0.2","apollo-server-core":"^3.1.2","apollo-server-types":"^3.1.1"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^3.1.2"},"peerDependencies":{"graphql":"^15.3.0","@hapi/hapi":"^20.1.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_3.1.2_1627950844689_0.6788233994955668","host":"s3://npm-registry-packages"}},"3.2.0-alpha.0":{"name":"apollo-server-hapi","version":"3.2.0-alpha.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@3.2.0-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"183cd4d549a0e0edf9eb7e445cc9220c60d3f870","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-3.2.0-alpha.0.tgz","fileCount":17,"integrity":"sha512-Car/AKlXJf3m/EUnp4pLufPGwbaWH3vWB5bzg11hJZdDUAqwVTEqCDY3O+rO/7KGbNFlWuiqLprwx9lPRRFw+w==","signatures":[{"sig":"MEUCIQCkqtQQBOjp6tX6oK2ejhlXLN7DtZfS2bbtlchEwstecQIgfbGa9Bmv9qMuxgaz0TTeK3lBS2EZVjUGur6So1SEcaI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87493,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhIEEKCRA9TVsSAnZWagAAeIcP/3IyP7SOpMFLAvY0GYKj\nyOC3ekeJcpjs2FqlmSJe7Cq+iKURXQk+GHHJp94B3LgmDbwIyMRS6nM0zWmT\nOZETcIlC4jt6fk3wO7wSiKHqH/bZZZS0/LB55S9+WznKFIO1xuMByMhcEPJD\ndxTQZWBda+vwfVLDlun6X9CrWSBicu4p/0FVpeaYsjRyDmcMe2i8ir+GpEwK\nMFdDM6mZDcVPd+AYZhFTOcmxO9MKIFenvZXvWUQRKsA6P1EzI9jU0Y6VSq3c\nJFY6U6t6ffj5O5ehbVGZCveQpkun0C+d1o+EhGrJWp0WC2ua7wYpbPGv9Ll2\nvW/nyq+mpQq3JhdkajyKk7lCITsLvV2/P/oW04Rb5/PfG7sAbAWoax4G69hL\nUQ8YyzgkFZZGmNU0zd1HMHV6UAn2OlrB28mHoVwwVtaxshaTwsj7JbGRW3Pw\nCVRKGLVGtUGdh86GVEAxuy0Hg2HF74fRT7Si0/Ab1eCZhVcaffwR7EiyiQTh\nnsOjXASD7T1RRm5Gpij7lX0PcTXmgzpniVNcmuyEe4mevb7UDwOXb/QEvfgw\nyA3bDcZPkg3kr8ydlNqe+/3iUAZrRLyXZu5DSN2cn03lfu6x3tgZWdCK0Aef\nKkIkwTDFrd3BkMpGtrox28DKZV2iAG273DU7KHybr62JxePGqzLY07b9b4JE\nf/J/\r\n=MLv0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi)\n[![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server)\n[![Join the community forum](https://img.shields.io/badge/join%20the%20community-forum-blueviolet)](https://community.apollographql.com)\n[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi graphql\n```\n\nThis package has only been tested with `@hapi/hapi` 20.1.2 and higher; that is the minimum version of Hapi that supports Node 16.\n## Usage\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('@hapi/hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n  await server.start();\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=12.0"},"gitHead":"211cd84ce3d2c9be90248e6a69c8c26bf8d1cc17","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/4.0.0/node@v12.22.5+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.5","dependencies":{"@hapi/boom":"^9.1.2","@hapi/accept":"^5.0.2","apollo-server-core":"^3.2.0-alpha.0","apollo-server-types":"^3.2.0-alpha.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^3.2.0-alpha.0"},"peerDependencies":{"graphql":"^15.3.0","@hapi/hapi":"^20.1.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_3.2.0-alpha.0_1629503754108_0.23380364207927906","host":"s3://npm-registry-packages"}},"3.2.0":{"name":"apollo-server-hapi","version":"3.2.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@3.2.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"552382b1c152b9440c7304b31221b3f96317e2c7","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-3.2.0.tgz","fileCount":17,"integrity":"sha512-RtuiGkbm7ALn8UD8y0cmHYUUYTdo4FJHGz3gzhaxFIhjeXDX9wrvB9uavvFJTfB1XoXoapO1L4pAXNhIUgaG/g==","signatures":[{"sig":"MEQCID//Sm4HN2h/RB1K0KpsW5cXSvFe7GFvklnbCDYngi/FAiAsfwSQdi27oa/bOwhJzijLDRjYeszk7+G/n0tXuYE4/w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87128,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhJDRQCRA9TVsSAnZWagAAT8AP/0jUCZLlqDbvuxPBI1y+\nuntjSwr5k0MRlp1zNlCbK8zddN0M7ZWbEY2EeZzts00DWwRSo80r7jf0efvO\nR5TDvDh6gIIFS1aa1Kdi6ulJPWD4gpRx1MR10s0F1AgHwmueDdygV36Zhwwp\n82kc3N52rTM7PSnw5U91UzGVRrbidO6sD1AjRnwiPha+JTjYJ41Tz1aXvGKv\npLYcR3GRIfoeGDxlKlbBKFPPtAxmiphTAG/8uQSj7sTRwWTyM9dLffqP7LWC\n5TCW0+NqB66yHhppwlthPZbV/kPQugj2i6VeM6Hrc0lURxhsgYcmArCHmwvg\nSQSiJvkZXNkpUHLEAhWn4vsnuY+w7JyB/GAY5n98GetWBBt+ss6TUzqA44Un\nA5Jl6FmnMmpEVTzXRtU4cC2XXDvN8ZfwCOeerytw7pUS3Za2+S0hPSeLtUYF\net5gum1ZKAWzbNr/BXKRvzIBLhS0JBsltqWt7SWf7yv7ahrmck4Rd6EVBkWj\nlxvBJ6wdOBHi7VlqSu/K8It1MRpq4RTXnmZh4fzPtrW25F2qrLblN3cuDAg6\nCy5PSl3J6RZE19WXMBP/QRBe1BoywvhjTf4mdaLQoW6zAyQvJhmn59tAPN1p\nxjvYUGbwsma+n/kaCsr/5fR1XYxa5ldAzxSDt+VE4XIEtEU8Laq2f7hYouQV\nkafj\r\n=01xJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi)\n[![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server)\n[![Join the community forum](https://img.shields.io/badge/join%20the%20community-forum-blueviolet)](https://community.apollographql.com)\n[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\nThis package has only been tested with `@hapi/hapi` 20.1.2 and higher; that is the minimum version of Hapi that supports Node 16.\n\nA full example of how to use `apollo-server-hapi` can be found in [the docs](https://www.apollographql.com/docs/apollo-server/integrations/middleware/#apollo-server-hapi).\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=12.0"},"gitHead":"4dc19131aaea2416b5b2ccab295b06272f94c996","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/4.0.0/node@v12.22.5+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.5","dependencies":{"@hapi/boom":"^9.1.2","@hapi/accept":"^5.0.2","apollo-server-core":"^3.2.0","apollo-server-types":"^3.2.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^3.2.0"},"peerDependencies":{"graphql":"^15.3.0","@hapi/hapi":"^20.1.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_3.2.0_1629762640712_0.767457947327606","host":"s3://npm-registry-packages"}},"3.3.0":{"name":"apollo-server-hapi","version":"3.3.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@3.3.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"1e4ad00df53c9d0487426bcacef7f8540a978891","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-3.3.0.tgz","fileCount":17,"integrity":"sha512-zsabbqK/QbInbz/iuGOKjEguOqhco58phSEnKCCL2nGnYmLNLVfex0nTueapm60DLD1GsUjEERIml9KVGAXSdw==","signatures":[{"sig":"MEUCIAleh8zStoMUaaPd3Gn61Dt4tjAzEHLHJOPpFlJHJHamAiEAjWLGqrvvhBEfr8u9ViBlgn3oJ3s7BozhiV+a5Llx8nk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87115,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhJs7kCRA9TVsSAnZWagAAl+0QAIwq7hIMRf1hp3jJy5Nu\nKk42UN2DL208zK2KnQwzSCBschF9waH+dransWZKPuRCA975BJPUIpJX905l\n9z9unfzXZc+C0IZ0MaJ9cgLZX4DEc/hKumOnBYm3ox8YPEv7qHumsap8r/Ji\na72OMb2AGYbHfbFnwZIdPKob/Jlc1Ri7UINSROSRbYo0sEGrdg73eRo8/01b\npEDP+aLBljzC7l/F/LxuUVvWvRlGHI0cy7b3+4pP3yQQvepZyLRche9E6m4p\nGaWwv5cuTbh9J9NT9GiKCAHOs/5zEt+ilP13ocF3rq27Um83CwzERuv802mL\nlRaeZ+hFrbR9DCWqc2gEQ0ckqbWKhY/PKmm03hbWQ4nCyYOSGdDkAzZxLVj3\nAa7GtFBIdcLYMJmce4NsTaami/s4SZnwpK0FrwcoXYYu8k57W5oZrLy2/hL/\nJ9xs/Vrpne5DoN4OwBEeNjjLuS43YYn/eRTAydu+qfcprzXf9ReVJonkXLoZ\nRjSgTKAIR7MyPdoy4QplRCKCPVvJdk/2UUUPpnXpqgOiU06ALkTek4jyV7Yg\nWg911zUA0ExhuXwykmXKUyrOxwtZwyAxH+B63sii+D570Iz9Jjyun31G+uri\nN/HSnPUFK5dqvf/chwbjz6yg9nWXSkc5YOhTNIPOLrut747GFqrpwK4ZlmsS\nZV1p\r\n=53WN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"8524df3d3fe98b7ad625c48cb393cd4a59ec1476","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/4.0.0/node@v12.22.5+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.5","dependencies":{"@hapi/boom":"^9.1.2","@hapi/accept":"^5.0.2","apollo-server-core":"^3.3.0","apollo-server-types":"^3.2.0"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^3.3.0"},"peerDependencies":{"graphql":"^15.3.0","@hapi/hapi":"^20.1.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_3.3.0_1629933284412_0.04544380164642359","host":"s3://npm-registry-packages"}},"3.4.0-alpha.0":{"name":"apollo-server-hapi","version":"3.4.0-alpha.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@3.4.0-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"0bc9e7641fa38769f0c131b356268c7a1aefadc9","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-3.4.0-alpha.0.tgz","fileCount":13,"integrity":"sha512-5Fl+wYib3jQTK7NahT3znkF3sjTDFHYtYABKDmru5r4lJNtmxZn0jjz2sRcNQdEj7mvNEvyABglwiHvNMrIRAA==","signatures":[{"sig":"MEQCIGBFBQncOD4BBw8Mo0o82QA+K7MP4c+9XDDaCBWgMk7PAiBVlHvoYoZ1eE1ejj+idGuUiGVGHRLwwGvaHmcKda+JJQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25119},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi)\n[![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server)\n[![Join the community forum](https://img.shields.io/badge/join%20the%20community-forum-blueviolet)](https://community.apollographql.com)\n[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\nThis package has only been tested with `@hapi/hapi` 20.1.2 and higher; that is the minimum version of Hapi that supports Node 16.\n\nA full example of how to use `apollo-server-hapi` can be found in [the docs](https://www.apollographql.com/docs/apollo-server/integrations/middleware/#apollo-server-hapi).\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=12.0"},"gitHead":"119dac4fbe357661cad7163dfa643b02ab479b96","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/4.0.0/node@v12.22.6+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.6","dependencies":{"@hapi/boom":"^9.1.2","@hapi/accept":"^5.0.2","apollo-server-core":"^3.4.0-alpha.0","apollo-server-types":"^3.3.0-alpha.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^3.4.0-alpha.0"},"peerDependencies":{"graphql":"^15.3.0","@hapi/hapi":"^20.1.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_3.4.0-alpha.0_1633739901796_0.3478651136841078","host":"s3://npm-registry-packages"}},"3.4.0":{"name":"apollo-server-hapi","version":"3.4.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@3.4.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"e1b1e70b44b2157c840d721dec94216d2df2373d","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-3.4.0.tgz","fileCount":13,"integrity":"sha512-5PLdeC/AOqbSQN96LSVUSjgeJwsVETrXsA1Qe7ulhmIKv5xXNbs3Iz+Nu0Xw/nPfKQSUK34o8LECyfK1GKJgyA==","signatures":[{"sig":"MEYCIQCxDbvkKss7Fiq/4pn4c8P4wgqzcl02c2YHSMJtehSojQIhANdqeaBACTm207OeydShHV6fV03+9TsvtGhVkAlg+829","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25087},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"7861ba22c9e4caf037e7a1cec71191b9b0deb71b","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/4.0.0/node@v12.22.6+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.6","dependencies":{"@hapi/boom":"^9.1.2","@hapi/accept":"^5.0.2","apollo-server-core":"^3.4.0","apollo-server-types":"^3.3.0"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^3.4.0"},"peerDependencies":{"graphql":"^15.3.0","@hapi/hapi":"^20.1.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_3.4.0_1633985915978_0.8239491593393464","host":"s3://npm-registry-packages"}},"2.25.3":{"name":"apollo-server-hapi","version":"2.25.3","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@2.25.3","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"01803d12067e1c905a346c01a18cbbc73ab21c43","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.25.3.tgz","fileCount":21,"integrity":"sha512-9fsTKYuWOJ1rESVfUfk0RBRMCXQUd6d8hrg0V5olhHJ2HXPPiorZ8kup85o3qyvLJoF/sW31KeFS7DtJLfeYmQ==","signatures":[{"sig":"MEQCICTGcrQVWcjg1DwbtBNMzmqZEp9p7NEXtsIKGYzrMcUfAiAumtiVEmImc6WkvLmkn5rZ8Q8YO8gcEBsGh8AGDc7sJw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54908},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"gitHead":"a725306525a99650af46effb72ae9afe780ed88b","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.7","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.8","apollo-server-core":"^2.25.3","apollo-server-types":"^0.9.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.25.3"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.25.3_1636049067476_0.9990770867471976","host":"s3://npm-registry-packages"}},"3.4.1":{"name":"apollo-server-hapi","version":"3.4.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@3.4.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"ddfc3ecacb1cd300cb51f5ae8980fb9fe8683792","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-3.4.1.tgz","fileCount":13,"integrity":"sha512-bvc/JCQishCTlGXRrFCKNsdBWHYjSZtSTjZCpVxKmLkm3x9cb2Q16S1vf+yef7Kgi9pIbp/uT2cPCoIDgmAnRA==","signatures":[{"sig":"MEUCIBXwJpPyMiqO/srsJiSYMgLUEEaAI9Oj5IgBJ1VcK7MEAiEAnPvon+MlBChHrLfM4OBzYASW76UtePmuMTBu9YIju3I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25087},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"f3fcbfe09957806df06f8de431877dd39d8b97c0","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.7","dependencies":{"@hapi/boom":"^9.1.2","@hapi/accept":"^5.0.2","apollo-server-core":"^3.4.1","apollo-server-types":"^3.3.0"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^3.4.1"},"peerDependencies":{"graphql":"^15.3.0","@hapi/hapi":"^20.1.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_3.4.1_1636049198143_0.49130328307250926","host":"s3://npm-registry-packages"}},"3.5.0":{"name":"apollo-server-hapi","version":"3.5.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@3.5.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"3d271eeb6ab5e050c2360bebe403fd61e9938b83","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-3.5.0.tgz","fileCount":13,"integrity":"sha512-xQgFUK0rTMN3MZ/KVlq+kHPqcUNfOJ34+7LabdM7WuQ5hdz8GWDaFKWem51ClklzY+MwvJ0p8c8jPzPCQqsKuw==","signatures":[{"sig":"MEYCIQDu9q1xkPYzrMT+250prVWhl4ISEDBbU4QBC+He+xNSXAIhAJ1nyNx9c6XUahphps5RE9xq9oUnEC10TY5ObzPv3vVr","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25096},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"e6c3cbbf820b3ffff1e7e98d41b3bfc08f99b9b0","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.7","dependencies":{"@hapi/boom":"^9.1.2","@hapi/accept":"^5.0.2","apollo-server-core":"^3.5.0","apollo-server-types":"^3.4.0"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^3.5.0"},"peerDependencies":{"graphql":"^15.3.0 || ^16.0.0","@hapi/hapi":"^20.1.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_3.5.0_1636134878985_0.6143348386334853","host":"s3://npm-registry-packages"}},"3.6.0-alpha.0":{"name":"apollo-server-hapi","version":"3.6.0-alpha.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@3.6.0-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"aceaa049fcbde46b4418eb74e8bb2e6b8b484fc6","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-3.6.0-alpha.0.tgz","fileCount":13,"integrity":"sha512-aGwPAqRHbkj1kowhs2ukBEc+0vIMR2O0JwjMlmNv2NGGvwXXaR/PFuWcdoy1gVfpU1z37nsHpQfaIgh4qHTKhQ==","signatures":[{"sig":"MEUCIFieYADu2I016mNsHtjnL2HlYsqxN6mKbW8OG6hbaN2wAiEA0toadicqiZFHoNicvKzPSF5mqLEj/l0ymFV1STbHzW4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25199,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhvQfmCRA9TVsSAnZWagAAhAkP/2GnquFD9E8Ufz0f20rc\nEv4Oo6kzjUtafxKOtNh15i74qqfxh20ChpdtXYMMcGOZrFCwj/RZYF4EIcyy\nwoCquH8yUpaFmLh1XcYiJocW5n79xlM9ah/ecOaPH/rnjY4F/6dQhsMd/1xH\nPqQYMlLSa1KDZXYvr9oOxT2OBtIQNfBWn1usT57UzqWeMPJdUWMSM2jCOoyY\nnOxqc3Piby5b/sPK7Bbk0xGnFEAwailYg8SD707KcX6PCWi6sLCE/GjoVixm\nJn1UWv6j5/ILj1sE7lg+s4sk/DQpMDLO1bkc9xMWyZLrb5kgAClTVbATE4oK\nxMQjRn4G1MTzTp+jzpueyFfFumVWSIcfOWN7YqLjvSMfY4wBqHU1nzoGNF7W\naSvxc2mmlKKjqK346yHoAV88Oq9DhQnUrUYgdv8wJepednvpoM/D6r7h7+Tl\nApaCq9Z4VH84jCRgRzEVbTL9OfGEk+i5Sck2S4QLT600uZilmH4g1HjpPDQX\n9562sYcGIlP3q7z6XWmOfS9zB/TW2gWvHjXAV5QxpPqqA08Ff2uAyREad2xn\nObD45jiy77Qv5JbWDGkG7m3+jftnqteU0FQQQCN65VIGEcOAhsvB/r+XIyIX\n0/RqRHG6d0p5crPYzeq9FLmWAiUuQOHuL9kVTpL76/Dc7ks2plVN2QtJiORU\ne4bE\r\n=mnUv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi)\n[![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server)\n[![Join the community forum](https://img.shields.io/badge/join%20the%20community-forum-blueviolet)](https://community.apollographql.com)\n[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\nThis package has only been tested with `@hapi/hapi` 20.1.2 and higher; that is the minimum version of Hapi that supports Node 16.\n\nA full example of how to use `apollo-server-hapi` can be found in [the docs](https://www.apollographql.com/docs/apollo-server/integrations/middleware/#apollo-server-hapi).\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=12.0"},"gitHead":"2c352a9e0c5a48b8cfec145bec52cad2f0a73fa4","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.7","dependencies":{"@hapi/boom":"^9.1.2","@hapi/accept":"^5.0.2","apollo-server-core":"^3.6.0-alpha.0","apollo-server-types":"^3.5.0-alpha.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^3.6.0-alpha.0"},"peerDependencies":{"graphql":"^15.3.0 || ^16.0.0","@hapi/hapi":"^20.1.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_3.6.0-alpha.0_1639778278755_0.3954808465462638","host":"s3://npm-registry-packages"}},"3.6.0-alpha.1":{"name":"apollo-server-hapi","version":"3.6.0-alpha.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@3.6.0-alpha.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"f6d47025cb4eeaa141839b1dc6f9b272bee22bd7","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-3.6.0-alpha.1.tgz","fileCount":13,"integrity":"sha512-sFXC0mAp1Qxz4zUJ0J2zrkUxQBclkTOcnHjmNQP2cMRI3bPQdwBwUhdx5qtlC5jgeQhZRvR5IulliJsvLBGoXQ==","signatures":[{"sig":"MEUCIQDRG7hWRlsxWV9mWolEEK6q0LTPqtOGdyFAWXKKtF7rRAIgPe18aTPBJbUEgL5H8fw5IOOfnaUcXwakGc5xBhQSGSw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25199,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhyoBQCRA9TVsSAnZWagAAMUUP/2bPjUCk+px4HKF5fHEF\n8y2VrlaeiAsbKwK16kdHxlDBSpiP4Wfqeq8JqTf+8nbYvejUOv73kNDdrT3t\n2iEW8iclAu9QL9KVJaSZbSUGvDKUcWf+rgCmI9oW7B7fNhwkA2KY+WuPMS4h\nLdFfICahsjduqCRoCZgMdVppAc4y6Nz6T1+y1vKdjH6e6Mzgb/BS66y0HCej\nVgKtXvOlB6svm+djayL+Jx0j1wxiIGZGJG8jZ2+Tw28ZLxfK6WhDV+iPV/FS\nQm77P4N1dsHtDkUdEJopgQWSV/bWEAhlV3FFpLH+IkiEVchJRHHwDCrUOdWt\nTtFDCafxuik41PAsEygCT8GN4FSTxIBgbrwQvXBayQIUECUDBBVVDbvySSkw\nxb1aNjoMgp0T2p9ldDVaffY8HpMpoRSroJPJltXrdWCzPs8eHAoNfe9Kvhrx\nUFga5Slw4TTMCXB/rHeVRJ/za8go9eeNPkXTqTd7QYRLX+Be/TwTG3sKMC2c\nKo2IHOdofiA+5n1bQGtMdPJhryQ9YKyFr+aev5m8xXSGw5OMUAo4V3vkpMzD\nW7QggZcaR9IoZfbZhhp+3jS+Y02d/dNF8qQwE3BGJOtTL1kKGRVsQr+DLoAP\nBVOCRxT3+GKI/EhBXil/7px792Pb1ZIDDQg4EHPnBpU/ot1leMYzfKR+Ehl5\njmDm\r\n=tgck\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi)\n[![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server)\n[![Join the community forum](https://img.shields.io/badge/join%20the%20community-forum-blueviolet)](https://community.apollographql.com)\n[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\nThis package has only been tested with `@hapi/hapi` 20.1.2 and higher; that is the minimum version of Hapi that supports Node 16.\n\nA full example of how to use `apollo-server-hapi` can be found in [the docs](https://www.apollographql.com/docs/apollo-server/integrations/middleware/#apollo-server-hapi).\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=12.0"},"gitHead":"1361265ba3d573b7e7cac348c81f923ab32fbc6b","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.7","dependencies":{"@hapi/boom":"^9.1.2","@hapi/accept":"^5.0.2","apollo-server-core":"^3.6.0-alpha.1","apollo-server-types":"^3.5.0-alpha.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^3.6.0-alpha.1"},"peerDependencies":{"graphql":"^15.3.0 || ^16.0.0","@hapi/hapi":"^20.1.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_3.6.0-alpha.1_1640661072804_0.4725966030145927","host":"s3://npm-registry-packages"}},"3.6.0":{"name":"apollo-server-hapi","version":"3.6.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@3.6.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"5c5559a56d2e3fa8ac5b449405655c2a31ab8769","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-3.6.0.tgz","fileCount":13,"integrity":"sha512-7ijohqm5y+1+OHccUR7P82wYAsJBceO40q9SonjjwJb4LeL4nCH4D+srHKaX4hjemn8ITrVGGjuqrvkYH9v4nA==","signatures":[{"sig":"MEQCIDAyjd7cd+8E4g2zquVTjX8ifx9R+1BLB7Fr/uBby7+IAiAI4GPZ8Nl7FsYCZlFFeYVObuGVIoxU+n2qIefcgeBXuQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25167,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzfmyCRA9TVsSAnZWagAAbmIQAIoPLOT43OqA/OEfzegG\nKTqe/NDTxODkyL/1GWfyQEtzsVkfrrfhRrValFc/405qHsMg2PeDxp/+1Vlu\nTflc8kPxwddis9xKF0ZPJIhUCk2ACo/na/8PIvqi1CUNcBw4g1dHvxwvT2RE\ndluPtkIpkI4bC4UmPFe4RZqcXZTeHPK2kTWanvx7P/OaLO8D/WGKJLnpM+zr\nsWMxc8+mmo3EUYEdglzKMvMUG7Sx2u+j2JcB5Op9Kk8Gk2Gj+luR9F2S47pG\n9dgON2Vl++Vd1s9sObp39zKiUepO0IaLS9qV3xtu2CTJMEt5HESRUUXZ3b5J\nomPC3ep4VXMa3hYaaFFqD6B5jq0/MLKGPla7CbF5wU/U+GrJ/56L2rqusU2m\nPdFCK/4S4rCE6JMPrssvCDvW5zM12VAlqJULTygrLIQ+y2yAoJtUs6gIC4gT\nyV15ZG4ydGfHZeJEslAZKfPaa9nnMBl2IgRmPNDLHo4uIzGwkym0SaWqHTa+\nh0sjZbILq0IpkE6P/QtkDqAs5jK25Zxw40sIgpQJe6tu9bA7fyAx4wVxEi1G\nt/TdPFoUOAULp5A60nX2C4zTF8dY6V3TVx7mJJ567hXRvA8JMFDTDVqyTwOK\n2ae/ox/GxmaYdcjZgPXH0mNspEYl0tzayT1Ry+qbdS22Bbwc3R1v/rs217Yq\nJ0wO\r\n=RQ+r\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"8b2c1360c224d23ff64fa49adbee1e62dbdaa917","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.7","dependencies":{"@hapi/boom":"^9.1.2","@hapi/accept":"^5.0.2","apollo-server-core":"^3.6.0","apollo-server-types":"^3.5.0"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^3.6.0"},"peerDependencies":{"graphql":"^15.3.0 || ^16.0.0","@hapi/hapi":"^20.1.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_3.6.0_1640888754101_0.2744247673428697","host":"s3://npm-registry-packages"}},"3.6.1":{"name":"apollo-server-hapi","version":"3.6.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@3.6.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"9d4aae5a801d440d18732b7f7133722dff414898","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-3.6.1.tgz","fileCount":13,"integrity":"sha512-nVPFXwZPRkZ3ZqHcy5EEqrkzdTdGqRQToe2Rd9Rlrqu2IRCOm8h+Uh7IvN/S3eA5JqnRPJAPaRaukVF4+zduRg==","signatures":[{"sig":"MEUCIQDL/ovo0Gquzjeoq/+Fy8lYD8ZYS43nnUuI5AuK7CkBNwIgTzo9dJNYpbfZ3YE/EcBoYF3VrYcZHXfkfosiJbncBoc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25167,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzyh7CRA9TVsSAnZWagAAlmIP/01+AyM5Ly5rgQ5ZX+QM\nw5De+Yra8cPx3QE1V3EEeXsnQdMPp+sF4SAG9JVi5hm1qIsAzJqxl4TzSNHw\nENSwOEyvai+6fEIeVW6ORNMICIbsb3uqe3F7ASucl7cnFolCqwz9PiPKm4o/\nSie0fhvmyDZF5vT4m9I2gkWYrmvOpz6FrFPvypcr26ZvyLSuFS3jv3+gCLN1\nDCRZ6WC2LyUutfA113CfBdnkY3+YyRg7vaFc14mJ6Kn+RRYv20pO0RA1Q+Uh\nPNjz6ScfkT+IPfRCAmOHiVO4jPRMvlT/miOzUOV9toH1XnHlvJM3jHWXRFrR\nA5ce3BYKJ5B3Ztclmw/Cg/QxqlOa+SCYRZcqvR6P8gEkUif6zGnN7nYT1azi\nbphjymOsX0tn1mT5ybfpnreDn3moZXrAa3ArGN0Vm7nEN6U8uQ6RwkAGrp9G\nYk89RrG0qhHiGq0Xqrya5l98OYdjj5BUbF6we6OXkv51cB1JQct251fV7lc5\nai6SkufgwyFUevBKFl0kkLbE0BRkhYOCR3X9zpRpUhytpdSxnUTjk7FxAcDm\nu1fIuGZR0bKiGDzu+/Iebfv+BqPkD/kwW9G6z150wG0jxTxMUd06/Att+MmS\nbXAnYvn8S1hSi0FfaPwHEq9xwfwGutiLulWfMUok3hqaGnTaHTJdw4Yx8NfQ\nro/G\r\n=g654\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"f3fc7d147a3bc3446f4f3452acfa5f598099b08f","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.7","dependencies":{"@hapi/boom":"^9.1.2","@hapi/accept":"^5.0.2","apollo-server-core":"^3.6.1","apollo-server-types":"^3.5.0"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^3.6.1"},"peerDependencies":{"graphql":"^15.3.0 || ^16.0.0","@hapi/hapi":"^20.1.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_3.6.1_1640966267078_0.5947544737028361","host":"s3://npm-registry-packages"}},"3.6.2":{"name":"apollo-server-hapi","version":"3.6.2","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@3.6.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"5434e671bd68664e13e230518c84db18ecf618a5","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-3.6.2.tgz","fileCount":13,"integrity":"sha512-QVepBuNFMnA7sAZkRucRB29ACZQsqKFALVoEs/iVoANW14bthzjq5pKvQInlzGjSKWgPNktxMo8o/02LHCKs6w==","signatures":[{"sig":"MEQCIFZI7306RBkWCxh3RLgE26u+HsTv9e+isAqTBN8zYS0EAiAL1SfJODWYMOec4LaPR+b2krh4XITkj4FUvV2HM/O7xg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25167,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh5yyzCRA9TVsSAnZWagAA7GEP+gM46Zm6GaPjy9nQxTAl\ndpUh6zSXK5azmeHIGSE0Vo1/InRvgft5QN0gpPy8GBTR14jOy7e+hkS0fpjF\nxTBEbLjUTPmGJiDpCqujkKDZnY8CsmZmr9jjXV5bh6tj+KYtKfMSNZdQ9J+Q\nmYmRBpDwhNGtR0GqLPFua9nMA4zraIBhGrpW0QopjIYwjP6F/Z6R4WmeGKx9\nadXAuac7HUcsLsVVIMiKOqQHvPWO3BzoYqD1Fymq9QlAyZMNo9X/WggJapOd\npCLq+IrbkqWncmW9eDWowk4rauhI5ZAWvjzt7dmA6wystfqnC2ZA4jE+vQ1o\nUFNyQqFhcHt8DW6xyL4Cd52QN3PJbtdylurejqYRdsY+Vg3VKBPGbKJDmXp7\nmYkYJxzdkKPzA7Zy13j7hC0DRtSmH4OxYtT6PjTov3hwMJl1vBU3wuNb64Jb\n8FFanQFtOin26MvRRsBGIrZAhJ4KVfyxEyHSecOBuJNK6RILV0FpfrKwNlUW\n/2PpILnO6k3erGBFT+1bn9frt08cmtINsMn17QUrhM7AaYFiuRqDcLHrhQPX\ndAfEREtyGX+UlY0qE5ec4qRalO9PSvjTB5NZUKJScMbBbfrArK4DKq2FDmH+\nxIyHmGIUEkvR0FzEsgXUxOC1E8t62bSX/vQY7lVqro4jtRdc5mT53o4BC1p2\nMBHC\r\n=pR7n\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"022184a4d01d4452ebbcfeeef6e8ee1aae7a5db7","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.7","dependencies":{"@hapi/boom":"^9.1.2","@hapi/accept":"^5.0.2","apollo-server-core":"^3.6.2","apollo-server-types":"^3.5.1"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^3.6.2"},"peerDependencies":{"graphql":"^15.3.0 || ^16.0.0","@hapi/hapi":"^20.1.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_3.6.2_1642540211706_0.8458111463220672","host":"s3://npm-registry-packages"}},"3.6.3":{"name":"apollo-server-hapi","version":"3.6.3","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@3.6.3","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"209abb8f8cc0ea5755ca31abd0b4e33e3b0cbe1c","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-3.6.3.tgz","fileCount":13,"integrity":"sha512-70/4J24gY2P6Tp9pb6nGwXjogTM9mXXFqxL2oqGw/e8PY20h4ZY/hlDzGIh4PaaQ7b7B5mlnwjwaqQEV2ZgTGw==","signatures":[{"sig":"MEUCIQD/rYTyHEc7+yD7+3H2jnTTh6iIBtAqghU/DuOTEx5LBgIgPbJdU7BZSM1Ycwfb7LhburqGWH1hQPN4McqPC5h8vp4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25167,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiAsFQCRA9TVsSAnZWagAAOHYP/0NeE2YKFiJ/jVhffegB\nVBIKJWOqGGReE+JB4l3LukYJt/dzZ//BPqOlU//cHJU9zfauM0CgClFEwrIo\nuKoIRrlqP3F8iFvZS3j9qA/KTLXuo1kxaAx5BHoBjbeM8t5piIcjCfClDUf3\nff5xHt5LltVKevbUACWmo0t/fIf9/dUx/Nd4qWjws6gkopyJp9IQnPnlKuOb\nTUM5FD3u3mplMyQH64XlprvuKnp/1bz//4+qZ0tKJ1FOxKeSdGNcm3PdFY2W\nVFmpR/IJTfZtLre8iQsMjXKOhU+myHQbFuwZsCh3qdegHHirTicgdHNZvhW0\nR9kSt3GMsMZ665EMsJAPT9hu6grz7OX/NVh9NRfT8BE3xEH4yVvWl5tPCg8g\nl/96/IM0zg6S1kRt4ZMLT/NjdA4qi2Tg8eswINXCX/QBxXHAmyBlm9+3Cm0/\nT89iQeKIkoo7ZauVI0R0cEuNAkTUWDLrxu7HpMkvKLeDfgjYh3gmQDs6ydvf\nWvf6RL10B6E4piEp/HZ5zrUWATsTwzGe6KplRC6+D4hrWZiKTxTk8kDFXc/w\nItJzR9cT9Z+L/T+VyGEdJeRFpr3304SCQ7pg3lDEBYmOp7+sLwa6Nfivic8M\nDsoPmUIsss7y6CV9klTWG6db47vBUbR1nEMDjm/7/kn5gM/eZ36pDZwEufFN\nC2ta\r\n=GaF/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"289acad0e3777bd0010506763c3fd6e4c0289813","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.7","dependencies":{"@hapi/boom":"^9.1.2","@hapi/accept":"^5.0.2","apollo-server-core":"^3.6.3","apollo-server-types":"^3.5.1"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^3.6.3"},"peerDependencies":{"graphql":"^15.3.0 || ^16.0.0","@hapi/hapi":"^20.1.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_3.6.3_1644347728754_0.45577999249316825","host":"s3://npm-registry-packages"}},"3.6.4":{"name":"apollo-server-hapi","version":"3.6.4","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@3.6.4","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"e0080d32680f6b811f8ba000ba5816cd4599194a","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-3.6.4.tgz","fileCount":13,"integrity":"sha512-tfrLNpQDaGf/bbhy5HVWpxMc5dYLsWelc5Qkgqch41rwf8SAtD2CcGilWP4PuJfhbnoKi6Ef5r00SEs5MyagAA==","signatures":[{"sig":"MEUCIBfADKyFHqmfXbM82VmW62cpnz5BYKdjheMvSmGalcXvAiEAym5sp0UqprGPzxqV66GvqlaMZC/PQA6XtLlZ+86MV38=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25167,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiKkiVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo+nw/8C49DRDWKRYMe5kIDrhqkPxJ/bTCqScEoCHYFOfPdLaDPUkm0\r\nHkySDWdFAhsI8EHEtt8wnybO+n8g+WQ/CuiSb/BWA/hUURcor8cRYzVZ2WGF\r\nD3n1hdEz9BAY6HAUhg/IwDmuMpLPCVQPkZjg6UgPO53tA4Ue31bV60OP68RD\r\n2pVYKCei+tWyQW5g5AedvRuJgD7sFxtio1txCbkRjU19uiP671pfRXq4i+rW\r\nFd9EEIm4slUkCASvI1YnFYuDrk70CThOqopyssTzdTvd14NVtZvDGv6P0cBl\r\nRGF0VwDh0F3UUlTO+pELkldCvKe+v5qXSfPDAbxJNb0jgQD5kAun7+vb87fB\r\nMfvtegsQrV/yaAOygm/cGVzVELbnhZ/whtT8OafpRRDlrICfkNPM9jN83rAI\r\nGUNKWfnfvKBjOFo2hK13nCFolXsJaMlZ0iq3/wuNM7iVPaUZXZYF9PiuctdF\r\nMJGiLht2fRpQOtWVvIhjEJz5tDqejHr6uY1mFBrejvus9NynhbDdAYHviThW\r\nbojxF1hTlzIA3Kv7R2lA2diFQzkcl8q3HJGyMR+RN+4FmfELiUepBFSYWlA8\r\n85AY96Ye8OhMeePlWJyvBeV9qAarDEhgCSxlwAN9uTwLG0/h3FEZYeETKbYv\r\n1XFVqPtd+tdjx+UR1HfSYRG9uh6cKwyk2nw=\r\n=7MTC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"dfa9fef87b75513ff32391fb6d8dea4bf5c7d889","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.7","dependencies":{"@hapi/boom":"^9.1.2","@hapi/accept":"^5.0.2","apollo-server-core":"^3.6.4","apollo-server-types":"^3.5.1"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^3.6.4"},"peerDependencies":{"graphql":"^15.3.0 || ^16.0.0","@hapi/hapi":"^20.1.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_3.6.4_1646938261715_0.5566237276135877","host":"s3://npm-registry-packages"}},"3.6.5":{"name":"apollo-server-hapi","version":"3.6.5","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@3.6.5","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"b553f1b8cfd9ec8396d85999b8caedcde2696b24","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-3.6.5.tgz","fileCount":13,"integrity":"sha512-/lIM9ZtqfxijzAQYMRtbwL2WmTNB+DwlS5YdIBtRd7ciSSfSnsf+oGIB9mtXOzF45LK5dSkK+9Ljc1IZAwiqYg==","signatures":[{"sig":"MEUCIFpmTq4iRTiGvkG6X86R2tO20wba5+CosCO3X5sEDFE5AiEA1sfCbu+gRPKx7O4cJ5qkpZfsN1nTDulxV//DuWjYizU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25167,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiOM6RACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr5FA/+ITaIskuJ6dCe8CqdybCSiCwOq7GQRlSajvnhsXayeiTrFw4J\r\nTCgviAzhwqEAQlsG+kA9XghMRwR/6BWA9pfdAda9+n1sdaemrPqiRZC7vWy3\r\n8s6fvSiwJ0AKXo4wvNftyw/7nB7ywaB3P9Y8pY9tjiTdU56UN4mXPDwbyKfB\r\nI/ivF9Tz9ux8wy5yTTRsB092WTZ3AxLtppGK56nIRkGRMdUR4Y9NzZ7sdtDo\r\n+a2NILw/4vcXWs8eIZ1VKs2zkvGH1hyIOYptUAygFZNfqMLLAuUNxb694QSt\r\nkKM9KcFpxgVSDXkQx7FdLmzFm4uc63p7oJEnkmTyobcyIz1mKr3SS9aWFuK4\r\ni/O9cPtHqMciYeNygv/n5/vwXAzEIEqIMknJJnO42CgScaR8NazFpMyXgyVs\r\nG0Fl9sJ+U+cErV/PgvwIT2rg0GxzjkUwhTTS33pgx9TXeb9+2Q7whClHBds2\r\nJSyHsigbGGhTIyMhiVNkJBzfmejr2RnAiexnwhvTzV5sXTfVDXiL7gTgG9IB\r\n/SQbkqvcrOcCaSlg2IH3eGkTCDfkOTlE/ezvgNN0/exDIh4Hi7yu4uRKxahD\r\n45NsOWKy+1HtE+gpHUWiQR/LAjtf6dj7jxN5rYmXBnjdNu4drDA9btomYihj\r\nyAD8HTVtwyIy2QIApBY3t2WeG4Xxcl0YEWo=\r\n=qRkt\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"c3deb0d980dbf983028aa99b7d2b1cc6968de432","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.7","dependencies":{"@hapi/boom":"^9.1.2","@hapi/accept":"^5.0.2","apollo-server-core":"^3.6.5","apollo-server-types":"^3.5.2"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^3.6.5"},"peerDependencies":{"graphql":"^15.3.0 || ^16.0.0","@hapi/hapi":"^20.1.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_3.6.5_1647890065487_0.2256199258043876","host":"s3://npm-registry-packages"}},"3.6.6":{"name":"apollo-server-hapi","version":"3.6.6","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@3.6.6","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"ef8803bb527c5f3a6a09b04ef7315f2063e979b1","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-3.6.6.tgz","fileCount":13,"integrity":"sha512-65WqHNdbd211WNRmcmdcknQaIQOg/1ARuiHsH+2FhIDgtQ1NTUv/ZO7RGGEI+38LINrYPnOM0/f9uYny6I2hVg==","signatures":[{"sig":"MEUCIQCWnWMkq8P0ZtsZSPup67v/ojYM9uhoYFTKM34lSYnh4QIgVjPj37MD2smytlPxz1mKMIPT6qqahIoqq80C2P8BlNk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25167,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiPNKWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpC5hAAlMsZCHEDtdYF8rH2V8jWTDSN+vPNVkYHOniUq4+Vg5ovShUS\r\nCqFOJHM1Ra9bVqjMQA0ChnZqrGObTtXrRz75gqEC0Y7ZLwYUkTisE1hV73Ti\r\ncGNY6yu7I7nSa7Tntsc9m0cKIyZDJoVidDb2JjDOfHIbm3i31n7ANw292HMa\r\npEcVIvSkJdhI4CR7fc7kZc7zOE27NaZHLnw4+jKK3OTEd+GKXBLRR8suxCaB\r\nSURtCsG2OUW2whb7deqMzzu5TxVsqaeLVPkBj1ovrJgl95wBK9SmHyVPfdob\r\nd33TxmP8B/zTIOYXxvVP4ZIKKB7Mv0C+du7qvij62cKh6HsCXyjCxdMb3Eej\r\nRrXbsIXbUgj4AZllwuSanstSmB/2quK2GkGV5j8p+YKtcl0m0VKJnDa8s67R\r\naeVZ2VSjSe2ZBxQ5YrMbP6noJEAZ1ZtxGVdQ6+57XJpU5zm4T8cJwV6rjeA0\r\nTCB8GK6GwNH33FgNkkiQB/OBZXMBef+5dwYDi6jUtmwMHQw6hYZy0zOnxpO1\r\nYS5qGxuqDqXU6dleSGxGSjFIpRegpS6rYc3YOTJGQ4U9JkDElhKKhWr4iMPg\r\nb5WjP5cnia6spKjehGIkbCBOpPdPh4tKMvwNxVo5ZCkADwvHEpVvwN7jEuwr\r\nvq2hp1bpwbtxhpi8/jg472mQRTXz9njMpPA=\r\n=0Ugv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"1ca36691959aa3e34448fe9838010ccbfc025755","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.7","dependencies":{"@hapi/boom":"^9.1.2","@hapi/accept":"^5.0.2","apollo-server-core":"^3.6.6","apollo-server-types":"^3.5.2"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^3.6.6"},"peerDependencies":{"graphql":"^15.3.0 || ^16.0.0","@hapi/hapi":"^20.1.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_3.6.6_1648153238170_0.6997639973691685","host":"s3://npm-registry-packages"}},"3.6.7":{"name":"apollo-server-hapi","version":"3.6.7","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@3.6.7","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"9f490bf45e0a78f95459f75936c42ab2e8a4838d","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-3.6.7.tgz","fileCount":13,"integrity":"sha512-BpuMZLCK5yG+8ueU+z5ibwJfmXu9y+GZ+k57A+Qd8SJWrWZILsvFgcKnGNtVlcEqOy1TTrucBWYTD2fZ+oiE1g==","signatures":[{"sig":"MEYCIQDHgZUlKnAeHRIj9WUISotxfjDNXZwRwARPTpV/+HhSHAIhAICR/El7xBGKOotx+OmKuW1GXzb82UOlf62Mmz7TEKrN","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25167,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiQ5wwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoGqBAAiSIrYJvbOqfQWanqmUcBCD2F6GvvFN7beP9oJHX+2YdzJV02\r\nizSmN3DWhQc3F6Wxa+zUVjApAUrrhSRA5L3K5+9LLtQ3WzXVKK98uoCpnzLq\r\n8en5RY4snNmGy64xTteff/XecJggVBtEOtP1w7ZvaF5xN/kHsjdRikQeDTsK\r\n2D1oQAhkLr5ZXW1LQkoExTrZVqBlu2RXvy0wd393rIBw8+KnO6R0Vh3HIDie\r\nZV03mqoF/H5EPs22ueUFGN1Q5NRI+mAgumxE1zXm5Q/SnE74JMA5Y/9kclim\r\noIOD3a/v7ANWCTXcVoaWLPi9wFtjb7+7jR3T8jaNBpdczZWkJS5j4PkGF+lF\r\nocrFprNVGiALGWLCSSs91yee+JSxl6iS4JzZNU+pex/fdoVaOaPWE51tEX5U\r\nILgkZfTt9M1lythduAq0aLBYSFKAsfGJSkgFEMA/ZkBnFdXfSLHxbNcGXj54\r\njCIqF/9Gdm0zdOEEFS1sIxKw3UXWlLPerv3mQ3UPIdREF4EAt+xj2rvnTq2P\r\nsS9WlcUN1AM3J3oNCGY/8qm5Ipd5jL6ufCiy5KuQ0X4QCStgPazEyh1Wcd21\r\n/HCfNb4HqZXxQKF6Vy8DogyabRIBNoAiUETtu+lWDxNb6r6xGEG09VDLsOlL\r\n/Yv+jUpo84zN/uIaGnHISoOoziBVTOflivM=\r\n=1UMS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"7678672824691c1af87a982492b45a473f35d4b1","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.7","dependencies":{"@hapi/boom":"^9.1.2","@hapi/accept":"^5.0.2","apollo-server-core":"^3.6.7","apollo-server-types":"^3.5.2"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^3.6.7"},"peerDependencies":{"graphql":"^15.3.0 || ^16.0.0","@hapi/hapi":"^20.1.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_3.6.7_1648598064046_0.84967096660159","host":"s3://npm-registry-packages"}},"3.6.8":{"name":"apollo-server-hapi","version":"3.6.8","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@3.6.8","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"ea25cc7ed1a0346d83b4073fe3cec2f318666aa9","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-3.6.8.tgz","fileCount":13,"integrity":"sha512-zT9SfZsfmPnbRJ7mekg0iSnfj6CjUTDDGoYTT/HiXoTLdsn0OZlztbDN5ErM8IUhjk+BgfFPTOp153mmzzcuMg==","signatures":[{"sig":"MEQCIEtM/H6jfP2NpL0j3bIbsszW7G86Xz4Cjyl6ZWmct9yoAiBGlciTSK/eQDJubWA09mCJfY8E/BXWoTwO+4oEPmLDWg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25167,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJic/LNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrabA//bOjxw5FVn76uuuMSwZORffPLhmmqTSr/mqRvsRz5y5BvkyPw\r\nKWQUKuWwMESy9Vv87JhUQWZV6CEv5SLDqzWh1GTSlv+LEkqqlfdBmg7zttBZ\r\n9mV1ZjUZAf2vDG8vuezCobxfbRyUqpJiBxTuKSXcpGEoTyEolbCfmp7hNXA1\r\nwF86STzscA384rWjmW56NKv9IECCPnUA7zawkJjs+QnH13TfnCq2QfoJ3ii5\r\nNQleVwAeFGpRF/X805Z8z7dWHXTsasLPT5rXAbAzvB4ZHxrHOSD7mItZu4ru\r\nPYGq2WpxA8ieqRBEqUYNUU9L0t6e7+uDg7E2gmQSfV057fvPblDIhftVm0sS\r\nF7YWg45LJRiG0JzG3KcMmLjuOpkDmN/q5nXGEpusCXiUlSqVjCr6EYOZF25g\r\nqofQse1kTM6zhwYp/hfectwefKfaOCHBetYiuhNWw/MP+1ntUHic8bgb2fFH\r\nxDWqZv0V+qtLaUA7H6oNyNYjsHrpzOyq8Pu+NdGjOxIkRLtorWR+haGTCBBX\r\nsV5RTGi3b3tXodmpt8km8r0mhzLT2EuVE4PD0UllDM6c7BrHeq33ctVmnpp5\r\nWn1p7wcfT0rhLhSVTTy4T0Wxe0SOQNUlhiRYf2rXL/ie2ih/3vchXBFKa854\r\nlUw+coBpNQwqnRLGVOtCn1l69tvR+CeD7eo=\r\n=tQ0B\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"c4a3f346533885df825297853610c1367fa984de","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.7","dependencies":{"@hapi/boom":"^9.1.2","@hapi/accept":"^5.0.2","apollo-server-core":"^3.6.8","apollo-server-types":"^3.5.3"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^3.6.8"},"peerDependencies":{"graphql":"^15.3.0 || ^16.0.0","@hapi/hapi":"^20.1.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_3.6.8_1651765965042_0.9364902924502796","host":"s3://npm-registry-packages"}},"3.7.0":{"name":"apollo-server-hapi","version":"3.7.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@3.7.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"601c4a0ef480c51ab866c2b4636c867c127b4855","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-3.7.0.tgz","fileCount":13,"integrity":"sha512-KbrTVMoktlDgRaUeOPjgK2W0PaehWbrDMZbTd8IT861TW7rkTUUbNWO7rLzamvoQcHGo2UjoXcCeS56Yx1T5kQ==","signatures":[{"sig":"MEUCIQClxA+DKUJQ/N2nHH3h/9SD4GJ8EORTTz6mrU7SkNB3FQIgSQUqLLcfz9DWb8+JBP35BD0OejmBGsFwSe/cwyAMr+c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25272,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJidACcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpm9g//U6/2DHUvbf9a3EYIWN+OwBzKs51AdYKavdsHLud+5raLKvsD\r\nuAt2Mib6qER1sgZ0oe+670kPGG0w5ZKKleo34KgJdLqV4xPIZmaxvEV4KI3r\r\n6UlA3nnc8XeniIlfhzoPRCW4IGFng1PNQsWlGvhqVPu+iP4D1/LUTW8ERLMD\r\nnipJDcu1/11SAUJ8UhohAzDvl0oxboAZF4S4EcNWafQbRjESFkQVry/ZlDNI\r\nalOG9S7xKAW/1rilCz0heLnMmnM36kIhZZNPSXjq49o06rj4yzoe1DbokDVP\r\nrUqJ7Y4ZVF8fGwwpIgYfYgvDKMyOHT+KxlaqK7PSNm/jeQ0pePyUAInYtC3B\r\noQDROZNzzEbJB8pCeettiNSdP9/INx/C5LBCYyvwCfl5J7Zz5JGGQ9nxZHSw\r\nO75M2Io4Io24l6qTtyAAZPsZx5XU/g9efwl5elksh1MiaSuKcVrjrSQyspOK\r\nb25+/v5xQA5rinUyo0c0yOI9V51JLcM/sQjEVfJRmb1+B+tDgV/K8rPoz5dm\r\nw15UAsT9GCR2NEtkhld1PbjYnGDofsmOzHGrBkhXUWPk4ljosEX4CYYo1Z83\r\n349BJpsGNPb+tLVrCoW0EpV6lybMo1R0GLc9An4BPAkVywd1Ud6QG9/cnmm9\r\nuEAMcGYxId5iccgSBD3A3H8RLMceNzyIHts=\r\n=xgLS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"58afc1a0e6660aa192b41483048cd75021be5cf7","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.7","dependencies":{"@hapi/boom":"^9.1.2","@hapi/accept":"^5.0.2","apollo-server-core":"^3.7.0","apollo-server-types":"^3.5.3"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^3.7.0"},"peerDependencies":{"graphql":"^15.3.0 || ^16.0.0","@hapi/hapi":"^20.1.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_3.7.0_1651769500824_0.5054769513466748","host":"s3://npm-registry-packages"}},"3.8.0":{"name":"apollo-server-hapi","version":"3.8.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@3.8.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"305047fd5f9d1c2d40aac93582ce828c5f4c0dda","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-3.8.0.tgz","fileCount":13,"integrity":"sha512-8M7uVzcvKU5Laf+nuUCssaQ5hzk3COwkxm9yj3rGkAnIBHOEeICDPxr/YF7BHXHNvZIYu1XMJI7Chei/E1QC7Q==","signatures":[{"sig":"MEYCIQD2fCQldgtab2W4OXapn5VWA3b1PEOFJAW01qb+SqSItQIhAMctxGGjoRkmuPXIWwyfCTvZccF9Z9uBiO5NpV9xcbSO","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25272,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJijB+5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoYUA//cIrfj1zrLPjBQaw/+AFqTbttUOQYR+lbAVM2ZwRwOekjsr1B\r\nIk+bp1/TP+D48IfMw5DgRFtlE90fptYluF+dN3V/vYuddFTGvw31uuo1iMdT\r\njTZNaY9XNLcGrS8lx15pjGvKJh/T8LRnjJFSCs/hyWOkhYYPmu2g4W/4Awsj\r\n76+BxdpnXXUwg4QvF1tlpAQ+UEPLuv9n7zdjTIvzWGfWGLA/4zNn2LgB6dyp\r\nDMgBTt/frqD1lvK4nRu1ao4KZOZ5wpSZiGLKMFFh+hx6aKv+ctPxrinnaOwr\r\ntI1DuYr+/ZazaLC6STNsWgBmZzhC4tjFa7koNLTPBEkOs2Ihmwufif8orl4s\r\n3R/EGvABIuJYgsifIO4mNDznBndpMi9IyrxQudZc6eYwW4hZDkm/fUmKgNd0\r\nE7w0Tvkt5TXQ4WN2K9/Ucy+kBnSmIFrIDj6t7UnVBDZPTV3r4af+iYWwFSsJ\r\nMX5fyV41qKHhszkdw2PYbidpIiaFhssxEPulHQlpbWj7XvxKjbOdYpav1ynH\r\nqYwjiazH+yXo3xKNgb3UVRtNciSJ3sVUrMQWR44GwwwPIWRI0rqf6Dhd5dB6\r\nZ52bv1PjGmFW2Opk6feqUNZZqcg+Y01Tz7F3jLGY96X4CDPVWJWY6r807PxZ\r\nzMoL6FADV2RG4VuP4wEvJ/NI7Yq2WBlc2bc=\r\n=nQBC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"c072d9f9a32ee67f4fd8f717cbbff6fe59a3be4e","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.7","dependencies":{"@hapi/boom":"^9.1.2","@hapi/accept":"^5.0.2","apollo-server-core":"^3.8.0","apollo-server-types":"^3.6.0"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^3.8.0"},"peerDependencies":{"graphql":"^15.3.0 || ^16.0.0","@hapi/hapi":"^20.1.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_3.8.0_1653350329126_0.452826009975523","host":"s3://npm-registry-packages"}},"3.8.1":{"name":"apollo-server-hapi","version":"3.8.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@3.8.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"73506463432a15fbdedc210897c5776e20df13ff","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-3.8.1.tgz","fileCount":13,"integrity":"sha512-2XGv8JjaCw0rCE67DgY8VptA7YM3Dl4eeiwj1YGKn+iKhhpgc0lRW+yoq6zpjm+yaT4Gk5CKcJ6hPRbFCNNrlQ==","signatures":[{"sig":"MEUCIDuLXsapCE4Z4UxEhZk9RXmqDoEd1R9Yf392fccQBpzcAiEAlwgSCwOvbWPuOd5JOd22AFEUuM0p5l8jeVpWdsX2wkM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25272,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJijFsPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrgxw//XLJ9vsxqm7pUFDSa9miMCfnr+4abYV723ZjBp9z9jl+pe+44\r\nO9qB1oxLho7VQ1EAQbkC6ECM9I4npMVp89R7oFu8pjuwtjJuSl+jZfge6+2B\r\nLuxVRqrhJ1IvIT0lTBcQGx7hTad/FaQuPMBWd4unMeI7t/fe4yZgHsAP+dMb\r\ndFjYxpz+dQ8uQUmSFFOgcEF0rPFPHF4j6AfTa7GJG9pk3xWsyer9uvLez+j0\r\nabp71n4HMdrVE7J2RRFk7Z5kWV0XwNO9OTSRkFSg77p4DdupQp4zbwtYfR9P\r\nb2ZiyjDZRriAYiAjvLbj95SPM8zDI0UgvrAnz5KJNaJRi7q8/E0ecBSiK3kn\r\n1reDm762a/HwogU9MdiUMnN77dtVYQrbs6aPmYLvT09ASzOcnthrr9DznNf9\r\nJ0EdkYApUBFJeh/egI7vwnKs/BCS3GSwNWYIH1fYgR7rd1BY7KmPW5bkPPXj\r\nQ8vAVj6CFANLFcLtAdFNdROr/hnibxJukOwfZYfrrzXZ8hbRRgjD0cdpJpLb\r\n7qSpMOxbpty3DcroeYX95KGtw0YORdKQpK/aKo6W7xTpOFZgFqJZiTKYvK9I\r\nQ9JUhYHTIQ6n5y3fYSYKGKMLrco9JWmFuF8Uk+aPurcGUsxUNCEAgLv5GzkT\r\nLbeTDTlbp9wkEEaF6W+ixJAD6ktVpWqnHso=\r\n=rvBS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"ddeb84e4035f00eb5b293b3c6ae54762fc465f93","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.7","dependencies":{"@hapi/boom":"^9.1.2","@hapi/accept":"^5.0.2","apollo-server-core":"^3.8.1","apollo-server-types":"^3.6.0"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^3.8.1"},"peerDependencies":{"graphql":"^15.3.0 || ^16.0.0","@hapi/hapi":"^20.1.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_3.8.1_1653365519774_0.2784504542314592","host":"s3://npm-registry-packages"}},"2.25.4":{"name":"apollo-server-hapi","version":"2.25.4","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@2.25.4","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"70152049440c0ec40a36c854ffe26d7f49894f33","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.25.4.tgz","fileCount":21,"integrity":"sha512-J6iGswbDU0grXI8m9B2gNOKdUVoqypVefLMNK+aeclO3pV8JpZO5z8tDGV/vcldJjslUhpLgHPMYvY1b7PQ7Vw==","signatures":[{"sig":"MEUCIGW3iVS3GVuOU1fqDoYohWjgiXRAqrnYUvYA/cb4rkxUAiEA/KjooUApKVqwXDDjGqurFQibXlzCxfeRbD3zeWc8tO8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54990,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJijmdJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpfkg//Vkt2Bi9YJNwgM/WaPCEgnSVt55OnpVYQbfl2cUD/DWaMShdG\r\n9ySIZ/Y3IS3dNJ3bpvZ9oojd/VcGFLOGNkg/mgdBj4I56KxGHbzI3rh5Z4ko\r\n3WLTB+yaO79uAu/ZDS4rnPIezLA4Pn1NWfzSoBcXLtLIeCW3wVxIQfTq44DD\r\n0zAqZW7+MColhBc+bcjU28eSTEe7ahNMFITvrs04moGX5Evy0VuOMcNGi541\r\nihDwrEIeEKiEaSq9Se/VkQi97PhfHWLvbv8jMl/o2LpD3SQsKuoY5oZ/DOLw\r\n4rD9cwtj2oI1/zh78rS6q49rGIEfF7OndX6jnZYasosVWLRxh7vKH6YgBQMD\r\nny/lpFqwxxiKaCgtvrr64AHcaKESDgx7uWQGtsuLR29r8QiEZJ8DH0mLLTJf\r\nhYIgnba6pwo+s5jtNwPeV+kFUPDh+9rTQDcdPb0sWkyK5JQDrCnaqNVLpSpf\r\nY4xh1oYn91UylmWjN+lyJ1SvcrbbBVEy3Zyuwr9N+aMriV35ve0Y7IHuzj6U\r\nmLhtb020L1T8Qi6A3JE5FiQO91Zi3KyvElV9FsIjK+lLD2Z0MpPlEf2bKHW1\r\nvwSJWRRQtpd5nprGKTWp/vl+wwVW+WfUiuRbWI9KJFbpV82Ru7SB0sJlez8X\r\nTSQ9T3QDusp0+VWKShdI0diJMQt+7bKTJ94=\r\n=X+UN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi)\n[![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server)\n[![Join the community forum](https://img.shields.io/badge/join%20the%20community-forum-blueviolet)](https://community.apollographql.com)\n[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi graphql\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n  await server.start();\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"ae444b2916deb2fa37dbd8fa091201235dc2ec6d","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.7","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.8","apollo-server-core":"^2.25.4","apollo-server-types":"^0.9.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.25.4"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.25.4_1653499720833_0.5373945528466852","host":"s3://npm-registry-packages"}},"3.8.2":{"name":"apollo-server-hapi","version":"3.8.2","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@3.8.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"895715f70df4da9f1b03d23b52f8e95af877440d","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-3.8.2.tgz","fileCount":13,"integrity":"sha512-NuFGsTeWPdRj9/n4CYT0l7DH/AY6E6k61L0e2tM1zldhje4OQmDqyiq5EBKlU1m52or3uvggVHUwOi9m6s/2Ow==","signatures":[{"sig":"MEUCIEx/9fOoNPaw63/vrhCzMr08G7TSeUP9k3KVtBiXgVVVAiEAqC4SEgK2cDnwVzleesXcWA4ncBJo5A5Zed2taTREsXs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25272,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJimq2rACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpF7xAAiy4U1M7LQ/lBnA1z5jJ9hFeyztQuyFKa2G2eqazylbmP8R3f\r\n69+k84OFiwOQ/ZVw2SD0yb6Npk3wW3be40X4PL02OJHCsOX3bQOkGSMLjrGD\r\nPLvs4UXpXFIfTH9R3HqTwPOBDy8v9oUVriiEr4oTp26MGrew+44bKpUMu+Hp\r\nCE8Z/K7wcnVENCtdURLc1LIZuWz0pXuI81cVO0sMAegiueUx3ozadjVHuQIo\r\nEipNwWIlr+6Of0aBCIV946JDbOxSWDpsBRWGgOsE5FXmfJoTL5sZ/5QmgIJd\r\n4GvpvRcTaVC3EFhlbrdz+q0u8cPVO2zJtUyIkVvKUZY/ZgZQAAm4UxMn18V9\r\nNXGjgvUwwhPtnYRkHP+pBSOwuMXjtMIIuz+nK4y/FnpDsR+tJgbtgESZ/Q9S\r\nmasENQ3yAa2XAqvSXPMZbAHkP6/uCbYyfd2w9z82iEj34APNeS0j2+0jbczP\r\n91/bloyUmtIcwIUbXdabK1M7DIev44+AWbrLhGpxcr/pP1LiiXSLyPM1Rjc9\r\nBt1QHwpjZf4R2KFXawQisvTmysQSWSwx1Kj103vjIabuT9/Ols9SgIhdJc+I\r\ntj9RyRzN9qloZCu15n+C+4YyIQpZHAjfP98JivyMIhiNINtowRm0g7w5Cwoj\r\n/FqSnwriBX893fEIE0Vivt/dlA71lrsTcDc=\r\n=9sqd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"0b4e9349da13459cf279378cb311dcab4e3a7556","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.7","dependencies":{"@hapi/boom":"^9.1.2","@hapi/accept":"^5.0.2","apollo-server-core":"^3.8.2","apollo-server-types":"^3.6.0"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^3.8.2"},"peerDependencies":{"graphql":"^15.3.0 || ^16.0.0","@hapi/hapi":"^20.1.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_3.8.2_1654304171588_0.48844976110314864","host":"s3://npm-registry-packages"}},"3.9.0":{"name":"apollo-server-hapi","version":"3.9.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@3.9.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"b203b3b30059028872fe8fc988fcca30921c3500","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-3.9.0.tgz","fileCount":13,"integrity":"sha512-Gn642OEhFGQsxxJVIz17mzyqAxAZOTurzWqet6N6/BW1rIvNCuh8yWAMYLIvOxOJVX0dUjY2gewqqSO92jFdmg==","signatures":[{"sig":"MEUCIGmMKK4eDLdJ0p4hTVSnNcMUFca960sDQ7GOuJANqSAEAiEAwsOfun4ggC1COZW5DzJXlpTJo9+2y9fxxkq/2o2R2Jw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25272,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiqg7oACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpYDg//XxxOuTJI8K46PrFStnvhDzMXVbVBZVATgE1FnG2SclOXtUzb\r\n9fmKf2tN98XQYQ0FmjNlguv1JentiBzXqOmYKiNrkbBd+kGnluLSYcwifcRj\r\nVNhzXgF6/rbnIxIqEzdNpaqrgum2bDF6Cuagw+zUdSVMTzii0szJM7QxuPS3\r\nfO5WLsGZUY+tjY++5OpWOZrJAkBfcGO29qWKylybhziAPdHbt9/TpSo3aSUT\r\nReyIIjVdfSNVS5v6gpEkdYIunXr5huD8WdraLyDu+8+Ghp6ZLqqfclchRHXK\r\nzWaMHb+jo1gMyRmA0B0Q0znUZTKoL+E+1H5R7thp6Tonqb3EJD5s0WwfTOnx\r\nALNJ0d2rCeEBD+w5jviWeVxsmBk2rlWRf0Q6diIk4YJsHWMP/E5UEfCz3e/U\r\n/1AoUm149dY4zrwa3pvSzesrqQHhz/s5akyh2rLutpcCvW9rjFNonhtqWcf1\r\nXOSKIhQ4PkWDejfjIJT2m4hvRRrwI3YVcPguaTLa4QF+BXmUjSsQWL8DfkRw\r\n2doaWQiIUY5i8vkHUjd00kz85tkLK1H3t2+pctJ84A0Ypk8ekmrGutZux3or\r\nIbt+DNg9uFrIaYDVrChq3EvV72Qi5TEp979znKLg6FgJUkbIe2VyGv4Z5p/7\r\nbhqfqr3AfMMtHN+jWbt/VOy7GORG87zhXik=\r\n=l6lB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"36ecbb116cef0b8b62b3ee3b557c4db8c975a406","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.7","dependencies":{"@hapi/boom":"^9.1.2","@hapi/accept":"^5.0.2","apollo-server-core":"^3.9.0","apollo-server-types":"^3.6.1"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^3.9.0"},"peerDependencies":{"graphql":"^15.3.0 || ^16.0.0","@hapi/hapi":"^20.1.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_3.9.0_1655312104512_0.12733583923011893","host":"s3://npm-registry-packages"}},"3.10.0":{"name":"apollo-server-hapi","version":"3.10.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@3.10.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"42a92d65ece161ed21c4e03456b81afdb6799b3b","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-3.10.0.tgz","fileCount":13,"integrity":"sha512-oN2zJC4aY0Q+68KQJVTJwXTObY4UMeAcxgYKN08eB5/8DH+J3pEzJkk5rEG+GY3akIxf5vPz1CGmr7ODTTMDfg==","signatures":[{"sig":"MEQCIEhkf4pqthyeewQNnWiLRwEJUxyYnTwvu3PiKg6FmsRvAiADgeyzeP9kjccNafoWUNt11dXuFP3FqqUmGOfw55g3vQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25275,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJizHiWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrEzhAAjTik+bfiU9ckpRFNkudsQ9AivI8Z+l/ffqxFVz0fY4mex/Gm\r\nnhf0uIt885ugXlKnMVfAQkpD/XXCT3RU1UxuGmqypHgj/lzrffRgPoEgSqJR\r\n9KeWNoLDkavRGKTvRIiHP6VAkBPvhWYOdoxI9l6m7wCE3xvNzF2FVLsyvHsp\r\na3Lwij5Cr8iuE+tGRuZrDESW+1CbQ/irufVICeoriKlJZ2VAv63oeRapJbbT\r\nhne8YEslEA/n5uYg0FDxyWQlWceheQ9iG+aKKfMZAp3pYz2kd4QQTu+ScrWo\r\npR4F9MFhyI3mYaY2BjVaalX3O0D9sHcDDwJCUOQL+87I8RUzVOCIY6/j2veJ\r\ns5Snf2QjE6DcYFityzYlh6oPqBBJ9qJyhDzuXLrNZK+nUArA6i4H88Ae3md0\r\nDF2PzuV4x4qrBRxC8cYSsGunwY1yIX0AH2D4yDH0GbU3PmSCZWB2tXt4YEYq\r\nLyU/2b9zUcQxNIvEvAfwEdQJ/oCPHkH+cQp3TOBYnUacHwDboAw8u9d/2oUa\r\nbg9RoMXyBDS/rqJvDfYBo/8RnwRb8K3927y7NNev2TTyrPwJfTo2WvXrNOeW\r\nTkrs3JA76nBv2JObwLb70tMX3HAFsu2tFVDtoHMzNhHiLD/3ObHlsdVEY+9l\r\nii7+N4zdiHb8QsWhfVNczkuDgu93t3F6Cgk=\r\n=EjKM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"4041aaed6d616ee4b06fced0af482c73b6f752be","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.7","dependencies":{"@hapi/boom":"^9.1.2","@hapi/accept":"^5.0.2","apollo-server-core":"^3.10.0","apollo-server-types":"^3.6.2"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^3.10.0"},"peerDependencies":{"graphql":"^15.3.0 || ^16.0.0","@hapi/hapi":"^20.1.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_3.10.0_1657567382384_0.24525201126303764","host":"s3://npm-registry-packages"}},"3.10.1":{"name":"apollo-server-hapi","version":"3.10.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@3.10.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"da9dabdecb009fff2d84a2d81ec3b7d1bc76569e","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-3.10.1.tgz","fileCount":13,"integrity":"sha512-UxaFATO9KGj5M1o19ykKUgmfKzZMnsow6vq28o1Esbx/MfgbMPXB0rNFcDXq1ulCDX628rMyRCn+7nGD55eOOg==","signatures":[{"sig":"MEQCIH3PnU1Y1hAL3J5mR2P8XLG4dKJMMrYM5fJuMN2Kl+sJAiBPSio9KP0KlNbWH9qIrOppSl/csGZOTBqQcNW71l1icQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25275,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi8+ZbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrRSg//YleRdKJtS9tPUg1kpz4rm/rGj805GQKw7qgMo50iWhESj9OF\r\nB1a3rLaoqHKq0Rc0gGDt/P3ohZaQy3WsC7W7JrdErM4qq7o7bGgvMQF3B4Tk\r\nTKOzkZFAQGOyVvfqKJlm8rEYe74RCBBAclRIWiMhIhpNDHsudvD45xgj1uDE\r\naD200LboPoCEQrVdM2tLVdng+q97Xmo4sElKvDq/bBgfWy2daGNEaYn99lKP\r\nKFO7roEJ5T4Mj2iNBJum06BZbN0mOpy6Dv4pAXGGfLh0H3yCawLtghAi9L8P\r\nTl4I0Wq6tdTgXOfhazHgOYigRJpSlTwhNBR2jLGvZq2g8CAvwM4bsByH++ai\r\nsebXa1LNcyOoercoXUW4tIiQMMMGU51HfPogfg5vKPz2k7bO1c0xnQZl+8bg\r\nVUw36PFvIruqTZHfBtCGxQ4SR5r0lUU6NXMR89TnuwmbF3mxS18m/s6ws0SY\r\nWSLTyXLhPIuVbrhvnk0Th7BAHfTJgBVy5aMtSXpC+kAiWf7WIpcH4TpOzs+F\r\nPMiLM2fubRaIS3GBoKE4zLSSx8uBWd9FSOUZ7X2ZVVgTq+f+xY8hiAkfMr0l\r\nn9sbq380Ks8Z/5XgB+Xk2L6oJigo6lnor1qKNqvmWgQzIyuKG0H91ATn8b0d\r\nOvPnYN9mMli+gCUGYBXQIQ6RzfwkrFedxx0=\r\n=C8/G\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"e6097d614c9ac6887b359529cf27c1bd1a5de59c","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.7","dependencies":{"@hapi/boom":"^9.1.2","@hapi/accept":"^5.0.2","apollo-server-core":"^3.10.1","apollo-server-types":"^3.6.2"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^3.10.1"},"peerDependencies":{"graphql":"^15.3.0 || ^16.0.0","@hapi/hapi":"^20.1.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_3.10.1_1660151387143_0.4595420632784233","host":"s3://npm-registry-packages"}},"2.26.0":{"name":"apollo-server-hapi","version":"2.26.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@2.26.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"a01fea2617bc0e5d11273b18847e4e523b2fe957","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.26.0.tgz","fileCount":21,"integrity":"sha512-mL5X9TfipiblRhGfARiCtdEd5iO4RarkPm2wGaJCtUXmF/Pf+M5GCeOBwzB7Ib7O8DQ4TBsOG1iN2Tvt1j6Dow==","signatures":[{"sig":"MEUCIQCfFzWSLwNiGrIT8OGI5QLuIoX2ARpC4ob9IHCSy839aAIgIZTLu6RP/OC7CAJu5MMs0yjSGPCl5yoKBunxu4RMSIk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54991,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi/oMBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqi9g/9G2gyTdTmD3CUJvJ5k6MlV40My9teshgGe/PRqAzuRjLAXuN4\r\nWZBNrCI4biDPcq5Ui2N0JFtVK/vmpHlQ86WvRPJhnDeL1MzPfgtWKaKRgQ8a\r\nP44gkxOnnomUOBkP0F+ofxsPkq4hzNEf9B8zin2IJWMS+WvNN5WJiS+z4rOu\r\nLCAbBQzjEfKKvrjmZtvtGqZ/DAoVu+T3Yy1sunO7xMAlYw0kqhh1s+MQQN27\r\n/x096ceCwLtAsbo0ZcTfmIrCuO7q5hPxkefPvCOMrkL5ZrBqlKMZIzRjYPIC\r\nZcKPkk8O65U08Zk52P7v5zbTa3TsF3XhR9LLJAfFsv7bEC9FWNU7C9yLma1w\r\nXg1VoLoT08LKvIf9sGN8RmeZ2E4/Ds0JbI+AXGuHDT0BXlMAfIMlc4fHk25f\r\nvUp5ERHUDXBDJ6l9YL09k08lRpTyBSX2vhK0hklV6ps3VwSb1AQByz3+gkUU\r\n77yhqVp9ML3dLjv+DSJsq8JnvowZSFe92JEp8xoYvMhtFan4vq4ISyAPPN6k\r\nLBaLJ+R9yMlGAbXYWTRP3Of0wQgppetFhZpqEMW6wWQ2mUU3TFPVL2KpxnsW\r\ncO6/GIGPWnxcT943qnhNMTmj2csP3rjfL7YxP0G1+6bv3/PYZyx/8Omw8uR/\r\nVg8E/YgDV3WUGRZP4ACXHW39XwqiST6eUSM=\r\n=8erv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi)\n[![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server)\n[![Join the community forum](https://img.shields.io/badge/join%20the%20community-forum-blueviolet)](https://community.apollographql.com)\n[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi graphql\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n  await server.start();\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"91de501bb389c07ccfc5e684811153267b91e9ac","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.7","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.8","apollo-server-core":"^2.26.0","apollo-server-types":"^0.10.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.26.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.26.0_1660846849393_0.2841999149593022","host":"s3://npm-registry-packages"}},"3.10.2":{"name":"apollo-server-hapi","version":"3.10.2","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@3.10.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"c3c0d9d6191e145310f2bb798c46870ff0749d08","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-3.10.2.tgz","fileCount":13,"integrity":"sha512-i/3sG3zEGMY1PbkAI+zrk1i8BsmwkA0Bhu9lC14x//IcQO71Okmyrd2fr++bsuLBXDtxBV2UfAvauqInfVrAdw==","signatures":[{"sig":"MEUCIB5U6yjugDlvJea5pfgSLDxxjNCp/p+S05QFjby29hC8AiEAulniWD6P7M7pNArWGfImg/rFbfDTAvM4RCfmc/L/XyQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25275,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjCDLkACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrV+BAAm4AsP/DVwirvVoZMFpEfOJJreS0IV+437kpzgg5a4iwlXt/U\r\nJJ6rUGsTUAhMbMCYs4LFGPj+gHfDByP18h8UhuJGqIfLwTRiGBn30PrjT9KJ\r\n0G+rfvzVrqzInuo4YZ3rioQzmmSlUjc04H8YNgkT942GQ/ADAqVNoz44ocld\r\nWOaIyHHLcdV7+7mOua816nJbMYc1otPDkwgz8XYxinByEVXUoFJCCS8LXs6v\r\nDxg1I32Xrl9Zs42N/tvLZABDOa82Gd0WpFijGGhzpT6jCEZB1VcDChQFR90O\r\nPhAswdLveAb5RjPu7mYO2LvgmzvkO137TYymkFaN8nMTB4ZtnptPZiqeo9+l\r\nSRuFnChcBA7eEhum3NITnKP0CLuJKLPKAMZ/aPtvPbGKtyYb7L04J48+kImO\r\nVN+6S9xSstSCBXQxwMBxcyVfNsGKLxBVtpUFH+iNu4HNrdH0/yo1FVkWJPwY\r\n89ItLGLXRgP6BvZg3FUNN1z7NpriHaOBkUkEjstHKMf+5Lj280DPS7YgDCF6\r\n4Il+BzLPk9jaqbG3iPvHJ+YP2OG5XEoahbE1pmWgwfdaaQLUwBFNazU2Cz4s\r\nHQACIayE5BBJINzhTFMBxU3UvQl/hV6EXeiSbKzJ01fT2aGw/vK+bjwCYxH5\r\nuASELG6YPdtElfByImEdTZulAMaL/b43+pk=\r\n=cEO0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"f6c5c9fec04c222aa15272b90d203ddc3fe64857","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.7","dependencies":{"@hapi/boom":"^9.1.2","@hapi/accept":"^5.0.2","apollo-server-core":"^3.10.2","apollo-server-types":"^3.6.2"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^3.10.2"},"peerDependencies":{"graphql":"^15.3.0 || ^16.0.0","@hapi/hapi":"^20.1.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_3.10.2_1661481700221_0.4544474496940949","host":"s3://npm-registry-packages"}},"3.10.3":{"name":"apollo-server-hapi","version":"3.10.3","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@3.10.3","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"c89bff53af09f4acd386ee10f2a46d70b3d3756b","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-3.10.3.tgz","fileCount":13,"integrity":"sha512-gP6BKo4+T+hKkIW0fphA+0YD6d7ahHxP0oLcfN5UmqFGFsLJDMNGlzA9TgwoyA9VU8+A0A6/39GSfBYMQL6pWg==","signatures":[{"sig":"MEUCIDg+0VwyF3F2INhuXtvAa+rdK6vlCk8axxtlYFZTnY49AiEAoSeGIttPzEfUbaUvaG9TwnAEPYFJJoA+LjfdM0w90QU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25275,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjQKWTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqNtw//eJRb5gPu17GXXAl7SgaQ+hytZM2JyskXatSLtETCvCZ5wg1v\r\nkkNUYgFhUQYClus6KCuwUheYGH9pc1Ut30V5OhqtdnAUWc8uHPgEpdTyoOZS\r\nDq8kWpBWqDxteq/WUgawIR5pTYKapL79BI0E7dxytI3UPowg4R0TlzEyvfot\r\ngEmOtnGXhmmdnJ163H80nwDp4Ryv8t6mdtNhy3YpPo8iCN7JRp8XAvOIZqvk\r\nJpnZ4/f/+DkWZ5IZyYbFyJGvn0UFUlaqVryOap26ywIoAmypnuxFTxtM/W00\r\nOOELfDGak4qEu+yBNSOfOExvYPAkclPFb2oYIyWqMYM0V5fxI/GrwAYkmK4G\r\n7BwWxRr4bdvhhxB9sBEB5DH4Qmj88niQgbUDqpyW9+bQo3jHvbgvBcC74MXm\r\nZPzVd4UWE1ZovLG4jpFLVimci9ZpraomK1QHxp564keeqnpmlfT7wsJZqjga\r\nSuVPIVjlLv9OxpVZMMXxDNM27joHH9L6VakbaeXO10wCD9zFqmyVc7L0PZB/\r\nLlbo8JaBK9DkgnpUy0xFibPV23rB9bAxatRf2nns0pszd8VQBRwylo7XsVUU\r\nKQUj7gssuxX1Z5lM1GzWQQzJO5C0s+rg89fUthE59xbsPoR0lNcWrqHHGaYG\r\nTNRm1FK0L2K+rsCLhGgKhU56GAsRMttndHE=\r\n=49l/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"985c0795579a1d39e7b78edce1c9e2e7c8facf82","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.7","dependencies":{"@hapi/boom":"^9.1.2","@hapi/accept":"^5.0.2","apollo-server-core":"^3.10.3","apollo-server-types":"^3.6.3"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^3.10.3"},"peerDependencies":{"graphql":"^15.3.0 || ^16.0.0","@hapi/hapi":"^20.1.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_3.10.3_1665181074839_0.044630313751859996","host":"s3://npm-registry-packages"}},"2.26.1":{"name":"apollo-server-hapi","version":"2.26.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@2.26.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"72a3887b29245baa0797b2f52f5d3662bbff2fd9","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.26.1.tgz","fileCount":21,"integrity":"sha512-7I1MRozfjEq94/WRnqmUXGxZ6N2LPWzSvlNkS1MVldbds9ljr2kpVe+D9wewU4Gw8jHFVG6RuCuWYlLketTQ/Q==","signatures":[{"sig":"MEUCIQCSQPc2aAi7v3lEGs36XOQyRyFknca2mHuDsStfHEtxTgIgWClR1hy7jtoEpqcEDK6ZrXYCTa5N8GqVbF4JdDLOArw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54991,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjUY0VACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrg7A//aVbOckgnAzivNUXZHpwbxV6q5wTuFQzSKOYyPhWjKxEU4Q3H\r\nLeIuZy+TdM4AUcqIk0lIM+QXpCEo5RVJXTkB8NvkWNzd3w+VSBsBfl8O9eVs\r\nSxbqtInA9C4JuzNzSie1WRitOT1ozMDa1DqGcuLIHb5/hnNUhai1tRQ38uYD\r\nUEI60Q92nG3gw4N6XKam5CX4d+GOdSMXBtsPXigli/4ENnDwDKyzwdgfg5mP\r\nQvN6TdOpdL7OubobIf993zgXu0azmUisP5MD1TTCjksNWhz3ZKWz9xCLMBas\r\ny9LUHibZ0lDMTxuNFj2KDzBKYyBz6kByOxC1ZTwsH1yAaHs0qk+BWjATBUx6\r\nKxOhqlWYW5UZsh4ju4LyePmwpBxsHpzwNz7C4xWlGZDa+ap+GumGeCOgeTcW\r\n8JabnafrRn84xU0aziaFjFDcINGtgoLQC2dEWZTgLaiZX7Mbe6+FkQOiAZ4X\r\njGLrofRXBcZeGFSWzQ+gcYsWkJJV+nbG+x5SOsm11WJvVpQp64Z0AwLvkY6H\r\nk8A2TzDK7pOG+zr6ldx4q7iBI5H8Y55AiiKgsx9Y2G1Dd8toK8Uyb5r6vStF\r\nKGmhaRNbqKIfSJHgdmQr6iXnA0aYZyPmDcyf2GNOsw52QxRiOAVsNV3UBMHm\r\nVIUkpfHbQjDVDlhIQHPB2jwWL0ftAbR+5yo=\r\n=PHLa\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi)\n[![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server)\n[![Join the community forum](https://img.shields.io/badge/join%20the%20community-forum-blueviolet)](https://community.apollographql.com)\n[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi graphql\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n  await server.start();\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"84852fcfb40bc5ea83c341dba546464d6114d7ed","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.7","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.8","apollo-server-core":"^2.26.1","apollo-server-types":"^0.10.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.26.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.26.1_1666288917447_0.11272942312304268","host":"s3://npm-registry-packages"}},"3.10.4":{"name":"apollo-server-hapi","version":"3.10.4","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@3.10.4","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"b856b368fa263c98b00c83708eb2c659525e2d1c","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-3.10.4.tgz","fileCount":13,"integrity":"sha512-UoT5cE5yQDR6QJtFl7NfjAEQX+zBJlaH3D4sK9aaedVdceREbxRY06Z20nN/bVqCJ2y+45At300+ZjqPByi7SQ==","signatures":[{"sig":"MEUCICXY+S6MlDBLcLlkeUrQ5ScZ10pBOjqnZ4+vJTwuhXxqAiEA2Ld3lrQG/OFMMtSQB1P1cXYr3OIPwE4IIMrqf32etkg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25275,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjYEOSACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoneQ//S2MVLofjU26VOpU85fJwQFH+qTyGrjkadpAmWFgb11KFAVVL\r\nBMCefSZl2TuoIE6mShM4/dn4L9tyClah6UgKj4HhVFPg7ZjWV1MQtnfd3yh6\r\nNxvbvi+IXolMh8aeLJEi5EHhkcb4bo1YMqMocMcWgc8xay3MZesiPAxMPxCN\r\n5kZLg3rIf9UAngzkOdJXH0Zqa2VhKVjdltfia2GZug9Y587L2gMDSTmhh7IS\r\nd/ARfEFbxJM+Uou4ni/Ywhzk2ur+PqLk9RGVJaZxG+zoI81PfFLUb7biGR4i\r\ngUDNSNlkqe6mSyOD4d+4KmDA7g0imtQ5mywhLZQg/LvNpdUZyDt51JPrClk9\r\nbkSgxGXc0pCtr01kIMyd3nOn4Jw9np6Su6mc23bMGUUeKAgl++bD6LT3+p/C\r\n07VDUzYFGfjqr2d59ufQZoXW2FxUq7n5d0sLaAFVIJpR0sjpNcmtJeQHUtdJ\r\nGnBhHCUyZgByat73ruG2hGEOz76LYESQl5sF/yUH3cFD3jfi3rlhFZ82ER0e\r\nQd8LnC9gIJyy/2siRRiVn41I2U+hInz87pRTxKpGxqVTM+fKffN3U4ieb7JA\r\nJpuCeCCrkoAGsXFBRQMQDHEeJUmetS9xHlRuSFxf8Z5+geLzqhWa1vvUGS+U\r\naNMRevD0nfq6qwx538r1OnSZViH6SRXtQKE=\r\n=gwFJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"f519e1d7de8564259eb1c8c1c7523669bd9ad815","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.7","dependencies":{"@hapi/boom":"^9.1.2","@hapi/accept":"^5.0.2","apollo-server-core":"^3.10.4","apollo-server-types":"^3.6.3"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^3.10.4"},"peerDependencies":{"graphql":"^15.3.0 || ^16.0.0","@hapi/hapi":"^20.1.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_3.10.4_1667253137812_0.41186535165770977","host":"s3://npm-registry-packages"}},"3.11.0":{"name":"apollo-server-hapi","version":"3.11.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@3.11.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"bc5844c977397dadebac9f456ba4e20aa09537b9","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-3.11.0.tgz","fileCount":13,"integrity":"sha512-fVF/Rs1yhKVTBpFdOfhwoMwltkcIbB73/A2oBghWOS+2CZYzdICu4s+y71A5vVtFx/kQtzO1H+7U6N0YNs2ltQ==","signatures":[{"sig":"MEUCIQD6ejUo4WSdWD7yvRFFLFUEIkz1k/mKuQ1vPoe8yNnsvwIgLBUT7gHNZGD3cckYNwiNfVae2weUHr4p8NTQFsmPNKU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25275,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjYpMzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqoCQ/+K1g/JwFkU/civVQvyPAA22xx9jm+/I8r6dwkjZQvKXqLCKPr\r\niQwiwnJZjz2YBP8JyA5ooHRdy0NQL0Ojfk4y56gugxvg97hGhNzLIMecVmZd\r\n0lekMD5XBjn0hib2SEJtUcArmcZoo6oRUJRg2s/vPlB+OmMU65OOopbbVc+E\r\nJxeA6AuDDanpvUcoVZOblXwOT5kY2mr2yXk5f43GTyjB4pNwP/IVq/075fZW\r\nzE1mQ0xZ12JKyr7hauEvPzvjWv2AtT0veNLkrWlTQvoHV6yVfNfsZekiOLr5\r\ngpoEh25ayWHpvAtwm+MjLOaJpqszLxen4rurEsM+ilijFBQcp8xozau06Rey\r\nMzqf/8J7s+1XXX/tAooB7Hgpb7GnTNmRrx3tZvzO3EPFRPvvfLeCHTXYje66\r\ntSrR33/bIbA9h4iYvezFU4cvFnoWM17xHb+PQr/XxcDvHC45/QioZ4qY8JQr\r\nM8fBJ3HdMEO9STMxXbqYLnQZOfDxVaPU83GzPSTjcJxQSp1TGHoNEjfpxkSv\r\nmQdxARiAFh/vAP5uoinTqViXbabutfXhpSwPVoDKowHqDMM9YLRFaPoIdxyR\r\n6YhwAj95bLTCmJLccxC9WH41Rv1ViDNgFl3i3ZxtcoOaHKR/iWXCXUAhaMhL\r\nZ+tX4cclqArDHTJY/+iM1yNG74WluttWGUw=\r\n=1CxL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"538151b9f30dfc91036eef2f8f65fbf7922d861e","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.7","dependencies":{"@hapi/boom":"^9.1.2","@hapi/accept":"^5.0.2","apollo-server-core":"^3.11.0","apollo-server-types":"^3.7.0"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^3.11.0"},"peerDependencies":{"graphql":"^15.3.0 || ^16.0.0","@hapi/hapi":"^20.1.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_3.11.0_1667404595298_0.6797072257407901","host":"s3://npm-registry-packages"}},"3.11.1":{"name":"apollo-server-hapi","version":"3.11.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@3.11.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"511579392d2c287d7df7b17c5b72d4bc70185ab0","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-3.11.1.tgz","fileCount":13,"integrity":"sha512-CdApfjD616Po0X4VaqVfO+EBd4pM4mP263rEv7iy0tMngnCoLtWWVGh7dxUKIA3J5jFdVXtWFhoVxoFNKO9Pdw==","signatures":[{"sig":"MEUCIGNjC7rI+Cv05mLo3FKjN3K56pH2eNoehnXWTmBh6/PxAiEAna/8b/orNQE/twdCUGbldT8oTA7bxfA5Lm62F2yW7yk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25275,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjYxLuACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoOWg/+L80UDnmnTnLBkKJ14Sd5ge0iMojR0Ev7GAQjaaDOzmkEONOy\r\nFEBz34QkVZLIKuT4fLShTGlZvGpGDAqICk0n5cIXbx1Mpddc3HIXIbyQIUNs\r\nAoRVDepS/wU0znNCZALNBw5jFzEOzV6Ebka+J540WIOjsv8UMA0rRMyYDc2c\r\nfqM0DmiScl7DMkhDXjfb/6x6C2fMggbxf5yzTwBNcL06WRjIrom93/gIi219\r\n/i6MQf3k8NgY8aHqg6d70bWcOZjRAgYM9vT9f8TG3uQVFqu4r+CPW5ndSlPT\r\nixttROGR+PhaaUceeEmdhEyH1wBfjzjG8F1bOTujq4EJRGOSm3Xi6XPXzdKz\r\nCaPJ8pXNt2YB2/UyeY/QvL+gJ0L52S9Iy5fhon1FcxAQM6NDCJzTeVYx/27e\r\nB3rVmBTaPnhsdCwWiJpu481naZRw4lZda2nhBbLXQ0TSr9ERj99qQFDFOmgQ\r\nRTQGr+jG3V7a2InYHtcgj3s7jQsD/kgL+Bwj5XRgNREMcWmoAzacCRUyAb0V\r\nczsIxrh6VfHQgfO6wvoeOwJhfjrOMMrnWd5dc/JfzFVHW0/cudRnwy1Zp7f6\r\nNJuqhR/62U83bVydQ220yqMZ5K14tJYRoTg01LctKRRnl9KV+f2cNloLLzbI\r\nn5GYUSEM7d1DTwFoBRVTyn2/6n70j0c741k=\r\n=quPt\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"6247d96ba90de6fa9b45995dcab72758c99aab78","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.7","dependencies":{"@hapi/boom":"^9.1.2","@hapi/accept":"^5.0.2","apollo-server-core":"^3.11.1","apollo-server-types":"^3.7.1"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^3.11.1"},"peerDependencies":{"graphql":"^15.3.0 || ^16.0.0","@hapi/hapi":"^20.1.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_3.11.1_1667437294048_0.5820955231359841","host":"s3://npm-registry-packages"}},"3.12.0":{"name":"apollo-server-hapi","version":"3.12.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@3.12.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"1b2391d1351cefac3214363f32f58f8248456e9e","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-3.12.0.tgz","fileCount":13,"integrity":"sha512-TyS1HDyQKyh1VM3NhacGqyF/IsB9R8+nC6JmkDP3MSlKpWi8Ct8kC7wze94/19mofdhphDYDz42rxKzlh1Bd5w==","signatures":[{"sig":"MEUCIQDvPHQ2Jb8Ahp1XOzIBXGc5G40AzNfrfS1BMWxR3cSNlQIgIpqhUNVuyEieh1UI1ynsjBIw3E0SqnpfCQBp1cHaigM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25275,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkAPoNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr9tA/9GtkkrYUWmXFzpfB/IKQn55LWaB+qOSJX8wLn/93cBAJ25nfu\r\nvKqQYREQ4F6fHdFae8sDqIU7bG8mvFnnb09MElwEn90JvNLzqw1waC710f2x\r\nTuwQXuwq4fPpi+wOeTIQnltU23zrhnHGJTFMpxzUj8S6+af4dIyRnS7CP5Ux\r\nBp3fLKeXakgWWxTj6U8AybvJaphwOhcJz+AB8vxIjL/IHGIk+Wq8ssZs4F16\r\n+TWVYLtU+Lz43QOmvrr+G2ke8iUWSrLT0b/VgoqXN1FEKHFYzhR6pdVZXh4b\r\nJkFgJc4VQDQ4HPZ1f+69Qtwqec5aO1r/GGFvPuXuTnX1TR4o6VNkP/f9+kga\r\n5nzdy1fnh1ubNafrVSgzNhSwfLeF7/HSsR/1DMPtB6BI2m6VPtmXt4ZGfBnb\r\nKSS0oO8ySgMIi6mwH+b3fuYe8pUN5n9meoRR5vrVmw6NemdL2ic2jALZa+mr\r\nHlDEsXXRRzZr1LZDj+z/YhJamX8UDaZGhAk6xSjEPvJqgvYspQ3MzTWqLN3p\r\naP2Xu/3Auk/hHxLz2cv92cjEQW6zBh286z7ok6Wr6iKI9KxBFD1b16Co9k/T\r\n63JlfPljICXqnBL3EP9JS9fxxkPGJYKv8w9nY9KSGNtDsa28aZ7Tc0ZxnDco\r\nY0mJTKnaLOj5xbEoFN/fYQA4cbMgqIOWL9g=\r\n=yZiu\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"fac578a32d5b6e21164fb649fc61d641d0401774","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.7","dependencies":{"@hapi/boom":"^9.1.2","@hapi/accept":"^5.0.2","apollo-server-core":"^3.12.0","apollo-server-types":"^3.8.0"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^3.12.0"},"peerDependencies":{"graphql":"^15.3.0 || ^16.0.0","@hapi/hapi":"^20.1.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_3.12.0_1677785613444_0.342491312395103","host":"s3://npm-registry-packages"}},"2.26.2":{"name":"apollo-server-hapi","version":"2.26.2","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@2.26.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"0611796037251791680afd46d8fad1c353a1984c","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-2.26.2.tgz","fileCount":21,"integrity":"sha512-6UwRXQUYQVXWq2gXJnZUkL2RSJA+/wW6jiaz3CWckXdeJQuJpynRp78o5khx0r1Cy+NKW/uMzAt9BF0Rf3nAkQ==","signatures":[{"sig":"MEYCIQDx7XWkDINUhGdQt6aBhRubUEfk0yHqOzbMmrw2KAs52AIhAJAG+5nUgBmYwQkhlQg9ReqB3bvkOsliKKrfZGwMw29p","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54991},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi)\n[![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server)\n[![Join the community forum](https://img.shields.io/badge/join%20the%20community-forum-blueviolet)](https://community.apollographql.com)\n[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\n```shell\nnpm install apollo-server-hapi graphql\n```\n\n## Usage\n\nThe code below requires Hapi 17 or higher.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-hapi');\nconst Hapi = require('hapi');\n\nasync function StartServer() {\n  const server = new ApolloServer({ typeDefs, resolvers });\n  await server.start();\n\n  const app = new Hapi.server({\n    port: 4000\n  });\n\n  await server.applyMiddleware({\n    app,\n  });\n\n  await server.installSubscriptionHandlers(app.listener);\n\n  await app.start();\n}\n\nStartServer().catch(error => console.log(error));\n```\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=8"},"gitHead":"8fbc66cded6549d5a61433c9fed26775e60e0648","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/3.22.1/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.7","dependencies":{"boom":"^7.1.0","accept":"^3.0.2","graphql-tools":"^4.0.8","apollo-server-core":"^2.26.2","apollo-server-types":"^0.10.0","graphql-subscriptions":"^1.0.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.26.2"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_2.26.2_1693429372925_0.036102799693604526","host":"s3://npm-registry-packages"}},"3.12.1":{"name":"apollo-server-hapi","version":"3.12.1","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@3.12.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"a62558855dc72503ea9ba040c3093e53f145613c","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-3.12.1.tgz","fileCount":13,"integrity":"sha512-Eit0LCgDYDdkzkNQjLlNDVR7E2sUanvah33cvHwTYxR7/cyW/9szHC6lA/ZfGiGcccMXiJmatkBZ0tvk0UCpew==","signatures":[{"sig":"MEUCIEaGqt/Gsay4dU9BaAavVpAP+/Q/Xz+sFUIp9TFm4XfHAiEAk/SJwf/fqQEWqeNK+ZKVZ9zg6REkIQcp5FbZJM+ztVQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25275},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"ea2e2c3e071afc9144af00cae7b51720b9cc8b32","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.7","dependencies":{"@hapi/boom":"^9.1.2","@hapi/accept":"^5.0.2","apollo-server-core":"^3.12.1","apollo-server-types":"^3.8.0"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^3.12.1"},"peerDependencies":{"graphql":"^15.3.0 || ^16.0.0","@hapi/hapi":"^20.1.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_3.12.1_1693430235450_0.2892684487488333","host":"s3://npm-registry-packages"}},"3.13.0":{"name":"apollo-server-hapi","version":"3.13.0","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo-server-hapi@3.13.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"672f2be8e8f0eadf30a016f6d67023b7c19720e1","tarball":"https://registry.npmjs.org/apollo-server-hapi/-/apollo-server-hapi-3.13.0.tgz","fileCount":13,"integrity":"sha512-C0QOx8liYvKnKfA4vajJ3y/xv7RstgR4g3aTa8K4M0v0GSOF0xEjksHQAlE5trXjE8dnhln1TfG8zaUmjQdsJA==","signatures":[{"sig":"MEYCIQC6KRPIkbl2RSqSxBxnCQQlb6SiAo4/tY/zJZxIAfZo1AIhAMTNi+sTEkuYZsZxQOAR8uCtwnFIxdyH3n2XxpcRmyB+","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25275},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"f93284e853efd6da46d91ae40da47a2dd15b61fe","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Hapi","directories":{},"_nodeVersion":"12.22.7","dependencies":{"@hapi/boom":"^9.1.2","@hapi/accept":"^5.0.2","apollo-server-core":"^3.13.0","apollo-server-types":"^3.8.0"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^3.13.0"},"peerDependencies":{"graphql":"^15.3.0 || ^16.0.0","@hapi/hapi":"^20.1.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-hapi_3.13.0_1699921026445_0.4171895487893398","host":"s3://npm-registry-packages"},"deprecated":"The `apollo-server-hapi` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details."}},"time":{"created":"2017-07-17T23:31:09.230Z","modified":"2024-10-25T18:42:30.977Z","1.0.2":"2017-07-17T23:31:09.230Z","1.0.3-tracing.0":"2017-07-20T20:43:36.861Z","1.0.3-tracing.1":"2017-07-20T20:56:32.483Z","1.0.3-tracing.2":"2017-07-20T21:02:03.872Z","1.0.3-tracing.3":"2017-07-21T01:34:27.579Z","1.0.4":"2017-07-24T08:22:41.562Z","1.0.5":"2017-08-01T18:37:15.404Z","1.1.0":"2017-08-09T19:13:10.912Z","1.1.2":"2017-08-24T04:27:36.575Z","1.1.3":"2017-10-05T04:46:50.666Z","1.1.5":"2017-10-09T18:34:21.740Z","1.1.6":"2017-10-09T19:12:19.899Z","1.1.7":"2017-10-16T14:59:37.920Z","1.2.0-pre.1":"2017-10-24T03:55:09.667Z","1.2.0":"2017-10-24T16:15:01.416Z","1.3.0":"2017-12-12T08:45:59.311Z","1.3.1":"2017-12-18T06:34:58.679Z","1.3.2":"2017-12-19T16:03:00.645Z","1.3.3":"2018-03-26T14:20:53.836Z","1.3.4":"2018-03-28T20:57:32.113Z","1.3.5":"2018-04-18T13:10:17.629Z","1.3.6":"2018-04-24T18:35:31.032Z","2.0.0-beta.0":"2018-05-22T18:05:50.915Z","2.0.0-beta.1":"2018-05-31T17:59:27.766Z","2.0.0-beta.2":"2018-06-04T17:16:24.485Z","2.0.0-beta.5":"2018-06-07T21:50:29.995Z","2.0.0-beta.6":"2018-06-11T22:54:17.259Z","2.0.0-beta.7":"2018-06-12T01:45:36.158Z","2.0.0-beta.8":"2018-06-13T00:55:12.441Z","2.0.0-beta.9":"2018-06-13T18:47:50.318Z","2.0.0-beta.10":"2018-06-13T23:07:56.047Z","2.0.0-beta.11":"2018-06-14T19:00:39.179Z","2.0.0-rc.0":"2018-06-15T06:18:27.756Z","2.0.0-rc.1":"2018-06-21T22:33:48.292Z","2.0.0-rc.2":"2018-06-22T02:54:16.297Z","2.0.0-rc.3":"2018-06-24T10:31:35.029Z","2.0.0-rc.4":"2018-06-25T20:58:37.110Z","2.0.0-rc.5":"2018-06-26T00:05:55.942Z","2.0.0-rc.6":"2018-06-29T18:28:38.281Z","2.0.0-rc.7":"2018-07-10T02:33:54.485Z","1.4.0":"2018-07-13T18:47:20.829Z","2.0.0-rc.8":"2018-07-14T00:50:39.971Z","2.0.0-rc.9":"2018-07-17T17:47:15.192Z","2.0.0-rc.10":"2018-07-17T17:57:19.628Z","2.0.0":"2018-07-19T19:51:18.737Z","2.1.0-alpha.7":"2018-07-26T07:17:44.357Z","2.1.0-alpha.8":"2018-07-26T23:03:38.236Z","2.1.0-alpha.9":"2018-08-06T22:14:47.280Z","2.1.0-alpha.10":"2018-08-09T00:36:54.893Z","2.0.1":"2018-08-14T18:06:13.556Z","2.0.2":"2018-08-14T18:50:44.859Z","2.0.3":"2018-08-16T19:10:56.191Z","2.0.4":"2018-08-20T21:18:26.021Z","2.0.5":"2018-09-03T13:07:33.159Z","2.0.6":"2018-09-05T15:34:12.826Z","2.0.7":"2018-09-14T17:37:00.308Z","2.1.0":"2018-09-18T23:16:01.410Z","2.2.0-register.2195":"2018-10-09T01:50:18.581Z","2.2.0-alpha.0":"2018-10-10T19:31:52.415Z","2.2.0-alpha.1":"2018-10-26T18:29:19.167Z","2.2.0-alpha.2":"2018-11-05T19:46:43.492Z","2.2.0-alpha.3":"2018-11-06T05:37:58.790Z","2.2.0-alpha.4":"2018-11-06T19:34:03.461Z","2.2.0":"2018-11-07T16:18:20.424Z","2.2.1":"2018-11-12T13:27:00.815Z","2.2.2":"2018-11-13T13:59:32.344Z","2.2.3":"2018-11-26T18:59:05.224Z","2.2.4":"2018-11-28T13:51:49.125Z","2.2.5":"2018-11-29T11:46:05.015Z","2.2.6":"2018-12-04T11:35:51.370Z","2.2.7-alpha.0":"2018-12-04T11:44:44.206Z","2.3.0-alpha.0":"2018-12-04T19:13:16.021Z","2.2.7":"2018-12-13T13:02:59.724Z","2.3.0":"2018-12-13T13:30:33.201Z","2.3.1":"2018-12-13T19:08:00.556Z","2.4.0-alpha.0":"2018-12-18T15:14:40.057Z","2.4.0-alpha.1":"2019-01-16T11:12:01.637Z","2.4.0-alpha.2":"2019-01-23T13:04:43.846Z","2.3.2":"2019-01-25T16:48:54.784Z","2.3.3":"2019-01-29T09:51:54.569Z","2.4.0-alpha.4":"2019-02-07T11:01:56.057Z","2.4.0":"2019-02-07T12:09:13.207Z","2.4.1":"2019-02-12T21:35:13.749Z","2.4.2-rc.0":"2019-02-14T13:17:21.106Z","2.4.2":"2019-02-14T13:26:27.600Z","2.4.3":"2019-02-20T17:00:42.128Z","2.4.4":"2019-02-21T18:23:02.058Z","2.4.6":"2019-02-22T07:22:29.600Z","2.4.7":"2019-02-26T11:21:55.793Z","2.4.8":"2019-02-26T14:26:11.848Z","2.5.0-alpha.0":"2019-03-22T18:32:35.955Z","2.5.0-alpha.1":"2019-03-26T18:24:34.954Z","2.5.0-alpha.2":"2019-04-05T14:56:24.284Z","2.5.0-alpha.3":"2019-04-05T16:52:53.587Z","2.5.0-alpha.4":"2019-04-05T17:14:45.298Z","2.5.0-alpha.5":"2019-04-12T09:34:58.725Z","2.5.0-alpha.6":"2019-04-14T03:54:06.027Z","2.5.0-alpha.7":"2019-04-25T17:51:45.833Z","2.5.0-rc.0":"2019-04-30T12:05:02.499Z","2.5.0":"2019-05-07T12:44:14.668Z","2.5.1-alpha.14":"2019-05-10T02:04:40.473Z","2.5.1-alpha.15":"2019-05-10T02:35:55.778Z","2.6.0-alpha.0":"2019-05-13T19:23:23.649Z","2.6.0-alpha.1":"2019-05-22T18:34:53.187Z","2.6.0-alpha.2":"2019-05-22T20:09:13.180Z","2.6.0-alpha.3":"2019-05-22T20:13:41.226Z","2.6.0-alpha.4":"2019-05-23T17:21:42.760Z","2.6.0-alpha.5":"2019-05-23T19:39:57.571Z","2.6.0-alpha.6":"2019-05-24T21:22:33.574Z","2.6.0-alpha.7":"2019-05-27T18:28:01.293Z","2.6.0-alpha.8":"2019-05-28T15:26:29.360Z","2.5.1-alpha.0":"2019-05-30T09:03:00.908Z","2.5.1-alpha.1":"2019-05-30T10:57:30.674Z","2.5.1":"2019-05-30T13:18:38.057Z","2.6.0-alpha.9":"2019-05-30T19:55:21.180Z","2.6.0-rc.0":"2019-05-30T20:30:03.091Z","2.6.0":"2019-05-31T17:59:05.844Z","2.6.1-alpha.0":"2019-05-31T21:41:58.595Z","2.6.1":"2019-05-31T22:02:54.293Z","2.6.2-alpha.0":"2019-06-06T15:27:26.064Z","2.6.2":"2019-06-06T19:48:52.806Z","2.6.3":"2019-06-12T06:10:00.809Z","2.6.4":"2019-06-20T20:50:36.691Z","2.6.5-alpha.0":"2019-06-21T16:51:24.015Z","2.6.5":"2019-06-25T16:20:46.338Z","2.6.6":"2019-06-25T18:10:58.763Z","2.6.7-alpha.0":"2019-06-25T22:08:46.127Z","2.6.7":"2019-06-26T11:51:25.940Z","2.7.0-alpha.0":"2019-06-27T20:01:58.640Z","2.7.0-alpha.1":"2019-06-27T21:01:23.660Z","2.7.0-alpha.2":"2019-06-30T22:09:01.239Z","2.7.0-alpha.3":"2019-07-01T20:00:23.909Z","2.7.0-alpha.4":"2019-07-03T22:39:30.873Z","2.7.0-alpha.5":"2019-07-04T18:15:24.031Z","2.7.0-alpha.6":"2019-07-04T19:05:39.477Z","2.7.0-alpha.7":"2019-07-05T13:35:29.088Z","2.7.0-alpha.8":"2019-07-05T13:48:27.812Z","2.6.8":"2019-07-09T22:25:05.473Z","2.6.9":"2019-07-11T18:29:30.549Z","2.7.0-alpha.9":"2019-07-13T20:49:52.427Z","2.7.0-alpha.12":"2019-07-15T07:42:32.705Z","2.7.0-alpha.13":"2019-07-15T12:42:32.130Z","2.7.0-alpha.14":"2019-07-16T08:26:31.506Z","2.7.0":"2019-07-16T13:46:04.476Z","2.7.1":"2019-07-25T10:47:31.800Z","2.7.2":"2019-07-26T23:29:03.326Z","2.8.0":"2019-07-29T17:14:32.360Z","2.8.1":"2019-07-31T11:17:00.141Z","2.8.2":"2019-08-20T18:03:05.536Z","2.9.0":"2019-08-23T15:22:22.887Z","2.9.1":"2019-08-28T20:33:10.500Z","2.9.2":"2019-08-30T10:06:05.716Z","2.9.3":"2019-09-01T21:47:14.787Z","2.9.4":"2019-09-24T17:03:19.229Z","2.9.5":"2019-10-04T21:12:48.095Z","2.9.6":"2019-10-10T12:15:50.517Z","2.9.7":"2019-10-21T17:26:37.966Z","2.9.8":"2019-11-12T18:43:04.387Z","2.9.9":"2019-11-13T22:43:24.944Z","2.9.10":"2019-11-20T22:27:16.926Z","2.9.11":"2019-11-20T23:29:49.534Z","2.9.12":"2019-11-21T18:01:27.225Z","2.9.13":"2019-12-05T20:01:35.417Z","2.9.14":"2019-12-17T12:24:10.219Z","2.9.15":"2019-12-27T12:10:52.943Z","2.9.16":"2020-01-09T22:17:00.796Z","2.10.0":"2020-02-06T12:34:45.508Z","2.10.1":"2020-02-14T14:00:03.792Z","2.11.0-alpha.1":"2020-02-24T15:28:49.727Z","2.11.0-alpha.2":"2020-02-25T16:02:38.118Z","2.11.0-alpha.3":"2020-02-25T16:29:06.289Z","2.11.0":"2020-03-03T17:42:53.373Z","2.12.0-alpha.0":"2020-03-16T19:48:15.909Z","2.12.0-alpha.1":"2020-03-18T18:08:52.116Z","2.12.0-alpha.2":"2020-03-23T14:40:47.912Z","2.12.0-alpha.3":"2020-03-26T13:13:59.911Z","2.12.0-alpha.4":"2020-03-26T13:54:23.190Z","2.12.0-alpha.5":"2020-04-02T23:10:11.893Z","2.12.0":"2020-04-07T18:36:36.283Z","2.13.0-alpha.0":"2020-04-10T12:14:56.069Z","2.13.0-alpha.1":"2020-04-23T16:39:39.500Z","2.13.0":"2020-05-04T14:49:26.976Z","2.13.1-alpha.0":"2020-05-08T19:49:34.895Z","2.13.1-alpha.1":"2020-05-11T18:35:09.225Z","2.13.1":"2020-05-11T19:15:00.149Z","2.14.0-alpha.0":"2020-05-13T10:06:23.255Z","2.14.0-alpha.1":"2020-05-19T09:55:00.281Z","2.14.0-alpha.2":"2020-05-20T14:38:14.184Z","2.14.0":"2020-05-27T14:32:24.129Z","2.14.1":"2020-05-28T17:20:47.084Z","2.14.2":"2020-06-04T17:24:25.093Z","2.14.3":"2020-06-08T21:44:30.592Z","2.14.4":"2020-06-12T14:41:48.177Z","2.15.0-alpha.0":"2020-06-16T18:38:01.305Z","2.14.5":"2020-06-16T21:44:18.246Z","2.15.0-alpha.1":"2020-06-17T17:18:13.665Z","2.15.0":"2020-06-17T17:25:26.333Z","2.15.1":"2020-06-30T11:25:10.345Z","2.16.0":"2020-07-17T12:13:52.847Z","2.16.1":"2020-07-27T20:49:59.935Z","3.0.0-alpha.2":"2020-08-06T20:01:22.813Z","3.0.0-alpha.3":"2020-08-12T16:58:41.251Z","2.17.0":"2020-08-27T18:42:09.071Z","2.17.1-alpha.0":"2020-09-03T18:23:12.525Z","2.18.0-rc.0":"2020-09-18T22:17:13.175Z","2.18.0-rc.1":"2020-09-21T17:46:45.551Z","2.18.0":"2020-09-22T04:24:22.235Z","2.18.1":"2020-09-24T18:09:51.595Z","2.19.0-alpha.0":"2020-10-05T14:23:20.137Z","2.18.2":"2020-10-05T19:14:01.066Z","2.19.0-alpha.1":"2020-10-19T18:33:49.300Z","2.19.0":"2020-10-30T20:02:41.298Z","2.19.1":"2020-12-22T23:07:20.252Z","2.19.2":"2021-01-14T16:51:17.341Z","2.20.0-alpha.0":"2021-02-09T01:11:26.590Z","2.20.0":"2021-02-09T23:06:39.875Z","2.21.0-alpha.0":"2021-02-11T19:16:20.160Z","2.21.0-alpha.1":"2021-02-11T19:53:29.076Z","2.21.0-alpha.2":"2021-02-11T21:48:21.540Z","2.21.0":"2021-02-12T01:57:22.466Z","2.21.1-alpha.0":"2021-03-06T00:33:01.421Z","2.21.1":"2021-03-08T18:27:07.447Z","2.21.2-alpha.0":"2021-03-16T21:35:29.410Z","2.21.2":"2021-03-18T19:52:16.801Z","2.22.0-alpha.0":"2021-03-22T21:59:12.500Z","2.22.0":"2021-03-26T00:28:26.256Z","2.22.1":"2021-03-26T05:00:57.798Z","2.22.2-alpha.0":"2021-03-29T19:26:02.572Z","2.22.2":"2021-03-29T19:37:06.497Z","2.23.0-alpha.0":"2021-04-09T00:09:18.616Z","2.23.0-alpha.1":"2021-04-09T20:07:11.146Z","2.23.0":"2021-04-14T23:23:33.179Z","2.23.1-unified.0":"2021-04-22T22:22:37.887Z","2.23.1-unified.2":"2021-04-22T23:05:47.734Z","2.23.1-unified2.0":"2021-04-22T23:14:42.043Z","2.23.1-unified2.1":"2021-04-23T05:46:08.923Z","2.23.1-unified2.2":"2021-04-27T22:17:08.072Z","2.23.1-unified2.3":"2021-04-27T22:54:13.607Z","2.24.0-alpha.0":"2021-04-28T21:01:52.943Z","2.24.0-alpha.1":"2021-04-29T22:33:21.063Z","2.24.0-alpha.2":"2021-04-30T14:06:28.117Z","2.24.0":"2021-04-30T18:10:08.694Z","3.0.0-alpha.4":"2021-05-06T20:23:03.518Z","3.0.0-lambda.0":"2021-05-13T19:44:49.356Z","2.24.1":"2021-05-18T22:49:28.585Z","3.0.0-html.0":"2021-05-25T04:35:25.224Z","3.0.0-html.2":"2021-05-25T05:19:54.656Z","2.25.0-alpha.0":"2021-05-26T22:31:30.989Z","2.25.0-alpha.1":"2021-05-27T14:10:53.159Z","2.25.0":"2021-05-27T14:40:30.524Z","3.0.0-preview.0":"2021-06-01T05:55:55.066Z","2.25.1":"2021-06-08T21:06:14.517Z","3.0.0-preview.1":"2021-06-16T05:59:14.260Z","3.0.0-preview.2":"2021-06-16T06:15:38.240Z","2.25.2":"2021-06-22T19:54:00.571Z","3.0.0-preview.3":"2021-06-26T05:43:20.145Z","3.0.0-preview.4":"2021-06-30T21:06:04.257Z","3.0.0-rc.0":"2021-07-01T23:42:15.551Z","3.0.0-rc.1":"2021-07-02T21:48:37.751Z","3.0.0":"2021-07-07T18:17:52.894Z","3.0.1":"2021-07-16T22:45:05.099Z","3.0.2":"2021-07-20T17:28:06.146Z","3.1.0-alpha.0":"2021-07-22T20:23:15.282Z","3.1.0-alpha.1":"2021-07-23T06:14:32.507Z","3.1.0":"2021-07-26T19:11:04.274Z","3.1.1":"2021-07-26T19:51:29.791Z","3.1.2":"2021-08-03T00:34:04.830Z","3.2.0-alpha.0":"2021-08-20T23:55:54.247Z","3.2.0":"2021-08-23T23:50:40.851Z","3.3.0":"2021-08-25T23:14:44.608Z","3.4.0-alpha.0":"2021-10-09T00:38:21.938Z","3.4.0":"2021-10-11T20:58:36.112Z","2.25.3":"2021-11-04T18:04:27.728Z","3.4.1":"2021-11-04T18:06:38.348Z","3.5.0":"2021-11-05T17:54:39.121Z","3.6.0-alpha.0":"2021-12-17T21:57:58.910Z","3.6.0-alpha.1":"2021-12-28T03:11:12.947Z","3.6.0":"2021-12-30T18:25:54.260Z","3.6.1":"2021-12-31T15:57:47.198Z","3.6.2":"2022-01-18T21:10:11.863Z","3.6.3":"2022-02-08T19:15:28.922Z","3.6.4":"2022-03-10T18:51:01.894Z","3.6.5":"2022-03-21T19:14:25.668Z","3.6.6":"2022-03-24T20:20:38.345Z","3.6.7":"2022-03-29T23:54:24.181Z","3.6.8":"2022-05-05T15:52:45.191Z","3.7.0":"2022-05-05T16:51:40.964Z","3.8.0":"2022-05-23T23:58:49.290Z","3.8.1":"2022-05-24T04:11:59.935Z","2.25.4":"2022-05-25T17:28:40.976Z","3.8.2":"2022-06-04T00:56:11.748Z","3.9.0":"2022-06-15T16:55:04.670Z","3.10.0":"2022-07-11T19:23:02.564Z","3.10.1":"2022-08-10T17:09:47.533Z","2.26.0":"2022-08-18T18:20:49.584Z","3.10.2":"2022-08-26T02:41:40.385Z","3.10.3":"2022-10-07T22:17:55.044Z","2.26.1":"2022-10-20T18:01:57.614Z","3.10.4":"2022-10-31T21:52:17.989Z","3.11.0":"2022-11-02T15:56:35.440Z","3.11.1":"2022-11-03T01:01:34.260Z","3.12.0":"2023-03-02T19:33:33.607Z","2.26.2":"2023-08-30T21:02:53.117Z","3.12.1":"2023-08-30T21:17:15.605Z","3.13.0":"2023-11-14T00:17:06.655Z"},"bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","homepage":"https://github.com/apollographql/apollo-server#readme","keywords":["GraphQL","Apollo","Hapi","Server","Javascript"],"repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-hapi"},"description":"Production-ready Node.js GraphQL server for Hapi","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"readme":"[![npm version](https://badge.fury.io/js/apollo-server-hapi.svg)](https://badge.fury.io/js/apollo-server-hapi)\n[![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server)\n[![Join the community forum](https://img.shields.io/badge/join%20the%20community-forum-blueviolet)](https://community.apollographql.com)\n[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)\n\n\nThis is the Hapi integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\nThis package has only been tested with `@hapi/hapi` 20.1.2 and higher; that is the minimum version of Hapi that supports Node 16.\n\nA full example of how to use `apollo-server-hapi` can be found in [the docs](https://www.apollographql.com/docs/apollo-server/integrations/middleware/#apollo-server-hapi).\n\n### Context\n\nThe context is created for each request. The following code snippet shows the creation of a context. The arguments are the `request`, the request, and `h`, the response toolkit.\n\n```js\nnew ApolloServer({\n  typeDefs,\n  resolvers,\n  context: async ({ request, h }) => {\n    return { ... };\n  },\n})\n```\n\n## Principles\n\nApollo Server is built with the following principles in mind:\n\n* **By the community, for the community**: Apollo Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure\n* **Performance**: Apollo Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to Apollo Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","readmeFilename":"README.md","users":{"bsdllc":true}}