Socket
Socket
Sign inDemoInstall

rpcapi

Package Overview
Dependencies
177
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.2.1 to 2.3.0

2

package.json
{
"name": "rpcapi",
"version": "2.2.1",
"version": "2.3.0",
"description": "Provides a struture for hosting RPC style APIs, supports both http and websocket access out of the box",

@@ -5,0 +5,0 @@ "repository": {

@@ -12,2 +12,3 @@ export declare enum paramType {

accessKey: string;
readonly isConnected: boolean;
actionExists(actionName: string): boolean;

@@ -14,0 +15,0 @@ actionParams(actionName: string): {

@@ -51,2 +51,9 @@ "use strict";

}
Object.defineProperty(APIEndpoint.prototype, "isConnected", {
get: function () {
return this.connected;
},
enumerable: true,
configurable: true
});
APIEndpoint.prototype.actionExists = function (actionName) {

@@ -53,0 +60,0 @@ var actionFunc = this['$' + actionName];

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc