* Bump deps

* Revert secp bump
This commit is contained in:
Jaco Greeff 2020-03-21 12:45:35 +01:00 committed by GitHub
parent 94ae8154b8
commit 977cf07566
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
35 changed files with 828 additions and 646 deletions

View File

@ -8,14 +8,14 @@
"packages/*"
],
"resolutions": {
"@polkadot/api": "^1.8.0-beta.6",
"@polkadot/api-contract": "^1.8.0-beta.6",
"@polkadot/api": "^1.8.0-beta.8",
"@polkadot/api-contract": "^1.8.0-beta.8",
"@polkadot/keyring": "^2.6.2",
"@polkadot/types": "^1.8.0-beta.6",
"@polkadot/types": "^1.8.0-beta.8",
"@polkadot/util": "^2.6.2",
"@polkadot/util-crypto": "^2.6.2",
"babel-core": "^7.0.0-bridge.0",
"typescript": "^3.8.2"
"typescript": "^3.8.3"
},
"scripts": {
"analyze": "yarn run build && cd packages/apps && yarn run source-map-explorer build/main.*.js",
@ -34,13 +34,13 @@
"start": "yarn clean && cd packages/apps && webpack --config webpack.config.js"
},
"devDependencies": {
"@babel/core": "^7.8.7",
"@babel/register": "^7.8.6",
"@babel/runtime": "^7.8.7",
"@polkadot/dev": "^0.51.5",
"@polkadot/ts": "^0.3.13",
"@babel/core": "^7.9.0",
"@babel/register": "^7.9.0",
"@babel/runtime": "^7.9.0",
"@polkadot/dev": "^0.51.7",
"@polkadot/ts": "^0.3.14",
"@types/bn.js": "^4.11.6",
"@types/chart.js": "^2.9.15",
"@types/chart.js": "^2.9.16",
"@types/file-saver": "^2.0.1",
"@types/i18next": "^13.0.0",
"@types/jest": "^25.1.4",
@ -54,9 +54,8 @@
"@types/styled-theming": "^2.2.2",
"@types/yargs": "^15.0.4",
"i18next-scanner": "^2.11.0",
"react": "^16.13.0",
"react-dom": "^16.13.0",
"source-map-explorer": "^2.4.0",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"webpack": "^4.42.0",
"webpack-cli": "^3.3.11",
"webpack-plugin-serve": "^0.12.1"

View File

@ -11,7 +11,7 @@
"contributors": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.8.7",
"@babel/runtime": "^7.9.0",
"edgeware-node-types": "^1.2.0"
}
}

View File

@ -11,6 +11,6 @@
"contributors": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.8.7"
"@babel/runtime": "^7.9.0"
}
}

View File

@ -14,24 +14,25 @@
"license": "Apache-2.0",
"dependencies": {
"@babel/polyfill": "^7.8.7",
"@babel/runtime": "^7.8.7",
"@polkadot/dev": "^0.51.5",
"@babel/runtime": "^7.9.0",
"@polkadot/dev": "^0.51.7",
"@polkadot/react-components": "0.40.0-beta.158",
"@polkadot/react-signer": "0.40.0-beta.158",
"query-string": "^6.11.1"
},
"devDependencies": {
"babel-loader": "^8.0.6",
"babel-loader": "^8.1.0",
"copy-webpack-plugin": "^5.1.1",
"css-loader": "^3.4.2",
"empty": "^0.10.1",
"file-loader": "^5.1.0",
"html-loader": "^0.5.5",
"file-loader": "^6.0.0",
"html-loader": "^1.0.0",
"html-webpack-plugin": "^3.2.0",
"markdown-loader": "^5.1.0",
"mini-css-extract-plugin": "^0.9.0",
"source-map-explorer": "^2.4.0",
"style-loader": "^1.1.3",
"thread-loader": "^2.1.3",
"url-loader": "^3.0.0"
"url-loader": "^4.0.0"
}
}

View File

@ -11,7 +11,7 @@
],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.8.7",
"@babel/runtime": "^7.9.0",
"@polkadot/react-components": "0.40.0-beta.158"
}
}

View File

@ -11,9 +11,9 @@
"contributors": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.8.7",
"@babel/runtime": "^7.9.0",
"@polkadot/react-components": "0.40.0-beta.158",
"@polkadot/react-qr": "^0.52.0-beta.16",
"@polkadot/react-qr": "^0.52.0-beta.17",
"detect-browser": "^5.0.0",
"file-saver": "^2.0.2",
"yargs": "^15.3.1"

View File

