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
This commit is contained in:
Jaco Greeff
2018-04-16 13:49:02 +02:00
committed by GitHub
parent 232cd11e9d
commit 462fa6e5c4
26 changed files with 427 additions and 83 deletions
+1 -1
View File
@@ -16,6 +16,6 @@ module.exports = ({
isSubscription: true,
inputs: [],
output: {
type: 'HeaderHash'
type: 'Header'
}
}: InterfaceMethodDefinition);