Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^1.3.0
->^4.0.0
Release Notes
ChainSafe/web3.js (web3)
v4.1.1
Compare Source
Added
web3
web3-core
web3-eth-contract
Fixed
web3-eth
formatSubscriptionResult
in classNewHeadsSubscription
(#6368)web3-core
send
method on request manager (#6300).web3-errors
web3-eth-contract
contract.events.allEvents
web3-validator
Changed
web3-eth-abi
web3-eth-accounts
web3-eth-ens
web3-eth-iban
web3-eth-personal
web3-net
web3-providers-http
web3-providers-ipc
web3-providers-ws
web3-rpc-methods
web3-types
web3-utils
v4.1.0
Compare Source
Added
web3
web3-core
web3-errors
RpcErrorMessages
that contains mapping for standard RPC Errors and their messages. (#6230)TransactionGasMismatchInnerError
for clarity on the error inTransactionGasMismatchError
(#6215)MissingGasInnerError
for clarity on the error inMissingGasError
(#6215)web3-eth
rpc_method_wrapper
(signTypedData
) for the rpc callseth_signTypedData
andeth_signTypedData_v4
(#6286)signTypedData
method to theWeb3Eth
class (#6286)web3-eth-abi
getEncodedEip712Data
method that takes an EIP-712 typed data object and returns the encoded data with the option to also keccak256 hash it (#6286)web3-rpc-methods
signTypedData
method toeth_rpc_methods
for the rpc callseth_signTypedData
andeth_signTypedData_v4
(#6286)web3-types
eth_signTypedData
andeth_signTypedData_v4
toweb3_eth_execution_api
(#6286)Eip712TypeDetails
andEip712TypedData
toeth_types
(#6286)web3-validator
json-schema
as a main json schema type (#6264)Fixed
web3-core
web3-errors
web3-eth
estimateGas
unless transaction builderoptions.fillGas
is false. (#6249)blockHeaderSchema
properties causing some properties to not appear in response ofnewHeads
subscription (#6243)blockHeaderSchema
properties causing some properties to not appear in response ofnewHeads
subscription (#6243)web3-providers-ws
Changed
web3-core
CommonSubscriptionEvents &
at every child class ofWeb3Subscription
(#6262)_processSubscriptionResult
and_processSubscriptionError
has been written in the base classWeb3Subscription
and maidpublic
. (#6262)formatSubscriptionResult
could be used to customize data formatting instead of re-implementing_processSubscriptionResult
. (#6262)CommonSubscriptionEvents &
for the first generic parameter ofWeb3Subscription
when inheriting from it. (#6262)web3-eth
MissingGasError
error message changed for clarity (#6215)input
anddata
are no longer auto populated for transaction objects if they are not present. Instead, whichever property is provided by the user is formatted and sent to the RPC provider. Transaction objects returned from RPC responses are still formatted to contain bothinput
anddata
properties (#6294)web3-eth-accounts
web3-eth-contract
web3-eth-ens
web3-eth-iban
web3-eth-personal
web3-net
web3-providers-http
web3-providers-ipc
web3-types
input
anddata
are now optional properties onPopulatedUnsignedBaseTransaction
(previouslyinput
was a required property, anddata
was not available) (#6294)web3-utils
web3-validator
is-my-json-valid
withzod
dependency. Related code was changed (#6264)ValidationError
andJsonSchema
were changed (#6264)Removed
web3-eth
blockHeaderSchema
properties causing some properties to not appear in response ofnewHeads
subscription (#6243)RawValidationError
was removed (#6264)web3-validator
RawValidationError
was removed (#6264)v4.0.3
Compare Source
Fixed
web3
web3-rpc-methods
getPastLogs
accept blockHash as a parameter https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getlogs (#6181)web3-types
Filter
includesblockHash
(#6206)web3-utils
numberToHex
(#6206)Changed
web3-core
web3-errors
web3-eth
web3-eth-abi
web3-eth-accounts
web3-eth-contract
web3-eth-ens
web3-eth-iban
web3-eth-personal
web3-net
web3-providers-http
web3-providers-ipc
web3-providers-ws
web3-validator
v4.0.2
Compare Source
Fixed
web3
web3-core
web3-eth-abi
web3-eth-accounts
r
ands
returned bysignTransaction
to does not always consist of 64 characters #6207" (#6216)web3-eth-contract
web3-eth-ens
web3-providers-ws
web3-types
Added
web3
Web3Context
,Web3PluginBase
,Web3EthPluginBase
from'web3-core'
, andWeb3Validator
from'web3-validator'
(#6165)web3-core
web3-types
SimpleProvider
interface which has onlyrequest(args)
method that is compatible with EIP-1193 (#6210)Eip1193EventName
type that contains the possible events names according to EIP-1193 (#6210)Changed
web3-core
web3-errors
web3-eth
web3-eth-iban
web3-eth-personal
web3-net
web3-providers-http
web3-providers-ipc
web3-rpc-methods
web3-types
EIP1193Provider
class has now all the events (foron
andremoveListener
) according to EIP-1193 (#6210)web3-utils
web3-validator
v4.0.1
Compare Source
Fixed
v1.10.1
Compare Source
Fixed
int
s (#6239)submitWork
parameters, accepts 3 parameters instead of an array (#5200)Changed
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.