Socket
Socket
Sign inDemoInstall

web3-eth

Package Overview
Dependencies
Maintainers
4
Versions
460
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

web3-eth - npm Package Compare versions

Comparing version 4.9.1-dev.d6baee6.0 to 4.9.1-dev.dcd9d6a.0

14

lib/commonjs/utils/prepare_transaction_for_signing.js

@@ -38,15 +38,3 @@ "use strict";

var _a, _b;
return ({
nonce: transaction.nonce,
gasPrice: transaction.gasPrice,
gasLimit: (_a = transaction.gasLimit) !== null && _a !== void 0 ? _a : transaction.gas,
to: transaction.to,
value: transaction.value,
data: (_b = transaction.data) !== null && _b !== void 0 ? _b : transaction.input,
type: transaction.type,
chainId: transaction.chainId,
accessList: transaction.accessList,
maxPriorityFeePerGas: transaction.maxPriorityFeePerGas,
maxFeePerGas: transaction.maxFeePerGas,
});
return (Object.assign(Object.assign({}, transaction), { nonce: transaction.nonce, gasPrice: transaction.gasPrice, gasLimit: (_a = transaction.gasLimit) !== null && _a !== void 0 ? _a : transaction.gas, to: transaction.to, value: transaction.value, data: (_b = transaction.data) !== null && _b !== void 0 ? _b : transaction.input, type: transaction.type, chainId: transaction.chainId, accessList: transaction.accessList, maxPriorityFeePerGas: transaction.maxPriorityFeePerGas, maxFeePerGas: transaction.maxFeePerGas }));
};

@@ -53,0 +41,0 @@ const getEthereumjsTransactionOptions = (transaction, web3Context) => {

@@ -35,15 +35,3 @@ /*

var _a, _b;
return ({
nonce: transaction.nonce,
gasPrice: transaction.gasPrice,
gasLimit: (_a = transaction.gasLimit) !== null && _a !== void 0 ? _a : transaction.gas,
to: transaction.to,
value: transaction.value,
data: (_b = transaction.data) !== null && _b !== void 0 ? _b : transaction.input,
type: transaction.type,
chainId: transaction.chainId,
accessList: transaction.accessList,
maxPriorityFeePerGas: transaction.maxPriorityFeePerGas,
maxFeePerGas: transaction.maxFeePerGas,
});
return (Object.assign(Object.assign({}, transaction), { nonce: transaction.nonce, gasPrice: transaction.gasPrice, gasLimit: (_a = transaction.gasLimit) !== null && _a !== void 0 ? _a : transaction.gas, to: transaction.to, value: transaction.value, data: (_b = transaction.data) !== null && _b !== void 0 ? _b : transaction.input, type: transaction.type, chainId: transaction.chainId, accessList: transaction.accessList, maxPriorityFeePerGas: transaction.maxPriorityFeePerGas, maxFeePerGas: transaction.maxFeePerGas }));
};

@@ -50,0 +38,0 @@ const getEthereumjsTransactionOptions = (transaction, web3Context) => {

26

package.json
{
"name": "web3-eth",
"version": "4.9.1-dev.d6baee6.0+d6baee6",
"version": "4.9.1-dev.dcd9d6a.0+dcd9d6a",
"description": "Web3 module to interact with the Ethereum blockchain and smart contracts.",

@@ -62,18 +62,18 @@ "main": "./lib/commonjs/index.js",

"typescript": "^4.7.4",
"web3-providers-http": "4.2.1-dev.d6baee6.0+d6baee6"
"web3-providers-http": "4.2.1-dev.dcd9d6a.0+dcd9d6a"
},
"dependencies": {
"setimmediate": "^1.0.5",
"web3-core": "4.6.1-dev.d6baee6.0+d6baee6",
"web3-errors": "1.3.1-dev.d6baee6.0+d6baee6",
"web3-eth-abi": "4.2.5-dev.d6baee6.0+d6baee6",
"web3-eth-accounts": "4.2.2-dev.d6baee6.0+d6baee6",
"web3-net": "4.1.1-dev.d6baee6.0+d6baee6",
"web3-providers-ws": "4.0.9-dev.d6baee6.0+d6baee6",
"web3-rpc-methods": "1.3.1-dev.d6baee6.0+d6baee6",
"web3-types": "1.8.1-dev.d6baee6.0+d6baee6",
"web3-utils": "4.3.2-dev.d6baee6.0+d6baee6",
"web3-validator": "2.0.7-dev.d6baee6.0+d6baee6"
"web3-core": "4.6.1-dev.dcd9d6a.0+dcd9d6a",
"web3-errors": "1.3.1-dev.dcd9d6a.0+dcd9d6a",
"web3-eth-abi": "4.2.5-dev.dcd9d6a.0+dcd9d6a",
"web3-eth-accounts": "4.2.2-dev.dcd9d6a.0+dcd9d6a",
"web3-net": "4.1.1-dev.dcd9d6a.0+dcd9d6a",
"web3-providers-ws": "4.0.9-dev.dcd9d6a.0+dcd9d6a",
"web3-rpc-methods": "1.3.1-dev.dcd9d6a.0+dcd9d6a",
"web3-types": "1.8.1-dev.dcd9d6a.0+dcd9d6a",
"web3-utils": "4.3.2-dev.dcd9d6a.0+dcd9d6a",
"web3-validator": "2.0.7-dev.dcd9d6a.0+dcd9d6a"
},
"gitHead": "d6baee6ca3b729d06cb262211a572fbe2361bf68"
"gitHead": "dcd9d6a0803ad232003cb7e935057711c5b7e381"
}

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

) => ({
...transaction,
nonce: transaction.nonce,

@@ -42,0 +43,0 @@ gasPrice: transaction.gasPrice,

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