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

Commit d5f4b5d

Browse files
update change log and tests for issue #5351
1 parent 62ed500 commit d5f4b5d

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -586,4 +586,7 @@ Released with 1.0.0-beta.37 code base.
586586

587587
## [Unreleased]
588588

589-
## [1.7.6]
589+
## [1.7.6]
590+
591+
### Changed
592+
- Updated `sha3` and `sha3Raw` type definition to accept `Buffer`

packages/web3-utils/types/tests/sha3-raw-test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import {sha3Raw} from 'web3-utils';
2525

2626
// $ExpectType string
2727
sha3Raw('234');
28-
// $ExpectType string | null
28+
// $ExpectType string
2929
sha3Raw(Buffer.from('123'));
3030
// $ExpectType string
3131
sha3Raw(new BN(3));

0 commit comments

Comments
 (0)