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

arc-rpc

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arc-rpc - npm Package Compare versions

Comparing version 1.3.0 to 1.3.2

20

index.js

@@ -54,6 +54,6 @@ 'use strict'; // always strict mode

// Listen for events
this._listen ();
// Listen for events if have child class
if (child != null) this._listen ();
}
_genClass () {

@@ -94,5 +94,15 @@ // Create handler for proxy class

// Find internal handler, TODO: handle missing
// Find internal handler
let handler = this._child[call.fnId];
// Handle inexistence
if (handler == null) {
this._stream.send ('fnRes.' + call.resId, {
isError: true,
data: "No such method",
});
return;
}
// Try getting response from handler or handle error

@@ -108,2 +118,4 @@ try {

});
return;
}

@@ -110,0 +122,0 @@

2

package.json
{
"name": "arc-rpc",
"version": "1.3.0",
"version": "1.3.2",
"description": "Asynchronous Remote Classes make RPC simple",

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

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