@polkadot/jsonrpc
Advanced tools
Comparing version 0.1.4 to 0.1.5
'use strict'; | ||
module.exports = { | ||
chain: require('./chain'), | ||
state: require('./state') | ||
chain: require('./rpc/chain'), | ||
state: require('./rpc/state') | ||
}; // ISC, Copyright 2017 Jaco Greeff |
{ | ||
"name": "@polkadot/jsonrpc", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "Method definitions for the Polkador RPC layer", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -28,4 +28,3 @@ # Polkadot JavaScript JsonRpc method definitions | ||
- Add the method to the correct file in [src/](src/) | ||
- Input types as cross-referenced from the canonical implementation and match one-to-one | ||
- Should a new type be required, add it to the type list, [src/types.js](src/types.js) | ||
- Add the method to the correct file in [src/rpc/](src/rpc/) (Input/Output types as cross-referenced from the canonical implementation and match one-to-one) | ||
- Should a new type be required, add it to the type list, [src/types.js](src/types.js) (Required for flow type checking) |
@@ -7,4 +7,4 @@ // ISC, Copyright 2017 Jaco Greeff | ||
module.exports = ({ | ||
chain: require('./chain'), | ||
state: require('./state') | ||
chain: require('./rpc/chain'), | ||
state: require('./rpc/state') | ||
}: { [string]: InterfaceDefinition }); |
8717
30