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

Commit 602dada

Browse files
jdevcsMuhammad-Altabba
andauthoredJul 3, 2023
Eth personal in web3.eth (#6245)
* added eth personal type in web3.eth * changelog update * Update packages/web3/src/types.ts Co-authored-by: Muhammad Altabba <24407834+Muhammad-Altabba@users.noreply.github.com> --------- Co-authored-by: Muhammad Altabba <24407834+Muhammad-Altabba@users.noreply.github.com>
1 parent d12dc7e commit 602dada

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed
 

‎packages/web3/CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -124,3 +124,7 @@ Documentation:
124124
- Fixed #6162 @types/ws issue (#6205)
125125

126126
## [Unreleased]
127+
128+
### Fixed
129+
130+
- Fixed bug #6236 by adding personal type in web3.eth (#6245)

‎packages/web3/src/types.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,9 @@ import {
3838
} from 'web3-eth-accounts';
3939
import { Contract } from 'web3-eth-contract';
4040
import { ENS } from 'web3-eth-ens';
41-
import Net from 'web3-net';
41+
import { Net } from 'web3-net';
4242
import { Iban } from 'web3-eth-iban';
43+
import { Personal } from 'web3-eth-personal';
4344

4445
/**
4546
* The Ethereum interface for main web3 object. It provides extra methods in addition to `web3-eth` interface.
@@ -90,4 +91,5 @@ export interface Web3EthInterface extends Eth {
9091
) => Promise<Web3Account>;
9192
wallet: Wallet;
9293
};
94+
personal: Personal;
9395
}

0 commit comments

Comments
 (0)