Socket
Socket
Sign inDemoInstall

web3-core-requestmanager

Package Overview
Dependencies
Maintainers
3
Versions
113
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

web3-core-requestmanager - npm Package Compare versions

Comparing version 3.0.0-rc.4 to 4.0.0

CHANGELOG.md

46

package.json
{
"name": "web3-core-requestmanager",
"version": "3.0.0-rc.4",
"description": "Web3 module to handle requests to external providers.",
"repository": "https://github.com/ethereum/web3.js/tree/1.x/packages/web3-core-requestmanager",
"version": "4.0.0",
"description": "Internal packages used to manage requests for Web3 4.x.x",
"main": "lib/src/index.js",
"repository": "https://github.com/ChainSafe/web3.js",
"author": "ChainSafe Systems",
"license": "LGPL-3.0",
"engines": {
"node": ">=8.0.0"
},
"main": "lib/index.js",
"files": [
"lib/**/*"
],
"scripts": {
"compile": "tsc -b tsconfig.json"
"build": "yarn clean && yarn compile",
"clean": "rimraf lib && rimraf buildcache",
"compile": "tsc --build",
"lint": "yarn prettier --write . && eslint \"./src/**/*.ts\" --max-warnings=0",
"lint:check": "yarn prettier --check . && eslint \"./src/**/*.ts\" --max-warnings=0",
"test": "jest",
"test:unit": "jest ./test/unit"
},
"devDependencies": {
"@types/jest": "^26.0.22",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"eslint": "^7.24.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.22.1",
"jest": "^26.6.3",
"prettier": "^2.3.0",
"ts-jest": "^26.5.4",
"typescript": "^4.2.4"
},
"dependencies": {
"underscore": "1.9.1",
"util": "^0.12.0",
"web3-core-helpers": "3.0.0-rc.4",
"web3-providers-http": "3.0.0-rc.4",
"web3-providers-ipc": "3.0.0-rc.4",
"web3-providers-ws": "3.0.0-rc.4"
},
"gitHead": "7fefca07785c58258fa8a3299f607bb66479f031"
"web3-providers-base": "^1.0.0",
"web3-providers-http": "^4.0.0"
}
}

@@ -1,36 +0,22 @@

# web3-core-requestmanager
<p align="center">
<img src="../../assets/logo/web3js.jpg" width="200" alt="web3.js" />
</p>
[![NPM Package][npm-image]][npm-url] [![Dependency Status][deps-image]][deps-url] [![Dev Dependency Status][deps-dev-image]][deps-dev-url]
# web3.js - Request Manager
This is a sub-package of [web3.js][repo].
This requestmanager package is used by most [web3.js][repo] packages.
Please read the [documentation][docs] for more.
## Installation
### Node.js
```bash
npm install web3-core-requestmanager
yarn add web3-core-requestmanager
```
## Usage
## Package.json Scripts
```js
const Web3WsProvider = require('web3-providers-ws');
const Web3RequestManager = require('web3-core-requestmanager');
const requestManager = new Web3RequestManager(new Web3WsProvider('ws://localhost:8546'));
```
[docs]: http://web3js.readthedocs.io/en/1.0/
[repo]: https://github.com/ethereum/web3.js
[npm-image]: https://img.shields.io/npm/v/web3-core-requestmanager.svg
[npm-url]: https://npmjs.org/package/web3-core-requestmanager
[deps-image]: https://david-dm.org/ethereum/web3.js/1.x/status.svg?path=packages/web3-core-requestmanager
[deps-url]: https://david-dm.org/ethereum/web3.js/1.x?path=packages/web3-core-requestmanager
[deps-dev-image]: https://david-dm.org/ethereum/web3.js/1.x/dev-status.svg?path=packages/web3-core-requestmanager
[deps-dev-url]: https://david-dm.org/ethereum/web3.js/1.x?type=dev&path=packages/web3-core-requestmanager
- `build`: Runs `yarn clean` and `yarn compile`
- `clean`: Uses `rimraf` to remove `lib/` and `buildcache/`
- `compile`: Uses `tsc` to build package and depedenent packages
- `lint`: Uses `prettier` and `eslint` to lint package
- `lint:check`: Uses prettier and `eslint` to check if package has been linted
- `test`: Uses `jest` to run all tests
- `test:integration`: Uses `jest` to run tests under `/test/integration`
- `test:unit`: Uses `jest` to run tests under `/test/unit`
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc