@harmony-js/core
Advanced tools
Comparing version
@@ -75,6 +75,6 @@ "use strict"; | ||
nonce = _a.sent(); | ||
transaction.setParams(tslib_1.__assign({}, transaction.txParams, { from: crypto.getAddress(extensionAccount.address).bech32, nonce: Number.parseInt(utils.hexToNumber(nonce.result), 10) })); | ||
transaction.setParams(tslib_1.__assign(tslib_1.__assign({}, transaction.txParams), { from: crypto.getAddress(extensionAccount.address).bech32, nonce: Number.parseInt(utils.hexToNumber(nonce.result), 10) })); | ||
return [3 /*break*/, 4]; | ||
case 3: | ||
transaction.setParams(tslib_1.__assign({}, transaction.txParams, { from: crypto.getAddress(extensionAccount.address).bech32 })); | ||
transaction.setParams(tslib_1.__assign(tslib_1.__assign({}, transaction.txParams), { from: crypto.getAddress(extensionAccount.address).bech32 })); | ||
_a.label = 4; | ||
@@ -81,0 +81,0 @@ case 4: return [2 /*return*/, signTransaction_1(transaction, false, encodeMode, blockNumber)]; |
@@ -1008,6 +1008,6 @@ /** | ||
nonce = _a.sent(); | ||
transaction$$1.setParams(__assign({}, transaction$$1.txParams, { from: crypto.getAddress(extensionAccount.address).bech32, nonce: Number.parseInt(utils.hexToNumber(nonce.result), 10) })); | ||
transaction$$1.setParams(__assign(__assign({}, transaction$$1.txParams), { from: crypto.getAddress(extensionAccount.address).bech32, nonce: Number.parseInt(utils.hexToNumber(nonce.result), 10) })); | ||
return [3 /*break*/, 4]; | ||
case 3: | ||
transaction$$1.setParams(__assign({}, transaction$$1.txParams, { from: crypto.getAddress(extensionAccount.address).bech32 })); | ||
transaction$$1.setParams(__assign(__assign({}, transaction$$1.txParams), { from: crypto.getAddress(extensionAccount.address).bech32 })); | ||
_a.label = 4; | ||
@@ -1014,0 +1014,0 @@ case 4: return [2 /*return*/, signTransaction_1(transaction$$1, false, encodeMode, blockNumber)]; |
@@ -1007,6 +1007,6 @@ /** | ||
nonce = _a.sent(); | ||
transaction.setParams(__assign({}, transaction.txParams, { from: getAddress(extensionAccount.address).bech32, nonce: Number.parseInt(hexToNumber(nonce.result), 10) })); | ||
transaction.setParams(__assign(__assign({}, transaction.txParams), { from: getAddress(extensionAccount.address).bech32, nonce: Number.parseInt(hexToNumber(nonce.result), 10) })); | ||
return [3 /*break*/, 4]; | ||
case 3: | ||
transaction.setParams(__assign({}, transaction.txParams, { from: getAddress(extensionAccount.address).bech32 })); | ||
transaction.setParams(__assign(__assign({}, transaction.txParams), { from: getAddress(extensionAccount.address).bech32 })); | ||
_a.label = 4; | ||
@@ -1013,0 +1013,0 @@ case 4: return [2 /*return*/, signTransaction_1(transaction, false, encodeMode, blockNumber)]; |
@@ -1003,6 +1003,6 @@ /** | ||
nonce = _a.sent(); | ||
transaction$$1.setParams(__assign({}, transaction$$1.txParams, { from: crypto.getAddress(extensionAccount.address).bech32, nonce: Number.parseInt(utils.hexToNumber(nonce.result), 10) })); | ||
transaction$$1.setParams(__assign(__assign({}, transaction$$1.txParams), { from: crypto.getAddress(extensionAccount.address).bech32, nonce: Number.parseInt(utils.hexToNumber(nonce.result), 10) })); | ||
return [3 /*break*/, 4]; | ||
case 3: | ||
transaction$$1.setParams(__assign({}, transaction$$1.txParams, { from: crypto.getAddress(extensionAccount.address).bech32 })); | ||
transaction$$1.setParams(__assign(__assign({}, transaction$$1.txParams), { from: crypto.getAddress(extensionAccount.address).bech32 })); | ||
_a.label = 4; | ||
@@ -1009,0 +1009,0 @@ case 4: return [2 /*return*/, signTransaction_1(transaction$$1, false, encodeMode, blockNumber)]; |
@@ -106,5 +106,5 @@ "use strict"; | ||
_web3.eth.Contract = harmony.contracts.createContract; | ||
_web3.utils = tslib_1.__assign({}, _web3.utils, harmony.utils, harmony.crypto); | ||
_web3.utils = tslib_1.__assign(tslib_1.__assign(tslib_1.__assign({}, _web3.utils), harmony.utils), harmony.crypto); | ||
} | ||
exports.createWeb3 = createWeb3; | ||
//# sourceMappingURL=util.js.map |
{ | ||
"name": "@harmony-js/core", | ||
"version": "0.1.27", | ||
"version": "0.1.28", | ||
"description": "harmony core package", | ||
@@ -19,12 +19,12 @@ "main": "dist/index.js", | ||
"author": "neeboo@firestack.one", | ||
"license": "ISC", | ||
"license": "MIT", | ||
"dependencies": { | ||
"@harmony-js/account": "0.1.27", | ||
"@harmony-js/contract": "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/contract": "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 not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
499316
-0.03%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
Updated
Updated
Updated
Updated
Updated