Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 4 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
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -584,3 +584,13 @@ Released with 1.0.0-beta.37 code base.
### Security
- Updated `got` lib version and fixed other libs using npm audit fix (#5178) (#5254)

## [Unreleased]
Copy link
Contributor

Choose a reason for hiding this comment

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

As the previous version (1.7.5) was not released yet, is it possible to add those changes to 1.7.5-rc.0? Or would that violate the process?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It was code freeze from our perspective, so we can't make any changes to it. The current workflow is to include the PR's in future release during the code freeze duration.


## [1.7.6]

### Changed

### Fixed
- Fixed types for getPastEvents (#4955) (#5260)


4 changes: 2 additions & 2 deletions packages/web3-eth-contract/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,12 @@ export class Contract {
getPastEvents(
event: string,
options: PastEventOptions,
callback: (error: Error, event: EventData) => void
callback: (error: Error, event: EventData[]) => void
): Promise<EventData[]>;
getPastEvents(event: string, options: PastEventOptions): Promise<EventData[]>;
getPastEvents(
event: string,
callback: (error: Error, event: EventData) => void
callback: (error: Error, event: EventData[]) => void
): Promise<EventData[]>;
}

Expand Down