{"name":"apollo-reporting-protobuf","version":"0.6.3-unified2.1","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":"414d1839ae9203ec4d7ea04af4eeb6fe11aea19c","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.1","_nodeVersion":"12.22.1","_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-FN03Gd6f5GwUcXHBflfyZ/0ZQZ6eKu7Xu2S1YP62lZoLmj006IeRqIlOvC+b/oR9p2sMLXxq4E7I2Ftmonv62A==","shasum":"dd1a52d2d95b897cea1ee7802159f9b72729e957","tarball":"http://registry-npm.ywwl.com/apollo-reporting-protobuf/download/apollo-reporting-protobuf-0.6.3-unified2.1.tgz","fileCount":12,"unpackedSize":463688,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgiI1TCRA9TVsSAnZWagAASXsP/1ow/dFwoD6vCCPTzisB\nvKrr9p7bxw2plgo4y0NLwTKk7VsgTeUSvpoKUnv4FrcuhX/gD5vH2z3EGKOh\nOKMjzjljTUVY4Tx7AfkD9q1R+1iOvVnNGFhB6pC6lkerRv+FKcjoz5GXlB/V\nz/LRpWs/FZskeQZFVgFeDHj/lPFTkDauPKKT9DYQnWYeNpJ3AwxtXZFLpoDB\n+dX2df78nG58JKkqdDQwrZFk0tRxKQEEhn7R3qknnko2de/NtNxXbalmruiQ\nrPC9E7SA/7mvQevG7cxfFt7RdeVvgq4UtOD5jkUR0rDZ5v7WVNzDGuT0h9Qz\nUiCJuWSWHH3/mpepMxSRFZi4lDdRtvSLyNRAiz3dmbqt8KRybLQPA9qLSUd5\nH2qmWKekzeV8hRdsoY6rHbFvKxCCPiuxqQIT9ishQsZYWFUHMuTBQ7TU0FEn\n12dkFpYkTurCDtJwfN3HOBN8jHoFz43BOy9hFhiwRAOaHkdd0vfwHgWvFa0R\noBfstPl5gQJQWyUfwO4031FlMBTOa9G0ReZzoYYFeoxJm7GcAM/4D0Hpu6Sf\nDQB2/hzaEjuA0sUc/1D9iHjFR8gdY4+2s0Bpf3t+BWJncIT9OG7oF/yf94O5\ncHe826uus8zTbtZR4Vo5a644/49wFZROhO4WgLUcsKNKEAmGpEYioK965qtx\niySW\r\n=Y7Qu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHoF2wAGPmCjQnjWnO61Hi8CMdXtyaOmr5XHT0uWlIjRAiBP3SeXAk9iU5bQxsIXVSvxdcS8OEXihjcHwgIq6f/VBQ=="}],"size":43506,"noattachment":false,"key":"/apollo-reporting-protobuf/-/apollo-reporting-protobuf-0.6.3-unified2.1.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.1_1619561810732_0.9462264765274258"},"_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":1619561810961,"_cnpm_publish_time":1619561810961,"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"}}