Merge pull request #143 from varasev/update-packages
(Fix) Update web3 and other packages
This commit is contained in:
commit
f037b5b12c
File diff suppressed because it is too large
Load Diff
26
package.json
26
package.json
|
@ -5,25 +5,25 @@
|
||||||
"homepage": "https://poanetwork.github.io/",
|
"homepage": "https://poanetwork.github.io/",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"autoprefixer": "7.1.6",
|
"autoprefixer": "7.1.6",
|
||||||
"babel-core": "6.26.0",
|
"babel-core": "6.26.3",
|
||||||
"babel-jest": "20.0.3",
|
"babel-jest": "23.2.0",
|
||||||
"babel-loader": "7.1.2",
|
"babel-loader": "7.1.4",
|
||||||
"babel-plugin-transform-decorators-legacy": "^1.3.4",
|
"babel-plugin-transform-decorators-legacy": "^1.3.5",
|
||||||
"babel-polyfill": "^6.26.0",
|
"babel-polyfill": "^6.26.0",
|
||||||
"babel-preset-es2015": "^6.24.1",
|
"babel-preset-es2015": "^6.24.1",
|
||||||
"babel-preset-react": "^6.24.1",
|
"babel-preset-react": "^6.24.1",
|
||||||
"babel-preset-react-app": "^3.1.0",
|
"babel-preset-react-app": "^3.1.2",
|
||||||
"babel-preset-stage-1": "^6.24.1",
|
"babel-preset-stage-1": "^6.24.1",
|
||||||
"babel-runtime": "6.26.0",
|
"babel-runtime": "6.26.0",
|
||||||
"case-sensitive-paths-webpack-plugin": "2.1.1",
|
"case-sensitive-paths-webpack-plugin": "2.1.2",
|
||||||
"chalk": "1.1.3",
|
"chalk": "2.4.1",
|
||||||
"css-loader": "0.28.7",
|
"css-loader": "0.28.11",
|
||||||
"dotenv": "4.0.0",
|
"dotenv": "4.0.0",
|
||||||
"eslint-loader": "1.9.0",
|
"eslint-loader": "1.9.0",
|
||||||
"extract-text-webpack-plugin": "3.0.2",
|
"extract-text-webpack-plugin": "3.0.2",
|
||||||
"file-loader": "1.1.5",
|
"file-loader": "1.1.5",
|
||||||
"fs-extra": "3.0.1",
|
"fs-extra": "3.0.1",
|
||||||
"gh-pages": "^1.1.0",
|
"gh-pages": "^1.2.0",
|
||||||
"html-webpack-plugin": "2.29.0",
|
"html-webpack-plugin": "2.29.0",
|
||||||
"jest": "20.0.4",
|
"jest": "20.0.4",
|
||||||
"mobx": "^3.4.1",
|
"mobx": "^3.4.1",
|
||||||
|
@ -31,8 +31,8 @@
|
||||||
"mobx-react-devtools": "^4.2.15",
|
"mobx-react-devtools": "^4.2.15",
|
||||||
"mobx-react-router": "^4.0.1",
|
"mobx-react-router": "^4.0.1",
|
||||||
"moment": "^2.20.1",
|
"moment": "^2.20.1",
|
||||||
"node-sass-chokidar": "0.0.3",
|
"node-sass-chokidar": "1.3.0",
|
||||||
"nodemon": "^1.14.12",
|
"nodemon": "^1.17.5",
|
||||||
"npm-run-all": "^4.1.2",
|
"npm-run-all": "^4.1.2",
|
||||||
"object-assign": "4.1.1",
|
"object-assign": "4.1.1",
|
||||||
"postcss-flexbugs-fixes": "3.2.0",
|
"postcss-flexbugs-fixes": "3.2.0",
|
||||||
|
@ -47,10 +47,10 @@
|
||||||
"react-router-dom": "^4.2.2",
|
"react-router-dom": "^4.2.2",
|
||||||
"react-select": "^1.1.0",
|
"react-select": "^1.1.0",
|
||||||
"style-loader": "0.19.0",
|
"style-loader": "0.19.0",
|
||||||
"sw-precache-webpack-plugin": "0.11.4",
|
"sw-precache-webpack-plugin": "0.11.5",
|
||||||
"sweetalert2": "^7.0.8",
|
"sweetalert2": "^7.0.8",
|
||||||
"url-loader": "0.6.2",
|
"url-loader": "0.6.2",
|
||||||
"web3": "^1.0.0-beta.26",
|
"web3": "1.0.0-beta.34",
|
||||||
"webpack": "3.8.1",
|
"webpack": "3.8.1",
|
||||||
"webpack-dev-server": "2.9.4",
|
"webpack-dev-server": "2.9.4",
|
||||||
"webpack-manifest-plugin": "1.3.2",
|
"webpack-manifest-plugin": "1.3.2",
|
||||||
|
|
|
@ -226,7 +226,7 @@ export class NewBallot extends React.Component {
|
||||||
methodToCreateBallot(startTime)
|
methodToCreateBallot(startTime)
|
||||||
.on("receipt", (tx) => {
|
.on("receipt", (tx) => {
|
||||||
commonStore.hideLoading();
|
commonStore.hideLoading();
|
||||||
if(tx.status === '0x1'){
|
if (tx.status === true || tx.status === '0x1') {
|
||||||
swal("Congratulations!", messages.BALLOT_CREATED_SUCCESS_MSG, "success").then((result) => {
|
swal("Congratulations!", messages.BALLOT_CREATED_SUCCESS_MSG, "success").then((result) => {
|
||||||
push(`${commonStore.rootPath}`);
|
push(`${commonStore.rootPath}`);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue