ibm-blockchain-js
Advanced tools
Comparing version 1.1.1 to 1.1.2
11
index.js
@@ -881,3 +881,3 @@ 'use strict'; | ||
ctorMsg: { | ||
function: 'invoke', | ||
function: name, | ||
args: args | ||
@@ -953,3 +953,3 @@ }, | ||
ctorMsg: { | ||
function: 'query', | ||
function: name, | ||
args: args | ||
@@ -978,6 +978,9 @@ }, | ||
} | ||
options.success = function(statusCode, data){ | ||
console.log('[ibc-js]', name, ' - success:', data); | ||
if(cb) cb(null, data.OK); | ||
if(cb){ | ||
if(data && data.result) cb(null, data.result.message); | ||
else cb(null, data.OK); | ||
} | ||
}; | ||
@@ -984,0 +987,0 @@ options.failure = function(statusCode, e){ |
{ | ||
"name": "ibm-blockchain-js", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"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
73404
1296