Cleanups (#56)

This commit is contained in:
Jaco Greeff
2018-03-15 18:11:45 +01:00
committed by GitHub
parent b7e6948e1e
commit ff5d14fe0f
2 changed files with 0 additions and 8 deletions
-6
View File
@@ -19,9 +19,3 @@ The API is split up into a number of internal packages -
- [@polkadot/api-format](packages/api-format/) Input and output formatters
- [@polkadot/api-jsonrpc](packages/api-jsonrpc/) Interface definitions for RPC
- [@polkadot/api-provider](packages/api-provider/) Transport providers
## Contributing
- Make sure you have [Lerna](https://lernajs.io/) installed, `yarn install -g lerna`
- Bootstrap the dependencies, `lerna bootstrap`
- Make any changes in the relevant package, on master merges new versions will be published automatically
-2
View File
@@ -12,8 +12,6 @@ const interfaces = require('@polkadot/api-jsonrpc');
const createMethod = require('./method');
const createSubscribe = require('./subscribe');
console.log('interfaces', interfaces);
module.exports = function createInterface (provider: ProviderInterface, section: InterfaceTypes): ApiInterface$Section {
const exposed: $Shape<ApiInterface$Section> = {};
const { methods } = interfaces[section];