Feature/wasm client fix (#399)

* Disabling wasm optimization for the moment, it isn't working on my machine

* Updating the React example back to a working state, 0.8.1 npm package is published.

* Merging develop into bugfix

* Upgrading react-scripts to fix a major vulnerability
This commit is contained in:
Dave Hrycyszyn
2020-10-30 13:35:44 +00:00
committed by GitHub
parent 0f0a428142
commit 4099701852
4 changed files with 8119 additions and 2993 deletions
+1 -2
View File
@@ -48,7 +48,6 @@ wee_alloc = { version = "0.4", optional = true }
wasm-bindgen-test = "0.2"
[package.metadata.wasm-pack.profile.release]
# this needs to be disabled until https://github.com/rustwasm/wasm-pack/issues/886 is resolved
wasm-opt = ["-Oz", "--enable-mutable-globals"]
wasm-opt = false
File diff suppressed because it is too large Load Diff
@@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@nymproject/nym-client-wasm": "^0.8.0",
"@nymproject/nym-client-wasm": "^0.8.1",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.5.0",
"@testing-library/user-event": "^7.2.1",
@@ -11,7 +11,7 @@
"node-sass": "^4.14.1",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-scripts": "^3.4.3",
"react-scripts": "^4.0.0",
"reactstrap": "^8.5.1",
"request": "^2.79.0"
},
@@ -41,7 +41,6 @@
"hello-wasm-pack": "^0.1.0",
"react-app-rewired": "^2.1.6",
"wasm-loader": "^1.3.0",
"webpack": "^4.29.3",
"webpack-cli": "^3.1.0"
}
}
+3
View File
@@ -0,0 +1,3 @@
{
"lockfileVersion": 1
}