@harmony-js/contract
Advanced tools
Comparing version 0.0.32 to 0.0.33
@@ -222,3 +222,5 @@ "use strict"; | ||
} | ||
var txObject = tslib_1.__assign({}, this.params[0], { to: crypto_1.getAddress(this.contract.address).checksum, data: this.encodeABI() }); | ||
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 result = new transaction_1.TransactionFactory(this.wallet.messenger).newTx(txObject); | ||
@@ -225,0 +227,0 @@ return result; |
{ | ||
"name": "@harmony-js/contract", | ||
"version": "0.0.32", | ||
"version": "0.0.33", | ||
"description": "contract libraries for harmony", | ||
@@ -21,9 +21,9 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@harmony-js/account": "0.0.32", | ||
"@harmony-js/crypto": "0.0.32", | ||
"@harmony-js/network": "0.0.32", | ||
"@harmony-js/transaction": "0.0.32", | ||
"@harmony-js/utils": "0.0.32" | ||
"@harmony-js/account": "0.0.33", | ||
"@harmony-js/crypto": "0.0.33", | ||
"@harmony-js/network": "0.0.33", | ||
"@harmony-js/transaction": "0.0.33", | ||
"@harmony-js/utils": "0.0.33" | ||
}, | ||
"gitHead": "ac90d10deaf715c4254bf7691e752332d0657d52" | ||
"gitHead": "6336e94dfe5e478c5109400659537330af188e23" | ||
} |
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
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
16661006
12406
+ Added@harmony-js/account@0.0.33(transitive)
+ Added@harmony-js/core@0.0.33(transitive)
+ Added@harmony-js/crypto@0.0.33(transitive)
+ Added@harmony-js/network@0.0.33(transitive)
+ Added@harmony-js/transaction@0.0.33(transitive)
+ Added@harmony-js/utils@0.0.33(transitive)
- Removed@harmony-js/account@0.0.32(transitive)
- Removed@harmony-js/core@0.0.32(transitive)
- Removed@harmony-js/crypto@0.0.32(transitive)
- Removed@harmony-js/network@0.0.32(transitive)
- Removed@harmony-js/transaction@0.0.32(transitive)
- Removed@harmony-js/utils@0.0.32(transitive)
Updated@harmony-js/account@0.0.33
Updated@harmony-js/crypto@0.0.33
Updated@harmony-js/network@0.0.33
Updated@harmony-js/utils@0.0.33