diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-11-14 09:07:38 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-11-14 09:08:11 +0800 |
commit | 35bfd493e87b5d6c76f5bb2176b0992891a4a555 (patch) | |
tree | 3074c8b20494d7537c33e0bc1000d90ee7cfd50c /packages/instant/src/types.ts | |
parent | c8b2a975f47bdacd1cc255c92ffbe3906b36e7be (diff) | |
download | dexon-0x-contracts-35bfd493e87b5d6c76f5bb2176b0992891a4a555.tar dexon-0x-contracts-35bfd493e87b5d6c76f5bb2176b0992891a4a555.tar.gz dexon-0x-contracts-35bfd493e87b5d6c76f5bb2176b0992891a4a555.tar.bz2 dexon-0x-contracts-35bfd493e87b5d6c76f5bb2176b0992891a4a555.tar.lz dexon-0x-contracts-35bfd493e87b5d6c76f5bb2176b0992891a4a555.tar.xz dexon-0x-contracts-35bfd493e87b5d6c76f5bb2176b0992891a4a555.tar.zst dexon-0x-contracts-35bfd493e87b5d6c76f5bb2176b0992891a4a555.zip |
feat: display the correct provider type and change unlock / install prompt content
Diffstat (limited to 'packages/instant/src/types.ts')
-rw-r--r-- | packages/instant/src/types.ts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/packages/instant/src/types.ts b/packages/instant/src/types.ts index e2ba9238a..cbb1e2caf 100644 --- a/packages/instant/src/types.ts +++ b/packages/instant/src/types.ts @@ -95,6 +95,7 @@ export interface AffiliateInfo { } export interface ProviderState { + name: string; provider: Provider; assetBuyer: AssetBuyer; web3Wrapper: Web3Wrapper; @@ -156,3 +157,11 @@ export enum OperatingSystem { Linux = 'Linux', Other = 'Other', } + +export enum ProviderType { + Parity = 'Parity', + MetaMask = 'MetaMask', + Mist = 'Mist', + CoinbaseWallet = 'Coinbase Wallet', + Cipher = 'Cipher', +} |