Cleanups (#56)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user