Skip to content
This repository has been archived by the owner on Mar 5, 2025. It is now read-only.

v4.0.1-alpha.2 #5664

Merged
merged 5 commits into from
Dec 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -891,7 +891,7 @@ should use 4.0.1-alpha.0 for testing.

- Removed direct function `toJSON()` in `Web3ValidatorError` class as its available via base class (#5435)

## [Unreleased]
## [4.0.1-alpha.2]

### Added

Expand Down Expand Up @@ -936,10 +936,12 @@ should use 4.0.1-alpha.0 for testing.

#### web3-eth-abi

- Fix 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)
- Fix `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)

### Removed

#### web3-eth-accounts

- These types were moved from `web3-eth-accounts` to `web3-types` package: Cipher, CipherOptions, ScryptParams, PBKDF2SHA256Params, KeyStore (#5581 )

## [Unreleased]
4 changes: 3 additions & 1 deletion packages/web3-core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Added validation when `defaultChain` and `defaultCommon.basechain` are different in web3config
- Added a new configuration variable `enableExperimentalFeatures`. (#5481)

## [Unreleased]
## [4.0.1-alpha.2]

### Fixed

- Make the `request` method of `EIP1193Provider` class, compatible with EIP 1193 (#5591)

## [Unreleased]
18 changes: 9 additions & 9 deletions packages/web3-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web3-core",
"version": "4.0.1-alpha.1",
"version": "4.0.1-alpha.2",
"description": "Web3 core tools for sub-packages. This is an internal package.",
"main": "dist/index.js",
"repository": "https://github.com/ChainSafe/web3.js",
Expand All @@ -25,14 +25,14 @@
"test:integration": "jest --config=./test/integration/jest.config.js --passWithNoTests"
},
"dependencies": {
"web3-errors": "^0.1.1-alpha.1",
"web3-eth-iban": "^4.0.1-alpha.1",
"web3-providers-http": "^4.0.1-alpha.1",
"web3-providers-ipc": "^4.0.1-alpha.1",
"web3-providers-ws": "^4.0.1-alpha.1",
"web3-types": "^0.1.1-alpha.1",
"web3-utils": "^4.0.1-alpha.1",
"web3-validator": "^0.1.1-alpha.1"
"web3-errors": "^0.1.1-alpha.2",
"web3-eth-iban": "^4.0.1-alpha.2",
"web3-providers-http": "^4.0.1-alpha.2",
"web3-providers-ipc": "^4.0.1-alpha.2",
"web3-providers-ws": "^4.0.1-alpha.2",
"web3-types": "^0.1.1-alpha.2",
"web3-utils": "^4.0.1-alpha.2",
"web3-validator": "^0.1.1-alpha.2"
},
"devDependencies": {
"@types/jest": "^28.1.6",
Expand Down
6 changes: 6 additions & 0 deletions packages/web3-errors/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Corrected the error code for `JSONRPC_ERR_UNAUTHORIZED` to be `4100` (#5462)
- Moved `SignerError` from `web3-errors/src/errors/signature_errors.ts` to `web3-errors/src/errors/transaction_errors.ts`, and renamed it to `TransactionSigningError` (#5462)

## [4.0.1-alpha.2]

### Changed

- Updated Web3.js dependencies (#5664)

## [Unreleased]
4 changes: 2 additions & 2 deletions packages/web3-errors/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web3-errors",
"version": "0.1.1-alpha.1",
"version": "0.1.1-alpha.2",
"description": "This package has web3 error classes",
"main": "dist/index.js",
"repository": "https://github.com/ChainSafe/web3.js",
Expand All @@ -25,7 +25,7 @@
"test:integration": "jest --config=./test/integration/jest.config.js --passWithNoTests"
},
"dependencies": {
"web3-types": "^0.1.1-alpha.1"
"web3-types": "^0.1.1-alpha.2"
},
"devDependencies": {
"@types/jest": "^28.1.6",
Expand Down
10 changes: 8 additions & 2 deletions packages/web3-eth-abi/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Return `BigInt` instead of `string` when decoding function parameters for large numbers, such as `uint256`. (#5435)

## [Unreleased]
## [4.0.1-alpha.2]

### Changed

- Updated Web3.js dependencies (#5664)

### Fixed

- Fix 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)
- Fix `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)