@ -11,7 +11,7 @@
"contributors": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.8.7",
"@babel/runtime": "^7.9.0",
"@polkadot/react-components": "0.40.0-beta.158"
}
}

View File

@ -12,7 +12,7 @@
],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.8.7",
"@babel/runtime": "^7.9.0",
"@polkadot/react-components": "0.40.0-beta.158",
"secp256k1": "^3.8.0"
}

View File

@ -7,7 +7,6 @@ import { EthereumAddress, EcdsaSignature } from '@polkadot/types/interfaces';
import secp256k1 from 'secp256k1/elliptic';
import { registry } from '@polkadot/react-api';
import { createType } from '@polkadot/types';
import { assert, hexToU8a, stringToU8a, u8aToBuffer, u8aConcat } from '@polkadot/util';
import { keccakAsHex, keccakAsU8a } from '@polkadot/util-crypto';
@ -97,8 +96,8 @@ export function recoverFromJSON (signatureJson: string | null): RecoveredSignatu
return {
error: null,
ethereumAddress: createType(registry, 'EthereumAddress', recoverAddress(msg, parts)),
signature: createType(registry, 'EcdsaSignature', u8aConcat(parts.signature, new Uint8Array([parts.recovery])))
ethereumAddress: registry.createType('EthereumAddress', recoverAddress(msg, parts)),
signature: registry.createType('EcdsaSignature', u8aConcat(parts.signature, new Uint8Array([parts.recovery])))
};
} catch (error) {
console.error(error);

View File

@ -11,7 +11,7 @@
],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.8.7",
"@polkadot/api-contract": "^1.8.0-beta.6"
"@babel/runtime": "^7.9.0",
"@polkadot/api-contract": "^1.8.0-beta.8"
}
}

View File

@ -11,7 +11,7 @@
],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.8.7",
"@babel/runtime": "^7.9.0",
"@polkadot/react-components": "0.40.0-beta.158",
"@polkadot/react-query": "0.40.0-beta.158"
}

View File

@ -11,7 +11,7 @@
],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.8.7",
"@babel/runtime": "^7.9.0",
"@polkadot/apps-routing": "0.40.0-beta.158",
"@polkadot/react-components": "0.40.0-beta.158"
}

View File

@ -11,7 +11,7 @@
],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.8.7",
"@babel/runtime": "^7.9.0",
"@polkadot/react-components": "0.40.0-beta.158",
"@polkadot/react-query": "0.40.0-beta.158"
}

View File

@ -11,7 +11,7 @@
"contributors": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.8.7",
"@babel/runtime": "^7.9.0",
"@polkadot/react-components": "0.40.0-beta.158"
}
}

View File

@ -11,7 +11,7 @@
"contributors": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.8.7",
"@babel/runtime": "^7.9.0",
"@polkadot/react-components": "0.40.0-beta.158",
"@polkadot/react-params": "0.40.0-beta.158",
"@polkadot/react-signer": "0.40.0-beta.158"

View File

@ -11,7 +11,7 @@
],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.8.7",
"@babel/runtime": "^7.9.0",
"@polkadot/react-components": "0.40.0-beta.158"
}
}

View File

@ -11,7 +11,7 @@
],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.8.7",
"@babel/runtime": "^7.9.0",
"@polkadot/react-components": "0.40.0-beta.158"
}
}

View File

@ -11,7 +11,7 @@
],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.8.7",
"@babel/runtime": "^7.9.0",
"@polkadot/react-components": "0.40.0-beta.158",
"@polkadot/react-query": "0.40.0-beta.158"
}

View File

@ -11,7 +11,7 @@
],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.8.7",
"@babel/runtime": "^7.9.0",
"@polkadot/react-components": "0.40.0-beta.158",
"@polkadot/react-query": "0.40.0-beta.158",
"query-string": "^6.11.1"

View File

@ -8,7 +8,7 @@
"author": "Jaco Greeff <jacogr@gmail.com>",
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.8.7",
"@babel/runtime": "^7.9.0",
"@polkadot/react-components": "0.40.0-beta.158"
}
}

View File

@ -11,7 +11,7 @@
],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.8.7",
"@babel/runtime": "^7.9.0",
"@polkadot/app-explorer": "0.40.0-beta.158",
"@polkadot/react-components": "0.40.0-beta.158",
"@polkadot/react-query": "0.40.0-beta.158"

View File

@ -11,7 +11,7 @@
"contributors": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.8.7",
"@babel/runtime": "^7.9.0",
"@polkadot/react-components": "0.40.0-beta.158",
"@polkadot/react-params": "0.40.0-beta.158"
}

View File

