{"bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"7ac2de177101929ef24dad063a6756c01ff37c7d","tarball":"https://registry.npmjs.org/apollo-reporting-protobuf/-/apollo-reporting-protobuf-3.0.0-rc.0.tgz","fileCount":12,"integrity":"sha512-KsgIcgy0XCg81HCaoybOZ94L0YbW0vQVeqqw5jYz1HW4r4k5UHJX+xwgGVzpoUowNhQo2M+lW00N+4SgMT86KQ==","signatures":[{"sig":"MEUCIQC0vDaldlvZtCgAGNRMg9rEssLh41UkN319/bggQeVoFwIgOHW+s6uhLpxElfFB3UcD2HvNDLDztkpS58JXb1iynMs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":464275,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg3lLKCRA9TVsSAnZWagAAZc8P/iYHYJFR93FpJL4itZcd\ngTLZtCAabyJyHc7NTyDdd1pON6NnhLZhRRD6dGOhGdYyLaGcnY0k9NBZXKxG\n0y28KcfoyEHPLKZdqEnBcR+6R1wQLu0IbmPUwAwlRzVnWiEujqu4T1xTy/Ct\nn6e6qeyh4nqAsd6iIjsCeP4kz0TC4eta1Sy5hvxXGjF5ZvBQSirakHVDsje+\nFswHpcXX5lwy05xfbYYF2tB8xRHfIENaZnvcypvEduIecYhTlkyeym58sq7i\naOCICoG07VICfmoHgQVQYgDhB/8nvgXdbVg+tKQRitN+zKAErr0cDYHkQNom\nnPOw3bBBrSzBJFyl5o1dxW3e4B6rqMMkLQE8tiYKtBufvw/R4oU6xEYoFEiM\nY3qbCvubL0fpQmdvgvRYyQFSkw8m6G9EtDfoZsd26q5y5is10w2vqwrUuo2B\nEgnTYyryk+NUiVWBxVKXMCRJgTgx/QCjhEUGYuaA4HBThJPJpTf7zheVob6I\nV7VKWavkdEZZ0y27cGYevj6/WQrymaaRXHbjA53qB+jbWLBEB9HhxGy4xwE3\ncdSs8h8I2LkGenI36d0EHz4ggJZanmXKvQIJqiHKmXTZtY4lgstOoGNdBmtX\nStB1EZ9kVGbrkBKNMs0EicfDjGVkGDWTlkZs7L+uYc7JVm9f8mjInNOC02jg\nnHOL\r\n=/Dxv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"generated/index.js","name":"apollo-reporting-protobuf","types":"generated/index.d.ts","author":{"name":"Apollo","email":"opensource@apollographql.com"},"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`@apollo/protobufjs` (a fork of\n[`protobufjs`](https://www.npmjs.com/package/protobufjs) that we maintain\nspecifically for this package) based on the `reports.proto` file. The output is\ngenerated with the `generate` npm script.\n\nThe root of the repository provides some `devDependencies` necessary to build\nthese definitions qand the `prepare` npm script is invoked programmatically via\nthe monorepo tooling (e.g. Lerna) thanks to _this_ module's `postinstall`\nscript.  Therefore, when making changes to this module, run scripts via `npx\nlerna run SCRIPTNAME` in the **root** of this monorepo in order to update the\ndefinitions in _this_ module.\n\nTo update `reports.proto` to the current version recognized by the Studio usage\nreporting ingress, run `lerna run update-proto`. To then regenerate the JS and\nTS files, run `npx lerna run generate`. We check in the generated code and only\nregenerate it manually, partially to make builds faster (no need to run pbjs on\nevery `npm install`) and partially so that we don't have to make sure that\n`pbjs` runs on every Node version that we support.\n","gitHead":"b2c2097ddd58623815112c0e084761f426d2e435","license":"MIT","scripts":{"pbjs":"apollo-pbjs --target static-module --out generated/protobuf.js --wrap commonjs --force-number --no-from-object src/reports.proto","pbts":"apollo-pbts -o generated/protobuf.d.ts generated/protobuf.js","generate":"rm -rf generated && mkdir generated && npm run pbjs && npm run pbts && cp src/* generated","update-proto":"curl -sSfo src/reports.proto https://usage-reporting.api.apollographql.com/proto/reports.proto"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"homepage":"https://github.com/apollographql/apollo-server#readme","keywords":["GraphQL","Apollo","Server","Javascript"],"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.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-reporting-protobuf"},"_npmVersion":"lerna/4.0.0/node@v12.22.1+x64 (linux)","description":"Protobuf format for Apollo usage reporting","directories":{},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"_nodeVersion":"12.22.1","dependencies":{"@apollo/protobufjs":"1.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/apollo-reporting-protobuf_3.0.0-rc.0_1625182921818_0.11652518677662527","host":"s3://npm-registry-packages"},"_id":"apollo-reporting-protobuf@3.0.0-rc.0","version":"3.0.0-rc.0"}