rpc-websockets
Advanced tools
Comparing version 4.0.1 to 4.0.2
@@ -83,2 +83,4 @@ /** | ||
value: function send(data, options, callback) { | ||
callback = callback || options; | ||
try { | ||
@@ -85,0 +87,0 @@ this.socket.send(data); |
{ | ||
"name": "rpc-websockets", | ||
"version": "4.0.1", | ||
"version": "4.0.2", | ||
"description": "JSON-RPC 2.0 implementation over WebSockets for Node.js", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
@@ -111,3 +111,3 @@ <div align="center"> | ||
* `reconnect_interval` {Number}: Time between adjacent reconnects. Defaults to `1000`. | ||
* `max_reconnects` {Number}: Maximum number of times the client should try to reconnect. Defaults to `5`. | ||
* `max_reconnects` {Number}: Maximum number of times the client should try to reconnect. Defaults to `5`. `0` means unlimited. | ||
* `generate_request_id` {Function} Custom function to generate request id instead of simple increment by default. Passes `method` and `params` to parameters. | ||
@@ -114,0 +114,0 @@ |
Sorry, the diff of this file is too big to display
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
499834
13211
16