mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-05-08 05:17:58 +00:00
Bump deps (#357)
* Bump deps * Update packages/ui-settings/src/defaults/crypto.ts * .eslintrc
This commit is contained in:
@@ -6,7 +6,7 @@ import EventEmitter from 'eventemitter3';
|
||||
import store from 'store';
|
||||
import { isUndefined } from '@polkadot/util';
|
||||
|
||||
import { CAMERA_DEFAULT, CAMERA, CRYPTOS, ENDPOINT_DEFAULT, ENDPOINTS, ICON_DEFAULT, ICONS, LANGUAGE_DEFAULT, LEDGER_CONN, LEDGER_CONN_DEFAULT, LOCKING_DEFAULT, LOCKING, PREFIX_DEFAULT, PREFIXES, UIMODE_DEFAULT, UIMODES, UITHEME_DEFAULT, UITHEMES } from './defaults';
|
||||
import { CAMERA_DEFAULT, CAMERA, CRYPTOS, CRYPTOS_ETH, ENDPOINT_DEFAULT, ENDPOINTS, ICON_DEFAULT, ICONS, LANGUAGE_DEFAULT, LEDGER_CONN, LEDGER_CONN_DEFAULT, LOCKING_DEFAULT, LOCKING, PREFIX_DEFAULT, PREFIXES, UIMODE_DEFAULT, UIMODES, UITHEME_DEFAULT, UITHEMES } from './defaults';
|
||||
import { Option, SettingsStruct } from './types';
|
||||
|
||||
type ChangeCallback = (settings: SettingsStruct) => void;
|
||||
@@ -101,6 +101,10 @@ export class Settings implements SettingsStruct {
|
||||
return CRYPTOS;
|
||||
}
|
||||
|
||||
public get availableCryptosEth (): Option[] {
|
||||
return CRYPTOS_ETH;
|
||||
}
|
||||
|
||||
public get availableIcons (): Option[] {
|
||||
return ICONS;
|
||||
}
|
||||
|
||||
@@ -17,7 +17,15 @@ export const CRYPTOS: Option[] = [
|
||||
},
|
||||
{
|
||||
info: 'ecdsa',
|
||||
text: 'ECDSA (BTC/ETH compatible)',
|
||||
text: 'ECDSA (Non BTC/ETH compatible)',
|
||||
value: 'ecdsa'
|
||||
}
|
||||
];
|
||||
|
||||
export const CRYPTOS_ETH: Option[] = [
|
||||
{
|
||||
info: 'ethereum',
|
||||
text: 'ECDSA (ETH compatible)',
|
||||
value: 'ethereum'
|
||||
}
|
||||
];
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
import { Option } from '../types';
|
||||
|
||||
import { CRYPTOS } from './crypto';
|
||||
import { CRYPTOS, CRYPTOS_ETH } from './crypto';
|
||||
import { ENDPOINTS, ENDPOINT_DEFAULT } from './endpoints';
|
||||
import { LEDGER_CONN, LEDGER_CONN_DEFAULT } from './ledger';
|
||||
import { PREFIXES, PREFIX_DEFAULT } from './ss58';
|
||||
@@ -46,6 +46,7 @@ export {
|
||||
CAMERA_DEFAULT,
|
||||
CAMERA,
|
||||
CRYPTOS,
|
||||
CRYPTOS_ETH,
|
||||
ENDPOINT_DEFAULT,
|
||||
ENDPOINTS,
|
||||
ICON_DEFAULT,
|
||||
|
||||
Reference in New Issue
Block a user