diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-12-11 19:43:19 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-12-11 19:43:19 +0800 |
commit | a14424ae5f45784db5e75c2d6a9098dc96914c9e (patch) | |
tree | e0cc054713cc7fff81269c4065883629f117a590 /packages/assert/src/index.ts | |
parent | f1e7ea118b0c8c9a9a013b09d0e63bdd3694b21a (diff) | |
download | dexon-sol-tools-a14424ae5f45784db5e75c2d6a9098dc96914c9e.tar dexon-sol-tools-a14424ae5f45784db5e75c2d6a9098dc96914c9e.tar.gz dexon-sol-tools-a14424ae5f45784db5e75c2d6a9098dc96914c9e.tar.bz2 dexon-sol-tools-a14424ae5f45784db5e75c2d6a9098dc96914c9e.tar.lz dexon-sol-tools-a14424ae5f45784db5e75c2d6a9098dc96914c9e.tar.xz dexon-sol-tools-a14424ae5f45784db5e75c2d6a9098dc96914c9e.tar.zst dexon-sol-tools-a14424ae5f45784db5e75c2d6a9098dc96914c9e.zip |
Move isAddress to shared utils and remove all dependencies on ethereum-address
Diffstat (limited to 'packages/assert/src/index.ts')
-rw-r--r-- | packages/assert/src/index.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/assert/src/index.ts b/packages/assert/src/index.ts index 94900074a..fadc31d09 100644 --- a/packages/assert/src/index.ts +++ b/packages/assert/src/index.ts @@ -2,12 +2,11 @@ import { Schema, SchemaValidator, } from '@0xproject/json-schemas'; +import {addressUtils} from '@0xproject/utils'; import BigNumber from 'bignumber.js'; import * as _ from 'lodash'; import * as validUrl from 'valid-url'; -import {addressUtils} from './address_utils'; - const HEX_REGEX = /^0x[0-9A-F]*$/i; export const assert = { |