@parity/jsonrpc
Advanced tools
Comparing version 2.1.2 to 2.1.3
@@ -1361,3 +1361,3 @@ # The `parity` Module | ||
"block": 354221, | ||
"time": "2017-11-02T12:43:16.120Z" | ||
"time": "2017-11-17T14:15:57.938Z" | ||
} | ||
@@ -1375,3 +1375,3 @@ }] | ||
```bash | ||
curl --data '{"method":"parity_postTransaction","params":[{"from":"0xb60e8dd61c5d32be8058bb8eb970870f07233155","to":"0xd46e8dd67c5d32be8058bb8eb970870f07244567","gas":"0x76c0","gasPrice":"0x9184e72a000","value":"0x9184e72a","data":"0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675","condition":{"block":354221,"time":"2017-11-02T12:43:16.120Z"}}],"id":1,"jsonrpc":"2.0"}' -H "Content-Type: application/json" -X POST localhost:8545 | ||
curl --data '{"method":"parity_postTransaction","params":[{"from":"0xb60e8dd61c5d32be8058bb8eb970870f07233155","to":"0xd46e8dd67c5d32be8058bb8eb970870f07244567","gas":"0x76c0","gasPrice":"0x9184e72a000","value":"0x9184e72a","data":"0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675","condition":{"block":354221,"time":"2017-11-17T14:15:57.938Z"}}],"id":1,"jsonrpc":"2.0"}' -H "Content-Type: application/json" -X POST localhost:8545 | ||
``` | ||
@@ -1378,0 +1378,0 @@ |
{ | ||
"name": "@parity/jsonrpc", | ||
"description": "JSON and JS interface defintions for RPC", | ||
"version": "2.1.2", | ||
"version": "2.1.3", | ||
"main": "lib/index.js", | ||
@@ -26,11 +26,14 @@ "author": "Parity Team <admin@parity.io>", | ||
"scripts": { | ||
"build": "npm run checkout:parity && npm run build:js && npm run build:json && npm run build:markdown", | ||
"checkout:parity": "./scripts/checkout-parity.sh", | ||
"build": "npm run build:js", | ||
"build:js": "rm -rf lib && babel src --out-dir lib --ignore *.spec.js", | ||
"build:json": "node scripts/build-rpc-json.js", | ||
"build:markdown": "node scripts/build-rpc-markdown.js", | ||
"ci:build": "npm run ci:parity && npm run build:js && npm run build:json && npm run build:markdown", | ||
"ci:coveralls": "coveralls < coverage/lcov.info", | ||
"ci:parity": "./scripts/checkout-parity.sh", | ||
"ci:makeshift": "makeshift", | ||
"lint": "npm run lint:css && npm run lint:js", | ||
"lint:css": "echo \"WARN: npm run lint:css skipped\"", | ||
"lint:js": "eslint src", | ||
"test": "echo \"WARN: npm run test skipped\"", | ||
"build:js": "rm -rf lib && babel src --out-dir lib --ignore *.spec.js", | ||
"build:json": "node scripts/build-rpc-json.js", | ||
"build:markdown": "node scripts/build-rpc-markdown.js" | ||
"test": "echo \"WARN: npm run test skipped\"" | ||
}, | ||
@@ -57,2 +60,3 @@ "publishConfig": { | ||
"lodash": "^4.17.4", | ||
"makeshift": "^1.1.0", | ||
"mkdirp": "^0.5.1", | ||
@@ -59,0 +63,0 @@ "yargs": "^8.0.2" |
439245
19