New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@parity/jsonrpc

Package Overview
Dependencies
Maintainers
3
Versions
222
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@parity/jsonrpc - npm Package Compare versions

Comparing version 1.8.11 to 2.0.1

.babelrc

41

package.json
{
"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

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