From 17be9dd1a3dd840c4c98ec8c0f0b8ea5a2101328 Mon Sep 17 00:00:00 2001 From: Muhammad-Altabba <24407834+Muhammad-Altabba@users.noreply.github.com> Date: Tue, 11 Apr 2023 02:56:36 +0200 Subject: [PATCH] update CHANGELOG.md files --- packages/web3-core/CHANGELOG.md | 1 + packages/web3-eth-accounts/CHANGELOG.md | 1 + packages/web3-eth-contract/CHANGELOG.md | 1 + packages/web3-eth/CHANGELOG.md | 1 + packages/web3-types/CHANGELOG.md | 3 +++ packages/web3-utils/CHANGELOG.md | 4 ++++ 6 files changed, 11 insertions(+) diff --git a/packages/web3-core/CHANGELOG.md b/packages/web3-core/CHANGELOG.md index fb64d3c4438..043d0fcfcd6 100644 --- a/packages/web3-core/CHANGELOG.md +++ b/packages/web3-core/CHANGELOG.md @@ -93,6 +93,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - If a transaction object with a `data` property is passed to `txInputOptionsFormatter`, it will now be replaced with `input` (#5915) +- The types `TransactionTypeParser` and `TransactionBuilder` are now utilizing the type `Transaction` for the transaction object. (#5993) ### Removed diff --git a/packages/web3-eth-accounts/CHANGELOG.md b/packages/web3-eth-accounts/CHANGELOG.md index 4e2814d7d1e..c98dad915a5 100644 --- a/packages/web3-eth-accounts/CHANGELOG.md +++ b/packages/web3-eth-accounts/CHANGELOG.md @@ -81,3 +81,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Moved @ethereumjs/tx, @ethereumjs/common code to our source code (#5963) +- The method `signTransaction` returned by `privateKeyToAccount` is now accepting the type `Transaction` for its argument. (#5993) diff --git a/packages/web3-eth-contract/CHANGELOG.md b/packages/web3-eth-contract/CHANGELOG.md index 14ee50e9469..c03b72c9802 100644 --- a/packages/web3-eth-contract/CHANGELOG.md +++ b/packages/web3-eth-contract/CHANGELOG.md @@ -247,6 +247,7 @@ const transactionHash = receipt.transactionHash; - `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) +- The types `ContractAbiWithSignature`, `EventLog`, `ContractEventOptions`, `ContractOptions`, `ContractInitOptions` and `PayableCallOptions` moved to `web3-types`. (#5993) ### Removed diff --git a/packages/web3-eth/CHANGELOG.md b/packages/web3-eth/CHANGELOG.md index 09fd61d5211..141ac5a8936 100644 --- a/packages/web3-eth/CHANGELOG.md +++ b/packages/web3-eth/CHANGELOG.md @@ -118,6 +118,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - `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) +- The functions `defaultTransactionBuilder` and `transactionBuilder` are now utilizing the type `Transaction` for the transaction object. (#5993) ### Added diff --git a/packages/web3-types/CHANGELOG.md b/packages/web3-types/CHANGELOG.md index 63492df7691..8849f76aace 100644 --- a/packages/web3-types/CHANGELOG.md +++ b/packages/web3-types/CHANGELOG.md @@ -88,3 +88,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - `data` property in `TransactionOutput` was renamed to `input` (#5915) +- The method `signTransaction` inside `Web3BaseWalletAccount` is now utilizing the type `Transaction` for its argument. (#5993) +- The types `FMT_NUMBER`, `NumberTypes`, `FMT_BYTES`, `ByteTypes`, `DataFormat`, `DEFAULT_RETURN_FORMAT`, `ETH_DATA_FORMAT` and `FormatType` moved from `web3-utils`. (#5993) +- The types `ContractAbiWithSignature`, `EventLog`, `ContractEventOptions`, `ContractOptions`, `ContractInitOptions` and `PayableCallOptions` are moved from `web3-eth-contract`. (#5993) diff --git a/packages/web3-utils/CHANGELOG.md b/packages/web3-utils/CHANGELOG.md index 13df2c6ec3d..c3ae0cf8e36 100644 --- a/packages/web3-utils/CHANGELOG.md +++ b/packages/web3-utils/CHANGELOG.md @@ -96,6 +96,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Added source files (#5956) - Added hybrid build (ESM and CJS) of library (#5904) +### Changed + +- The types `FMT_NUMBER`, `NumberTypes`, `FMT_BYTES`, `ByteTypes`, `DataFormat`, `DEFAULT_RETURN_FORMAT`, `ETH_DATA_FORMAT` and `FormatType` moved to `web3-types`. (#5993) + ### Removed - Removed dependencies @ethereumjs/tx, @ethereumjs/common (#5963)