This commit is contained in:
Jaco Greeff 2019-11-07 00:25:40 +01:00 committed by GitHub
parent 73aaf63944
commit a7404079cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
52 changed files with 1098 additions and 1134 deletions

View File

@ -10,14 +10,14 @@
"packages/*"
],
"resolutions": {
"@polkadot/api": "^0.96.0-beta.33",
"@polkadot/api-contract": "^0.96.0-beta.33",
"@polkadot/keyring": "^1.7.0-beta.4",
"@polkadot/types": "^0.96.0-beta.33",
"@polkadot/util": "^1.7.0-beta.4",
"@polkadot/util-crypto": "^1.7.0-beta.4",
"@polkadot/api": "^0.96.0-beta.34",
"@polkadot/api-contract": "^0.96.0-beta.34",
"@polkadot/keyring": "^1.7.0-beta.5",
"@polkadot/types": "^0.96.0-beta.34",
"@polkadot/util": "^1.7.0-beta.5",
"@polkadot/util-crypto": "^1.7.0-beta.5",
"babel-core": "^7.0.0-bridge.0",
"typescript": "^3.6.4"
"typescript": "^3.7.2"
},
"scripts": {
"analyze": "yarn run build && cd packages/apps && yarn run source-map-explorer build/main.*.js",
@ -34,21 +34,21 @@
"start": "cd packages/apps && webpack --config webpack.config.js"
},
"devDependencies": {
"@babel/core": "^7.6.4",
"@babel/runtime": "^7.6.3",
"@polkadot/dev-react": "^0.32.0-beta.12",
"@polkadot/ts": "^0.1.83",
"autoprefixer": "^9.6.5",
"@babel/core": "^7.7.0",
"@babel/runtime": "^7.7.1",
"@polkadot/dev-react": "^0.32.0-beta.13",
"@polkadot/ts": "^0.1.84",
"autoprefixer": "^9.7.1",
"empty": "^0.10.1",
"html-loader": "^0.5.5",
"i18next-scanner": "^2.10.3",
"markdown-loader": "^5.1.0",
"postcss": "^7.0.18",
"postcss": "^7.0.21",
"postcss-clean": "^1.1.0",
"postcss-flexbugs-fixes": "^4.1.0",
"postcss-import": "^12.0.0",
"postcss-loader": "^3.0.0",
"postcss-nested": "^4.1.2",
"postcss-nested": "^4.2.1",
"postcss-sass": "^0.4.1",
"postcss-simple-vars": "^5.0.0",
"precss": "^4.0.0",

View File

@ -10,7 +10,7 @@
],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.6.3",
"@babel/runtime": "^7.7.1",
"@polkadot/react-components": "^0.37.0-beta.52"
}
}

View File

@ -10,13 +10,13 @@
"contributors": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.6.3",
"@babel/runtime": "^7.7.1",
"@polkadot/react-components": "^0.37.0-beta.52",
"@polkadot/react-qr": "^0.47.0-beta.2",
"@polkadot/react-qr": "^0.47.0-beta.3",
"@types/file-saver": "^2.0.0",
"@types/yargs": "^13.0.2",
"babel-plugin-module-resolver": "^3.1.1",
"detect-browser": "^4.7.0",
"detect-browser": "^4.8.0",
"file-saver": "^2.0.0",
"yargs": "^14.2.0"
}

View File

@ -10,7 +10,7 @@
"contributors": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.6.3",
"@babel/runtime": "^7.7.1",
"@polkadot/react-components": "^0.37.0-beta.52"
}
}

View File

@ -11,7 +11,7 @@
],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.6.3",
"@babel/runtime": "^7.7.1",
"@polkadot/react-components": "^0.37.0-beta.52"
}
}

View File

