Commit Graph
15 Commits
Author SHA1 Message Date
Jaco Greeff 35b4f9a095 Api & RxApi now created via new (#153)
* Api & RxApi now created via new

* Bump version
2018-09-14 17:32:58 +02:00
Jaco Greeff 6bc06ad38f Add session.noteOffline extrinsic (#140)
* Add session.noteOffline extrinsic

* Remove extra debug logging
2018-08-22 10:04:22 +02:00
Jaco Greeff 137468d4a5 Fix mock tests (dep upgrade) 2018-08-16 13:25:21 +02:00
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 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 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 f5a9c207d0 Add TSLint (#106)
* Add TSLint

* Update dependencies

* Update dependencies
2018-06-27 12:22:52 +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 462fa6e5c4 Expose WS subscribe/unsubscribe (#63)
* Expose WS subscribe

* Support unsubscribe

* Align unsubscribe with method

* Basic e2e sub test

* Cleanup parameter positions

* Small update

* Handle non-supplied in output formatter
2018-04-16 13:49:02 +02:00
Jaco Greeff 671314f91d Expand license header (#48) 2018-01-15 21:48:22 +01:00
Jaco Greeff d80b737b1a 2018 (#47) 2018-01-04 08:46:12 +01:00
Jaco Greeff dfe4a62e70 Update to dev 12 (#28) 2017-12-01 20:57:16 +01:00
Jaco Greeff e8ccc9aa79 Move to lerna repo (#19)
* Pull api-* packages into lerna repo

* Bootstrap with hoist

* Update jest alias config

* Add api-jsonrpc

* Pull in jsonrpc

* Update badges

* Don't hoist, use workspaces

* .eslintrc to root

* Cleanups, build from root

* Shorthand commands

* Update to @polkadot/dev 0.9.1

* Update description
2017-11-28 18:03:48 +01:00