rpcapi
Advanced tools
Comparing version 2.2.1 to 2.3.0
{ | ||
"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
490202
4678