## [Unreleased]
8 changes: 4 additions & 4 deletions packages/web3-eth-abi/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web3-eth-abi",
"version": "4.0.1-alpha.1",
"version": "4.0.1-alpha.2",
"description": "Web3 module encode and decode EVM in/output.",
"main": "dist/index.js",
"repository": "https://github.com/ethereum/web3.js/tree/4.x/packages/web3-eth-abi",
Expand All @@ -26,9 +26,9 @@
},
"dependencies": {
"@ethersproject/abi": "^5.6.4",
"web3-errors": "^0.1.1-alpha.1",
"web3-types": "^0.1.1-alpha.1",
"web3-utils": "^4.0.1-alpha.1"
"web3-errors": "^0.1.1-alpha.2",
"web3-types": "^0.1.1-alpha.2",
"web3-utils": "^4.0.1-alpha.2"
},
"devDependencies": {
"@humeris/espresso-shot": "^4.0.0",
Expand Down
4 changes: 3 additions & 1 deletion packages/web3-eth-accounts/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- `signTransaction` and `privateKeyToAccount` will throw `TransactionSigningError` instead of `SignerError` now (#5462)

## [Unreleased]
## [4.0.1-alpha.2]

### Removed

- These types were moved to `web3-types` package: Cipher, CipherOptions, ScryptParams, PBKDF2SHA256Params, KeyStore (#5581)

## [Unreleased]
10 changes: 5 additions & 5 deletions packages/web3-eth-accounts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web3-eth-accounts",
"version": "4.0.1-alpha.1",
"version": "4.0.1-alpha.2",
"description": "Package for managing Ethereum accounts and signing",
"main": "dist/index.js",
"repository": "https://github.com/ChainSafe/web3.js",
Expand Down Expand Up @@ -42,9 +42,9 @@
"dependencies": {
"@ethereumjs/tx": "^3.5.2",
"ethereum-cryptography": "^1.1.2",
"web3-errors": "^0.1.1-alpha.1",
"web3-types": "^0.1.1-alpha.1",
"web3-utils": "^4.0.1-alpha.1",
"web3-validator": "^0.1.1-alpha.1"
"web3-errors": "^0.1.1-alpha.2",
"web3-types": "^0.1.1-alpha.2",
"web3-utils": "^4.0.1-alpha.2",
"web3-validator": "^0.1.1-alpha.2"
}
}
8 changes: 5 additions & 3 deletions packages/web3-eth-contract/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,21 +177,23 @@ const transactionHash = receipt.transactionHash;

- Decoding error data, using Error ABI if available, according to EIP-838. (#5434)
- The class `Web3ContractError` is moved from this package to `web3-error`. (#5434)
- `SpecialOutput` type was added as a generic type into the call function to support reassigning output types (#5631)
- Overloaded functions types (`ContractOverloadedMethodInputs`, `ContractOverloadedMethodOutputs`) was added (#5631)

### Fixed

- According to the latest change in `web3-eth-abi`, the decoded values of the large numbers, returned from function calls or events, are now available as `BigInt`. (#5435)

## [Unreleased]
## [4.0.1-alpha.2]

### Added

- Decoding error data, using Error ABI if available, if error was returned from a smart contract function call (#5662).
- `SpecialOutput` type was added as a generic type into the call function to support reassigning output types (#5631)
- Overloaded functions types (`ContractOverloadedMethodInputs`, `ContractOverloadedMethodOutputs`) was added (#5631)

### Fixed

- Emit past contract events based on `fromBlock` when passed to `contract.events.someEventName` (#5201)
- Use different types for `ContractOptions` -> `jsonInterface` setter and getter (#5474)
- An issue within the `Contract` constructor where `provider` wasn't being set when provided within the `optionsOrContextOrReturnFormat` argument (#5669)

## [Unreleased]
18 changes: 9 additions & 9 deletions packages/web3-eth-contract/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web3-eth-contract",
"version": "4.0.1-alpha.1",
"version": "4.0.1-alpha.2",
"description": "Web3 module to interact with Ethereum smart contracts.",
"main": "dist/index.js",
"repository": "https://github.com/ethereum/web3.js/tree/4.x/packages/web3-eth-contract",
Expand Down Expand Up @@ -28,13 +28,13 @@
"test:e2e:firefox": "npx cypress run --headless --browser firefox --env grep='ignore',invert=true"
},
"dependencies": {
"web3-core": "^4.0.1-alpha.1",
"web3-errors": "^0.1.1-alpha.1",
"web3-eth": "^4.0.1-alpha.1",
"web3-eth-abi": "^4.0.1-alpha.1",
"web3-types": "^0.1.1-alpha.1",
"web3-utils": "^4.0.1-alpha.1",
"web3-validator": "^0.1.1-alpha.1"
"web3-core": "^4.0.1-alpha.2",
"web3-errors": "^0.1.1-alpha.2",
"web3-eth": "^4.0.1-alpha.2",
"web3-eth-abi": "^4.0.1-alpha.2",
"web3-types": "^0.1.1-alpha.2",
"web3-utils": "^4.0.1-alpha.2",
"web3-validator": "^0.1.1-alpha.2"
},
"devDependencies": {
"@humeris/espresso-shot": "^4.0.0",
Expand All @@ -50,6 +50,6 @@
"prettier": "^2.7.1",
"ts-jest": "^28.0.7",
"typescript": "^4.7.4",
"web3-eth-accounts": "^4.0.1-alpha.0"
"web3-eth-accounts": "^4.0.1-alpha.2"
}
}
6 changes: 6 additions & 0 deletions packages/web3-eth-ens/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- `Web3NetAPI` is now imported from `web3-types` instead of `web3-net` (#5441)

## [4.0.1-alpha.2]

### Changed

- Updated Web3.js dependencies (#5664)

## [Unreleased]
16 changes: 8 additions & 8 deletions packages/web3-eth-ens/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web3-eth-ens",
"version": "4.0.1-alpha.1",
"version": "4.0.1-alpha.2",
"description": "This package has ENS functions for interacting with Ethereum Name Service.",
"main": "dist/index.js",
"repository": "https://github.com/ChainSafe/web3.js",
Expand Down Expand Up @@ -42,12 +42,12 @@
},
"dependencies": {
"idna-uts46-hx": "^3.5.0",
"web3-core": "^4.0.1-alpha.1",
"web3-errors": "^0.1.1-alpha.1",
"web3-eth": "^4.0.1-alpha.1",
"web3-eth-contract": "^4.0.1-alpha.1",
"web3-net": "^4.0.1-alpha.1",
"web3-types": "^0.1.1-alpha.1",
"web3-utils": "^4.0.1-alpha.1"
"web3-core": "^4.0.1-alpha.2",
"web3-errors": "^0.1.1-alpha.2",
"web3-eth": "^4.0.1-alpha.2",
"web3-eth-contract": "^4.0.1-alpha.2",
"web3-net": "^4.0.1-alpha.2",
"web3-types": "^0.1.1-alpha.2",
"web3-utils": "^4.0.1-alpha.2"
}
}
8 changes: 8 additions & 0 deletions packages/web3-eth-iban/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- I've improved the security in XY (#1000)

-->

## [4.0.1-alpha.2]

### Changed

- Updated Web3.js dependencies (#5664)

## [Unreleased]
8 changes: 4 additions & 4 deletions packages/web3-eth-iban/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web3-eth-iban",
"version": "4.0.1-alpha.1",
"version": "4.0.1-alpha.2",
"description": "This package converts Ethereum addresses to IBAN addresses and vice versa.",
"main": "dist/index.js",
"repository": "https://github.com/ChainSafe/web3.js",
Expand Down Expand Up @@ -39,8 +39,8 @@
"typescript": "^4.7.4"
},
"dependencies": {
"web3-errors": "^0.1.1-alpha.1",
"web3-types": "^0.1.1-alpha.1",
"web3-utils": "^4.0.1-alpha.1"
"web3-errors": "^0.1.1-alpha.2",
"web3-types": "^0.1.1-alpha.2",
"web3-utils": "^4.0.1-alpha.2"
}
}
6 changes: 6 additions & 0 deletions packages/web3-eth-personal/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Exported type `EthPersonalAPIManager`, `EthPersonalAPI` is not exported via `web3-types` (#5441)

## [4.0.1-alpha.2]

### Changed

- Updated Web3.js dependencies (#5664)

## [Unreleased]
16 changes: 8 additions & 8 deletions packages/web3-eth-personal/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web3-eth-personal",
"version": "4.0.1-alpha.1",
"version": "4.0.1-alpha.2",
"description": "Web3 module to interact with the Ethereum blockchain accounts stored in the node.",
"main": "dist/index.js",
"repository": "https://github.com/ChainSafe/web3.js",
Expand All @@ -25,12 +25,12 @@
"test:integration": "jest --config=./test/integration/jest.config.js"
},
"dependencies": {
"web3-core": "^4.0.1-alpha.1",
"web3-eth": "^4.0.1-alpha.1",
"web3-rpc-methods": "^0.1.0-alpha.0",
"web3-types": "^0.1.1-alpha.1",
"web3-utils": "^4.0.1-alpha.1",
"web3-validator": "^0.1.1-alpha.1"
"web3-core": "^4.0.1-alpha.2",
"web3-eth": "^4.0.1-alpha.2",
"web3-rpc-methods": "^0.1.0-alpha.1",
"web3-types": "^0.1.1-alpha.2",
"web3-utils": "^4.0.1-alpha.2",
"web3-validator": "^0.1.1-alpha.2"
},
"devDependencies": {
"@types/jest": "^28.1.6",
Expand All @@ -45,6 +45,6 @@
"prettier": "^2.7.1",
"ts-jest": "^28.0.7",
"typescript": "^4.7.4",
"web3-providers-ws": "^4.0.1-alpha.1"
"web3-providers-ws": "^4.0.1-alpha.2"
}
}
6 changes: 6 additions & 0 deletions packages/web3-eth/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fix `getBlock` returning empty transactions object on `hydrated` true (#5556)
- [setimmediate](https://github.com/yuzujs/setImmediate) package to polyfill [setImmediate](https://nodejs.org/api/timers.html#setimmediatecallback-args) for browsers (#5450)

## [4.0.1-alpha.2]

### Changed

- Updated Web3.js dependencies (#5664)

## [Unreleased]
24 changes: 12 additions & 12 deletions packages/web3-eth/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web3-eth",
"version": "4.0.1-alpha.1",
"version": "4.0.1-alpha.2",
"description": "Web3 module to interact with the Ethereum blockchain and smart contracts.",
"main": "dist/index.js",
"repository": "https://github.com/ChainSafe/web3.js",
Expand Down Expand Up @@ -40,21 +40,21 @@
"prettier": "^2.7.1",
"ts-jest": "^28.0.7",
"typescript": "^4.7.4",
"web3-eth-abi": "^4.0.1-alpha.1",
"web3-providers-http": "^4.0.1-alpha.1"
"web3-eth-abi": "^4.0.1-alpha.2",
"web3-providers-http": "^4.0.1-alpha.2"
},
"dependencies": {
"@ethereumjs/common": "^2.6.5",
"@ethereumjs/tx": "^3.5.2",
"setimmediate": "^1.0.5",
"web3-core": "^4.0.1-alpha.1",
"web3-errors": "^0.1.1-alpha.1",
"web3-eth-accounts": "^4.0.1-alpha.1",
"web3-net": "^4.0.1-alpha.1",
"web3-providers-ws": "^4.0.1-alpha.1",
"web3-rpc-methods": "^0.1.0-alpha.0",
"web3-types": "^0.1.1-alpha.1",
"web3-utils": "^4.0.1-alpha.1",
"web3-validator": "^0.1.1-alpha.1"
"web3-core": "^4.0.1-alpha.2",
"web3-errors": "^0.1.1-alpha.2",
"web3-eth-accounts": "^4.0.1-alpha.2",
"web3-net": "^4.0.1-alpha.2",
"web3-providers-ws": "^4.0.1-alpha.2",
"web3-rpc-methods": "^0.1.0-alpha.1",
"web3-types": "^0.1.1-alpha.2",
"web3-utils": "^4.0.1-alpha.2",
"web3-validator": "^0.1.1-alpha.2"
}
}
Loading