Commit Graph
14 Commits
Author SHA1 Message Date
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
Jaco Greeff c5eff1d37a Storage now returns null (not undefined) on non-existent (#124)
* Storage now returns null (not undefined on failure)

* Update deps

* Linting
2018-08-10 14:28:00 +02:00
Jaco Greeff e2365bb00a RxJS 6 (#123)
* RxJS 6

* Don't log observable promise.catch to console

* Extra space
2018-08-07 17:30:18 +02:00
Jaco Greeff fe4c34defe Classify Http & Ws providers (#120)
* Class-ify HttpProvider

* Class-ify WsProvider (tests still WIP)

* Rework tests

* rx-api usage
2018-08-07 16:59:40 +02:00
Jaco Greeff ee01cc5287 Promise observables don't throw (#122) 2018-08-07 12:29:34 +02:00
Jaco Greeff ae9fc0bd97 Update @polkadot/types (#105) 2018-06-26 11:11:43 +02:00
Jaco Greeff 432f9a73a9 TypeScript conversion (#101)
* Auto-conversion

* ES6 import/export

* WIP...

* WIP...

* And... we are TS typed, some good, some bad, some better, some worse

* Tests passing
2018-06-23 13:39:31 +02:00
Jaco Greeff 41acc4a5e7 Copyright project authors (#98)
* Copyright project authors

* Add contributors
2018-06-13 22:27:29 +02:00
Jaco Greeff a0e77730a5 Update @polkadot/jsonrpc (system_*) 2018-05-28 16:14:42 +02:00
Jaco Greeff 9cef7feea1 Update dependencies (#93) 2018-05-24 16:41:41 +02:00
Jaco Greeff 861155f9ef Use jsonrpc definitions from @polkadot/jsonrpc (#91)
* Drop api-jsonrpc in favour of @polkadot/jsonrpc

* Change converters

* Address issues after conversion
2018-05-18 10:08:08 +02:00
Jaco Greeff 91862244a4 Bump dependencies 2018-05-15 14:26:05 +02:00
Jaco Greeff 92c7c2cc1f Move Rx API wrapper into api (#87)
* Move Rx API wrapper into api

* Bump
2018-05-07 12:01:09 +02:00