diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-28 02:04:27 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-28 02:04:27 +0800 |
commit | 75711f348a09ce666059f76e38e74682463ccaf7 (patch) | |
tree | 27934c3bb82c230f2b6d6a1b4cfffaec708bc759 /src/utils | |
parent | 56cfb41d54e012864fa9f557a8008f57de6c4267 (diff) | |
download | dexon-sol-tools-75711f348a09ce666059f76e38e74682463ccaf7.tar dexon-sol-tools-75711f348a09ce666059f76e38e74682463ccaf7.tar.gz dexon-sol-tools-75711f348a09ce666059f76e38e74682463ccaf7.tar.bz2 dexon-sol-tools-75711f348a09ce666059f76e38e74682463ccaf7.tar.lz dexon-sol-tools-75711f348a09ce666059f76e38e74682463ccaf7.tar.xz dexon-sol-tools-75711f348a09ce666059f76e38e74682463ccaf7.tar.zst dexon-sol-tools-75711f348a09ce666059f76e38e74682463ccaf7.zip |
Remove custom Schema type and use one from jsonschema
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/assert.ts | 1 | ||||
-rw-r--r-- | src/utils/schema_validator.ts | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/utils/assert.ts b/src/utils/assert.ts index 94b119d5a..38c1d4aae 100644 --- a/src/utils/assert.ts +++ b/src/utils/assert.ts @@ -2,6 +2,7 @@ import * as _ from 'lodash'; import * as BigNumber from 'bignumber.js'; import * as Web3 from 'web3'; import {Web3Wrapper} from '../web3_wrapper'; +import {Schema} from 'jsonschema'; import {SchemaValidator} from './schema_validator'; import {utils} from './utils'; diff --git a/src/utils/schema_validator.ts b/src/utils/schema_validator.ts index 9097dce88..e3f911adb 100644 --- a/src/utils/schema_validator.ts +++ b/src/utils/schema_validator.ts @@ -1,4 +1,4 @@ -import {Validator, ValidatorResult} from 'jsonschema'; +import {Validator, ValidatorResult, Schema} from 'jsonschema'; import {ecSignatureSchema, ecSignatureParameterSchema} from '../schemas/ec_signature_schema'; import {orderSchema, signedOrderSchema} from '../schemas/order_schemas'; import {addressSchema, numberSchema} from '../schemas/basic_type_schemas'; |