web3-eth-personal
Advanced tools
Comparing version 4.0.9-dev.b35eca1.0 to 4.0.9-dev.b3cb1b7.0
import { Web3Context } from 'web3-core'; | ||
import { Address, EthPersonalAPI, HexString, Transaction } from 'web3-types'; | ||
/** | ||
* Eth Personal allows you to interact with the Ethereum node’s accounts. | ||
* For using Eth Personal package, first install Web3 package using: `npm i web3` or `yarn add web3` based on your package manager. | ||
* ```ts | ||
* | ||
*import { Web3 } from 'web3'; | ||
* const web3 = new Web3('http://127.0.0.1:7545'); | ||
* | ||
* console.log(await web3.eth.personal.getAccounts()); | ||
* | ||
* ``` | ||
* For using individual package install `web3-eth-personal` packages using: `npm i web3-eth-personal` or `yarn add web3-eth-personal`. | ||
* | ||
* ```ts | ||
* import {Personal} from 'web3-eth-personal'; | ||
* | ||
* const personal = new Personal('http://127.0.0.1:7545'); | ||
* console.log(await personal.getAccounts()); | ||
* ``` | ||
*/ | ||
* Eth Personal allows you to interact with the Ethereum node’s accounts. | ||
* For using Eth Personal package, first install Web3 package using: `npm i web3` or `yarn add web3` based on your package manager. | ||
* ```ts | ||
* | ||
*import { Web3 } from 'web3'; | ||
* const web3 = new Web3('http://127.0.0.1:7545'); | ||
* | ||
* console.log(await web3.eth.personal.getAccounts()); | ||
* | ||
* ``` | ||
* For using individual package install `web3-eth-personal` packages using: `npm i web3-eth-personal` or `yarn add web3-eth-personal`. | ||
* | ||
* ```ts | ||
* import {Personal} from 'web3-eth-personal'; | ||
* | ||
* const personal = new Personal('http://127.0.0.1:7545'); | ||
* console.log(await personal.getAccounts()); | ||
* ``` | ||
*/ | ||
export declare class Personal extends Web3Context<EthPersonalAPI> { | ||
@@ -24,0 +24,0 @@ /** |
@@ -55,21 +55,21 @@ "use strict"; | ||
/** | ||
* Eth Personal allows you to interact with the Ethereum node’s accounts. | ||
* For using Eth Personal package, first install Web3 package using: `npm i web3` or `yarn add web3` based on your package manager. | ||
* ```ts | ||
* | ||
*import { Web3 } from 'web3'; | ||
* const web3 = new Web3('http://127.0.0.1:7545'); | ||
* | ||
* console.log(await web3.eth.personal.getAccounts()); | ||
* | ||
* ``` | ||
* For using individual package install `web3-eth-personal` packages using: `npm i web3-eth-personal` or `yarn add web3-eth-personal`. | ||
* | ||
* ```ts | ||
* import {Personal} from 'web3-eth-personal'; | ||
* | ||
* const personal = new Personal('http://127.0.0.1:7545'); | ||
* console.log(await personal.getAccounts()); | ||
* ``` | ||
*/ | ||
* Eth Personal allows you to interact with the Ethereum node’s accounts. | ||
* For using Eth Personal package, first install Web3 package using: `npm i web3` or `yarn add web3` based on your package manager. | ||
* ```ts | ||
* | ||
*import { Web3 } from 'web3'; | ||
* const web3 = new Web3('http://127.0.0.1:7545'); | ||
* | ||
* console.log(await web3.eth.personal.getAccounts()); | ||
* | ||
* ``` | ||
* For using individual package install `web3-eth-personal` packages using: `npm i web3-eth-personal` or `yarn add web3-eth-personal`. | ||
* | ||
* ```ts | ||
* import {Personal} from 'web3-eth-personal'; | ||
* | ||
* const personal = new Personal('http://127.0.0.1:7545'); | ||
* console.log(await personal.getAccounts()); | ||
* ``` | ||
*/ | ||
class Personal extends web3_core_1.Web3Context { | ||
@@ -76,0 +76,0 @@ /** |
@@ -29,21 +29,21 @@ /* | ||
/** | ||
* Eth Personal allows you to interact with the Ethereum node’s accounts. | ||
* For using Eth Personal package, first install Web3 package using: `npm i web3` or `yarn add web3` based on your package manager. | ||
* ```ts | ||
* | ||
*import { Web3 } from 'web3'; | ||
* const web3 = new Web3('http://127.0.0.1:7545'); | ||
* | ||
* console.log(await web3.eth.personal.getAccounts()); | ||
* | ||
* ``` | ||
* For using individual package install `web3-eth-personal` packages using: `npm i web3-eth-personal` or `yarn add web3-eth-personal`. | ||
* | ||
* ```ts | ||
* import {Personal} from 'web3-eth-personal'; | ||
* | ||
* const personal = new Personal('http://127.0.0.1:7545'); | ||
* console.log(await personal.getAccounts()); | ||
* ``` | ||
*/ | ||
* Eth Personal allows you to interact with the Ethereum node’s accounts. | ||
* For using Eth Personal package, first install Web3 package using: `npm i web3` or `yarn add web3` based on your package manager. | ||
* ```ts | ||
* | ||
*import { Web3 } from 'web3'; | ||
* const web3 = new Web3('http://127.0.0.1:7545'); | ||
* | ||
* console.log(await web3.eth.personal.getAccounts()); | ||
* | ||
* ``` | ||
* For using individual package install `web3-eth-personal` packages using: `npm i web3-eth-personal` or `yarn add web3-eth-personal`. | ||
* | ||
* ```ts | ||
* import {Personal} from 'web3-eth-personal'; | ||
* | ||
* const personal = new Personal('http://127.0.0.1:7545'); | ||
* console.log(await personal.getAccounts()); | ||
* ``` | ||
*/ | ||
export class Personal extends Web3Context { | ||
@@ -50,0 +50,0 @@ /** |
import { Web3Context } from 'web3-core'; | ||
import { Address, EthPersonalAPI, HexString, Transaction } from 'web3-types'; | ||
/** | ||
* Eth Personal allows you to interact with the Ethereum node’s accounts. | ||
* For using Eth Personal package, first install Web3 package using: `npm i web3` or `yarn add web3` based on your package manager. | ||
* ```ts | ||
* | ||
*import { Web3 } from 'web3'; | ||
* const web3 = new Web3('http://127.0.0.1:7545'); | ||
* | ||
* console.log(await web3.eth.personal.getAccounts()); | ||
* | ||
* ``` | ||
* For using individual package install `web3-eth-personal` packages using: `npm i web3-eth-personal` or `yarn add web3-eth-personal`. | ||
* | ||
* ```ts | ||
* import {Personal} from 'web3-eth-personal'; | ||
* | ||
* const personal = new Personal('http://127.0.0.1:7545'); | ||
* console.log(await personal.getAccounts()); | ||
* ``` | ||
*/ | ||
* Eth Personal allows you to interact with the Ethereum node’s accounts. | ||
* For using Eth Personal package, first install Web3 package using: `npm i web3` or `yarn add web3` based on your package manager. | ||
* ```ts | ||
* | ||
*import { Web3 } from 'web3'; | ||
* const web3 = new Web3('http://127.0.0.1:7545'); | ||
* | ||
* console.log(await web3.eth.personal.getAccounts()); | ||
* | ||
* ``` | ||
* For using individual package install `web3-eth-personal` packages using: `npm i web3-eth-personal` or `yarn add web3-eth-personal`. | ||
* | ||
* ```ts | ||
* import {Personal} from 'web3-eth-personal'; | ||
* | ||
* const personal = new Personal('http://127.0.0.1:7545'); | ||
* console.log(await personal.getAccounts()); | ||
* ``` | ||
*/ | ||
export declare class Personal extends Web3Context<EthPersonalAPI> { | ||
@@ -24,0 +24,0 @@ /** |
{ | ||
"name": "web3-eth-personal", | ||
"version": "4.0.9-dev.b35eca1.0+b35eca1", | ||
"version": "4.0.9-dev.b3cb1b7.0+b3cb1b7", | ||
"description": "Web3 module to interact with the Ethereum blockchain accounts stored in the node.", | ||
@@ -33,3 +33,3 @@ "main": "./lib/commonjs/index.js", | ||
"build:check": "node -e \"require('./lib')\"", | ||
"lint": "eslint --ext .js,.ts .", | ||
"lint": "eslint --cache --cache-strategy content --ext .ts .", | ||
"lint:fix": "eslint --fix --ext .js,.ts .", | ||
@@ -46,8 +46,8 @@ "format": "prettier --write '**/*'", | ||
"dependencies": { | ||
"web3-core": "4.3.3-dev.b35eca1.0+b35eca1", | ||
"web3-eth": "4.3.2-dev.b35eca1.0+b35eca1", | ||
"web3-rpc-methods": "1.1.5-dev.b35eca1.0+b35eca1", | ||
"web3-types": "1.3.2-dev.b35eca1.0+b35eca1", | ||
"web3-utils": "4.1.1-dev.b35eca1.0+b35eca1", | ||
"web3-validator": "2.0.4-dev.b35eca1.0+b35eca1" | ||
"web3-core": "4.5.2-dev.b3cb1b7.0+b3cb1b7", | ||
"web3-eth": "4.8.3-dev.b3cb1b7.0+b3cb1b7", | ||
"web3-rpc-methods": "1.3.1-dev.b3cb1b7.0+b3cb1b7", | ||
"web3-types": "1.7.1-dev.b3cb1b7.0+b3cb1b7", | ||
"web3-utils": "4.3.2-dev.b3cb1b7.0+b3cb1b7", | ||
"web3-validator": "2.0.7-dev.b3cb1b7.0+b3cb1b7" | ||
}, | ||
@@ -62,10 +62,10 @@ "devDependencies": { | ||
"eslint-plugin-import": "^2.26.0", | ||
"jest": "^28.1.3", | ||
"jest": "^29.7.0", | ||
"jest-extended": "^3.0.1", | ||
"prettier": "^2.7.1", | ||
"ts-jest": "^28.0.7", | ||
"ts-jest": "^29.1.1", | ||
"typescript": "^4.7.4", | ||
"web3-providers-ws": "4.0.8-dev.b35eca1.0+b35eca1" | ||
"web3-providers-ws": "4.0.9-dev.b3cb1b7.0+b3cb1b7" | ||
}, | ||
"gitHead": "b35eca1adb724b899eac07ad259aceb92c9cf55f" | ||
"gitHead": "b3cb1b782cc2c62bd87909c7cdc426ed43a49c1c" | ||
} |
@@ -24,21 +24,21 @@ /* | ||
/** | ||
* Eth Personal allows you to interact with the Ethereum node’s accounts. | ||
* For using Eth Personal package, first install Web3 package using: `npm i web3` or `yarn add web3` based on your package manager. | ||
* ```ts | ||
* | ||
*import { Web3 } from 'web3'; | ||
* const web3 = new Web3('http://127.0.0.1:7545'); | ||
* | ||
* console.log(await web3.eth.personal.getAccounts()); | ||
* | ||
* ``` | ||
* For using individual package install `web3-eth-personal` packages using: `npm i web3-eth-personal` or `yarn add web3-eth-personal`. | ||
* | ||
* ```ts | ||
* import {Personal} from 'web3-eth-personal'; | ||
* | ||
* const personal = new Personal('http://127.0.0.1:7545'); | ||
* console.log(await personal.getAccounts()); | ||
* ``` | ||
*/ | ||
* Eth Personal allows you to interact with the Ethereum node’s accounts. | ||
* For using Eth Personal package, first install Web3 package using: `npm i web3` or `yarn add web3` based on your package manager. | ||
* ```ts | ||
* | ||
*import { Web3 } from 'web3'; | ||
* const web3 = new Web3('http://127.0.0.1:7545'); | ||
* | ||
* console.log(await web3.eth.personal.getAccounts()); | ||
* | ||
* ``` | ||
* For using individual package install `web3-eth-personal` packages using: `npm i web3-eth-personal` or `yarn add web3-eth-personal`. | ||
* | ||
* ```ts | ||
* import {Personal} from 'web3-eth-personal'; | ||
* | ||
* const personal = new Personal('http://127.0.0.1:7545'); | ||
* console.log(await personal.getAccounts()); | ||
* ``` | ||
*/ | ||
export class Personal extends Web3Context<EthPersonalAPI> { | ||
@@ -45,0 +45,0 @@ /** |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
88378