Commit Graph
143 Commits
Author SHA1 Message Date
Jaco Greeff 5b9c75b9cf Provider emits connected/disconnected (#76)
* Add provider.on stub (mock/http)

* Emit connected/disconnected from ws

* Update dependencies

* Expose .on on api
2018-04-24 10:01:47 +02:00
Travis CI 0012045cb2 [CI Skip] 0.8.18 2018-04-23 12:14:30 +00:00
Jaco Greeff af1f9fc2c0 Package upgrades (#74) 2018-04-23 14:10:52 +02:00
Travis CI 9fe1f2f6c6 [CI Skip] 0.8.17 2018-04-23 08:42:02 +00:00
Jaco Greeff e71b11a13b Workaround for circular connect (#73)
* Workaround for circular connect

* Upgrade dependencies
2018-04-23 10:38:42 +02:00
Travis CI e0c336abe5 [CI Skip] 0.8.16 2018-04-20 14:39:01 +00:00
Jaco Greeff 19dfccb9d6 Bump. 2018-04-20 16:35:41 +02:00
Jaco Greeff eb156a2378 Revert "Calculate hash on pass-through" (#71)
* Revert "[CI Skip]  0.8.15"

This reverts commit c1b03eaf2c.

* Revert "Calculate hash on pass-through (#70)"

This reverts commit 7074036064.

* Update package.json

* Update package.json

* Update package.json

* yarn
2018-04-20 16:22:01 +02:00
Travis CI c1b03eaf2c [CI Skip] 0.8.15 2018-04-20 13:28:56 +00:00
Jaco Greeff 7074036064 Calculate hash on pass-through (#70) 2018-04-20 15:25:37 +02:00
Travis CI 02659e3fdc [CI Skip] 0.8.14 2018-04-17 12:09:05 +00:00
Jaco Greeff 9c5b5103a7 Encode mock results as string (#69) 2018-04-17 14:06:12 +02:00
Travis CI 5c8eb6a2ad [CI Skip] 0.8.13 2018-04-17 11:20:20 +00:00
Jaco Greeff 3c40c1de64 Allow optional params (#68)
* Allow optional params

* Don't double-up on method signature

* Cleanup formatters/util
2018-04-17 13:17:19 +02:00
Travis CI 28050f86e7 [CI Skip] 0.8.12 2018-04-17 10:26:33 +00:00
Jaco Greeff 47ead04dae state_getStorage mock (#67) 2018-04-17 12:23:02 +02:00
Travis CI 41431f1921 [CI Skip] 0.8.11 2018-04-16 16:10:43 +00:00
Jaco Greeff d86cd86251 Encode mock responses as JSON (#66)
* Encode mock responses as JSON

* Update primitives
2018-04-16 18:07:21 +02:00
Travis CI 2e4a9e7793 [CI Skip] 0.8.10 2018-04-16 14:30:30 +00:00
Jaco Greeff e592f4787e Remove extra_* namespace (#65) 2018-04-16 16:27:17 +02:00
Travis CI e39a362993 [CI Skip] 0.8.9 2018-04-16 13:43:17 +00:00
Jaco Greeff 418e1ca7c2 Mock interfaces has isSubscription flag (#64)
* Mock interfaces has isSubscription flag

* chain_newHead mock
2018-04-16 15:38:33 +02:00
Travis CI 5cef7d0971 [CI Skip] 0.8.8 2018-04-16 11:52:17 +00: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
Travis CI 232cd11e9d [CI Skip] 0.8.7 2018-04-16 07:08:00 +00:00
Jaco Greeff 68edc80e82 API Subscriptions (#62)
* Upgrades

* Add getHead & newHead

* Handle pubsub interfaces

* Flow fixes
2018-04-16 09:03:06 +02:00
Travis CI 409db09ec1 [CI Skip] 0.8.6 2018-04-11 12:26:25 +00:00
Jaco Greeff 17cbec7d81 author_submitExtrinsic (#61)
* Package updates

* Add author_submitExtrinsic

* Fix types
2018-04-11 14:23:16 +02:00
Travis CI 6bcffb1232 [CI Skip] 0.8.5 2018-03-19 11:42:59 +00:00
Jaco Greeff 834ef55950 Bump @polkadot/{dev,primitives,util} (#60) 2018-03-19 12:40:07 +01:00
Travis CI 15de33f0c0 [CI Skip] 0.8.4 2018-03-16 11:14:18 +00:00
Jaco Greeff 913d6d8bd0 Add basic mock provider (#58) 2018-03-16 12:10:13 +01:00
Travis CI 030bb409f1 [CI Skip] 0.8.3 2018-03-15 17:16:10 +00:00
Jaco Greeff ff5d14fe0f Cleanups (#56) 2018-03-15 18:11:45 +01:00
Travis CI b7e6948e1e [CI Skip] 0.8.2 2018-03-15 15:36:05 +00:00
Jaco Greeff 74f14160bd Add api.extra.* (test) methods (#55) 2018-03-15 16:33:21 +01:00
Travis CI 56ec979655 [CI Skip] 0.8.1 2018-03-15 12:03:10 +00:00
Jaco Greeff 21c14bd85c Add pubsub interface definition (#54)
* Add pubsub interface definition

* Functional JsonRpcCoder

* Functional HttpProvider

* Functional WsProvider

* Functional split completed

* Split actual method subscription

* Update flow

* Flatten no user-specified array in sub call
2018-03-15 12:59:49 +01:00
Travis CI e84bd1b36b [CI Skip] 0.7.1 2018-01-25 14:22:48 +00:00
Jaco Greeff 263289a343 Split interface creation (#50)
* Split interface creation

* Lint fixes

* Update @polkadot dependencies
2018-01-25 15:19:56 +01:00
Travis CI 20f120fccd [CI Skip] 0.6.12 2018-01-15 20:59:59 +00:00
Jaco Greeff fe70e738df Update flowconfig (#49) 2018-01-15 21:56:10 +01:00
Travis CI e5119b85fa [CI Skip] 0.6.11 2018-01-15 20:54:00 +00:00
Jaco Greeff 671314f91d Expand license header (#48) 2018-01-15 21:48:22 +01:00
Travis CI f49ff7ba3f [CI Skip] 0.6.10 2018-01-04 07:48:27 +00:00
Jaco Greeff d80b737b1a 2018 (#47) 2018-01-04 08:46:12 +01:00
Travis CI e09f907641 [CI Skip] 0.6.9 2017-12-30 20:56:49 +00:00
Jaco Greeff 4053064288 Update with flow lint (#46)
* Flow lint warning fixes

* Flow updates fro new flow-bin
2017-12-30 21:54:22 +01:00
Travis CI 800f869c9f [CI Skip] 0.6.8 2017-12-18 19:10:37 +00:00
Jaco Greeff c980d3e69b Prefer static checking (#43) 2017-12-18 20:08:16 +01:00