web3-eth-contract
Advanced tools
Comparing version 1.0.0-beta.47 to 1.0.0-beta.48
@@ -740,7 +740,6 @@ 'use strict'; | ||
var outputs = this.abiItemModel.getOutputs(); | ||
response = this.abiCoder.decodeParameters(outputs, response); | ||
if (outputs.length === 1) { | ||
return response[0]; | ||
if (outputs.length > 1) { | ||
return this.abiCoder.decodeParameters(outputs, response); | ||
} | ||
return response; | ||
return this.abiCoder.decodeParameter(outputs[0].type, response); | ||
} | ||
@@ -747,0 +746,0 @@ }]); |
@@ -575,7 +575,6 @@ import * as Utils from 'web3-utils'; | ||
const outputs = this.abiItemModel.getOutputs(); | ||
response = this.abiCoder.decodeParameters(outputs, response); | ||
if (outputs.length === 1) { | ||
return response[0]; | ||
if (outputs.length > 1) { | ||
return this.abiCoder.decodeParameters(outputs, response); | ||
} | ||
return response; | ||
return this.abiCoder.decodeParameter(outputs[0].type, response); | ||
} | ||
@@ -582,0 +581,0 @@ } |
@@ -732,7 +732,6 @@ (function (global, factory) { | ||
var outputs = this.abiItemModel.getOutputs(); | ||
response = this.abiCoder.decodeParameters(outputs, response); | ||
if (outputs.length === 1) { | ||
return response[0]; | ||
if (outputs.length > 1) { | ||
return this.abiCoder.decodeParameters(outputs, response); | ||
} | ||
return response; | ||
return this.abiCoder.decodeParameter(outputs[0].type, response); | ||
} | ||
@@ -739,0 +738,0 @@ }]); |
{ | ||
"name": "web3-eth-contract", | ||
"namespace": "ethereum", | ||
"version": "1.0.0-beta.47", | ||
"version": "1.0.0-beta.48", | ||
"description": "Web3 module to interact with Ethereum smart contracts.", | ||
@@ -21,11 +21,11 @@ "repository": "https://github.com/ethereum/web3.js/tree/1.0/packages/web3-eth-contract", | ||
"lodash": "^4.17.11", | ||
"web3-core": "1.0.0-beta.47", | ||
"web3-core-helpers": "1.0.0-beta.47", | ||
"web3-core-method": "1.0.0-beta.47", | ||
"web3-core-promievent": "1.0.0-beta.47", | ||
"web3-core-subscriptions": "1.0.0-beta.47", | ||
"web3-eth-abi": "1.0.0-beta.47", | ||
"web3-eth-accounts": "1.0.0-beta.47", | ||
"web3-providers": "1.0.0-beta.47", | ||
"web3-utils": "1.0.0-beta.47" | ||
"web3-core": "1.0.0-beta.48", | ||
"web3-core-helpers": "1.0.0-beta.48", | ||
"web3-core-method": "1.0.0-beta.48", | ||
"web3-core-promievent": "1.0.0-beta.48", | ||
"web3-core-subscriptions": "1.0.0-beta.48", | ||
"web3-eth-abi": "1.0.0-beta.48", | ||
"web3-eth-accounts": "1.0.0-beta.48", | ||
"web3-providers": "1.0.0-beta.48", | ||
"web3-utils": "1.0.0-beta.48" | ||
}, | ||
@@ -32,0 +32,0 @@ "devDependencies": { |
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
261481
3268
+ Addedelliptic@6.3.3(transitive)
+ Addedethers@4.0.26(transitive)
+ Addedweb3-core@1.0.0-beta.48(transitive)
+ Addedweb3-core-helpers@1.0.0-beta.48(transitive)
+ Addedweb3-core-method@1.0.0-beta.48(transitive)
+ Addedweb3-core-promievent@1.0.0-beta.48(transitive)
+ Addedweb3-core-subscriptions@1.0.0-beta.48(transitive)
+ Addedweb3-eth-abi@1.0.0-beta.48(transitive)
+ Addedweb3-eth-accounts@1.0.0-beta.48(transitive)
+ Addedweb3-eth-iban@1.0.0-beta.48(transitive)
+ Addedweb3-providers@1.0.0-beta.48(transitive)
+ Addedweb3-utils@1.0.0-beta.48(transitive)
- Removedelliptic@6.5.4(transitive)
- Removedethers@4.0.49(transitive)
- Removedweb3-core@1.0.0-beta.47(transitive)
- Removedweb3-core-helpers@1.0.0-beta.47(transitive)
- Removedweb3-core-method@1.0.0-beta.47(transitive)
- Removedweb3-core-promievent@1.0.0-beta.47(transitive)
- Removedweb3-core-subscriptions@1.0.0-beta.47(transitive)
- Removedweb3-eth-abi@1.0.0-beta.47(transitive)
- Removedweb3-eth-accounts@1.0.0-beta.47(transitive)
- Removedweb3-eth-iban@1.0.0-beta.47(transitive)
- Removedweb3-providers@1.0.0-beta.47(transitive)
- Removedweb3-utils@1.0.0-beta.47(transitive)
Updatedweb3-core@1.0.0-beta.48
Updatedweb3-eth-abi@1.0.0-beta.48
Updatedweb3-providers@1.0.0-beta.48
Updatedweb3-utils@1.0.0-beta.48