Socket
Socket
Sign inDemoInstall

eh-api-client

Package Overview
Dependencies
49
Maintainers
2
Versions
97
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.25.0 to 0.26.0

1

index.d.ts

@@ -30,2 +30,3 @@ // Type definitions for eh-api-client 0.24.0

getClient(userId: number, app: string): Client;
getRawClient(): Client;
get(options, body?, cb?): Promise<any>;

@@ -32,0 +33,0 @@ post(options, body?, cb?): Promise<any>;

@@ -89,2 +89,13 @@ var

/**
*/
Factory.prototype.getRawClient = function() {
if(!userId) {
userId = 0;
}
var client = new this.Client(this.apiURL);
client._factory = this;
return client;
};
/**
* @param {Number} userId

@@ -91,0 +102,0 @@ * @param {String} app

2

package.json
{
"name": "eh-api-client",
"version": "0.25.0",
"version": "0.26.0",
"description": "Node.js rest client",

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

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