mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-04-22 02:08:03 +00:00
Bump deps (#357)
* Bump deps * Update packages/ui-settings/src/defaults/crypto.ts * .eslintrc
This commit is contained in:
@@ -7,5 +7,14 @@ module.exports = {
|
||||
project: [
|
||||
'./tsconfig.json'
|
||||
]
|
||||
},
|
||||
rules: {
|
||||
...base.rules,
|
||||
// add override for any (a metric ton of them, initial conversion)
|
||||
'@typescript-eslint/no-explicit-any': 'off',
|
||||
// these should be removed, there are 8 of them as errors
|
||||
'@typescript-eslint/no-non-null-assertion': 'off',
|
||||
// this seems very broken atm, false positives
|
||||
'@typescript-eslint/unbound-method': 'off'
|
||||
}
|
||||
};
|
||||
|
||||
+1
-1
@@ -8,4 +8,4 @@ plugins:
|
||||
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.js
|
||||
spec: "@yarnpkg/plugin-interactive-tools"
|
||||
|
||||
yarnPath: .yarn/releases/yarn-2.1.1.js
|
||||
yarnPath: .yarn/releases/yarn-2.1.1.cjs
|
||||
|
||||
+7
-4
@@ -29,10 +29,10 @@
|
||||
"test:one": "polkadot-dev-run-test"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.11.1",
|
||||
"@babel/core": "^7.11.4",
|
||||
"@babel/runtime": "^7.11.2",
|
||||
"@polkadot/dev": "^0.55.39",
|
||||
"@polkadot/ts": "^0.3.39",
|
||||
"@polkadot/dev": "^0.55.43",
|
||||
"@polkadot/ts": "^0.3.40",
|
||||
"@types/jest": "^26.0.10",
|
||||
"babel-plugin-transform-vue-template": "^0.4.2",
|
||||
"empty": "^0.10.1",
|
||||
@@ -40,7 +40,10 @@
|
||||
"react-dom": "^16.13.1",
|
||||
"react-is": "^16.13.1",
|
||||
"react-native": "^0.63.2",
|
||||
"vue-template-compiler": "^2.6.11",
|
||||
"typedoc": "^0.18.0",
|
||||
"typedoc-plugin-markdown": "^2.4.2",
|
||||
"typedoc-plugin-no-inherit": "^1.1.10",
|
||||
"vue-template-compiler": "^2.6.12",
|
||||
"webpack-serve": "^3.2.0"
|
||||
},
|
||||
"version": "0.58.0-beta.7"
|
||||
|
||||
@@ -38,15 +38,15 @@
|
||||
"stream-http": "^3.1.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.11.1",
|
||||
"@babel/core": "^7.11.4",
|
||||
"@babel/runtime": "^7.11.2",
|
||||
"@polkadot/keyring": "^3.2.1",
|
||||
"@polkadot/util": "^3.2.1",
|
||||
"@polkadot/util-crypto": "^3.2.1",
|
||||
"@polkadot/keyring": "^3.4.0-beta.1",
|
||||
"@polkadot/util": "^3.4.0-beta.1",
|
||||
"@polkadot/util-crypto": "^3.4.0-beta.1",
|
||||
"@react-native-community/cli-platform-ios": "^4.11.0",
|
||||
"@types/react-test-renderer": "16.9.3",
|
||||
"babel-jest": "^26.3.0",
|
||||
"metro-react-native-babel-preset": "^0.62.0",
|
||||
"metro-react-native-babel-preset": "^0.63.0",
|
||||
"react-test-renderer": "16.13.1"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
||||
@@ -26,9 +26,9 @@
|
||||
"styled-components": "*"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^3.2.1",
|
||||
"@polkadot/util": "^3.2.1",
|
||||
"@polkadot/util-crypto": "^3.2.1",
|
||||
"@polkadot/keyring": "^3.4.0-beta.1",
|
||||
"@polkadot/util": "^3.4.0-beta.1",
|
||||
"@polkadot/util-crypto": "^3.4.0-beta.1",
|
||||
"@types/react-copy-to-clipboard": "^4.3.0",
|
||||
"@types/react-dom": "^16.9.8",
|
||||
"@types/styled-components": "^5.1.2",
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
"react-native": "*"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/util-crypto": "^3.2.1",
|
||||
"@types/react-native": "^0.63.8"
|
||||
"@polkadot/util-crypto": "^3.4.0-beta.1",
|
||||
"@types/react-native": "^0.63.10"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,9 +25,9 @@
|
||||
"store": "^2.0.12"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^3.2.1",
|
||||
"@polkadot/types": "^1.29.1",
|
||||
"@polkadot/util": "^3.2.1",
|
||||
"@polkadot/keyring": "^3.4.0-beta.1",
|
||||
"@polkadot/types": "^1.31.0-beta.7",
|
||||
"@polkadot/util": "^3.4.0-beta.1",
|
||||
"@types/ledgerhq__hw-transport-node-hid": "^4.22.1",
|
||||
"@types/ledgerhq__hw-transport-webusb": "^4.70.0",
|
||||
"@types/mkdirp": "^1.0.1",
|
||||
|
||||
@@ -10,11 +10,11 @@
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.11.2",
|
||||
"eventemitter3": "^4.0.4",
|
||||
"eventemitter3": "^4.0.6",
|
||||
"store": "^2.0.12"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/util": "^3.2.1",
|
||||
"@polkadot/util": "^3.4.0-beta.1",
|
||||
"@types/store": "^2.0.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
"@polkadot/util-crypto": "*"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/util": "^3.2.1",
|
||||
"@polkadot/util-crypto": "^3.2.1",
|
||||
"@polkadot/util": "^3.4.0-beta.1",
|
||||
"@polkadot/util-crypto": "^3.4.0-beta.1",
|
||||
"@types/color": "^3.0.1",
|
||||
"@types/xmlserializer": "^0.6.0"
|
||||
"@types/xmlserializer": "^0.6.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
"vue": "*"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/util-crypto": "^3.2.1",
|
||||
"vue": "^2.6.11"
|
||||
"@polkadot/util-crypto": "^3.4.0-beta.1",
|
||||
"vue": "^2.6.12"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user