web3-providers-ws
Advanced tools
Comparing version 1.2.9-rc.0 to 1.2.9
{ | ||
"name": "web3-providers-ws", | ||
"version": "1.2.9-rc.0", | ||
"version": "1.2.9", | ||
"description": "Module to handle web3 RPC connections over WebSockets.", | ||
@@ -18,3 +18,3 @@ "repository": "https://github.com/ethereum/web3.js/tree/1.x/packages/web3-providers-ws", | ||
"underscore": "1.9.1", | ||
"web3-core-helpers": "1.2.9-rc.0", | ||
"web3-core-helpers": "1.2.9", | ||
"websocket": "^1.0.31" | ||
@@ -26,3 +26,3 @@ }, | ||
}, | ||
"gitHead": "7d94fdb22808ee95de326208f6086fb29ad6bca1" | ||
"gitHead": "0e7ee3325437f73f4bace6c2df06aefafd72c716" | ||
} |
@@ -44,6 +44,10 @@ # web3-providers-ws | ||
// Useful if requests are large | ||
clientConfig: { | ||
// Useful if requests are large | ||
maxReceivedFrameSize: 100000000, // bytes - default: 1MiB | ||
maxReceivedMessageSize: 100000000, // bytes - default: 8MiB | ||
// Useful to keep a connection alive | ||
keepalive: true, | ||
keepaliveInterval: 60000 // ms | ||
}, | ||
@@ -61,8 +65,6 @@ | ||
var ws = new Web3WsProvider('ws://localhost:8546', options); | ||
``` | ||
(Additional client config options can be found [here][1]) | ||
Additional client config options can be found [here](https://github.com/theturtle32/WebSocket-Node/blob/v1.0.31/docs/WebSocketClient.md#client-config-options). | ||
[1]: https://github.com/web3-js/WebSocket-Node/blob/polyfill/globalThis/docs/WebSocketClient.md | ||
``` | ||
## Types | ||
@@ -69,0 +71,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
19830
1
80
+ Addedweb3-core-helpers@1.2.9(transitive)
+ Addedweb3-eth-iban@1.2.9(transitive)
+ Addedweb3-utils@1.2.9(transitive)
- Removedweb3-core-helpers@1.2.9-rc.0(transitive)
- Removedweb3-eth-iban@1.2.9-rc.0(transitive)
- Removedweb3-utils@1.2.9-rc.0(transitive)
Updatedweb3-core-helpers@1.2.9