@ -12,7 +12,7 @@
],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.8.7",
"@babel/runtime": "^7.9.0",
"@polkadot/react-components": "0.40.0-beta.158"
}
}

View File

@ -11,7 +11,7 @@
],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.8.7",
"@babel/runtime": "^7.9.0",
"@polkadot/react-components": "0.40.0-beta.158",
"@polkadot/react-query": "0.40.0-beta.158"
}

View File

@ -11,7 +11,7 @@
"contributors": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.8.7",
"@babel/runtime": "^7.9.0",
"@polkadot/react-components": "0.40.0-beta.158"
}
}

View File

@ -10,7 +10,7 @@
],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.8.7",
"@babel/runtime": "^7.9.0",
"@polkadot/react-components": "0.40.0-beta.158",
"@polkadot/react-query": "0.40.0-beta.158"
}

View File

@ -12,7 +12,7 @@
],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.8.7",
"@babel/runtime": "^7.9.0",
"@polkadot/react-components": "0.40.0-beta.158",
"@polkadot/react-query": "0.40.0-beta.158"
}

View File

@ -30,9 +30,9 @@
},
"homepage": "https://github.com/polkadot-js/ui/tree/master/packages/ui-reactive#readme",
"dependencies": {
"@babel/runtime": "^7.8.7",
"@polkadot/api": "^1.8.0-beta.6",
"@polkadot/extension-dapp": "^0.23.0-beta.4",
"@babel/runtime": "^7.9.0",
"@polkadot/api": "^1.8.0-beta.8",
"@polkadot/extension-dapp": "^0.23.0-beta.6",
"rxjs-compat": "^6.5.4"
}
}

View File

@ -10,26 +10,26 @@
"contributors": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.8.7",
"@babel/runtime": "^7.9.0",
"@polkadot/keyring": "^2.6.2",
"@polkadot/react-api": "0.40.0-beta.158",
"@polkadot/react-identicon": "^0.52.0-beta.16",
"@polkadot/react-identicon": "^0.52.0-beta.17",
"@polkadot/react-query": "0.40.0-beta.158",
"@polkadot/ui-keyring": "^0.52.0-beta.16",
"@polkadot/ui-settings": "^0.52.0-beta.16",
"@polkadot/ui-keyring": "^0.52.0-beta.17",
"@polkadot/ui-settings": "^0.52.0-beta.17",
"chart.js": "^2.9.3",
"codeflask": "^1.4.1",
"i18next": "^19.3.3",
"i18next-browser-languagedetector": "^4.0.2",
"i18next-xhr-backend": "^3.2.2",
"react": "^16.13.0",
"react": "^16.13.1",
"react-beautiful-dnd": "^13.0.0",
"react-chartjs-2": "^2.9.0",
"react-copy-to-clipboard": "^5.0.2",
"react-dom": "^16.13.0",
"react-dom": "^16.13.1",
"react-dropzone": "^10.2.1",
"react-i18next": "^11.3.3",
"react-is": "^16.13.0",
"react-i18next": "^11.3.4",
"react-is": "^16.13.1",
"react-markdown": "^4.3.1",
"react-router": "^5.1.2",
"react-router-dom": "^5.1.2",

View File

@ -80,11 +80,12 @@ i18n
console.log('i18n: failure', error)
);
uiSettings.on('change', settings => {
const lang = settings.i18nLang === LANGUAGE_DEFAULT
? i18n.services.languageDetector.detect()
: settings.i18nLang;
i18n.changeLanguage(lang);
uiSettings.on('change', (settings) => {
i18n.changeLanguage(
settings.i18nLang === LANGUAGE_DEFAULT
? i18n.services.languageDetector.detect()
: settings.i18nLang
);
});
export default i18n;

View File

@ -30,7 +30,7 @@
},
"homepage": "https://github.com/polkadot-js/ui/tree/master/packages/ui-reactive#readme",
"dependencies": {
"@babel/runtime": "^7.8.7",
"@babel/runtime": "^7.9.0",
"memoizee": "^0.4.14"
},
"devDependencies": {

View File

@ -10,7 +10,7 @@
"contributors": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.8.7",
"@babel/runtime": "^7.9.0",
"@polkadot/react-components": "0.40.0-beta.158"
}
}

View File

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

View File

@ -10,8 +10,8 @@
"contributors": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.8.7",
"@babel/runtime": "^7.9.0",
"@polkadot/react-components": "0.40.0-beta.158",
"@polkadot/react-qr": "^0.52.0-beta.16"
"@polkadot/react-qr": "^0.52.0-beta.17"
}
}

1336
yarn.lock

File diff suppressed because it is too large Load Diff