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

protomux-rpc

Package Overview
Dependencies
Maintainers
2
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

protomux-rpc - npm Package Compare versions

Comparing version 1.2.3 to 1.3.0

8

index.js

@@ -137,2 +137,10 @@ const EventEmitter = require('events')

get mux () {
return this._mux
}
get stream () {
return this._mux.stream
}
respond (method, options, handler) {

@@ -139,0 +147,0 @@ if (typeof options === 'function') {

2

package.json
{
"name": "protomux-rpc",
"version": "1.2.3",
"version": "1.3.0",
"description": "RPC over Protomux channels",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -53,3 +53,3 @@ # Protomux RPC

#### `const rpc = new ProtomuxRPC(muxer[, options])`
#### `const rpc = new ProtomuxRPC(mux[, options])`

@@ -60,2 +60,14 @@ Construct a new RPC channel from an existing muxer.

#### `rpc.closed`
Whether or not the RPC channel is closed.
#### `rpc.mux`
The muxer used by the channel.
#### `rpc.stream`
The stream used by the channel.
#### `rpc.respond(method[, options], handler)`

@@ -62,0 +74,0 @@

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