Don't clobber global space in WS provider (#1922)

* Don't clbber global space in WS provider

* Re-use getWSClass
This commit is contained in:
Jaco Greeff
2020-02-22 13:56:37 +01:00
committed by GitHub
parent deddc6dc79
commit 51686f0cd4
8 changed files with 54 additions and 31 deletions
+2
View File
@@ -39,12 +39,14 @@
"@polkadot/api": "1.4.0-beta.27",
"@polkadot/jsonrpc": "1.4.0-beta.27",
"@polkadot/metadata": "1.4.0-beta.27",
"@polkadot/rpc-provider": "1.4.0-beta.27",
"@polkadot/types": "1.4.0-beta.27",
"@polkadot/util": "^2.4.1",
"websocket": "^1.0.31",
"yargs": "^15.1.0"
},
"devDependencies": {
"@types/websocket": "^1.0.0",
"@types/yargs": "^15.0.3"
}
}