web3-providers-ipc
Advanced tools
Changelog
[4.0.1-rc.1]
net
and fs
modules (#5978)web3-providers-ipc
and instantiate provider yourself (#5978)data
property is passed to txInputOptionsFormatter
, it will now be replaced with input
(#5915)TransactionTypeParser
and TransactionBuilder
are now utilizing the type Transaction
for the transaction object. (#5993)net
and fs
modules (#5978)web3-providers-ipc
and instantiate provider yourself (#5978)gasLimit
is no longer accepted as a parameter for MissingGasError
and `TransactionGasMismatchError, and is also no longer included in error message (#5915)signTransaction
will now return gas
instead of gasLimit
for returned transaction object regardless of what property name the provider uses (#5915)formatTransaction
will now replace data
transaction property with input
(#5915)isTransactionCall
will now check if value.input
isHexStrict
if provided (#5915)defaultTransactionBuilder
and transactionBuilder
are now utilizing the type Transaction
for the transaction object. (#5993)signTransaction
returned by privateKeyToAccount
is now accepting the type Transaction
for its argument. (#5993)getSendTxParams
will now return input
instead of data
in returned transaction parameters object (#5915)Contract
constructor will now thrown new ContractTransactionDataAndInputError
if both data
and input
are passed in ContractInitOptions
for Contract
constructor (#5915)ContractInitOptions
, NonPayableCallOptions
and PayableCallOptions
are moved to web3-types
. (#5993)data
property in TransactionOutput
was renamed to input
(#5915)signTransaction
inside Web3BaseWalletAccount
is now utilizing the type Transaction
for its argument. (#5993)FMT_NUMBER
, NumberTypes
, FMT_BYTES
, ByteTypes
, DataFormat
, DEFAULT_RETURN_FORMAT
, ETH_DATA_FORMAT
and FormatType
moved from web3-utils
. (#5993)ContractInitOptions
, NonPayableCallOptions
and PayableCallOptions
are moved from web3-eth-contract
. (#5993)FMT_NUMBER
, NumberTypes
, FMT_BYTES
, ByteTypes
, DataFormat
, DEFAULT_RETURN_FORMAT
, ETH_DATA_FORMAT
and FormatType
moved to web3-types
. (#5993)input
is now an acceptable property for ContractInitOptions
in place of data
(either can be used, but input
is used withing the Contract
class) (#5915)isHexString
, isHexPrefixed
, validateNoLeadingZeroes
(#5963)getConfig
method from Web3Config
class, config
is now public and accessible using Web3Config.config
(#5950)formatDecodedObject
function (#5934)data
was removed as a property of ContractOptions
type (#5915)checkNetwork
in ENS (#5988)Changelog
[4.0.1-rc.0]
registeredSubscriptions
was added by default in web3 constructor (#5792)web3-types
, web3-errors
and web3
. (#5771)new Web3().eth.contract
(#5824)useRpcCallSpecification
at enableExperimentalFeatures
is true
) (#5525)safe
and finalized
block tags (#5823)InvalidMethodParamsError
and error code ERR_INVALID_METHOD_PARAMS = 207
(#5824)request
property to ResponseError
(#5854)data
property to TransactionRevertInstructionError
(#5854)TransactionRevertWithCustomError
was added to handle custom solidity errors (#5854)createAccessList
functionality ( #5780 )safe
and finalized
block tags (#5823)contractAbi
option to SendTransactionOptions
and SendSignedTransactionOptions
to added the ability to parse custom solidity errors (#5854)decodeErrorData
from web3-eth-contract
is now exported from this package and was renamed to decodeContractErrorData
(#5844)createAccessList
for contracts ( #5780 )Contract
will subscribeToContextEvents
upon instantiation if syncWithContext
is set to true
and the constructor is passed an instance of Web3Context
(#5833)safe
and finalized
block tags (#5823)HttpProvider
(#5771)IpcProvider
(#5771)_socketOptions
from IpcProvider
constructor to the underlying Socket
(#5891)SocketConnection
in IpcProvider
(inherited from SocketProvider
) returns net.Socket
(#5891)WebSocketProvider
(#5771)SocketConnection
in WebSocketProvider
(inherited from SocketProvider
) returns isomorphic WebSocket
(#5891)createAccessList
functionality ( #5780 )safe
and finalized
block tags (#5823)web3-eth-abi
and TypedArray
from (#5771)TypedArray
from web3-utils
and web3-validator
(it was defined twice) (#5771)safe
and finalized
block tags in BlockTags
and BlockTag
types (#5823)safe
and finalized
block tags (#5823)safe
and finalized
block tags in isBlockTag
method (#5823)require('web3')
will now return all web3 exported-objects organized in namespaces . (#5771)Web3Error
is renamed to BaseWeb3Error
(#5771)MaxAttemptsReachedOnReconnectingError
with the same message for 1.x but also adding the maxAttempts
(#5894)sendTransaction
and sendSignedTransaction
now errors with (and error
event emits) the following possible errors: TransactionRevertedWithoutReasonError
, TransactionRevertInstructionError
, TransactionRevertWithCustomError
, InvalidResponseError
, or ContractExecutionError
(#5854)compareBlockNumbers
function now only supports comparison of both blocktags params ( except earliest
vs number) or both block number params (#5842)SocketProvider
abstract class now resolves JSON RPC response errors instead of rejecting them (#5844)SocketConnection
in SocketProvider
(#5891)_contracts:Contract[]
and static setProvider
function was removed (#5792)getRevertReason
is no longer exported (#5844)web3-types
(#5771)decodeErrorData
is no longer exported (method was moved to web3-eth-abi
and renamed decodeContractErrorData
) (#5844)TypedArray
to web3-types
(was also duplicated at web3-validator
) (#5771)genesis
tag in compareBlockNumbers
function (#5823)TypedArray
to web3-types
(was also duplicated at web3-utils
) (#5771)Changelog
[4.0.1-alpha.5]
build
entry from package.json
(#5755)build
entry from package.json
(#5755)to
field (#5731)TransactionWithFromLocalWalletIndex
, TransactionWithToLocalWalletIndex
and TransactionWithFromAndToLocalWalletIndex
types (#5731)Changelog
[4.0.1-alpha.4]
tsc
compiled files moved to lib/
directory from dist/
(#5739)tsc
compiled files moved to lib/
directory from dist/
(#5739)main
and files
entries in package.json
changed to lib/
directory from dist/
(#5739)tsc
compiled files moved to lib/
directory from dist/
(#5739)tsc
compiled files moved to lib/
directory from dist/
(#5739)tsc
compiled files moved to lib/
directory from dist/
(#5739)tsc
compiled files moved to lib/
directory from dist/
(#5739)main
and files
entries in package.json
changed to lib/
directory from dist/
(#5739)main
and files
entries in package.json
changed to lib/
directory from dist/
(#5739)tsc
compiled files moved to lib/
directory from dist/
(#5739)tsc
compiled files moved to lib/
directory from dist/
(#5739)main
and files
entries in package.json
changed to lib/
directory from dist/
(#5739)tsc
compiled files moved to lib/
directory from dist/
(#5739)main
and files
entries in package.json
changed to lib/
directory from dist/
(#5739)main
and files
entries in package.json
changed to lib/
directory from dist/
(#5739)tsc
compiled files moved to lib/
directory from dist/
(#5739)tsc
compiled files moved to lib/
directory from dist/
(#5739)tsc
compiled files moved to lib/
directory from dist/
(#5739)Changelog
[4.0.1-alpha.3]
web3-validator
package within browser environments (webpack minified filename changed from index.min.js
to web3-validator.min.js
) (#5710)Changelog
[4.0.1-alpha.2]
web3-eth-accounts
to web3-types
package: Cipher, CipherOptions, ScryptParams, PBKDF2SHA256Params, KeyStore (#5581 )uuidV4
that generates a random v4 Uuid (#5373).id
(#5652).isPromise
that checks if an object is a promise (#5652).SpecialOutput
type was added as a generic type into the call function to support reassigning output types (#5631)ContractOverloadedMethodInputs
, ContractOverloadedMethodOutputs
) was added (#5631)fromBlock
when passed to contract.events.someEventName
(#5201)ContractOptions
-> jsonInterface
setter and getter (#5474)Contract
constructor where provider
wasn't being set when provided within the optionsOrContextOrReturnFormat
argument (#5669)request
method of EIP1193Provider
class, compatible with EIP 1193 (#5591)isHex
returning false
for -123
, fix isHexStrict
returning true
for -0x
, and fix isHex
returning true
for empty strings `` (#5373).ContractMethodOutputParameters
type to support output object types by index and string key. Also, it returns void if ABI doesn't have outputs and returns exactly one type if the output array has only one element. (#5631)web3-eth-accounts
to web3-types
package: Cipher, CipherOptions, ScryptParams, PBKDF2SHA256Params, KeyStore (#5581 )