Rename sra-api to sra-spec
This commit is contained in:
		@@ -33,7 +33,7 @@ If you're developing on 0x now or are interested in using 0x infrastructure in t
 | 
			
		||||
| [`@0xproject/monorepo-scripts`](/packages/monorepo-scripts)     | [](https://www.npmjs.com/package/@0xproject/monorepo-scripts)     | Monorepo scripts                                                                                                          |
 | 
			
		||||
| [`@0xproject/react-docs`](/packages/react-docs)                 | [](https://www.npmjs.com/package/@0xproject/react-docs)                 | React documentation component for rendering TypeDoc & Doxity generated JSON                                               |
 | 
			
		||||
| [`@0xproject/react-shared`](/packages/react-shared)             | [](https://www.npmjs.com/package/@0xproject/react-shared)             | 0x shared react components                                                                                                |
 | 
			
		||||
| [`@0xproject/sra-api`](/packages/sra-api)                       | [](https://www.npmjs.com/package/@0xproject/sra-api)                       | OpenAPI specification for the standard relayer API                                                                        |
 | 
			
		||||
| [`@0xproject/sra-spec`](/packages/sra-spec)                       | [](https://www.npmjs.com/package/@0xproject/sra-spec)                       | OpenAPI specification for the standard relayer API                                                                        |
 | 
			
		||||
| [`@0xproject/sra-report`](/packages/sra-report)                 | [](https://www.npmjs.com/package/@0xproject/sra-report)                 | Generate reports for standard relayer API compliance                                                                      |
 | 
			
		||||
| [`@0xproject/sol-cov`](/packages/sol-cov)                       | [](https://www.npmjs.com/package/@0xproject/sol-cov)                       | Solidity test coverage tool                                                                                               |
 | 
			
		||||
| [`@0xproject/subproviders`](/packages/subproviders)             | [](https://www.npmjs.com/package/@0xproject/subproviders)             | Useful web3 subproviders (e.g LedgerSubprovider)                                                                          |
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,5 @@
 | 
			
		||||
{
 | 
			
		||||
    "domain": "sra-api",
 | 
			
		||||
    "domain": "sra-spec",
 | 
			
		||||
    "build_command": "yarn build-json",
 | 
			
		||||
    "upload_directory": "public",
 | 
			
		||||
    "index_key": "index.html",
 | 
			
		||||
@@ -1,15 +1,15 @@
 | 
			
		||||
## @0xproject/sra-api
 | 
			
		||||
## @0xproject/sra-spec
 | 
			
		||||
 | 
			
		||||
Contains the Standard Relayer API [OpenAPI Spec](https://github.com/OAI/OpenAPI-Specification).
 | 
			
		||||
 | 
			
		||||
The package distributes both a javascript object version and a json version.
 | 
			
		||||
 | 
			
		||||
A 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/.
 | 
			
		||||
A deployed [ReDoc](https://github.com/Rebilly/ReDoc) static site with the API can be found here http://sra-spec.s3-website-us-east-1.amazonaws.com/.
 | 
			
		||||
 | 
			
		||||
## Usage
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
import { api } from '@0xproject/sra-api';
 | 
			
		||||
import { api } from '@0xproject/sra-spec';
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
## Installation
 | 
			
		||||
@@ -53,18 +53,18 @@ yarn install
 | 
			
		||||
To build this package and all other monorepo packages that it depends on, run the following from the monorepo root directory:
 | 
			
		||||
 | 
			
		||||
```bash
 | 
			
		||||
PKG=@0xproject/sra-api yarn build
 | 
			
		||||
PKG=@0xproject/sra-spec yarn build
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
Or continuously rebuild on change:
 | 
			
		||||
 | 
			
		||||
```bash
 | 
			
		||||
PKG=@0xproject/sra-api yarn watch
 | 
			
		||||
PKG=@0xproject/sra-spec yarn watch
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Static Site
 | 
			
		||||
 | 
			
		||||
We also [host a static HTML version of the docs on S3](http://sra-api.s3-website-us-east-1.amazonaws.com/) for easy sharing.
 | 
			
		||||
We also [host a static HTML version of the docs on S3](http://sra-spec.s3-website-us-east-1.amazonaws.com/) for easy sharing.
 | 
			
		||||
 | 
			
		||||
To build and deploy the site run
 | 
			
		||||
 | 
			
		||||
@@ -1,5 +1,5 @@
 | 
			
		||||
{
 | 
			
		||||
    "name": "@0xproject/sra-api",
 | 
			
		||||
    "name": "@0xproject/sra-spec",
 | 
			
		||||
    "version": "1.0.1-rc.4",
 | 
			
		||||
    "engines": {
 | 
			
		||||
        "node": ">=6.12"
 | 
			
		||||
@@ -31,7 +31,7 @@
 | 
			
		||||
    "bugs": {
 | 
			
		||||
        "url": "https://github.com/0xProject/0x-monorepo/issues"
 | 
			
		||||
    },
 | 
			
		||||
    "homepage": "https://github.com/0xProject/0x-monorepo/packages/sra-api/README.md",
 | 
			
		||||
    "homepage": "https://github.com/0xProject/0x-monorepo/packages/sra-spec/README.md",
 | 
			
		||||
    "dependencies": {
 | 
			
		||||
        "@0xproject/json-schemas": "^1.0.1-rc.4"
 | 
			
		||||
    },
 | 
			
		||||
		Reference in New Issue
	
	Block a user