Add isHardware flags (#210)

* Add isHardware flags

* Ledger connection  options
This commit is contained in:
Jaco Greeff
2019-09-17 09:05:51 +02:00
committed by GitHub
parent 03303a222e
commit 800700d50e
8 changed files with 52 additions and 7 deletions
@@ -0,0 +1,25 @@
// Copyright 2017-2019 @polkadot/ui-settings authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import { Option } from '../types';
export const LEDGER_CONN_DEFAULT = 'none';
export const LEDGER_CONN: Option[] = [
{
info: 'none',
text: 'Do not attach Ledger devices',
value: 'none'
},
{
info: 'u2f',
text: 'Attach Ledger via U2F',
value: 'u2f'
},
{
info: 'webusb',
text: 'Attach Ledger via WebUSB',
value: 'webusb'
}
];