Pull in observable API from UI (#175)

* Pull in observable api...

* Progress changing stuff...

* votingBalance

* Update resul types

* Expose toBn on Moment

* Rework... WIP

* ... More type cleanups

* Linting passes

* BN helpers for UInt

* Update api-observable

* Add api-observable package.json

* Allow Struct/Tuple to create from hex string

* Future-proof Length with bitLength (u64/u128 compant encoding PR out)

* Make Compact number encoding shareable

* Split Api into functional sections

* Cleanup types

* Additional per-use comments

* Remove params/primitives from README

* api-format  -> api-codec

* Whitespace.
This commit is contained in:
Jaco Greeff
2018-10-01 11:22:15 +02:00
committed by GitHub
parent 465d986de1
commit 782bb8063c
24 changed files with 1010 additions and 68 deletions
+1
View File
@@ -6,6 +6,7 @@
"paths":
{
"@polkadot/api-codec/*": ["packages/api-codec/src/*"],
"@polkadot/api-observable/*": ["packages/api-observable/src/*"],
"@polkadot/api-provider/*": ["packages/api-provider/src/*"],
"@polkadot/api-rx/*": ["packages/api-rx/src/*"],
"@polkadot/api/*": ["packages/api/src/*"],