diff options
author | Fabio Berger <me@fabioberger.com> | 2018-07-04 06:29:29 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-07-04 06:29:29 +0800 |
commit | f4109034656fa826e25d0d4ba8a9d5e676f6c786 (patch) | |
tree | 124a6444e0544dc58c743e763c2b38af6da82cc5 /packages/website/ts/types.ts | |
parent | 5f2c303bd8ce983533863b54e14856b39b578035 (diff) | |
download | dexon-0x-contracts-f4109034656fa826e25d0d4ba8a9d5e676f6c786.tar dexon-0x-contracts-f4109034656fa826e25d0d4ba8a9d5e676f6c786.tar.gz dexon-0x-contracts-f4109034656fa826e25d0d4ba8a9d5e676f6c786.tar.bz2 dexon-0x-contracts-f4109034656fa826e25d0d4ba8a9d5e676f6c786.tar.lz dexon-0x-contracts-f4109034656fa826e25d0d4ba8a9d5e676f6c786.tar.xz dexon-0x-contracts-f4109034656fa826e25d0d4ba8a9d5e676f6c786.tar.zst dexon-0x-contracts-f4109034656fa826e25d0d4ba8a9d5e676f6c786.zip |
Rename to InjectedProvider and make publicConfigStore optional
Diffstat (limited to 'packages/website/ts/types.ts')
-rw-r--r-- | packages/website/ts/types.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/website/ts/types.ts b/packages/website/ts/types.ts index b241a34bc..be33f130c 100644 --- a/packages/website/ts/types.ts +++ b/packages/website/ts/types.ts @@ -575,13 +575,13 @@ export enum AccountState { Locked = 'Locked', } -export interface MetamaskProvider extends Provider { - publicConfigStore: InjectedProviderObservable; +export interface InjectedProvider extends Provider { + publicConfigStore?: InjectedProviderObservable; } // Minimal interface expected for an injected web3 object export interface InjectedWeb3 { - currentProvider: MetamaskProvider; + currentProvider: InjectedProvider; version: { getNetwork(cd: (err: Error, networkId: string) => void): void; }; |