@parity/jsonrpc
Advanced tools
Comparing version 1.8.11 to 2.0.1
{ | ||
"name": "@parity/jsonrpc", | ||
"description": "JSON and JS interface defintions for RPC", | ||
"version": "1.8.11", | ||
"main": "library.js", | ||
"version": "2.0.1", | ||
"main": "index.js", | ||
"author": "Parity Team <admin@parity.io>", | ||
"maintainers": [ | ||
"Jaco Greeff" | ||
"Jaco Greeff", | ||
"Maciej Hirsz" | ||
], | ||
@@ -14,8 +15,6 @@ "contributors": [], | ||
"type": "git", | ||
"url": "git+https://github.com/paritytech/parity.git" | ||
"url": "git+https://github.com/paritytech/js-jsonrpc.git" | ||
}, | ||
"keywords": [ | ||
"Ethereum", | ||
"ABI", | ||
"API", | ||
"RPC", | ||
@@ -25,10 +24,30 @@ "Parity" | ||
"scripts": { | ||
"test": "mocha 'test/*.spec.js'" | ||
"build:json": "node scripts/build-rpc-json.js", | ||
"build:markdown": "node scripts/build-rpc-markdown.js", | ||
"build": "npm run build:json && npm run build:markdown" | ||
}, | ||
"devDependencies": { | ||
"chai": "3.5.0", | ||
"mocha": "3.2.0", | ||
"nock": "9.0.7" | ||
"babel-cli": "^6.26.0", | ||
"babel-core": "^6.26.0", | ||
"babel-eslint": "^7.2.3", | ||
"babel-plugin-transform-class-properties": "^6.24.1", | ||
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.0", | ||
"babel-plugin-transform-object-rest-spread": "^6.26.0", | ||
"babel-preset-env": "^1.6.0", | ||
"babel-preset-stage-0": "^6.24.1", | ||
"chalk": "^2.0.1", | ||
"eslint": "^4.4.0", | ||
"eslint-config-semistandard": "^11.0.0", | ||
"eslint-config-standard": "^10.2.1", | ||
"eslint-config-standard-react": "^5.0.0", | ||
"eslint-plugin-import": "^2.7.0", | ||
"eslint-plugin-node": "^5.1.1", | ||
"eslint-plugin-promise": "^3.5.0", | ||
"eslint-plugin-react": "^7.1.0", | ||
"eslint-plugin-standard": "^3.0.1", | ||
"lodash": "^4.17.4", | ||
"mkdirp": "^0.5.1", | ||
"yargs": "^8.0.2" | ||
}, | ||
"dependencies": {} | ||
} | ||
} |
@@ -1,5 +0,21 @@ | ||
# @parity/jsonrpc | ||
# jsonrpc | ||
JSON and JS interface defintions for RPC calls. | ||
JSON file of all ethereum's rpc methods supported by parity | ||
[https://github.com/paritytech/parity/tree/master/js/src/jsonrpc](https://github.com/paritytech/parity/tree/master/js/src/jsonrpc) | ||
## interfaces | ||
[interfaces.md](release/interfaces.md) contains the auto-generated list of interfaces exposed, along with their relevant documentation | ||
## contributing | ||
0. Clone the repo | ||
0. Branch | ||
0. Add the missing interfaces only into `src/interfaces/*.js` | ||
0. Parameters (array) & Returns take objects of type | ||
- `{ type: [Array|Boolean|Object|String|...], desc: 'some description', example: 100|'0xff'|{ ... } }` | ||
- Types are built-in JS types or those defined in `src/types.js` (e.g. `BlockNumber`, `Quantity`, etc.) | ||
- If a formatter is required, add it as `format: 'string-type'` | ||
0. Run the lint & tests, `npm run lint && npm run test` | ||
0. Generate via `npm run build` which outputs `index.js` & `index.json`. | ||
0. (optional) Generate docs via `npm run build:markdown` which outputs `md` files to `./docs`. | ||
0. Check-in and make a PR. |
Sorry, the diff of this file is too big to display
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
26
5156
22
203684
21
3
2