ibm-blockchain-js
Advanced tools
Comparing version 1.2.7 to 1.2.8
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
92972