aboutsummaryrefslogtreecommitdiffstats
path: root/packages/assert/src/index.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-12-11 19:43:19 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-12-11 19:43:19 +0800
commita14424ae5f45784db5e75c2d6a9098dc96914c9e (patch)
treee0cc054713cc7fff81269c4065883629f117a590 /packages/assert/src/index.ts
parentf1e7ea118b0c8c9a9a013b09d0e63bdd3694b21a (diff)
downloaddexon-0x-contracts-a14424ae5f45784db5e75c2d6a9098dc96914c9e.tar.gz
dexon-0x-contracts-a14424ae5f45784db5e75c2d6a9098dc96914c9e.tar.zst
dexon-0x-contracts-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.ts3
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 = {