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

ibm-blockchain-js

Package Overview
Dependencies
Maintainers
2
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ibm-blockchain-js - npm Package Compare versions

Comparing version 1.2.7 to 1.2.8

14

lib/rest.js

@@ -95,3 +95,3 @@ 'use strict';

//main http request builder/handler/thingy
function http(options, parameters, body, attempt){
function http_req(options, parameters, body, attempt){
var acceptJson = false, jQuery = false, nodeJs = false, http, http_txt = '', goodJSON = false;

@@ -219,3 +219,3 @@ var ids = 'abcdefghijkmnopqrstuvwxyz';

attempt++;
return setTimeout(function(){ http(options, parameters, body); }, 250 * Math.pow(2, attempt));
return setTimeout(function(){ http_req(options, parameters, body); }, 250 * Math.pow(2, attempt));
}

@@ -255,3 +255,3 @@ else {

l_options.method = 'POST';
http(l_options, parameters, body);
http_req(l_options, parameters, body);
};

@@ -262,3 +262,3 @@

l_options.method = 'PUT';
http(l_options, parameters, body);
http_req(l_options, parameters, body);
};

@@ -269,3 +269,3 @@

l_options.method = 'DELETE';
http(l_options, parameters, body);
http_req(l_options, parameters, body);
};

@@ -276,3 +276,3 @@

l_options.method = 'GET';
http(l_options, parameters, '');
http_req(l_options, parameters, '');
};

@@ -283,3 +283,3 @@

l_options.method = 'HEAD';
http(l_options, parameters, '');
http_req(l_options, parameters, '');
};
{
"name": "ibm-blockchain-js",
"version": "1.2.7",
"version": "1.2.8",
"description": "A library for easily interacting with IBM Blockchain.",

@@ -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