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
Jaco Greeff
e71b11a13b
Workaround for circular connect ( #73 )
...
* Workaround for circular connect
* Upgrade dependencies
2018-04-23 10:38:42 +02:00
Jaco Greeff
9c5b5103a7
Encode mock results as string ( #69 )
2018-04-17 14:06:12 +02:00
Jaco Greeff
47ead04dae
state_getStorage mock ( #67 )
2018-04-17 12:23:02 +02: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
Jaco Greeff
e592f4787e
Remove extra_* namespace ( #65 )
2018-04-16 16:27:17 +02: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
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
913d6d8bd0
Add basic mock provider ( #58 )
2018-03-16 12:10:13 +01: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
Jaco Greeff
263289a343
Split interface creation ( #50 )
...
* Split interface creation
* Lint fixes
* Update @polkadot dependencies
2018-01-25 15:19:56 +01: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
4053064288
Update with flow lint ( #46 )
...
* Flow lint warning fixes
* Flow updates fro new flow-bin
2017-12-30 21:54:22 +01:00
Jaco Greeff
c980d3e69b
Prefer static checking ( #43 )
2017-12-18 20:08:16 +01:00
Jaco Greeff
2cde699476
Use primitives-json encode & decode ( #41 )
2017-12-14 22:02:07 +01:00
Jaco Greeff
88a2c0f007
Send encoded JSON over Ws ( #33 )
...
* Send encoded JSON over Ws
* Remove unused type import
2017-12-03 17:34:15 +01:00
Jaco Greeff
5b2630a013
Polyfill WebSocket with W3C ( #32 )
...
* Use W3CSocket from websocket
* Handle queueing when not connected (yet)
* Assert connection prefixes
* Update tests
* Bump
* Update error checks
* Fix polyfill test
2017-12-03 17:13:19 +01:00
Jaco Greeff
53e7f06b03
Add polyfill for WebSocket (node) ( #31 )
2017-12-03 15:37:56 +01:00
Jaco Greeff
51ea2bf988
Use util/assert ( #30 )
2017-12-03 09:46:15 +01:00
Jaco Greeff
236534471c
Update eslint from dev ( #26 )
2017-11-30 21:42:19 +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