Commit Graph
11 Commits
Author SHA1 Message Date
Jaco Greeff bd2a1f54fc Track subscriptions per method (#134)
* Track subscriptions per method

* Update subscription tests

* Correct newHead un/subscribe methods
2018-08-15 16:20:45 +02:00
Jaco Greeff a369c8804a Add chain_getBlock & author_pendingExtrinsics (#132)
* Add chain_getBlock & author_pendingExtrinsics

* Remove sample

* TSLint
2018-08-15 15:34:16 +02:00
Jaco Greeff 8ce2b87e87 null/undefined checks for boolean 2018-08-14 14:07:28 +02:00
Jaco Greeff ef1c87872e Handle null/undefined param values properly (#127) 2018-08-13 11:17:23 +02:00
Jaco Greeff 8300cf787b Return all Accounts as ss58 2018-08-13 09:35:05 +02:00
Jaco Greeff b57b03450d null/undefined check for value decoding 2018-08-12 00:47:23 +02:00
Jaco Greeff 415bedcd3b accountId decoding 2018-08-12 00:40:12 +02:00
Jaco Greeff 285e56bf11 Don't convert null to Uint8Array([]) 2018-08-12 00:32:33 +02:00
Jaco Greeff a7dd6edcf6 Object values return undefined 2018-08-11 23:56:45 +02:00
Jaco Greeff 187c66f600 Add storage subscription API endpoints (#126)
* Add storage subscriptions

* StorageResult formatting

* Decoding WIP

* Storage subsciptions in place

* Allow null decodes, ref https://github.com/polkadot-js/apps/issues/215

* e2e tests for subscribeStorage

* Cache subscription results, return with changeset
2018-08-11 20:50:57 +02:00
Jaco Greeff ad968ec794 Import type-* from common repo (#125)
* Import type-* from common repo

* Update links

* Fix lint links (package index)
2018-08-11 11:14:20 +02:00