@33cn/chain33-rpc-api
Advanced tools
Comparing version 1.5.12 to 1.5.13
@@ -237,4 +237,5 @@ "use strict"; | ||
BtyBaseSdk.prototype.getTxByHashes = function (hashes, url) { | ||
var _this = this; | ||
if (url === void 0) { url = ''; } | ||
return this.callPromiseAPI('GetTxByHashes', { | ||
return this.callAPIWithoutHandler('GetTxByHashes', { | ||
hashes: hashes, | ||
@@ -251,2 +252,9 @@ }, url).then(function (res) { | ||
return res; | ||
}).then(function (res) { | ||
if (_this.resHandler) { | ||
return _this.resHandler(res); | ||
} | ||
else { | ||
return res; | ||
} | ||
}); | ||
@@ -253,0 +261,0 @@ }; |
{ | ||
"name": "@33cn/chain33-rpc-api", | ||
"version": "1.5.12", | ||
"version": "1.5.13", | ||
"description": "chain33 rpc 接口封装", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
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
146885
2926