Socket
Socket
Sign inDemoInstall

web3-eth-contract

Package Overview
Dependencies
Maintainers
2
Versions
440
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

web3-eth-contract - npm Package Compare versions

Comparing version 1.0.0-beta.47 to 1.0.0-beta.48

7

dist/web3-eth-contract.cjs.js

@@ -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": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc