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
This commit is contained in:
Jaco Greeff
2018-03-15 12:59:49 +01:00
committed by GitHub
parent e84bd1b36b
commit 21c14bd85c
66 changed files with 2500 additions and 1113 deletions
+5 -3
View File
@@ -24,10 +24,12 @@ export type InterfaceMethodDefinition = {
export type InterfaceTypes = 'chain' | 'state';
export type InterfaceDefinition$Methods = {
[string]: InterfaceMethodDefinition
};
export type InterfaceDefinition = {
methods: {
[string]: InterfaceMethodDefinition
}
methods: InterfaceDefinition$Methods
};
export type InterfaceDefinitions = {