Socket
Socket
Sign inDemoInstall

web3-core-method

Package Overview
Dependencies
66
Maintainers
4
Versions
137
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.7.0-rc.0 to 1.7.0

3

lib/index.js

@@ -50,2 +50,3 @@ /*

this.transactionPollingTimeout = options.transactionPollingTimeout || 750;
this.transactionPollingInterval = options.transactionPollingInterval || 1000;
this.blockHeaderTimeout = options.blockHeaderTimeout || 10; // 10 seconds

@@ -444,3 +445,3 @@ this.defaultCommon = options.defaultCommon;

const startInterval = () => {
intervalId = setInterval(checkConfirmation.bind(null, existingReceipt, true), 1000);
intervalId = setInterval(checkConfirmation.bind(null, existingReceipt, true), method.transactionPollingInterval);
};

@@ -447,0 +448,0 @@ // If provider do not support event subscription use polling

{
"name": "web3-core-method",
"version": "1.7.0-rc.0",
"version": "1.7.0",
"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.7.0-rc.0",
"web3-core-promievent": "1.7.0-rc.0",
"web3-core-subscriptions": "1.7.0-rc.0",
"web3-utils": "1.7.0-rc.0"
"web3-core-helpers": "1.7.0",
"web3-core-promievent": "1.7.0",
"web3-core-subscriptions": "1.7.0",
"web3-utils": "1.7.0"
},

@@ -28,3 +28,3 @@ "devDependencies": {

},
"gitHead": "bbb9cdf178a769565329ccabafb9ea1937a899c0"
"gitHead": "cd4b4d13e7e1d973ceee29c118798d4931860a2b"
}

@@ -59,2 +59,3 @@ /*

this.transactionPollingTimeout = options.transactionPollingTimeout || 750;
this.transactionPollingInterval = options.transactionPollingInterval || 1000;
this.blockHeaderTimeout = options.blockHeaderTimeout || 10; // 10 seconds

@@ -557,3 +558,3 @@ this.defaultCommon = options.defaultCommon;

const startInterval = () => {
intervalId = setInterval(checkConfirmation.bind(null, existingReceipt, true), 1000);
intervalId = setInterval(checkConfirmation.bind(null, existingReceipt, true), method.transactionPollingInterval);
};

@@ -560,0 +561,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc