Move isAddress to shared utils and remove all dependencies on ethereum-address
This commit is contained in:
@@ -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';
|
||||
|
||||
5
packages/website/ts/globals.d.ts
vendored
5
packages/website/ts/globals.d.ts
vendored
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user