API formatting for inputs & outputs (#171)

* API formatting for inputs & outputs

* Shorten naming

* getStorage (signle key) operational

* Remove api-format (not used in api anymore)

* Cleanup creation logic

* Cleanup linting

* Cleanup storage creation

* e2e state test

* Add code test

* Add isBare flag to toU8a

* Uppercase... wtill wrong though

* Update metadata json

* We are creating keys properly

* Cleanup tslint

* Type splitting,m handling Tuple & Vector

* StorageChangeSet results in-place

* Update deps

* Allow Tuples to have array constructors

* Test for uncloded vec/tuple

* Update deps
This commit is contained in:
Jaco Greeff
2018-09-28 15:42:23 +02:00
committed by GitHub
parent 8380455599
commit 74737b6367
70 changed files with 748 additions and 697 deletions
+1 -3
View File
@@ -23,15 +23,13 @@ type CachedMap = {
/**
* An RxJs wrapper around the [[api]].
* @example
* ```javascript
*
* @example
* import RxApi from '@polkadot/api';
* import WsProvider from '@polkadot/api-provider/ws';
*
* const provider = new WsProvider('http://127.0.0.1:9944');
* const rxapi = new RxApi(provider);
* ```
*/
export default class RxApi implements RxApiInterface {
private _api: ApiInterface;