stakes.social
stakes.social copied to clipboard
chore(deps): update dependency web3 to v4
This PR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
web3 | 1.10.4 -> 4.14.0 |
Release Notes
ChainSafe/web3.js (web3)
v4.14.0
Added
web3-core
- Added new property
ignoreGasPricing
toWeb3ConfigOptions
. IfignoreGasPricing
is true, gasPrice will not be estimated (#β7320)
web3-eth
-
syncing
subscription now supports Besu and Nethermind payload format -
populateGasPrice
function now checksWeb3Context.config.ignoreGasPricing
. IfignoreGasPricing
is true, gasPrice will not be estimated (#β7320)
Changed
web3
- Exported EIP-6963 types are no longer under the
providers
namespace. (#β7270)
web3-eth
- Allow
getEthereumjsTxDataFrom
to return additional fields that may be passed if using acustomTransactionSchema
.
web3-types
- update the type for
baseFeePerGas
atweb3.eth.getFeeHistory
to be a number. (#β7291)
Fixed
web3-eth-abi
-
decodeLog
,decodeParametersWith
,decodeParameters
anddecodeParameters
now accepts first immutable param as well (#β7288)
web3-utils
- fix
padRight
validation failure on largeuint
(#β7265)
v4.13.0
Added
web3-core
- Adds a new property (
customTransactionSchema
) toWeb3ConfigOptions
(#β7227)
web3-eth
- Adds the same
{transactionSchema?: ValidationSchemaInput}
that exists informatTransaction
tovalidateTransactionForSigning
web3-types
- Add COMMITTED to BlockTags (#β7124)
Changed
web3-eth
- Forwards the new
web3Context.config.customTransactionSchema
toformatTransaction
web3-eth-personal
- Forwards the new
web3Context.config.customTransactionSchema
toformatTransaction
web3
-
Web3.providers
namespace exportstype EIP6963ProviderResponse = Map<string, EIP6963ProviderDetail>
. Return type for the staticWeb3.requestEIP6963Providers
function is nowPromise<EIP6963ProviderResponse>
. (#β7239) - The callback function provided to the static
Web3.onNewProviderDiscovered
function expects a parameter of typeEIP6963ProvidersMapUpdateEvent
as opposed toEIP6963AnnounceProviderEvent
. (#β7242)
v4.12.1
Fixed
web3-eth-accounts
- Revert
TransactionFactory.registerTransactionType
if there is a version mistatch betweenweb3-eth
andweb3-eth-accounts
and fix nextjs problem. (#β7216)
v4.12.0
Fixed
web3-core
-
setConfig()
fix forsetMaxListenerWarningThreshold
fix (#β5079)
web3-eth-accounts
- Fix
TransactionFactory.registerTransactionType
not working, if there is a version mistatch betweenweb3-eth
andweb3-eth-accounts
by savingextraTxTypes
atglobals
. (#β7197)
Added
web3-eth-accounts
- Added public function
signMessageWithPrivateKey
(#β7174)
web3-eth-contract
- Added
populateTransaction
to thecontract.deploy(...)
properties. (#β7197)
web3-providers-http
- Added
statusCode
of response in ResponseError,statusCode
is optional property in ResponseError.
web3-rpc-providers
- Updated rate limit error of QuickNode provider for HTTP transport
- Added optional
HttpProviderOptions | SocketOptions
inWeb3ExternalProvider
andQuickNodeProvider
for provider configs
web3-errors
- Added optional
statusCode
property of response in ResponseError.
Changed
web3-eth-contract
- The returnred properties of
contract.deploy(...)
are structured with a newly created class namedDeployerMethodClass
. (#β7197) - Add a missed accepted type for the
abi
parameter, atdataInputEncodeMethodHelper
andgetSendTxParams
. (#β7197)
v4.11.1
Fixed
web3-errors
- Fixed the undefined data in
Eip838ExecutionError
constructor (#β6905)
web3-eth
- Adds transaction property to be an empty list rather than undefined when no transactions are included in the block (#β7151)
- Change method
getTransactionReceipt
to not be casted asTransactionReceipt
to give proper return type (#β7159)
web3
- Remove redundant constructor of contractBuilder (#β7150)
v4.11.0
Fixed
web3-eth-abi
- fix encodedata in EIP-712 (#β7095)
web3-utils
-
_sendPendingRequests
will catch unhandled errors from_sendToSocket
(#β6968)
web3-eth
- Fixed geth issue when running a new instance, transactions will index when there are no blocks created (#β7098)
Changed
web3-eth-accounts
- baseTransaction method updated (#β7095)
web3-providers-ws
- Update dependancies (#β7109)
web3-plugin-example
- Dependencies updated
web3-rpc-providers
- Change request return type
Promise<ResultType>
toPromise<JsonRpcResponseWithResult<ResultType>>
(#β7102)
Added
web3-eth-contract
-
populateTransaction
was added to contract methods (#β7124) - Contract has
setTransactionMiddleware
andgetTransactionMiddleware
for automatically passing tosentTransaction
fordeploy
andsend
functions (#β7138)
web3-rpc-providers
- When error is returned with code 429, throw rate limit error (#β7102)
web3
-
web3.eth.Contract
will get transaction middleware and use it, ifweb3.eth
has transaction middleware. (#β7138)
v4.10.0
Added
web3
- Now when existing packages are added in web3, will be avalible for plugins via context. (#β7088)
web3-core
- Now when existing packages are added in web3, will be avalible for plugins via context. (#β7088)
web3-eth
-
sendTransaction
inrpc_method_wrappers
accepts optional param ofTransactionMiddleware
(#β7088) - WebEth has
setTransactionMiddleware
andgetTransactionMiddleware
for automatically passing tosentTransaction
(#β7088)
web3-eth-ens
-
getText
now supports first param Address -
getName
has optional second param checkInterfaceSupport
web3-types
- Added
result
as optionalnever
anderror
as optionalnever in type
JsonRpcNotification` (#β7091) - Added
JsonRpcNotfication
as a union type inJsonRpcResponse
(#β7091)
web3-rpc-providers
- RC release
Fixed
web3-eth-ens
-
getName
reverse resolution
v4.9.0
Added
web3
- Updated type
Web3EthInterface.accounts
to includesprivateKeyToAccount
,privateKeyToAddress
,andprivateKeyToPublicKey
(#β6762)
web3-core
-
defaultReturnFormat
was added to the configuration options. (#β6947)
web3-errors
- Added
InvalidIntegerError
error for fromWei and toWei (#β7052)
web3-eth
-
defaultReturnFormat
was added to all methods that haveReturnType
param. (#β6947) -
getTransactionFromOrToAttr
,waitForTransactionReceipt
,trySendTransaction
,SendTxHelper
was exported (#β7000)
web3-eth-contract
-
defaultReturnFormat
was added to all methods that haveReturnType
param. (#β6947)
web3-eth-ens
-
defaultReturnFormat
was added to all methods that haveReturnType
param. (#β6947)
web3-net
-
defaultReturnFormat
was added to all methods that haveReturnType
param. (#β6947)
web3-types
- Added
signature
to typeAbiFunctionFragment
(#β6922) - update type
Withdrawals
,block
andBlockHeaderOutput
to include properties of eip 4844, 4895, 4788 (#β6933)
web3-utils
-
toWei
add warning when using large numbers or large decimals that may cause precision loss (#β6908) -
toWei
andfromWei
now supports integers as a unit. (#β7053)
Fixed
web3-eth
- Fixed issue with simple transactions, Within
checkRevertBeforeSending
if there is no data set in transaction, set gas to be21000
(#β7043)
web3-utils
-
toWei
support numbers in scientific notation (#β6908) -
toWei
andfromWei
trims according to ether unit successfuly (#β7044)
web3-validator
- The JSON schema conversion process now correctly assigns an id when the
abi.name
is not available, for example, in the case of public mappings. (#β6981) -
browser
entry point that was pointing to an non-existing bundle file was removed frompackage.json
(#β7015)
web3-core
- Set a try catch block if processesingError fails (#β7022)
Changed
web3-core
- Interface
RequestManagerMiddleware
was changed (#β7003)
web3-eth
- Added parameter
customTransactionReceiptSchema
into methodsemitConfirmation
,waitForTransactionReceipt
,watchTransactionByPolling
,watchTransactionBySubscription
,watchTransactionForConfirmations
(#β7000) - Changed functionality: For networks that returns
baseFeePerGas===0x0
fillmaxPriorityFeePerGas
andmaxFeePerGas
bygetGasPrice
method (#β7050)
web3-eth-abi
- Dependencies updated
web3-rpc-methods
- Change
estimateGas
method to add possibility pass Transaction type (#β7000)
v4.8.0
Changed
web3-eth-abi
- Dependencies updated
web3-eth-accounts
- Dependencies updated
Fixed
web3-eth-contract
- Fix an issue with smart contract function overloading (#β6922)
web3-utils
- fixed toHex incorrectly hexing Uint8Arrays and Buffer (#β6957)
- fixed isUint8Array not returning true for Buffer (#β6957)
Added
web3-eth-contract
- Added a console warning in case of an ambiguous call to a solidity method with parameter overloading (#β6942)
- Added contract.deploy(...).decodeData(...) and contract.decodeMethodData(...) that decode data based on the ABI (#β6950)
web3-eth
- method
getBlock
now includes properties of eip 4844, 4895, 4788 when returning block (#β6933) - update type
withdrawalsSchema
,blockSchema
andblockHeaderSchema
schemas to include properties of eip 4844, 4895, 4788 (#β6933)
web3-types
- Added
signature
to typeAbiFunctionFragment
(#β6922) - update type
Withdrawals
,block
andBlockHeaderOutput
to include properties of eip 4844, 4895, 4788 (#β6933)
v4.7.0
added
web3-eth-contract
- Types
ContractDeploySend
,ContractMethodSend
,Web3PromiEvent
was exported (#β6883)
web3-eth-ens
- Added function getText and getName in ENS and resolver classes (#β6914)
fixed
web3-validator
- Multi-dimensional arrays(with a fix length) are now handled properly when parsing ABIs (#β6798)
web3-utils
- fixed erroneous parsing of big numbers in the
toNumber(...)
function (#β6880)
v4.6.0
Added
web3
- Added EIP-6963 utility function
requestEIP6963Providers
for multi provider discovery
web3-eth
- Added
eth.getMaxPriorityFeePerGas
method (#β6748)
web3-eth-ens
- Added function
setAddress
in ENS and Resolver classes (#β5956)
web3-rpc-methods
- Added
getMaxPriorityFeePerGas
method (#β6748)
web3-types
- Type
FeeData
to be filled byawait web3.eth.calculateFeeData()
to be used with EIP-1559 transactions (#β6795)
Fixed
web3-utils
- replaced our eventEmitter to EventEmitter3 to support react native builds (#β6253)
v4.5.0
Added
web3-utils
- Adds missing exported type
AbiItem
from 1.x to v4 for compatabiltiy (#β6678)
web3-types
- Adds missing exported type
AbiItem
from 1.x to v4 for compatabiltiy (#β6678)
Changed
web3
- Dependencies updated
v4.4.0
Added
web3-eth
- Catch
TransactionPollingTimeoutError
was added to send transaction events (#β6623)
Changed
web3-eth-abi
- Use
AbiError
instead ofError
for errors at web3-eth-abi (#β6641).
web3-eth-contract
- Allow the
deploy
function to accept parameters, even when no ABI was provided to theContract
(#β6635)
web3
- Dependencies updated
Fixed
web3-eth-abi
- Fixed an issue with detecting Uint8Array (#β6486)
web3-eth-accounts
- Send Transaction config used to be ignored if the passed
common
did not have acopy()
and thechainId
was not provided (#β6663) - Fixed an issue with detecting Uint8Array (#β6486)
web3-eth-contract
- Fix and error that happen when trying to get past events by calling
contract.getPastEvents
orcontract.events.allEvents()
, if there is no matching events. (#β6647) - Fixed: The Contract is not using the context wallet passed if context was passed at constructor. (#β6661)
web3-utils
- Fixed an issue with detecting Uint8Array (#β6486)
web3-validator
- Fixed an issue with detecting Uint8Array (#β6486)
v4.3.0
Changed
web3-core
- Web3config
contractDataInputFill
has been defaulted todata
, instead ofinput
. (#β6622)
web3-eth-contracts
- By default, contracts will fill
data
instead ofinput
within method calls (#β6622)
Added
web3-utils
-
SocketProvider
now contains public functiongetPendingRequestQueueSize
,getSentRequestsQueueSize
andclearQueues
(#β6479) - Added
safeDisconnect
as aSocketProvider
method to disconnect only when request queue size and send request queue size is 0 (#β6479) - Add
isContractInitOptions
method (#β6555)
web3
- Added methods (privateKeyToAddress, parseAndValidatePrivateKey, and privateKeyToPublicKey) to web3.eth.accounts (#β6620)
Fixed
web3-rpc-methods
web3-utils
- Fix unnecessary array copy when pack encoding (#β6553)
v4.2.2
Added
web3-core
- Added
isMetaMaskProvider
function to check if provider is metamask (#β6534)
web3-types
- Interface
MetaMaskProvider
added and is part ofSupportedProviders
(#β6534) -
gasPrice
was added toTransaction1559UnsignedAPI
type. (#β6539)
Changed
web3
- Dependencies updated
Fixed
web3-errors
- Fixed grammar and spelling in
transactionTimeoutHint
(#β6559)
web3-eth-contract
- Will populate
data
for transactions in contract for metamask provider instead ofinput
(#β6534)
v4.2.1
Fixed
web3-eth-abi
- Bug fix of
ERR_UNSUPPORTED_DIR_IMPORT
in ABI (#β6535)
Changed
web3-eth-contract
- Dependencies updated
web3-eth
- Dependencies updated
web3-eth-ens
- Dependencies updated
web3-eth-personal
- Dependencies updated
v4.2.0
Added
web3
- Various web3 sub packages has new functions details are in root changelog
web3-eth
- Added
ALL_EVENTS
andALL_EVENTS_ABI
constants,SendTransactionEventsBase
type,decodeEventABI
method (#β6410)
web3-eth-accounts
- Added public function
privateKeyToPublicKey
- Added exporting
BaseTransaction
from the package (#β6493) - Added exporting
txUtils
from the package (#β6493)
web3-types
- Interface
EventLog
was added. (#β6410)
web3-utils
- As a replacment of the node EventEmitter, a custom
EventEmitter
has been implemented and exported. (#β6398)
Fixed
web3-core
- Fix the issue: "Uncaught TypeError: Class extends value undefined is not a constructor or null #β6371". (#β6398)
web3-errors
- Added new SchemaFormatError (#β6434)
web3-eth
- Ensure provider.supportsSubscriptions exists before watching by subscription (#β6440)
- Fixed param sent to
checkRevertBeforeSending
insendSignedTransaction
- Fixed
defaultTransactionBuilder
for value issue (#β6509)
web3-eth-abi
- Fix issue with default config with babel (and React): "TypeError: Cannot convert a BigInt value to a number #β6187" (#β6506)
web3-eth-accounts
- Fixed
recover
function,v
will be normalized to value 0,1 (#β6344)
web3-providers-http
- Fix issue lquixada/cross-fetch#78, enabling to run web3.js in service worker (#β6463)
web3-providers-ipc
- Fixed bug in chunks processing logic (#β6496)
web3-providers-ws
- Fixed bug in chunks processing logic (#β6496)
web3-utils
- Fix issue with default config with babel (and React): "TypeError: Cannot convert a BigInt value to a number #β6187" (#β6506)
- Fixed bug in chunks processing logic (#β6496)
web3-validator
- Multi-dimensional arrays are now handled properly when parsing ABIs (#β6435)
- Fix issue with default config with babel (and React): "TypeError: Cannot convert a BigInt value to a number #β6187" (#β6506)
- Validator will now properly handle all valid numeric type sizes: intN / uintN where 8 <= N <= 256 and N % 8 == 0 (#β6434)
- Will now throw SchemaFormatError when unsupported format is passed to
convertToZod
method (#β6434)
Changed
web3
- Dependencies updated
web3-core
- defaultTransactionType is now type 0x2 instead of 0x0 (#β6282)
- Allows formatter to parse large base fee (#β6456)
- The package now uses
EventEmitter
fromweb3-utils
that works in node envrioment as well as in the browser. (#β6398)
web3-eth
- Transactions will now default to type 2 transactions instead of type 0, similar to 1.x version. (#β6282)
web3-eth-contract
- The
events
property was added to thereceipt
object (#β6410)
web3-eth-ens
- Dependencies updated
web3-eth-iban
- Dependencies updated
web3-eth-personal
- Dependencies updated
web3-net
- Dependencies updated
web3-providers-http
- Bump cross-fetch to version 4 (#β6463).
web3-rpc-methods
- Dependencies updated
v4.1.2
Fixed
web3
- Fix of incorrect provider warning behavior
web3-eth-accounts
- Fixed "The
r
ands
returned bysign
to does not always consist of 64 characters" (#β6411)
web3-eth-contract
web3-utils
-
soliditySha3()
with BigInt support
Added
web3-core
- Added to
Web3Config
propertycontractDataInputFill
allowing users to have the choice using propertydata
,input
orboth
for contract methods to be sent to the RPC provider when creating contracts. (#β6377) (#β6400)
web3-eth
- Added to
Web3Config
propertycontractDataInputFill
allowing users to have the choice using propertydata
,input
orboth
for contract methods to be sent to the RPC provider when creating contracts. (#β6377) (#β6400) - Added
ALL_EVENTS
andALL_EVENTS_ABI
constants,SendTransactionEventsBase
type,decodeEventABI
method (#β6410)
web3-eth-contract
- Added
dataInputFill
as a ContractInitOption, allowing users to have the choice using propertydata
,input
orboth
for contract methods to be sent to the RPC provider. (#β6355) - Added to
Web3Config
propertycontractDataInputFill
allowing users to have the choice using propertydata
,input
orboth
for contract methods to be sent to the RPC provider when creating contracts. (#β6377)
web3-types
- add
asEIP1193Provider
toWeb3BaseProvider
so every inherited class can have the returned value ofrequest
method, fully compatible with EIP-1193. (#β6407)
Changed
web3-core
- Dependencies updated
web3-errors
- Dependencies updated
web3-eth-abi
- Dependencies updated
web3-eth-ens
- Dependencies updated
web3-eth-iban
- Dependencies updated
web3-eth-personal
- Dependencies updated
web3-net
- Dependencies updated
web3-providers-http
- Dependencies updated
web3-providers-ipc
- Dependencies updated
web3-providers-ws
- Dependencies updated
web3-rpc-methods
- Dependencies updated
web3-validator
- Dependencies updated
v4.1.1
Added
web3
- To fix issue #β6190, added the functionality to introduce different timeout value for Web3. (#β6336)
web3-core
- To fix issue #β6190, added the functionality to introduce different timeout value for Web3. (#β6336)
web3-eth-contract
- In case of error events there will be inner error also available for details
Fixed
web3-eth
- Added return type for
formatSubscriptionResult
in classNewHeadsSubscription
(#β6368)
web3-core
- Fixed rpc errors not being sent as an inner error when using the
send
method on request manager (#β6300).
web3-errors
- ESM import bug (#β6359)
web3-eth-contract
- Fixed bug in
contract.events.allEvents
web3-validator
- ESM import bug (#β6359)
Changed
web3-eth-abi
- Dependencies updated
web3-eth-accounts
- Dependencies updated
web3-eth-ens
- Dependencies updated
web3-eth-iban
- Dependencies updated
web3-eth-personal
- Dependencies updated
web3-net
- Dependencies updated
web3-providers-http
- Dependencies updated
web3-providers-ipc
- Dependencies updated
web3-providers-ws
- Dependencies updated
web3-rpc-methods
- Dependencies updated
web3-types
- Dependencies updated
web3-utils
- Dependencies updated
v4.1.0
Added
web3
- Added minimum support of web3.extend function
web3-core
- Added minimum support of web3.extend function
web3-errors
-
RpcErrorMessages
that contains mapping for standard RPC Errors and their messages. (#β6230) - created
TransactionGasMismatchInnerError
for clarity on the error inTransactionGasMismatchError
(#β6215) - created
MissingGasInnerError
for clarity on the error inMissingGasError
(#β6215)
web3-eth
- A
rpc_method_wrapper
(signTypedData
) for the rpc callseth_signTypedData
andeth_signTypedData_v4
(#β6286) - A
signTypedData
method to theWeb3Eth
class (#β6286)
web3-eth-abi
- A
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
- A
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
- Added
json-schema
as a main json schema type (#β6264)
Fixed
web3-core
- Fixed the issue: "Version 4.x does not fire connected event for subscriptions. #β6252". (#β6262)
web3-errors
web3-eth
- sendTransaction will have gas filled by default using method
estimateGas
unless transaction builderoptions.fillGas
is false. (#β6249) - Missing
blockHeaderSchema
properties causing some properties to not appear in response ofnewHeads
subscription (#β6243) - Missing
blockHeaderSchema
properties causing some properties to not appear in response ofnewHeads
subscription (#β6243)
web3-providers-ws
- Ensure a fixed version for "@βtypes/ws": "8.5.3" (#β6309)
Changed
web3-core
- No need to pass
CommonSubscriptionEvents &
at every child class ofWeb3Subscription
(#β6262) - Implementation of
_processSubscriptionResult
and_processSubscriptionError
has been written in the base classWeb3Subscription
and maidpublic
. (#β6262) - A new optional protected method
formatSubscriptionResult
could be used to customize data formatting instead of re-implementing_processSubscriptionResult
. (#β6262) - No more needed to pass
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
- Dependencies updated
web3-eth-contract
- Dependencies updated
web3-eth-ens
- Dependencies updated
web3-eth-iban
- Dependencies updated
web3-eth-personal
- Dependencies updated
web3-net
- Dependencies updated
web3-providers-http
- Dependencies updated
web3-providers-ipc
- Dependencies updated
web3-types
-
input
anddata
are now optional properties onPopulatedUnsignedBaseTransaction
(previouslyinput
was a required property, anddata
was not available) (#β6294)
web3-utils
- Dependencies updated
web3-validator
- Replace
is-my-json-valid
withzod
dependency. Related code was changed (#β6264) - Types
ValidationError
andJsonSchema
were changed (#β6264)
Removed
web3-eth
- Missing
blockHeaderSchema
properties causing some properties to not appear in response ofnewHeads
subscription (#β6243) - Type
RawValidationError
was removed (#β6264)
web3-validator
- Type
RawValidationError
was removed (#β6264)
v4.0.3
Fixed
web3
web3-rpc-methods
- Rpc method
getPastLogs
accept blockHash as a parameter https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getlogs (#β6181)
web3-types
- type
Filter
includesblockHash
(#β6206)
web3-utils
- BigInts pass validation within the method
numberToHex
(#β6206)
Changed
web3-core
- Dependencies updated
web3-errors
- Dependencies updated
web3-eth
- Dependencies updated
web3-eth-abi
- Dependencies updated
web3-eth-accounts
- Dependencies updated
web3-eth-contract
- Dependencies updated
web3-eth-ens
- Dependencies updated
web3-eth-iban
- Dependencies updated
web3-eth-personal
- Dependencies updated
web3-net
- Dependencies updated
web3-providers-http
- Dependencies updated
web3-providers-ipc
- Dependencies updated
web3-providers-ws
- Dependencies updated
web3-validator
- Dependencies updated
v4.0.2
Fixed
web3
- Fixed bug #β6185, now web3.js compiles on typescript v5 (#β6195)
- Fixed #β6162 @βtypes/ws issue (#β6205)
web3-core
- Fixed Batch requests erroring out on one request (#β6164)
- Fixed the issue: Subscribing to multiple blockchain events causes every listener to be fired for every registered event (#β6210)
- Fixed the issue: Unsubscribe at a Web3Subscription class will still have the id of the subscription at the Web3SubscriptionManager (#β6210)
- Fixed the issue: A call to the provider is made for every subscription object (#β6210)
web3-eth-abi
- Support for "decoding" indexed string event arguments (returns the keccak256 hash of the string value instead of the actual string value) (#β6167)
web3-eth-accounts
- Fixed "The
r
ands
returned bysignTransaction
to does not always consist of 64 characters #β6207" (#β6216)
web3-eth-contract
- Event filtering using non-indexed and indexed string event arguments (#β6167)
web3-eth-ens
web3-providers-ws
- Fixed #β6162 @βtypes/ws issue (#β6205)
web3-types
Added
web3
- Exported
Web3Context
,Web3PluginBase
,Web3EthPluginBase
from'web3-core'
, andWeb3Validator
from'web3-validator'
(#β6165)
web3-core
- Web3Subscription constructor accept a Subscription Manager (as an alternative to accepting Request Manager that is now marked marked as deprecated) (#β6210)
web3-types
- Added the
SimpleProvider
interface which has onlyrequest(args)
method that is compatible with EIP-1193 (#β6210) - Added the
Eip1193EventName
type that contains the possible events names according to EIP-1193 (#β6210)
Changed
web3-core
- Web3Subscription constructor overloading that accept a Request Manager is marked as deprecated (#β6210)
web3-errors
- Dependencies updated
web3-eth
- Dependencies updated
web3-eth-iban
- Dependencies updated
web3-eth-personal
- Dependencies updated
web3-net
- Dependencies updated
web3-providers-http
- Dependencies updated
web3-providers-ipc
- Dependencies updated
web3-rpc-methods
- Dependencies updated
web3-types
- The
EIP1193Provider
class has now all the events (foron
andremoveListener
) according to EIP-1193 (#β6210)
web3-utils
- Dependencies updated
web3-validator
- Dependencies updated
v4.0.1
Fixed
- Dependency tree cannot be resolved by Yarn due to old deprecated packages picked by yarn - fixed (#β5382)
Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Enabled.
β» Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about these updates again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.