web3-core
Advanced tools
Comparing version 4.6.1-dev.facc2e6.0 to 4.7.0
@@ -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); |
{ | ||
"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
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
486151
8580
1
0
+ Added@ethereumjs/rlp@4.0.1(transitive)
+ Added@noble/curves@1.4.2(transitive)
+ Added@noble/hashes@1.4.0(transitive)
+ Added@scure/base@1.1.9(transitive)
+ Added@scure/bip32@1.4.0(transitive)
+ Added@scure/bip39@1.3.0(transitive)
+ Added@types/node@22.7.7(transitive)
+ Added@types/ws@8.5.3(transitive)
+ Addedavailable-typed-arrays@1.0.7(transitive)
+ Addedcall-bind@1.0.7(transitive)
+ Addedcrc-32@1.2.2(transitive)
+ Addedcross-fetch@4.0.0(transitive)
+ Addeddefine-data-property@1.1.4(transitive)
+ Addedes-define-property@1.0.0(transitive)
+ Addedes-errors@1.3.0(transitive)
+ Addedethereum-cryptography@2.2.1(transitive)
+ Addedeventemitter3@5.0.1(transitive)
+ Addedfor-each@0.3.3(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedget-intrinsic@1.2.4(transitive)
+ Addedgopd@1.0.1(transitive)
+ Addedhas-property-descriptors@1.0.2(transitive)
+ Addedhas-proto@1.0.3(transitive)
+ Addedhas-symbols@1.0.3(transitive)
+ Addedhas-tostringtag@1.0.2(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedis-arguments@1.1.1(transitive)
+ Addedis-callable@1.2.7(transitive)
+ Addedis-generator-function@1.0.10(transitive)
+ Addedis-typed-array@1.1.13(transitive)
+ Addedisomorphic-ws@5.0.0(transitive)
+ Addednode-fetch@2.7.0(transitive)
+ Addedpossible-typed-array-names@1.0.0(transitive)
+ Addedset-function-length@1.2.2(transitive)
+ Addedtr46@0.0.3(transitive)
+ Addedundici-types@6.19.8(transitive)
+ Addedutil@0.12.5(transitive)
+ Addedweb3-errors@1.3.0(transitive)
+ Addedweb3-eth-accounts@4.2.1(transitive)
+ Addedweb3-eth-iban@4.0.7(transitive)
+ Addedweb3-providers-http@4.2.0(transitive)
+ Addedweb3-providers-ipc@4.0.7(transitive)
+ Addedweb3-providers-ws@4.0.8(transitive)
+ Addedweb3-types@1.8.1(transitive)
+ Addedweb3-utils@4.3.2(transitive)
+ Addedweb3-validator@2.0.6(transitive)
+ Addedwebidl-conversions@3.0.1(transitive)
+ Addedwhatwg-url@5.0.0(transitive)
+ Addedwhich-typed-array@1.1.15(transitive)
+ Addedws@8.18.0(transitive)
+ Addedzod@3.23.8(transitive)
Updatedweb3-errors@^1.3.0
Updatedweb3-eth-accounts@^4.2.1
Updatedweb3-eth-iban@^4.0.7
Updatedweb3-providers-http@^4.2.0
Updatedweb3-providers-ws@^4.0.8
Updatedweb3-types@^1.8.1
Updatedweb3-utils@^4.3.2
Updatedweb3-validator@^2.0.6