aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website
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/website
parentf1e7ea118b0c8c9a9a013b09d0e63bdd3694b21a (diff)
downloaddexon-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/website')
-rw-r--r--packages/website/package.json1
-rw-r--r--packages/website/ts/components/inputs/address_input.tsx2
-rw-r--r--packages/website/ts/globals.d.ts5
3 files changed, 1 insertions, 7 deletions
diff --git a/packages/website/package.json b/packages/website/package.json
index 95e060552..9b261c76c 100644
--- a/packages/website/package.json
+++ b/packages/website/package.json
@@ -28,7 +28,6 @@
"dateformat": "^2.0.0",
"deep-equal": "^1.0.1",
"dharma-loan-frame": "^0.0.12",
- "ethereum-address": "^0.0.4",
"ethereumjs-tx": "^1.3.3",
"ethereumjs-util": "^5.1.1",
"find-versions": "^2.0.0",
diff --git a/packages/website/ts/components/inputs/address_input.tsx b/packages/website/ts/components/inputs/address_input.tsx
index 8b03b8d12..832324fda 100644
--- a/packages/website/ts/components/inputs/address_input.tsx
+++ b/packages/website/ts/components/inputs/address_input.tsx
@@ -1,4 +1,4 @@
-import {isAddress} from 'ethereum-address';
+import {addressUtils} from '@0xproject/utils';
import * as _ from 'lodash';
import {colors} from 'material-ui/styles';
import TextField from 'material-ui/TextField';
diff --git a/packages/website/ts/globals.d.ts b/packages/website/ts/globals.d.ts
index b4611f583..3144d7eb5 100644
--- a/packages/website/ts/globals.d.ts
+++ b/packages/website/ts/globals.d.ts
@@ -55,11 +55,6 @@ interface System {
}
declare var System: System;
-// ethereum-address declarations
-declare module 'ethereum-address' {
- export const isAddress: (address: string) => boolean;
-}
-
// jsonschema declarations
// Source: https://github.com/tdegrunt/jsonschema/blob/master/lib/index.d.ts
declare interface Schema {