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.52 to 1.0.0-beta.53

6

dist/web3-eth-contract.cjs.js

@@ -658,3 +658,3 @@ 'use strict';

}
return response;
return _get(_getPrototypeOf(SendContractMethod.prototype), "afterExecution", this).call(this, response);
}

@@ -755,3 +755,3 @@ }]);

if (this.promiEvent.listenerCount('receipt') > 0) {
this.promiEvent.emit('receipt', response);
this.promiEvent.emit('receipt', _get(_getPrototypeOf(ContractDeployMethod.prototype), "afterExecution", this).call(this, response));
this.promiEvent.removeAllListeners('receipt');

@@ -1178,3 +1178,3 @@ }

function Contract(provider, abi, accounts, address, options) {
return new ContractModuleFactory(Utils, web3CoreHelpers.formatters, new web3EthAbi.AbiCoder(), accounts).createContract(provider, accounts, abi, address, options);
return new ContractModuleFactory(Utils, web3CoreHelpers.formatters, new web3EthAbi.AbiCoder()).createContract(provider, accounts, abi, address, options);
}

@@ -1181,0 +1181,0 @@

@@ -518,3 +518,3 @@ import * as Utils from 'web3-utils';

}
return response;
return super.afterExecution(response);
}

@@ -585,3 +585,3 @@ }

if (this.promiEvent.listenerCount('receipt') > 0) {
this.promiEvent.emit('receipt', response);
this.promiEvent.emit('receipt', super.afterExecution(response));
this.promiEvent.removeAllListeners('receipt');

@@ -869,5 +869,5 @@ }

function Contract(provider, abi, accounts, address, options) {
return new ContractModuleFactory(Utils, formatters, new AbiCoder(), accounts).createContract(provider, accounts, abi, address, options);
return new ContractModuleFactory(Utils, formatters, new AbiCoder()).createContract(provider, accounts, abi, address, options);
}
export { AbstractContract, Contract, ContractModuleFactory };

@@ -652,3 +652,3 @@ (function (global, factory) {

}
return response;
return _get(_getPrototypeOf(SendContractMethod.prototype), "afterExecution", this).call(this, response);
}

@@ -749,3 +749,3 @@ }]);

if (this.promiEvent.listenerCount('receipt') > 0) {
this.promiEvent.emit('receipt', response);
this.promiEvent.emit('receipt', _get(_getPrototypeOf(ContractDeployMethod.prototype), "afterExecution", this).call(this, response));
this.promiEvent.removeAllListeners('receipt');

@@ -1172,3 +1172,3 @@ }

function Contract(provider, abi, accounts, address, options) {
return new ContractModuleFactory(Utils, web3CoreHelpers.formatters, new web3EthAbi.AbiCoder(), accounts).createContract(provider, accounts, abi, address, options);
return new ContractModuleFactory(Utils, web3CoreHelpers.formatters, new web3EthAbi.AbiCoder()).createContract(provider, accounts, abi, address, options);
}

@@ -1175,0 +1175,0 @@

{
"name": "web3-eth-contract",
"namespace": "ethereum",
"version": "1.0.0-beta.52",
"version": "1.0.0-beta.53",
"description": "Web3 module to interact with Ethereum smart contracts.",

@@ -22,10 +22,10 @@ "repository": "https://github.com/ethereum/web3.js/tree/1.0/packages/web3-eth-contract",

"lodash": "^4.17.11",
"web3-core": "1.0.0-beta.52",
"web3-core-helpers": "1.0.0-beta.52",
"web3-core-method": "1.0.0-beta.52",
"web3-core-subscriptions": "1.0.0-beta.52",
"web3-eth-abi": "1.0.0-beta.52",
"web3-eth-accounts": "1.0.0-beta.52",
"web3-providers": "1.0.0-beta.52",
"web3-utils": "1.0.0-beta.52"
"web3-core": "1.0.0-beta.53",
"web3-core-helpers": "1.0.0-beta.53",
"web3-core-method": "1.0.0-beta.53",
"web3-core-subscriptions": "1.0.0-beta.53",
"web3-eth-abi": "1.0.0-beta.53",
"web3-eth-accounts": "1.0.0-beta.53",
"web3-providers": "1.0.0-beta.53",
"web3-utils": "1.0.0-beta.53"
},

@@ -40,3 +40,3 @@ "devDependencies": {

],
"gitHead": "1c89f503c90180598910d29892f6ebf92455cfe1"
"gitHead": "d955a98a5fc8819ff866254ff7141a10b503b5cd"
}
# web3-eth-contract
This is a sub package of [web3.js][repo]
This is a sub module of [web3.js][repo]
This is the contract package to be used in the `web3-eth` package.
This is the contract module to be used in the `web3-eth` module.
Please read the [documentation][docs] for more.

@@ -7,0 +7,0 @@

@@ -69,3 +69,3 @@ /*

export interface ContractSendMethod {
send(options: SendOptions, callback?: (err: Error, contracts: Contract) => void): PromiEvent<Contract>;
send(options: SendOptions, callback?: (err: Error, transactionHash: string) => void): PromiEvent<Contract>;

@@ -72,0 +72,0 @@ estimateGas(options: EstimateGasOptions, callback?: (err: Error, gas: number) => void): Promise<number>;

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