conseiljs
Advanced tools
Comparing version 5.2.2 to 5.2.3
@@ -417,3 +417,3 @@ "use strict"; | ||
try { | ||
gas += (parseInt(c['metadata']['operation_result']['consumed_milligas']) / 1000) || 0; | ||
gas += Math.ceil(parseInt(c['metadata']['operation_result']['consumed_milligas']) / 1000) || 0; | ||
storageCost += parseInt(c['metadata']['operation_result']['paid_storage_size_diff']) || 0; | ||
@@ -434,3 +434,3 @@ if (c.kind === 'origination' || c['metadata']['operation_result']['allocated_destination_contract']) { | ||
const result = internalOperation['result']; | ||
gas += (parseInt(result['consumed_milligas']) / 1000) || 0; | ||
gas += Math.ceil(parseInt(result['consumed_milligas']) / 1000) || 0; | ||
storageCost += parseInt(result['paid_storage_size_diff']) || 0; | ||
@@ -437,0 +437,0 @@ if (internalOperation.kind === 'origination') { |
{ | ||
"name": "conseiljs", | ||
"version": "5.2.2", | ||
"version": "5.2.3", | ||
"description": "Client-side library for Tezos dApp development.", | ||
@@ -5,0 +5,0 @@ "browser": "dist/index-web.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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
883934
8