Socket
Socket
Sign inDemoInstall

ispapi-apiconnector

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ispapi-apiconnector - npm Package Compare versions

Comparing version 4.0.7 to 4.0.8

7

client.js

@@ -61,9 +61,4 @@ /*

// set the expect header for performance improvement if not set
if (!opts.headers)
opts.headers = {
Expect: ''
};
else if (!opts.headers.hasOwnProperty('Expect'))
opts.headers.Expect = '';
opts.headers = {};

@@ -70,0 +65,0 @@ //----- the socket parameters ----

2

package.json
{
"name": "ispapi-apiconnector",
"description": "1API API Connector for node.js",
"version": "4.0.7",
"version": "4.0.8",
"author": {

@@ -6,0 +6,0 @@ "name": "Kai Schwarz",

@@ -101,6 +101,3 @@ /* jshint -W024 */

host: 'coreapi.1api.net',
path: '/api/call.cgi',
headers: {
Expect: ''
}
path: '/api/call.cgi'
}

@@ -217,12 +214,2 @@ });

it("perform an API request [socket cfg w/o expect header]", function(done) {
nock.activate(); //reuse setting from last test
var newcfg = JSON.parse(JSON.stringify(socketcfg));
var cb = function(r) {
uidxCB(r, done);
};
newcfg.options.headers = {};
cl.request(testcmds.getuserindex.COMMAND, newcfg, cb, cb, 'hash');
});
it("perform an API request [hash response]", function(done) {

@@ -229,0 +216,0 @@ nock.cleanAll();

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