{"name":"apollo-reporting-protobuf","version":"0.6.3-unified2.0","description":"Protobuf format for Apollo usage reporting","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"clean":"git clean -fdX -- dist","prepare":"npm run clean && mkdir dist && npm run pbjs && npm run pbts && cp src/* dist","pbjs":"apollo-pbjs --target static-module --out dist/protobuf.js --wrap commonjs --force-number --no-from-object src/reports.proto","pbts":"apollo-pbts -o dist/protobuf.d.ts dist/protobuf.js","update-proto":"curl -sSfo src/reports.proto https://usage-reporting.api.apollographql.com/proto/reports.proto"},"repository":{"type":"git","url":"git+https://github.com/apollographql/apollo-server.git","directory":"packages/apollo-reporting-protobuf"},"keywords":["GraphQL","Apollo","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"homepage":"https://github.com/apollographql/apollo-server#readme","dependencies":{"@apollo/protobufjs":"1.2.0"},"gitHead":"9d2889bf59a781fc297672fe463ad4b88e0062af","readme":"# `apollo-reporting-protobuf`\n\n> **Note:** The Apollo usage reporting API is subject to change.  We strongly\n> encourage developers to contact Apollo support at `support@apollographql.com`\n> to discuss their use case prior to building their own reporting agent using\n> this module.\n\nThis module provides JavaScript/TypeScript\n[Protocol buffer](https://developers.google.com/protocol-buffers/) definitions\nfor the Apollo usage reporting API.  These definitions are generated for\nconsumption from the `reports.proto` file which is defined internally within\nApollo.\n\n## Development\n\n> **Note:** Due to a dependency on Unix tools (e.g. `bash`, `grep`, etc.), the\n> development of this module requires a Unix system.  There is no reason why\n> this can't be avoided, the time just hasn't been taken to make those changes.\n> We'd happily accept a PR which makes the appropriate changes!\n\nCurrently, this package generates a majority of its code with\n[`protobufjs`](https://www.npmjs.com/package/protobufjs) based on the\n`reports.proto` file. The output is generated with the `prepare` npm script.\n\nThe root of the repository provides the `devDependencies` necessary to build\nthese definitions (e.g. `pbjs`, `pbts`, `protobuf`, etc.) and the `prepare`\nnpm script is invoked programmatically via the monorepo tooling (e.g. Lerna)\nthanks to _this_ module's `postinstall` script.   Therefore, when making\nchanges to this module, `npx lerna run prepare` should be run from the **root**\nof this monorepo in order to update the definitions in _this_ module.\n","readmeFilename":"README.md","_id":"apollo-reporting-protobuf@0.6.3-unified2.0","_nodeVersion":"12.22.1","_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-ptYrwzJO4HHWbd0z6g5KRMYLfAkgjtMHjd0G+8qys4fUx7ebODqfWE5sl/Z8xOp21tCNC60oxOB9aalQgrWxyQ==","shasum":"1ec40a9e2c6cc3c65941d4812bbd7eea2897028a","tarball":"http://registry-npm.ywwl.com/apollo-reporting-protobuf/download/apollo-reporting-protobuf-0.6.3-unified2.0.tgz","fileCount":12,"unpackedSize":460264,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgggNLCRA9TVsSAnZWagAAI4AP/jQ29El5BUIC8+pEUjTU\nBiWaZI85+z+rDUFIklJ8OBtynKNV5RL1lVSJ/yMzOWRj60Gs85F/e00nR09H\nxPMWYyd3oiblnNQEAILpOT2X7sTMLBD22NeY4VTjMcLK3T4JHuFXe42NKcZG\nXI+T4L8XgJhfNMh1Tde0hBdDf3YKNDFovPzmNbP3zAjcq0ZwzRgo99iaeLXl\n/deM/TdnyAl/goBfU2ztELaEP4Apms8NFbGvTBC+jsgCwBUPmzEtysyJ4wvA\nY8EF2feD2qbgD/9qYgq1xPTEANEWUD0kftv5LXHRWDse1ag96dnLoTYCxSpi\nItCOso/lQYq9tuOTHkgL6ftVeQ8k6fu9UDk9EfGrkWXWMerFh/cEGumQxS/M\nEsltpeBg9Cpu6IWwlVcaFrRaIrHfqlySM4qPPrmO9Wo2rG9hT9ZrdDuMshHm\nnxbx75et33cFKe/G2O0vylhFL7FH/5QNSYi74NEuh6PTlTmzwf+PR4VJsQIx\n+ozaNbDpKkrx2zedoQWATmrCepkhNsrX/opTVSfu4059cZWoXi/OC9rNX1aJ\nxrMDjfa9GfmIyeX+VduI8j0aFvs8N5fYE++F/vucZtqgoObDTzkk09QGWG8c\n4Jms8GZN98DN+p4QWgAHPANK3k6i1UZU8bTtBWq7vBOmZyhY7UQvJLxK7F+I\nUbJQ\r\n=fIW2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD9nnM1CGiCe/k6R2yEJjgge+Zbk0HfKOOVdX0fkRQwFwIgKB4UuXaOkI8SiKRWNoI+qC40V372a9QHGIsduXfV8HQ="}],"size":43187,"noattachment":false,"key":"/apollo-reporting-protobuf/-/apollo-reporting-protobuf-0.6.3-unified2.0.tgz"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"directories":{},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apollo-reporting-protobuf_0.6.3-unified2.0_1619133258944_0.8223150940559965"},"_hasShrinkwrap":false,"deprecated":"The `apollo-reporting-protobuf` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/usage-reporting-protobuf` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","publish_time":1619133259111,"_cnpm_publish_time":1619133259111,"dist-tags":{"alpha":"3.3.0-alpha.1","latest":"3.4.0","next":"3.0.0","preview":"3.0.0-preview.1","rc":"3.0.0-rc.0","unified":"0.6.3-unified2.1"}}