restore ws functionality to webserver

This commit is contained in:
Iuri Matias 2018-09-19 19:19:37 -04:00 committed by Pascal Precht
parent 8f032ddbd2
commit 58a75f5080
No known key found for this signature in database
GPG Key ID: 0EE28D8D6FD85D7D
2 changed files with 1 additions and 9 deletions

View File

@ -343,7 +343,7 @@ Blockchain.prototype.initChainAndGetAddress = function(callback) {
};
var BlockchainClient = function(blockchainConfig, client, env, onReadyCallback, onExitCallback) {
const isDev = !!blockchainConfig.isDev;
const isDev = Boolean(blockchainConfig.isDev);
// TODO add other clients at some point
if (client === 'geth') {
return new Blockchain({blockchainConfig, client: GethCommands, env, isDev, onReadyCallback, onExitCallback});

8
npm-shrinkwrap.json generated
View File

@ -11094,14 +11094,6 @@
}
}
},
"ws": {
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/ws/-/ws-6.0.0.tgz",
"integrity": "sha512-c2UlYcAZp1VS8AORtpq6y4RJIkJ9dQz18W32SpR/qXGfLDZ2jU4y4wKvvZwqbi7U6gxFQTeE+urMbXU/tsDy4w==",
"requires": {
"async-limiter": "~1.0.0"
}
},
"xhr": {
"version": "2.5.0",
"resolved": "https://registry.npmjs.org/xhr/-/xhr-2.5.0.tgz",