web3-core-method
Advanced tools
Comparing version 1.6.1-rc.2 to 1.6.1-rc.3
@@ -173,3 +173,3 @@ /* | ||
Method.prototype._confirmTransaction = function (defer, result, payload) { | ||
var method = this, promiseResolved = false, canUnsubscribe = true, timeoutCount = 0, confirmationCount = 0, intervalId = null, lastBlock = null, receiptJSON = '', gasProvided = ((!!payload.params[0] && typeof payload.params[0] === 'object') && payload.params[0].gas) ? payload.params[0].gas : null, isContractDeployment = (!!payload.params[0] && typeof payload.params[0] === 'object') && | ||
var method = this, promiseResolved = false, canUnsubscribe = true, timeoutCount = 0, confirmationCount = 0, intervalId = null, blockHeaderTimeoutId = null, lastBlock = null, receiptJSON = '', gasProvided = ((!!payload.params[0] && typeof payload.params[0] === 'object') && payload.params[0].gas) ? payload.params[0].gas : null, isContractDeployment = (!!payload.params[0] && typeof payload.params[0] === 'object') && | ||
payload.params[0].data && | ||
@@ -235,2 +235,3 @@ payload.params[0].from && | ||
clearInterval(intervalId); | ||
clearTimeout(blockHeaderTimeoutId); | ||
} | ||
@@ -460,3 +461,3 @@ }; | ||
// Fallback to polling if tx receipt didn't arrived in "blockHeaderTimeout" [10 seconds] | ||
setTimeout(() => { | ||
blockHeaderTimeoutId = setTimeout(() => { | ||
if (!blockHeaderArrived) { | ||
@@ -463,0 +464,0 @@ startInterval(); |
{ | ||
"name": "web3-core-method", | ||
"version": "1.6.1-rc.2", | ||
"version": "1.6.1-rc.3", | ||
"description": "Creates the methods on the web3 modules. This is an internal package.", | ||
@@ -18,6 +18,6 @@ "repository": "https://github.com/ethereum/web3.js/tree/1.x/packages/web3-core-method", | ||
"@ethersproject/transactions": "^5.0.0-beta.135", | ||
"web3-core-helpers": "1.6.1-rc.2", | ||
"web3-core-promievent": "1.6.1-rc.2", | ||
"web3-core-subscriptions": "1.6.1-rc.2", | ||
"web3-utils": "1.6.1-rc.2" | ||
"web3-core-helpers": "1.6.1-rc.3", | ||
"web3-core-promievent": "1.6.1-rc.3", | ||
"web3-core-subscriptions": "1.6.1-rc.3", | ||
"web3-utils": "1.6.1-rc.3" | ||
}, | ||
@@ -28,3 +28,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "144fbe487e3d1b18b6a479c467ce72210dc58d0b" | ||
"gitHead": "edb812dcdd5a0cbb1f1e57d0834e689b5088db0e" | ||
} |
@@ -208,2 +208,3 @@ /* | ||
intervalId = null, | ||
blockHeaderTimeoutId = null, | ||
lastBlock = null, | ||
@@ -277,2 +278,3 @@ receiptJSON = '', | ||
clearInterval(intervalId); | ||
clearTimeout(blockHeaderTimeoutId); | ||
} | ||
@@ -577,3 +579,3 @@ }; | ||
// Fallback to polling if tx receipt didn't arrived in "blockHeaderTimeout" [10 seconds] | ||
setTimeout(() => { | ||
blockHeaderTimeoutId = setTimeout(() => { | ||
if(!blockHeaderArrived) { | ||
@@ -580,0 +582,0 @@ startInterval(); |
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
76982
1681
+ Addedweb3-core-helpers@1.6.1-rc.3(transitive)
+ Addedweb3-core-promievent@1.6.1-rc.3(transitive)
+ Addedweb3-core-subscriptions@1.6.1-rc.3(transitive)
+ Addedweb3-eth-iban@1.6.1-rc.3(transitive)
+ Addedweb3-utils@1.6.1-rc.3(transitive)
- Removedweb3-core-helpers@1.6.1-rc.2(transitive)
- Removedweb3-core-promievent@1.6.1-rc.2(transitive)
- Removedweb3-core-subscriptions@1.6.1-rc.2(transitive)
- Removedweb3-eth-iban@1.6.1-rc.2(transitive)
- Removedweb3-utils@1.6.1-rc.2(transitive)
Updatedweb3-core-helpers@1.6.1-rc.3
Updatedweb3-utils@1.6.1-rc.3