Bump deps (#3110)
* Bump deps * Work around broken eslint prop-types * Additional prop-types * Dev with prop-types disabled
This commit is contained in:
parent
44c0656974
commit
f20df2f422
16
package.json
16
package.json
@ -33,10 +33,10 @@
|
||||
"afterSign": "electron-builder-notarize"
|
||||
},
|
||||
"resolutions": {
|
||||
"@polkadot/api": "^1.23.0-beta.2",
|
||||
"@polkadot/api-contract": "^1.23.0-beta.2",
|
||||
"@polkadot/api": "^1.23.0-beta.3",
|
||||
"@polkadot/api-contract": "^1.23.0-beta.3",
|
||||
"@polkadot/keyring": "^2.16.1",
|
||||
"@polkadot/types": "^1.23.0-beta.2",
|
||||
"@polkadot/types": "^1.23.0-beta.3",
|
||||
"@polkadot/util": "^2.16.1",
|
||||
"@polkadot/util-crypto": "^2.16.1",
|
||||
"babel-core": "^7.0.0-bridge.0"
|
||||
@ -76,12 +76,12 @@
|
||||
"start:electron": "yarn clean:electronBuild && concurrently 'yarn build:devElectronMain && cd packages/apps-electron && electron ./build/electron.js' 'yarn build:devElectronRenderer'"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.10.3",
|
||||
"@babel/register": "^7.10.3",
|
||||
"@babel/runtime": "^7.10.3",
|
||||
"@babel/core": "^7.10.4",
|
||||
"@babel/register": "^7.10.4",
|
||||
"@babel/runtime": "^7.10.4",
|
||||
"@pinata/sdk": "^1.1.10",
|
||||
"@polkadot/dev": "^0.55.17",
|
||||
"@polkadot/ts": "^0.3.26",
|
||||
"@polkadot/dev": "^0.55.19",
|
||||
"@polkadot/ts": "^0.3.27",
|
||||
"@types/bn.js": "^4.11.6",
|
||||
"@types/chart.js": "^2.9.22",
|
||||
"@types/file-saver": "^2.0.1",
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
"contributors": [],
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.10.3",
|
||||
"@babel/runtime": "^7.10.4",
|
||||
"edgeware-node-types": "^2.3.2"
|
||||
}
|
||||
}
|
||||
|
||||
@ -4,18 +4,18 @@
|
||||
"private": true,
|
||||
"version": "0.48.0-beta.4",
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.10.3",
|
||||
"@babel/polyfill": "^7.10.1",
|
||||
"@polkadot/dev": "^0.55.17",
|
||||
"@babel/core": "^7.10.4",
|
||||
"@babel/polyfill": "^7.10.4",
|
||||
"@polkadot/dev": "^0.55.19",
|
||||
"@polkadot/react-components": "0.48.0-beta.4",
|
||||
"electron-log": "^4.2.2",
|
||||
"electron-updater": "^4.3.1"
|
||||
"electron-updater": "^4.3.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/react": "^16.9.41",
|
||||
"@types/react-dom": "^16.9.8",
|
||||
"babel-loader": "^8.1.0",
|
||||
"copy-webpack-plugin": "^6.0.2",
|
||||
"copy-webpack-plugin": "^6.0.3",
|
||||
"html-webpack-plugin": "^4.3.0",
|
||||
"react": "^16.13.1",
|
||||
"react-dom": "^16.13.1",
|
||||
|
||||
@ -11,6 +11,6 @@
|
||||
"contributors": [],
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.10.3"
|
||||
"@babel/runtime": "^7.10.4"
|
||||
}
|
||||
}
|
||||
|
||||
@ -13,17 +13,17 @@
|
||||
"contributors": [],
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.10.3",
|
||||
"@babel/polyfill": "^7.10.1",
|
||||
"@babel/runtime": "^7.10.3",
|
||||
"@polkadot/dev": "^0.55.17",
|
||||
"@babel/core": "^7.10.4",
|
||||
"@babel/polyfill": "^7.10.4",
|
||||
"@babel/runtime": "^7.10.4",
|
||||
"@polkadot/dev": "^0.55.19",
|
||||
"@polkadot/react-components": "0.48.0-beta.4",
|
||||
"@polkadot/react-signer": "0.48.0-beta.4",
|
||||
"query-string": "^6.13.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-loader": "^8.1.0",
|
||||
"copy-webpack-plugin": "^6.0.2",
|
||||
"copy-webpack-plugin": "^6.0.3",
|
||||
"css-loader": "^3.6.0",
|
||||
"empty": "^0.10.1",
|
||||
"file-loader": "^6.0.0",
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
],
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.10.3",
|
||||
"@babel/runtime": "^7.10.4",
|
||||
"@polkadot/react-components": "0.48.0-beta.4"
|
||||
}
|
||||
}
|
||||
|
||||
@ -11,9 +11,9 @@
|
||||
"contributors": [],
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.10.3",
|
||||
"@babel/runtime": "^7.10.4",
|
||||
"@polkadot/react-components": "0.48.0-beta.4",
|
||||
"@polkadot/vanitygen": "^0.15.1",
|
||||
"@polkadot/vanitygen": "^0.16.1",
|
||||
"detect-browser": "^5.1.1",
|
||||
"file-saver": "^2.0.2"
|
||||
}
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
],
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.10.3",
|
||||
"@babel/runtime": "^7.10.4",
|
||||
"@polkadot/react-components": "0.48.0-beta.4",
|
||||
"secp256k1": "^3.8.0"
|
||||
}
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
],
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.10.3",
|
||||
"@polkadot/api-contract": "^1.23.0-beta.2"
|
||||
"@babel/runtime": "^7.10.4",
|
||||
"@polkadot/api-contract": "^1.23.0-beta.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
],
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.10.3",
|
||||
"@babel/runtime": "^7.10.4",
|
||||
"@polkadot/react-components": "0.48.0-beta.4",
|
||||
"@polkadot/react-query": "0.48.0-beta.4"
|
||||
}
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
],
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.10.3",
|
||||
"@babel/runtime": "^7.10.4",
|
||||
"@polkadot/apps-routing": "0.48.0-beta.4",
|
||||
"@polkadot/react-components": "0.48.0-beta.4"
|
||||
}
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
],
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.10.3",
|
||||
"@babel/runtime": "^7.10.4",
|
||||
"@polkadot/react-components": "0.48.0-beta.4",
|
||||
"@polkadot/react-query": "0.48.0-beta.4"
|
||||
}
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
"contributors": [],
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.10.3",
|
||||
"@babel/runtime": "^7.10.4",
|
||||
"@polkadot/react-components": "0.48.0-beta.4"
|
||||
}
|
||||
}
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
"contributors": [],
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.10.3",
|
||||
"@babel/runtime": "^7.10.4",
|
||||
"@polkadot/react-components": "0.48.0-beta.4",
|
||||
"@polkadot/react-params": "0.48.0-beta.4",
|
||||
"@polkadot/react-signer": "0.48.0-beta.4"
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
],
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.10.3",
|
||||
"@babel/runtime": "^7.10.4",
|
||||
"@polkadot/react-components": "0.48.0-beta.4"
|
||||
}
|
||||
}
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
],
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.10.3",
|
||||
"@babel/runtime": "^7.10.4",
|
||||
"@polkadot/react-components": "0.48.0-beta.4"
|
||||
}
|
||||
}
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
],
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.10.3",
|
||||
"@babel/runtime": "^7.10.4",
|
||||
"@polkadot/react-components": "0.48.0-beta.4"
|
||||
}
|
||||
}
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
],
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.10.3",
|
||||
"@babel/runtime": "^7.10.4",
|
||||
"@polkadot/react-components": "0.48.0-beta.4",
|
||||
"@polkadot/react-query": "0.48.0-beta.4"
|
||||
}
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
],
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.10.3",
|
||||
"@babel/runtime": "^7.10.4",
|
||||
"@polkadot/apps-config": "0.48.0-beta.4",
|
||||
"@polkadot/react-components": "0.48.0-beta.4",
|
||||
"@polkadot/react-query": "0.48.0-beta.4",
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
"author": "Jaco Greeff <jacogr@gmail.com>",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.10.3",
|
||||
"@babel/runtime": "^7.10.4",
|
||||
"@polkadot/react-components": "0.48.0-beta.4"
|
||||
}
|
||||
}
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
],
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.10.3",
|
||||
"@babel/runtime": "^7.10.4",
|
||||
"@polkadot/app-explorer": "0.48.0-beta.4",
|
||||
"@polkadot/react-components": "0.48.0-beta.4",
|
||||
"@polkadot/react-query": "0.48.0-beta.4"
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
"contributors": [],
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.10.3",
|
||||
"@babel/runtime": "^7.10.4",
|
||||
"@polkadot/react-components": "0.48.0-beta.4",
|
||||
"@polkadot/react-params": "0.48.0-beta.4"
|
||||
}
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
],
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.10.3",
|
||||
"@babel/runtime": "^7.10.4",
|
||||
"@polkadot/react-components": "0.48.0-beta.4"
|
||||
}
|
||||
}
|
||||
|
||||
@ -3,7 +3,6 @@
|
||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
||||
|
||||
import { SubmittableExtrinsic } from '@polkadot/api/types';
|
||||
import { ComponentProps as Props } from './types';
|
||||
|
||||
import BN from 'bn.js';
|
||||
import React, { useCallback, useState } from 'react';
|
||||
@ -14,7 +13,13 @@ import { BN_ZERO } from '@polkadot/util';
|
||||
|
||||
import { useTranslation } from './translate';
|
||||
|
||||
function Propose ({ className = '', isMine, sudoKey }: Props): React.ReactElement<Props> {
|
||||
interface Props {
|
||||
className?: string;
|
||||
isMine: boolean;
|
||||
sudoKey?: string;
|
||||
}
|
||||
|
||||
function Sudo ({ className, isMine, sudoKey }: Props): React.ReactElement<Props> {
|
||||
const { t } = useTranslation();
|
||||
const { api, apiDefaultTxSudo } = useApi();
|
||||
const [withWeight, toggleWithWeight] = useToggle();
|
||||
@ -93,7 +98,7 @@ function Propose ({ className = '', isMine, sudoKey }: Props): React.ReactElemen
|
||||
);
|
||||
}
|
||||
|
||||
export default React.memo(styled(Propose)`
|
||||
export default React.memo(styled(Sudo)`
|
||||
.sudoToggle {
|
||||
width: 100%;
|
||||
text-align: right;
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
],
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.10.3",
|
||||
"@babel/runtime": "^7.10.4",
|
||||
"@polkadot/react-components": "0.48.0-beta.4",
|
||||
"@polkadot/react-query": "0.48.0-beta.4"
|
||||
}
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
"contributors": [],
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.10.3",
|
||||
"@babel/runtime": "^7.10.4",
|
||||
"@polkadot/react-components": "0.48.0-beta.4"
|
||||
}
|
||||
}
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
],
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.10.3",
|
||||
"@babel/runtime": "^7.10.4",
|
||||
"@polkadot/react-components": "0.48.0-beta.4",
|
||||
"@polkadot/react-query": "0.48.0-beta.4"
|
||||
}
|
||||
|
||||
@ -30,9 +30,9 @@
|
||||
},
|
||||
"homepage": "https://github.com/polkadot-js/ui/tree/master/packages/ui-reactive#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.10.3",
|
||||
"@polkadot/api": "^1.23.0-beta.2",
|
||||
"@polkadot/extension-dapp": "^0.32.0-beta.1",
|
||||
"rxjs-compat": "^6.5.5"
|
||||
"@babel/runtime": "^7.10.4",
|
||||
"@polkadot/api": "^1.23.0-beta.3",
|
||||
"@polkadot/extension-dapp": "^0.32.0-beta.2",
|
||||
"rxjs-compat": "^6.6.0"
|
||||
}
|
||||
}
|
||||
|
||||
@ -10,22 +10,22 @@
|
||||
"contributors": [],
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.10.3",
|
||||
"@babel/runtime": "^7.10.4",
|
||||
"@fortawesome/fontawesome-svg-core": "^1.2.29",
|
||||
"@fortawesome/free-solid-svg-icons": "^5.13.1",
|
||||
"@fortawesome/react-fontawesome": "^0.1.11",
|
||||
"@polkadot/keyring": "^2.16.1",
|
||||
"@polkadot/react-api": "0.48.0-beta.4",
|
||||
"@polkadot/react-identicon": "^0.55.0-beta.4",
|
||||
"@polkadot/react-qr": "^0.55.0-beta.4",
|
||||
"@polkadot/react-identicon": "^0.55.0-beta.5",
|
||||
"@polkadot/react-qr": "^0.55.0-beta.5",
|
||||
"@polkadot/react-query": "0.48.0-beta.4",
|
||||
"@polkadot/ui-keyring": "^0.55.0-beta.4",
|
||||
"@polkadot/ui-settings": "^0.55.0-beta.4",
|
||||
"@polkadot/ui-keyring": "^0.55.0-beta.5",
|
||||
"@polkadot/ui-settings": "^0.55.0-beta.5",
|
||||
"@polkadot/util": "^2.16.1",
|
||||
"@polkadot/util-crypto": "^2.16.1",
|
||||
"chart.js": "^2.9.3",
|
||||
"codeflask": "^1.4.1",
|
||||
"i18next": "^19.5.1",
|
||||
"i18next": "^19.5.3",
|
||||
"i18next-browser-languagedetector": "^4.3.1",
|
||||
"react": "^16.13.1",
|
||||
"react-beautiful-dnd": "^13.0.0",
|
||||
|
||||
@ -30,7 +30,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/polkadot-js/ui/tree/master/packages/ui-reactive#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.10.3",
|
||||
"@babel/runtime": "^7.10.4",
|
||||
"memoizee": "^0.4.14"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
"contributors": [],
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.10.3",
|
||||
"@babel/runtime": "^7.10.4",
|
||||
"@polkadot/react-components": "0.48.0-beta.4"
|
||||
}
|
||||
}
|
||||
|
||||
@ -30,6 +30,6 @@
|
||||
},
|
||||
"homepage": "https://github.com/polkadot-js/ui/tree/master/packages/ui-reactive#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.10.3"
|
||||
"@babel/runtime": "^7.10.4"
|
||||
}
|
||||
}
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
"contributors": [],
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.10.3",
|
||||
"@babel/runtime": "^7.10.4",
|
||||
"@polkadot/react-components": "0.48.0-beta.4"
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user