{"_id":"@0xproject/sra-api","_rev":"14-6deea625bf2a1560743d443f69883e90","name":"@0xproject/sra-api","dist-tags":{"latest":"1.0.1-rc.4","beta":"1.0.1-rc.5"},"versions":{"1.0.1-rc.4":{"name":"@0xproject/sra-api","version":"1.0.1-rc.4","engines":{"node":">=6.12"},"description":"Standard Relayer API Open API Spec","main":"lib/src/index.js","types":"lib/src/index.d.ts","scripts":{"serve":"redoc-cli serve lib/api.json --watch","watch_without_deps":"run-p build-json:watch serve","lint":"tslint --project .","test":"swagger-cli validate lib/api.json","rebuild_and_test":"run-s clean build test","test:coverage":"nyc npm run test --all && yarn coverage:report:lcov","coverage:report:lcov":"nyc report --reporter=text-lcov > coverage/lcov.info","test:circleci":"yarn test:coverage","clean":"shx rm -rf lib","build":"tsc && yarn build-json","build-json":"ts-node build_scripts/buildJson.ts","build-json:watch":"chokidar 'src/**/*' -c 'yarn build-json' ","deploy-site":"discharge deploy"},"repository":{"type":"git","url":"https://github.com/0xProject/0x-monorepo.git"},"author":{"name":"Francesco Agosti"},"license":"Apache-2.0","bugs":{"url":"https://github.com/0xProject/0x-monorepo/issues"},"homepage":"https://github.com/0xProject/0x-monorepo/packages/sra-api/README.md","dependencies":{"@0xproject/json-schemas":"^1.0.1-rc.4"},"devDependencies":{"@0xproject/tslint-config":"^1.0.5","@loopback/openapi-v3-types":"^0.8.2","@types/mocha":"^2.2.42","@types/node":"^10.5.3","chai":"^4.0.1","chokidar-cli":"^1.2.0","dirty-chai":"^2.0.1","discharge":"^0.7.1","mocha":"^4.0.1","npm-run-all":"^4.1.3","nyc":"^11.0.1","redoc-cli":"^0.6.1","shx":"^0.2.2","swagger-cli":"^2.1.1","ts-node":"^7.0.0","tslint":"5.11.0","typescript":"2.7.1"},"publishConfig":{"access":"public"},"gitHead":"fadd292ecf367e42154856509d0ea0c20b23f2f1","_id":"@0xproject/sra-api@1.0.1-rc.4","dist":{"shasum":"ca879bec52ee4843ba59718d5c1cfb0dc9d9f963","tarball":"https://registry.npmjs.org/@0xproject/sra-api/-/sra-api-1.0.1-rc.4.tgz","integrity":"sha512-o3oWTEKVqpMoPOmQmFZlNMmfGwFR6IMVmesQEnE1U2gibw+QRFqU6wMNe1QEhgnIA7M4kHMMpb4m4+j0bsJEFw==","fileCount":66,"unpackedSize":102229,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbcjHfCRA9TVsSAnZWagAAfLwQAIG31q3iukI1fDiaUB0P\nwtXQImtP7K6u66xBteuUMinxYZGpW8m/KzjwHugIFe/ps0D9O9dFQs+MbvJ1\n7j/nhY1JQn89Ood3kx7EQBVvNsDljWOHdrkuCsfBuchklaq7B2O+Ll+AePNS\n003q0xwP1sLpy/1Q9G7IjSOkzE2jiyUJZHdWcvjPyYtH5hi/6KYplWqRq9ys\nNNdrt9+2ZY7qq7ti2LPkPHPkHoFZ4xJevrLe9qgyQkQAGynYMhN0y5Mk3Zgb\n7+q6mcNR3ryVEaJr8QMRSsKz+RHARvKaOFoW/bPk3OlMaf2WvU2jguYwgd54\nsX9fDc1fbbvAfLArqxmcxd0M3iZ5HDdA0ftWV35gDa0fOI+y2lNDAm1HcAV4\nqCQb5kyA+5cC3UIA9bZfKCC5v+MMurroKQclphMLbZtC09aSSVezamA3lXjn\n9HySpnsRmuTf6YzWgL/n+x5TuNGDk/ZZYCD++cz3HDXwmOFra2gvdZA7e0fu\nKRG9Dh2I5R3B+Q3WB/nl/ts2BHV76GVlcKG30fKkxrhUMJAc5DmulL/WVdJt\n+7etta6JhjTK2Ubj7iH2E/MU5QASn76NkNuTwy8o9T3PcKm6nFnm60Mj71Yn\njnuF2M6g7FdaXtv/f6ucPNa3kDLztI+yzmDrf7WAFBSgYIFGR/sX3sXku9Vh\nMhX5\r\n=VawI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCjtx2r+83ZOr1uPuGnQ1XGEoZ0RN2d5fK+kXwnPYtykAIhAK+KNDKOis9jcC9vJTi+zWso+wR4U91dxL1oW/6Q8kjq"}]},"maintainers":[{"name":"albrow","email":"stephenalexbrowne@gmail.com"},{"name":"amirbandeali","email":"abandeali1@gmail.com"},{"name":"bchillman","email":"brandon.millman@gmail.com"},{"name":"dekz","email":"jacob@dekz.net"},{"name":"fberger","email":"me@fabioberger.com"},{"name":"logvinov","email":"logvinov.leon@gmail.com"}],"_npmUser":{"name":"albrow","email":"stephenalexbrowne@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sra-api_1.0.1-rc.4_1534210526807_0.8271163198104379"},"_hasShrinkwrap":false},"1.0.1-rc.5":{"name":"@0xproject/sra-api","version":"1.0.1-rc.5","engines":{"node":">=6.12"},"description":"Standard Relayer API Open API Spec","main":"lib/src/index.js","types":"lib/src/index.d.ts","scripts":{"serve":"redoc-cli serve lib/api.json --watch","watch_without_deps":"run-p build-json:watch serve","lint":"tslint --project .","test":"swagger-cli validate lib/api.json","rebuild_and_test":"run-s clean build test","test:coverage":"nyc npm run test --all && yarn coverage:report:lcov","coverage:report:lcov":"nyc report --reporter=text-lcov > coverage/lcov.info","test:circleci":"yarn test:coverage","clean":"shx rm -rf lib","build":"tsc && yarn build-json","build-json":"ts-node build_scripts/buildJson.ts","build-json:watch":"chokidar 'src/**/*' -c 'yarn build-json' ","deploy-site":"discharge deploy"},"repository":{"type":"git","url":"https://github.com/0xProject/0x-monorepo.git"},"author":{"name":"Francesco Agosti"},"license":"Apache-2.0","bugs":{"url":"https://github.com/0xProject/0x-monorepo/issues"},"homepage":"https://github.com/0xProject/0x-monorepo/packages/sra-api/README.md","dependencies":{"@0xproject/json-schemas":"^1.0.1-rc.5"},"devDependencies":{"@0xproject/tslint-config":"^1.0.6","@loopback/openapi-v3-types":"^0.8.2","@types/mocha":"^2.2.42","@types/node":"^10.5.3","chai":"^4.0.1","chokidar-cli":"^1.2.0","dirty-chai":"^2.0.1","discharge":"^0.7.1","mocha":"^4.0.1","npm-run-all":"^4.1.3","nyc":"^11.0.1","redoc-cli":"^0.6.1","shx":"^0.2.2","swagger-cli":"^2.1.1","ts-node":"^7.0.0","tslint":"5.11.0","typescript":"2.7.1"},"publishConfig":{"access":"public"},"gitHead":"7f585a15f526e0a61fd822cdefb7087fc6bb8934","readmeFilename":"README.md","readme":"## @0xproject/sra-api\n\nContains the Standard Relayer API [OpenAPI Spec](https://github.com/OAI/OpenAPI-Specification).\n\nThe package distributes both a javascript object version and a json version.\n\nA deployed [ReDoc](https://github.com/Rebilly/ReDoc) static site with the API can be found here http://sra-api.s3-website-us-east-1.amazonaws.com/.\n\n## Usage\n\n```\nimport { api } from '@0xproject/sra-api';\n```\n\n## Installation\n\n```\nyarn install\n```\n\n## Development\n\nYou can start a development server that will serve a [ReDoc](https://github.com/Rebilly/ReDoc) documentation instance. It uses the `api.json` file from `lib/` (you must have built at least once with `yarn build` or `yarn build-json`) that is based on the `api` object exported from `src`.\n\n```\nyarn watch_without_deps\n```\n\nThe process will watch for changes, but will not hot-reload so you must refresh the page to see the changes.\n\n## Contributing\n\nWe welcome improvements and fixes from the wider community! To report bugs within this package, please create an issue in this repository.\n\nPlease read our [contribution guidelines](../../CONTRIBUTING.md) before getting started.\n\n### Install dependencies\n\nIf you don't have yarn workspaces enabled (Yarn < v1.0) - enable them:\n\n```bash\nyarn config set workspaces-experimental true\n```\n\nThen install dependencies\n\n```bash\nyarn install\n```\n\n### Build\n\nTo build this package and all other monorepo packages that it depends on, run the following from the monorepo root directory:\n\n```bash\nPKG=@0xproject/sra-api yarn build\n```\n\nOr continuously rebuild on change:\n\n```bash\nPKG=@0xproject/sra-api yarn watch\n```\n\n### Static Site\n\nWe also [host a static HTML version of the docs on S3](http://sra-api.s3-website-us-east-1.amazonaws.com/) for easy sharing.\n\nTo build and deploy the site run\n\n```\nyarn deploy-site\n```\n\n**NOTE: On deploying the site, it will say the site is available at a non-existent URL. Please ignore and use the (now updated) URL above.**\n\n### Clean\n\n```bash\nyarn clean\n```\n\n### Lint\n\n```bash\nyarn lint\n```\n\n### Run Tests\n\n```bash\nyarn test\n```\n","_id":"@0xproject/sra-api@1.0.1-rc.5","dist":{"shasum":"ef932e2c2957cd01cb0a1d9065d8581fc4e07901","tarball":"https://registry.npmjs.org/@0xproject/sra-api/-/sra-api-1.0.1-rc.5.tgz","integrity":"sha512-qjV4ZLYl/R3u/0QWYXwfhyTkWJsvVqNGqv6uSIpjGoS1u0PwMw5xmRxTkDCk+pCWZ4+UJEfYlQm3AvWCEFIW8A==","fileCount":66,"unpackedSize":103922,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbgEpnCRA9TVsSAnZWagAAGbYP/RikmEf7OZbDnCuZa8NI\nY70YPNiw+DM3KdVo2r08fGnO4IocrwsQZJdgPrmfWra49NZZ0+tGVPj//C0H\nWE31W/n3FwNnfo6dIH29woeTDe4ZmWbySF0PtcrmzLyaJvd+I+7HaKOUGHPj\nx4T0H471NsWwl0vhIGH0wFQ8C4S7eDvFFz6D7BtYA6jEk0mr4bhmwuBo+psW\nqOGqcNNGd1MT0wrShfh0AbfHXI9gER+WrEyKE2/iTFb3a6jEUGmuUgEt4njB\nV8CgrubSv552iYbBm8MWzhqhnhIaxBtsvb/XXxZOEYnrZQI34pMHiXZzXnXr\nNQycOhVJB2OyReGTP/pDdMjsC6X7le23UO6GVjdQ+swHrWy/MX8XWc5p4M9X\nbBiQJ+BXM8ljb7Fh73+wYY1H2LNv2gCjkrsP5jKhz5q2JPWSKfLkXYThaR2S\nnzoTbpgrbnQnhJ9brPBOivqG7q+50OicYTcMKO87arE0p7nQnnEUhvUJ86W5\nYKZRU8GZM2ZdbuQygyWZi2Sr3B3e8tfuPYniNAJU5Vf7YRxkjHqyE7zoNzng\nkT4ZP9ONfJX1WcU2w9FB7wktQZwTamMeFS39qMHneps77YYLyoCXMDQhjSTr\nGZ63olriN6zEe+zzT/xJiMX/rmohrQtwFb7Z08pNTiCQEcV69YB2v7X7t/mQ\np65P\r\n=XgLk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDNc1GBvDQv+ZBhQ5M0fZEugdumZV6GULuZaFXb3+6gqgIgclo5DSmt+lXTfPNs7Po4Nyqxm4hbSfXFO9nyoDwmJbo="}]},"maintainers":[{"name":"albrow","email":"stephenalexbrowne@gmail.com"},{"name":"amirbandeali","email":"abandeali1@gmail.com"},{"name":"bchillman","email":"brandon.millman@gmail.com"},{"name":"dekz","email":"jacob@dekz.net"},{"name":"fberger","email":"me@fabioberger.com"},{"name":"logvinov","email":"logvinov.leon@gmail.com"}],"_npmUser":{"name":"fberger","email":"me@fabioberger.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sra-api_1.0.1-rc.5_1535134311062_0.3085244269702019"},"_hasShrinkwrap":false}},"time":{"created":"2018-08-14T01:35:26.763Z","1.0.1-rc.4":"2018-08-14T01:35:26.889Z","modified":"2022-07-19T23:15:42.656Z","1.0.1-rc.5":"2018-08-24T18:11:51.158Z"},"maintainers":[{"email":"jacob@dekz.net","name":"dekz"},{"email":"abandeali1@gmail.com","name":"amirbandeali"}],"description":"Standard Relayer API Open API Spec","homepage":"https://github.com/0xProject/0x-monorepo/packages/sra-api/README.md","repository":{"type":"git","url":"https://github.com/0xProject/0x-monorepo.git"},"author":{"name":"Francesco Agosti"},"bugs":{"url":"https://github.com/0xProject/0x-monorepo/issues"},"license":"Apache-2.0","readme":"","readmeFilename":""}