Socket
Socket
Sign inDemoInstall

web3-core

Package Overview
Dependencies
Maintainers
4
Versions
464
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

web3-core - npm Package Compare versions

Comparing version 4.6.1-dev.facc2e6.0 to 4.7.0

9

lib/commonjs/web3_config.d.ts

@@ -22,2 +22,3 @@ import { Numbers, HexString, BlockNumberOrTag, Common, DataFormat } from 'web3-types';

defaultHardfork: string;
ignoreGasPricing: boolean;
defaultCommon?: Common;

@@ -105,3 +106,3 @@ defaultTransactionType: Numbers;

* - `"finalized"` - String: (For POS networks) The finalized block is one which has been accepted as canonical by greater than 2/3 of validators
* - `"safe"` - String: (For POS networks) The safe head block is one which under normal network conditions, is expected to be included in the canonical chain. Under normal network conditions the safe head and the actual tip of the chain will be equivalent (with safe head trailing only by a few seconds). Safe heads will be less likely to be reorged than the proof of work network`s latest blocks.
* - `"safe"` - String: (For POS networks) The safe head block is one which under normal network conditions, is expected to be included in the canonical chain. Under normal network conditions the safe head and the actual tip of the chain will be equivalent (with safe head trailing only by a few seconds). Safe heads will be less likely to be reorged than the proof of work network's latest blocks.
*/

@@ -242,2 +243,8 @@ set defaultBlock(val: BlockNumberOrTag);

set defaultCommon(val: Common | undefined);
/**
* Will get the ignoreGasPricing property. When true, the gasPrice, maxPriorityFeePerGas, and maxFeePerGas will not be autofilled in the transaction object.
* Useful when you want wallets to handle gas pricing.
*/
get ignoreGasPricing(): boolean;
set ignoreGasPricing(val: boolean);
get defaultTransactionType(): Numbers;

@@ -244,0 +251,0 @@ set defaultTransactionType(val: Numbers);

@@ -60,2 +60,3 @@ "use strict";

defaultReturnFormat: web3_types_1.DEFAULT_RETURN_FORMAT,
ignoreGasPricing: false,
};

@@ -151,3 +152,3 @@ this.setConfig(options !== null && options !== void 0 ? options : {});

* - `"finalized"` - String: (For POS networks) The finalized block is one which has been accepted as canonical by greater than 2/3 of validators
* - `"safe"` - String: (For POS networks) The safe head block is one which under normal network conditions, is expected to be included in the canonical chain. Under normal network conditions the safe head and the actual tip of the chain will be equivalent (with safe head trailing only by a few seconds). Safe heads will be less likely to be reorged than the proof of work network`s latest blocks.
* - `"safe"` - String: (For POS networks) The safe head block is one which under normal network conditions, is expected to be included in the canonical chain. Under normal network conditions the safe head and the actual tip of the chain will be equivalent (with safe head trailing only by a few seconds). Safe heads will be less likely to be reorged than the proof of work network's latest blocks.
*/

@@ -382,2 +383,13 @@ set defaultBlock(val) {

}
/**
* Will get the ignoreGasPricing property. When true, the gasPrice, maxPriorityFeePerGas, and maxFeePerGas will not be autofilled in the transaction object.
* Useful when you want wallets to handle gas pricing.
*/
get ignoreGasPricing() {
return this.config.ignoreGasPricing;
}
set ignoreGasPricing(val) {
this._triggerConfigChange('ignoreGasPricing', val);
this.config.ignoreGasPricing = val;
}
get defaultTransactionType() {

@@ -384,0 +396,0 @@ return this.config.defaultTransactionType;

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

defaultReturnFormat: DEFAULT_RETURN_FORMAT,
ignoreGasPricing: false,
};

@@ -148,3 +149,3 @@ this.setConfig(options !== null && options !== void 0 ? options : {});

* - `"finalized"` - String: (For POS networks) The finalized block is one which has been accepted as canonical by greater than 2/3 of validators
* - `"safe"` - String: (For POS networks) The safe head block is one which under normal network conditions, is expected to be included in the canonical chain. Under normal network conditions the safe head and the actual tip of the chain will be equivalent (with safe head trailing only by a few seconds). Safe heads will be less likely to be reorged than the proof of work network`s latest blocks.
* - `"safe"` - String: (For POS networks) The safe head block is one which under normal network conditions, is expected to be included in the canonical chain. Under normal network conditions the safe head and the actual tip of the chain will be equivalent (with safe head trailing only by a few seconds). Safe heads will be less likely to be reorged than the proof of work network's latest blocks.
*/

@@ -379,2 +380,13 @@ set defaultBlock(val) {

}
/**
* Will get the ignoreGasPricing property. When true, the gasPrice, maxPriorityFeePerGas, and maxFeePerGas will not be autofilled in the transaction object.
* Useful when you want wallets to handle gas pricing.
*/
get ignoreGasPricing() {
return this.config.ignoreGasPricing;
}
set ignoreGasPricing(val) {
this._triggerConfigChange('ignoreGasPricing', val);
this.config.ignoreGasPricing = val;
}
get defaultTransactionType() {

@@ -381,0 +393,0 @@ return this.config.defaultTransactionType;

@@ -22,2 +22,3 @@ import { Numbers, HexString, BlockNumberOrTag, Common, DataFormat } from 'web3-types';

defaultHardfork: string;
ignoreGasPricing: boolean;
defaultCommon?: Common;

@@ -105,3 +106,3 @@ defaultTransactionType: Numbers;

* - `"finalized"` - String: (For POS networks) The finalized block is one which has been accepted as canonical by greater than 2/3 of validators
* - `"safe"` - String: (For POS networks) The safe head block is one which under normal network conditions, is expected to be included in the canonical chain. Under normal network conditions the safe head and the actual tip of the chain will be equivalent (with safe head trailing only by a few seconds). Safe heads will be less likely to be reorged than the proof of work network`s latest blocks.
* - `"safe"` - String: (For POS networks) The safe head block is one which under normal network conditions, is expected to be included in the canonical chain. Under normal network conditions the safe head and the actual tip of the chain will be equivalent (with safe head trailing only by a few seconds). Safe heads will be less likely to be reorged than the proof of work network's latest blocks.
*/

