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

web3-core-method

Package Overview
Dependencies
Maintainers
5
Versions
137
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

web3-core-method - npm Package Compare versions

Comparing version 1.6.1-rc.2 to 1.6.1-rc.3

5

lib/index.js

@@ -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();

12

package.json
{
"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();

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