Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rpc-websockets

Package Overview
Dependencies
Maintainers
1
Versions
129
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rpc-websockets - npm Package Compare versions

Comparing version 4.0.1 to 4.0.2

.npmignore

2

dist/lib/client/websocket.browser.js

@@ -83,2 +83,4 @@ /**

value: function send(data, options, callback) {
callback = callback || options;
try {

@@ -85,0 +87,0 @@ this.socket.send(data);

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc