aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-06-01 20:59:03 +0800
committerFabio Berger <me@fabioberger.com>2017-06-01 20:59:03 +0800
commit1668a085049d3b065c47709ef0018a66f637b992 (patch)
tree7b6f627524f832d061539e1d209fcac4d2bb6904
parent329d02053d7175915fdfe35608c89f7841f9cc0b (diff)
downloaddexon-sol-tools-1668a085049d3b065c47709ef0018a66f637b992.tar
dexon-sol-tools-1668a085049d3b065c47709ef0018a66f637b992.tar.gz
dexon-sol-tools-1668a085049d3b065c47709ef0018a66f637b992.tar.bz2
dexon-sol-tools-1668a085049d3b065c47709ef0018a66f637b992.tar.lz
dexon-sol-tools-1668a085049d3b065c47709ef0018a66f637b992.tar.xz
dexon-sol-tools-1668a085049d3b065c47709ef0018a66f637b992.tar.zst
dexon-sol-tools-1668a085049d3b065c47709ef0018a66f637b992.zip
rename signed_order_schema to order_schemas
-rw-r--r--src/0x.js.ts2
-rw-r--r--src/contract_wrappers/exchange_wrapper.ts2
-rw-r--r--src/schemas/order_schemas.ts (renamed from src/schemas/signed_order_schema.ts)0
-rw-r--r--src/utils/schema_validator.ts2
4 files changed, 3 insertions, 3 deletions
diff --git a/src/0x.js.ts b/src/0x.js.ts
index 92a5d2c54..bf56d5f8d 100644
--- a/src/0x.js.ts
+++ b/src/0x.js.ts
@@ -18,7 +18,7 @@ import {ecSignatureSchema} from './schemas/ec_signature_schema';
import {TokenWrapper} from './contract_wrappers/token_wrapper';
import {SolidityTypes, ECSignature, ZeroExError} from './types';
import {Order} from './types';
-import {orderSchema} from './schemas/signed_order_schema';
+import {orderSchema} from './schemas/order_schemas';
// Customize our BigNumber instances
bigNumberConfigs.configure();
diff --git a/src/contract_wrappers/exchange_wrapper.ts b/src/contract_wrappers/exchange_wrapper.ts
index 59e6c755e..ad2573c6b 100644
--- a/src/contract_wrappers/exchange_wrapper.ts
+++ b/src/contract_wrappers/exchange_wrapper.ts
@@ -13,7 +13,7 @@ import {assert} from '../utils/assert';
import {ContractWrapper} from './contract_wrapper';
import * as ExchangeArtifacts from '../artifacts/Exchange.json';
import {ecSignatureSchema} from '../schemas/ec_signature_schema';
-import {signedOrderSchema} from '../schemas/signed_order_schema';
+import {signedOrderSchema} from '../schemas/order_schemas';
import {SchemaValidator} from '../utils/schema_validator';
import {ContractResponse} from '../types';
import {constants} from '../utils/constants';
diff --git a/src/schemas/signed_order_schema.ts b/src/schemas/order_schemas.ts
index dc7e51e40..dc7e51e40 100644
--- a/src/schemas/signed_order_schema.ts
+++ b/src/schemas/order_schemas.ts
diff --git a/src/utils/schema_validator.ts b/src/utils/schema_validator.ts
index 9ff7259d9..db8a960ba 100644
--- a/src/utils/schema_validator.ts
+++ b/src/utils/schema_validator.ts
@@ -1,6 +1,6 @@
import {Validator, ValidatorResult} from 'jsonschema';
import {ecSignatureSchema, ecSignatureParameter} from '../schemas/ec_signature_schema';
-import {addressSchema, numberSchema, orderSchema, signedOrderSchema} from '../schemas/signed_order_schema';
+import {addressSchema, numberSchema, orderSchema, signedOrderSchema} from '../schemas/order_schemas';
import {tokenSchema} from '../schemas/token_schema';
export class SchemaValidator {