web3-core-requestmanager
Advanced tools
Comparing version 3.0.0-rc.4 to 4.0.0
{ | ||
"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` |
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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
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
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
Found 1 instance in 1 package
2
2
1
1
8056
10
9
106
1
23
1
+ Addedweb3-providers-base@^1.0.0
+ Added@noble/curves@1.4.2(transitive)
+ Added@noble/hashes@1.4.0(transitive)
+ Added@scure/base@1.1.9(transitive)
+ Added@scure/bip32@1.4.0(transitive)
+ Added@scure/bip39@1.3.0(transitive)
+ Addedcross-fetch@4.0.0(transitive)
+ Addedethereum-cryptography@2.2.1(transitive)
+ Addedeventemitter3@5.0.1(transitive)
+ Addednode-fetch@2.7.0(transitive)
+ Addedtr46@0.0.3(transitive)
+ Addedweb3-errors@1.3.0(transitive)
+ Addedweb3-providers-http@4.2.0(transitive)
+ Addedweb3-types@1.8.0(transitive)
+ Addedweb3-utils@4.3.1(transitive)
+ Addedweb3-validator@2.0.6(transitive)
+ Addedwebidl-conversions@3.0.1(transitive)
+ Addedwhatwg-url@5.0.0(transitive)
+ Addedzod@3.23.8(transitive)
- Removedunderscore@1.9.1
- Removedutil@^0.12.0
- Removedweb3-core-helpers@3.0.0-rc.4
- Removedweb3-providers-ipc@3.0.0-rc.4
- Removedweb3-providers-ws@3.0.0-rc.4
- Removed@noble/hashes@1.5.0(transitive)
- Removedbn.js@4.11.64.12.0(transitive)
- Removedbrorand@1.1.0(transitive)
- Removedbuffer-to-arraybuffer@0.0.5(transitive)
- Removedbufferutil@4.0.8(transitive)
- Removedcookiejar@2.1.4(transitive)
- Removedd@1.0.2(transitive)
- Removeddebug@2.6.9(transitive)
- Removeddecode-uri-component@0.2.2(transitive)
- Removeddecompress-response@3.3.0(transitive)
- Removeddom-walk@0.1.2(transitive)
- Removedelliptic@6.5.7(transitive)
- Removedes5-ext@0.10.64(transitive)
- Removedes6-iterator@2.0.3(transitive)
- Removedes6-symbol@3.1.4(transitive)
- Removedesniff@2.0.1(transitive)
- Removedeth-lib@0.2.8(transitive)
- Removedethereum-bloom-filters@1.2.0(transitive)
- Removedethjs-unit@0.1.6(transitive)
- Removedevent-emitter@0.3.5(transitive)
- Removedeventemitter3@4.0.4(transitive)
- Removedext@1.7.0(transitive)
- Removedglobal@4.4.0(transitive)
- Removedhash.js@1.1.7(transitive)
- Removedhmac-drbg@1.0.1(transitive)
- Removedhttp-https@1.0.0(transitive)
- Removedis-function@1.0.2(transitive)
- Removedis-hex-prefixed@1.0.0(transitive)
- Removedis-typedarray@1.0.0(transitive)
- Removedmimic-response@1.0.1(transitive)
- Removedmin-document@2.19.0(transitive)
- Removedminimalistic-assert@1.0.1(transitive)
- Removedminimalistic-crypto-utils@1.0.1(transitive)
- Removedms@2.0.0(transitive)
- Removednext-tick@1.1.0(transitive)
- Removednode-gyp-build@4.8.2(transitive)
- Removednumber-to-bn@1.7.0(transitive)
- Removedobject-assign@4.1.1(transitive)
- Removedoboe@2.1.5(transitive)
- Removedonce@1.4.0(transitive)
- Removedparse-headers@2.0.5(transitive)
- Removedprocess@0.11.10(transitive)
- Removedquery-string@5.1.1(transitive)
- Removedrandombytes@2.1.0(transitive)
- Removedsafe-buffer@5.2.1(transitive)
- Removedsimple-concat@1.0.1(transitive)
- Removedsimple-get@2.8.2(transitive)
- Removedstrict-uri-encode@1.1.0(transitive)
- Removedstrip-hex-prefix@1.0.0(transitive)
- Removedtimed-out@4.0.1(transitive)
- Removedtype@2.7.3(transitive)
- Removedtypedarray-to-buffer@3.1.5(transitive)
- Removedunderscore@1.9.1(transitive)
- Removedurl-set-query@1.0.0(transitive)
- Removedutf-8-validate@5.0.10(transitive)
- Removedutf8@3.0.0(transitive)
- Removedweb3-core-helpers@1.3.43.0.0-rc.4(transitive)
- Removedweb3-eth-iban@1.3.43.0.0-rc.4(transitive)
- Removedweb3-providers-http@3.0.0-rc.4(transitive)
- Removedweb3-providers-ipc@3.0.0-rc.4(transitive)
- Removedweb3-providers-ws@3.0.0-rc.4(transitive)
- Removedweb3-utils@1.3.43.0.0-rc.4(transitive)
- Removedwebsocket@1.0.35(transitive)
- Removedwrappy@1.0.2(transitive)
- Removedxhr@2.6.0(transitive)
- Removedxhr-request@1.1.0(transitive)
- Removedxhr-request-promise@0.1.3(transitive)
- Removedxhr2-cookies@1.1.0(transitive)
- Removedxtend@4.0.2(transitive)
- Removedyaeti@0.0.6(transitive)
Updatedweb3-providers-http@^4.0.0