@ -75,7 +75,7 @@ const Signature = styled.textarea`
`;
class App extends TxModal<Props, State> {
public constructor (props: Props) {
constructor (props: Props) {
super(props);
this.defaultState = {

View File

@ -10,8 +10,8 @@
],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.6.3",
"@polkadot/api-contract": "^0.96.0-beta.33",
"@babel/runtime": "^7.7.1",
"@polkadot/api-contract": "^0.96.0-beta.34",
"@polkadot/react-components": "^0.37.0-beta.52"
}
}

View File

@ -45,7 +45,7 @@ class ABI extends React.PureComponent<Props, State> {
isError: false
};
public constructor (props: Props) {
constructor (props: Props) {
super(props);
const { contractAbi, isError, isRequired } = this.props;

View File

@ -18,7 +18,7 @@ interface State extends ContractModalState {
}
class Add extends ContractModal<Props, State> {
public constructor (props: Props) {
constructor (props: Props) {
super(props);
this.defaultState = {
...this.defaultState,

View File

@ -26,7 +26,7 @@ interface State extends ContractModalState {
}
class Upload extends ContractModal<Props, State> {
public constructor (props: Props) {
constructor (props: Props) {
super(props);
this.defaultState = {

View File

@ -24,7 +24,7 @@ interface State extends ContractModalState {
}
class Add extends ContractModal<Props, State> {
public constructor (props: Props) {
constructor (props: Props) {
super(props);
this.defaultState = {
...this.defaultState,

View File

@ -44,7 +44,7 @@ class Deploy extends ContractModal<Props, State> {
public isContract = true;
public constructor (props: Props) {
constructor (props: Props) {
super(props);
this.defaultState = {

View File

@ -42,7 +42,7 @@ class App extends React.PureComponent<Props, State> {
updated: 0
};
public constructor (props: Props) {
constructor (props: Props) {
super(props);
store.on('new-code', this.triggerUpdate);

View File

@ -10,7 +10,7 @@
],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.6.3",
"@babel/runtime": "^7.7.1",
"@polkadot/react-components": "^0.37.0-beta.52",
"@polkadot/react-query": "^0.37.0-beta.52"
}

View File

@ -24,7 +24,7 @@ interface State extends TxModalState {
}
class Propose extends TxModal<Props, State> {
public constructor (props: Props) {
constructor (props: Props) {
super(props);
this.defaultState = {

View File

@ -85,7 +85,7 @@ class Vote extends TxModal<Props, State> {
return [...new Array(length).keys()].map((): boolean => false);
}
public constructor (props: Props) {
constructor (props: Props) {
super(props);
this.defaultState = {

View File

@ -10,7 +10,7 @@
],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.6.3",
"@babel/runtime": "^7.7.1",
"@polkadot/apps-routing": "^0.37.0-beta.52",
"@polkadot/react-components": "^0.37.0-beta.52"
}

View File

@ -10,7 +10,7 @@
],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.6.3",
"@babel/runtime": "^7.7.1",
"@polkadot/react-components": "^0.37.0-beta.52",
"@polkadot/react-query": "^0.37.0-beta.52"
}

View File

@ -10,7 +10,7 @@
"contributors": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.6.3",
"@babel/runtime": "^7.7.1",
"@polkadot/react-components": "^0.37.0-beta.52"
}
}

View File

@ -10,7 +10,7 @@
"contributors": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.6.3",
"@babel/runtime": "^7.7.1",
"@polkadot/react-components": "^0.37.0-beta.52",
"@polkadot/react-params": "^0.37.0-beta.52",
"@polkadot/react-signer": "^0.37.0-beta.52"

View File

@ -10,7 +10,7 @@
],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.6.3",
"@babel/runtime": "^7.7.1",
"@polkadot/react-components": "^0.37.0-beta.52"
}
}

View File

@ -16,7 +16,7 @@ type Props = I18nProps & RowProps & {
}
class AssetRow extends Row<Props, RowState> {
public constructor (props: Props) {
constructor (props: Props) {
super(props);
this.state.name = this.props.defaultName || 'New Asset';

View File

@ -10,7 +10,7 @@
],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.6.3",
"@babel/runtime": "^7.7.1",
"@polkadot/react-components": "^0.37.0-beta.52",
"snappyjs": "^0.6.0"
}

View File

@ -10,7 +10,7 @@
],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.6.3",
"@babel/runtime": "^7.7.1",
"@polkadot/react-components": "^0.37.0-beta.52",
"@polkadot/react-query": "^0.37.0-beta.52"
}

View File

@ -10,7 +10,7 @@
],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.6.3",
"@babel/runtime": "^7.7.1",
"@polkadot/react-components": "^0.37.0-beta.52",
"@polkadot/react-query": "^0.37.0-beta.52",
"query-string": "^6.8.3"

View File

@ -10,7 +10,7 @@
],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.6.3",
"@babel/runtime": "^7.7.1",
"@polkadot/app-explorer": "^0.37.0-beta.52",
"@polkadot/react-components": "^0.37.0-beta.52",
"@polkadot/react-query": "^0.37.0-beta.52"

View File

@ -26,7 +26,7 @@ interface State {
}
class SetControllerAccount extends TxComponent<Props, State> {
public constructor (props: Props) {
constructor (props: Props) {
super(props);
this.state = {

View File

@ -22,7 +22,7 @@ interface State {
}
class SetRewardDestination extends TxComponent<Props, State> {
public constructor (props: Props) {
constructor (props: Props) {
super(props);
this.state = {

View File

@ -35,7 +35,7 @@ interface State {
class NewStake extends TxComponent<Props, State> {
public state: State;
public constructor (props: Props) {
constructor (props: Props) {
super(props);
this.state = {

View File

@ -10,7 +10,7 @@
"contributors": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.6.3",
"@babel/runtime": "^7.7.1",
"@polkadot/react-components": "^0.37.0-beta.52",
"@polkadot/react-params": "^0.37.0-beta.52"
}

View File

@ -11,7 +11,7 @@
],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.6.3",
"@babel/runtime": "^7.7.1",
"@polkadot/react-components": "^0.37.0-beta.52"
}
}

View File

@ -10,7 +10,7 @@
"contributors": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.6.3",
"@babel/runtime": "^7.7.1",
"@polkadot/react-components": "^0.37.0-beta.52"
}
}

View File

@ -10,7 +10,7 @@
],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.6.3",
"@babel/runtime": "^7.7.1",
"@polkadot/react-components": "^0.37.0-beta.52",
"@polkadot/react-query": "^0.37.0-beta.52"
}

View File

@ -11,7 +11,7 @@
],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.6.3",
"@babel/runtime": "^7.7.1",
"@polkadot/react-components": "^0.37.0-beta.52",
"@polkadot/react-query": "^0.37.0-beta.52"
}

View File

@ -10,6 +10,6 @@
"contributors": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.6.3"
"@babel/runtime": "^7.7.1"
}
}

View File

@ -12,11 +12,11 @@
"contributors": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/polyfill": "^7.6.0",
"@babel/runtime": "^7.6.3",
"@babel/polyfill": "^7.7.0",
"@babel/runtime": "^7.7.1",
"@polkadot/react-components": "^0.37.0-beta.52",
"@polkadot/react-signer": "^0.37.0-beta.52",
"@polkadot/ui-assets": "^0.47.0-beta.2",
"@polkadot/ui-assets": "^0.47.0-beta.3",
"query-string": "^6.8.3"
}
}

View File

@ -30,9 +30,9 @@
},
"homepage": "https://github.com/polkadot-js/ui/tree/master/packages/ui-reactive#readme",
"dependencies": {
"@babel/runtime": "^7.6.3",
"@polkadot/api": "^0.96.0-beta.33",
"@polkadot/extension-dapp": "^0.14.0-beta.1",
"@babel/runtime": "^7.7.1",
"@polkadot/api": "^0.96.0-beta.34",
"@polkadot/extension-dapp": "^0.14.0-beta.2",
"edgeware-node-types": "^1.0.10",
"rxjs-compat": "^6.5.3"
}

View File

@ -53,7 +53,7 @@ export { api };
export default class Api extends React.PureComponent<Props, State> {
public state: State = {} as unknown as State;
public constructor (props: Props) {
constructor (props: Props) {
super(props);
const { queuePayload, queueSetTxStatus, url } = props;

View File

@ -62,7 +62,7 @@ export default function withCall<P extends ApiProps> (endpoint: string, {
private timerId = -1;
public constructor (props: P) {
constructor (props: P) {
super(props);
const [, section, method] = endpoint.split('.');

View File

@ -10,29 +10,29 @@
"contributors": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.6.3",
"@polkadot/keyring": "^1.7.0-beta.4",
"@babel/runtime": "^7.7.1",
"@polkadot/keyring": "^1.7.0-beta.5",
"@polkadot/react-api": "^0.37.0-beta.52",
"@polkadot/react-identicon": "^0.47.0-beta.2",
"@polkadot/react-identicon": "^0.47.0-beta.3",
"@polkadot/react-query": "^0.37.0-beta.52",
"@polkadot/ui-keyring": "^0.47.0-beta.2",
"@polkadot/ui-settings": "^0.47.0-beta.2",
"@types/chart.js": "^2.8.7",
"@polkadot/ui-keyring": "^0.47.0-beta.3",
"@polkadot/ui-settings": "^0.47.0-beta.3",
"@types/chart.js": "^2.8.10",
"@types/i18next": "^13.0.0",
"@types/react-copy-to-clipboard": "^4.3.0",
"@types/react-router-dom": "^5.1.0",
"@types/react-tooltip": "^3.9.3",
"@types/styled-components": "^4.1.19",
"@types/react-router-dom": "^5.1.2",
"@types/react-tooltip": "^3.11.0",
"@types/styled-components": "^4.1.21",
"@types/styled-theming": "^2.2.2",
"chart.js": "^2.8.0",
"chart.js": "^2.9.2",
"codeflask": "^1.4.0",
"i18next": "^17.3.0",
"i18next-browser-languagedetector": "^4.0.0",
"i18next-xhr-backend": "^3.2.0",
"i18next": "^19.0.0",
"i18next-browser-languagedetector": "^4.0.1",
"i18next-xhr-backend": "^3.2.2",
"react-chartjs-2": "^2.8.0",
"react-copy-to-clipboard": "^5.0.1",
"react-dropzone": "^10.1.10",
"react-i18next": "^10.13.1",
"react-i18next": "^11.0.1",
"react-markdown": "^4.2.2",
"react-router": "^5.1.2",
"react-router-dom": "^5.1.2",

View File

@ -46,7 +46,7 @@ const ICON_SIZE = 48;
class AddressRow extends Row<ApiProps & Props, State> {
public state: State;
public constructor (props: ApiProps & Props) {
constructor (props: ApiProps & Props) {
super(props);
this.state = this.createState();

View File

@ -51,7 +51,7 @@ const DEFAULT_ADDR = '5'.padEnd(16, 'x');
class CodeRow extends Row<Props, State> {
public state: State;
public constructor (props: Props) {
constructor (props: Props) {
super(props);
this.state = this.createState();

View File

@ -41,7 +41,7 @@ export const collectionStyles = `
`;
export default class Collection<P extends CollectionProps, S extends CollectionState> extends React.PureComponent<P, S> {
public constructor (props: P) {
constructor (props: P) {
super(props);
this.state = {

View File

@ -50,7 +50,7 @@ const DEFAULT_BITLENGTH = BitLengthOption.CHAIN_SPEC as BitLength;
class InputBalanceBonded extends React.PureComponent<Props, State> {
public state: State;
public constructor (props: Props) {
constructor (props: Props) {
super(props);
this.state = {

View File

@ -53,7 +53,7 @@ const ZERO = new BN(0);
const TEN = new BN(10);
class InputNumber extends React.PureComponent<Props, State> {
public constructor (props: Props) {
constructor (props: Props) {
super(props);
const { defaultValue, isSi, value } = this.props;

View File

@ -7,7 +7,7 @@ import React from 'react';
export default class TxComponent<P, S> extends React.PureComponent<P, S> {
protected button: any;
public constructor (props: P) {
constructor (props: P) {
super(props);
this.button = React.createRef();

View File

@ -60,7 +60,7 @@ class Voting extends TxModal<Props, State> {
: [idNumber, voteValue];
}
public constructor (props: Props) {
constructor (props: Props) {
super(props);
const { t } = props;

View File

@ -10,7 +10,7 @@
"contributors": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.6.3",
"@babel/runtime": "^7.7.1",
"@polkadot/react-components": "^0.37.0-beta.52"
}
}

View File

@ -30,6 +30,6 @@
},
"homepage": "https://github.com/polkadot-js/ui/tree/master/packages/ui-reactive#readme",
"dependencies": {
"@babel/runtime": "^7.6.3"
"@babel/runtime": "^7.7.1"
}
}

View File

@ -10,8 +10,8 @@
"contributors": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.6.3",
"@babel/runtime": "^7.7.1",
"@polkadot/react-components": "^0.37.0-beta.52",
"@polkadot/react-qr": "^0.47.0-beta.2"
"@polkadot/react-qr": "^0.47.0-beta.3"
}
}

View File

@ -15,7 +15,7 @@ export default class ApiSigner implements Signer {
private _queueSetTxStatus: QueueTxMessageSetStatus;
public constructor (queuePayload: QueueTxPayloadAdd, queueSetTxStatus: QueueTxMessageSetStatus) {
constructor (queuePayload: QueueTxPayloadAdd, queueSetTxStatus: QueueTxMessageSetStatus) {
this._queuePayload = queuePayload;
this._queueSetTxStatus = queueSetTxStatus;
}

2062
yarn.lock

File diff suppressed because it is too large Load Diff