mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-06-12 18:51:02 +00:00
0e0de28da4
* Use .js in src imports * Bump dev
31 lines
646 B
TypeScript
31 lines
646 B
TypeScript
// Copyright 2017-2023 @polkadot/ui-settings authors & contributors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
import type { Option } from '../types.js';
|
|
|
|
export const LEDGER_CONN_DEFAULT = 'none';
|
|
|
|
export const LEDGER_CONN: Option[] = [
|
|
{
|
|
info: 'none',
|
|
text: 'Do not attach Ledger devices',
|
|
value: 'none'
|
|
},
|
|
// Deprecated
|
|
// {
|
|
// info: 'u2f',
|
|
// text: 'Attach Ledger via U2F',
|
|
// value: 'u2f'
|
|
// },
|
|
{
|
|
info: 'webusb',
|
|
text: 'Attach Ledger via WebUSB (Chrome, recommended)',
|
|
value: 'webusb'
|
|
},
|
|
{
|
|
info: 'hid',
|
|
text: 'Attach Ledger via WebHID (Chrome, experimental)',
|
|
value: 'hid'
|
|
}
|
|
];
|