diff --git a/CHANGELOG.md b/CHANGELOG.md index 95849324f2d..024c9dc2b29 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -614,4 +614,6 @@ Released with 1.0.0-beta.37 code base. ## [Unreleased] -## [1.8.2] \ No newline at end of file +### Fixed + +- Fixed types for `web3.utils._jsonInterfaceMethodToString` (#5550) diff --git a/packages/web3-utils/types/index.d.ts b/packages/web3-utils/types/index.d.ts index 0fd436e5152..4f869949d68 100644 --- a/packages/web3-utils/types/index.d.ts +++ b/packages/web3-utils/types/index.d.ts @@ -169,7 +169,7 @@ export interface Utils { isContractAddressInBloom(bloom: string, contractAddress: string): boolean; isTopicInBloom(bloom: string, topic: string): boolean; isTopic(topic: string): boolean; - jsonInterfaceMethodToString(abiItem: AbiItem): string; + _jsonInterfaceMethodToString(abiItem: AbiItem): string; soliditySha3(...val: Mixed[]): string | null; soliditySha3Raw(...val: Mixed[]): string; encodePacked(...val: Mixed[]): string | null;