@harmony-js/contract
Advanced tools
Comparing version 0.1.27 to 0.1.28
@@ -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
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
Mixed license
License(Experimental) Package contains multiple licenses.
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
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
16691812
+ Added@harmony-js/account@0.1.28(transitive)
+ Added@harmony-js/core@0.1.28(transitive)
+ Added@harmony-js/crypto@0.1.28(transitive)
+ Added@harmony-js/network@0.1.28(transitive)
+ Added@harmony-js/transaction@0.1.28(transitive)
+ Added@harmony-js/utils@0.1.28(transitive)
- Removed@harmony-js/account@0.1.27(transitive)
- Removed@harmony-js/core@0.1.27(transitive)
- Removed@harmony-js/crypto@0.1.27(transitive)
- Removed@harmony-js/network@0.1.27(transitive)
- Removed@harmony-js/transaction@0.1.27(transitive)
- Removed@harmony-js/utils@0.1.27(transitive)
- Removedscrypt@6.0.3(transitive)
- Removedscrypt.js@0.3.0(transitive)
- Removedscryptsy@1.2.1(transitive)
Updated@harmony-js/account@0.1.28
Updated@harmony-js/crypto@0.1.28
Updated@harmony-js/network@0.1.28
Updated@harmony-js/utils@0.1.28