Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@harmony-js/contract

Package Overview
Dependencies
Maintainers
1
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@harmony-js/contract - npm Package Compare versions

Comparing version 0.1.27 to 0.1.28

6

dist/methods/method.js

@@ -26,3 +26,3 @@ "use strict";

this.transaction = this.transaction.map(function (tx) {
return tslib_1.__assign({}, tx, params);
return tslib_1.__assign(tslib_1.__assign({}, tx), params);
});

@@ -88,3 +88,3 @@ var updateNonce = params.nonce !== undefined ? false : true;

this.transaction = this.transaction.map(function (tx) {
return tslib_1.__assign({}, tx, options, { from: from_1 || tx.from, gasPrice: options ? options.gasPrice : tx.gasPrice, gasLimit: gasLimit_1 || tx.gasLimit, nonce: Number.parseInt(utils_1.hexToNumber(nonce_1), 10) });
return tslib_1.__assign(tslib_1.__assign(tslib_1.__assign({}, tx), options), { from: from_1 || tx.from, gasPrice: options ? options.gasPrice : tx.gasPrice, gasLimit: gasLimit_1 || tx.gasLimit, nonce: Number.parseInt(utils_1.hexToNumber(nonce_1), 10) });
});

@@ -278,3 +278,3 @@ keys = Object.keys(this.transaction.txPayload);

}
var txObject = tslib_1.__assign({}, this.params[0], { to: this.contract.address === '0x' ? '0x' : crypto_1.getAddress(this.contract.address).checksum, data: this.encodeABI() });
var txObject = tslib_1.__assign(tslib_1.__assign({}, this.params[0]), { to: this.contract.address === '0x' ? '0x' : crypto_1.getAddress(this.contract.address).checksum, data: this.encodeABI() });
// tslint:disable-line

@@ -281,0 +281,0 @@ var result = new transaction_1.TransactionFactory(this.wallet.messenger).newTx(txObject);

{
"name": "@harmony-js/contract",
"version": "0.1.27",
"version": "0.1.28",
"description": "contract libraries for harmony",

@@ -19,11 +19,11 @@ "main": "dist/index.js",

},
"license": "ISC",
"license": "MIT",
"dependencies": {
"@harmony-js/account": "0.1.27",
"@harmony-js/crypto": "0.1.27",
"@harmony-js/network": "0.1.27",
"@harmony-js/transaction": "0.1.27",
"@harmony-js/utils": "0.1.27"
"@harmony-js/account": "0.1.28",
"@harmony-js/crypto": "0.1.28",
"@harmony-js/network": "0.1.28",
"@harmony-js/transaction": "0.1.28",
"@harmony-js/utils": "0.1.28"
},
"gitHead": "6e1abec93bbdb2ca5fd1acfc8d0093165688ef91"
"gitHead": "1ccc7071aee39a4597caa1019c36104420499af9"
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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