Skip to content

Commit

Permalink
bump web3-types version
Browse files Browse the repository at this point in the history
  • Loading branch information
luu-alex committed Sep 18, 2024
1 parent 8c0bbc1 commit 0799331
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 11 deletions.
9 changes: 4 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2696,11 +2696,6 @@ If there are any bugs, improvements, optimizations or any new feature proposal f

- Revert `TransactionFactory.registerTransactionType` if there is a version mistatch between `web3-eth` and `web3-eth-accounts` and fix nextjs problem. (#7216)

#### web3

- `Web3.providers` namespace exports `type EIP6963ProviderResponse = Map<string, EIP6963ProviderDetail>`. Return type for the static `Web3.requestEIP6963Providers` is now `Promise<EIP6963ProviderResponse>`. (#7239)
- The callback function provided to the static `Web3.onNewProviderDiscovered` function expects a parameter of type `EIP6963ProvidersMapUpdateEvent` as opposed to `EIP6963AnnounceProviderEvent`. (#7242)

## [4.13.0]

### Added
Expand All @@ -2713,6 +2708,10 @@ If there are any bugs, improvements, optimizations or any new feature proposal f

- Adds the same `{transactionSchema?: ValidationSchemaInput}` that exists in `formatTransaction` to `validateTransactionForSigning`

#### web3-types

- Add COMMITTED to BlockTags (#7124)

### Changed

#### web3-eth
Expand Down
2 changes: 1 addition & 1 deletion packages/web3-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"web3-eth-iban": "^4.0.7",
"web3-providers-http": "^4.2.0",
"web3-providers-ws": "^4.0.8",
"web3-types": "^1.7.0",
"web3-types": "^1.8.0",
"web3-utils": "^4.3.1",
"web3-validator": "^2.0.6"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/web3-eth-abi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"dependencies": {
"abitype": "0.7.1",
"web3-errors": "^1.3.0",
"web3-types": "^1.7.0",
"web3-types": "^1.8.0",
"web3-utils": "^4.3.1",
"web3-validator": "^2.0.6"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/web3-eth-personal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"web3-core": "^4.6.0",
"web3-eth": "^4.9.0",
"web3-rpc-methods": "^1.3.0",
"web3-types": "^1.7.0",
"web3-types": "^1.8.0",
"web3-utils": "^4.3.1",
"web3-validator": "^2.0.6"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/web3-eth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"web3-net": "^4.1.0",
"web3-providers-ws": "^4.0.8",
"web3-rpc-methods": "^1.3.0",
"web3-types": "^1.7.0",
"web3-types": "^1.8.0",
"web3-utils": "^4.3.1",
"web3-validator": "^2.0.6"
}
Expand Down
6 changes: 6 additions & 0 deletions packages/web3-types/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,4 +202,10 @@ Documentation:
- Added `result` as optional `never` and `error` as optional `never in type `JsonRpcNotification` (#7091)
- Added `JsonRpcNotfication` as a union type in `JsonRpcResponse` (#7091)

## [1.8.0]

### Added

- Add COMMITTED to BlockTags (#7124)

## [Unreleased]
2 changes: 1 addition & 1 deletion packages/web3-types/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web3-types",
"version": "1.7.0",
"version": "1.8.0",
"description": "Provide the common data structures and interfaces for web3 modules.",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/web3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
"web3-providers-ws": "^4.0.8",
"web3-rpc-methods": "^1.3.0",
"web3-rpc-providers": "^1.0.0-rc.2",
"web3-types": "^1.7.0",
"web3-types": "^1.8.0",
"web3-utils": "^4.3.1",
"web3-validator": "^2.0.6"
}
Expand Down

1 comment on commit 0799331

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: 0799331 Previous: a21078b Ratio
processingTx 20355 ops/sec (±6.76%) 22494 ops/sec (±8.39%) 1.11
processingContractDeploy 33087 ops/sec (±19.59%) 38470 ops/sec (±7.11%) 1.16
processingContractMethodSend 15464 ops/sec (±7.91%) 16121 ops/sec (±6.53%) 1.04
processingContractMethodCall 27037 ops/sec (±8.53%) 28342 ops/sec (±6.29%) 1.05
abiEncode 41007 ops/sec (±6.89%) 43839 ops/sec (±6.81%) 1.07
abiDecode 29597 ops/sec (±6.13%) 30836 ops/sec (±5.71%) 1.04
sign 1511 ops/sec (±4.06%) 1545 ops/sec (±3.43%) 1.02
verify 365 ops/sec (±0.59%) 370 ops/sec (±0.49%) 1.01

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.