Move isAddress to shared utils and remove all dependencies on ethereum-address

This commit is contained in:
Leonid Logvinov
2017-12-11 12:43:19 +01:00
parent f1e7ea118b
commit a14424ae5f
12 changed files with 19 additions and 26 deletions

View File

@@ -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';

View File

@@ -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 {