@@ -242,2 +243,8 @@ set defaultBlock(val: BlockNumberOrTag);

set defaultCommon(val: Common | undefined);
/**
* Will get the ignoreGasPricing property. When true, the gasPrice, maxPriorityFeePerGas, and maxFeePerGas will not be autofilled in the transaction object.
* Useful when you want wallets to handle gas pricing.
*/
get ignoreGasPricing(): boolean;
set ignoreGasPricing(val: boolean);
get defaultTransactionType(): Numbers;

@@ -244,0 +251,0 @@ set defaultTransactionType(val: Numbers);

22

package.json
{
"name": "web3-core",
"version": "4.6.1-dev.facc2e6.0+facc2e6",
"version": "4.7.0",
"description": "Web3 core tools for sub-packages. This is an internal package.",

@@ -45,13 +45,13 @@ "main": "./lib/commonjs/index.js",

"dependencies": {
"web3-errors": "1.3.1-dev.facc2e6.0+facc2e6",
"web3-eth-accounts": "4.2.2-dev.facc2e6.0+facc2e6",
"web3-eth-iban": "4.0.8-dev.facc2e6.0+facc2e6",
"web3-providers-http": "4.2.1-dev.facc2e6.0+facc2e6",
"web3-providers-ws": "4.0.9-dev.facc2e6.0+facc2e6",
"web3-types": "1.8.1-dev.facc2e6.0+facc2e6",
"web3-utils": "4.3.2-dev.facc2e6.0+facc2e6",
"web3-validator": "2.0.7-dev.facc2e6.0+facc2e6"
"web3-errors": "^1.3.0",
"web3-eth-accounts": "^4.2.1",
"web3-eth-iban": "^4.0.7",
"web3-providers-http": "^4.2.0",
"web3-providers-ws": "^4.0.8",
"web3-types": "^1.8.1",
"web3-utils": "^4.3.2",
"web3-validator": "^2.0.6"
},
"optionalDependencies": {
"web3-providers-ipc": "4.0.8-dev.facc2e6.0+facc2e6"
"web3-providers-ipc": "^4.0.7"
},

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

},
"gitHead": "facc2e60fe763df34e35af4487ad3fec27b1e3fa"
"gitHead": "068f4b639d95c5dcdca9c0111349ea92792b31e7"
}

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

defaultHardfork: string;
ignoreGasPricing: boolean;

@@ -108,2 +109,3 @@ defaultCommon?: Common;

defaultReturnFormat: DEFAULT_RETURN_FORMAT,
ignoreGasPricing: false,
};

@@ -213,3 +215,3 @@

* - `"finalized"` - String: (For POS networks) The finalized block is one which has been accepted as canonical by greater than 2/3 of validators
* - `"safe"` - String: (For POS networks) The safe head block is one which under normal network conditions, is expected to be included in the canonical chain. Under normal network conditions the safe head and the actual tip of the chain will be equivalent (with safe head trailing only by a few seconds). Safe heads will be less likely to be reorged than the proof of work network`s latest blocks.
* - `"safe"` - String: (For POS networks) The safe head block is one which under normal network conditions, is expected to be included in the canonical chain. Under normal network conditions the safe head and the actual tip of the chain will be equivalent (with safe head trailing only by a few seconds). Safe heads will be less likely to be reorged than the proof of work network's latest blocks.
*/

@@ -491,2 +493,13 @@ public set defaultBlock(val) {

/**
* Will get the ignoreGasPricing property. When true, the gasPrice, maxPriorityFeePerGas, and maxFeePerGas will not be autofilled in the transaction object.
* Useful when you want wallets to handle gas pricing.
*/
public get ignoreGasPricing() {
return this.config.ignoreGasPricing;
}
public set ignoreGasPricing(val) {
this._triggerConfigChange('ignoreGasPricing', val);
this.config.ignoreGasPricing = val;
}
public get defaultTransactionType() {

@@ -493,0 +506,0 @@ return this.config.defaultTransactionType;

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

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