[CI Skip] 0.31.60

This commit is contained in:
Travis CI
2018-10-18 09:10:48 +00:00
parent 290123b85f
commit 8b7b76ead8
176 changed files with 2002 additions and 2002 deletions
@@ -33,7 +33,7 @@ const api = new Api(provider);
⊕ **new WsProvider**(endpoint?: *`string`*, autoConnect?: *`boolean`*): [WsProvider](_ws_index_.wsprovider.md)
*Defined in [ws/index.ts:79](https://github.com/polkadot-js/api/blob/008c78f/packages/rpc-provider/src/ws/index.ts#L79)*
*Defined in [ws/index.ts:79](https://github.com/polkadot-js/api/blob/290123b/packages/rpc-provider/src/ws/index.ts#L79)*
**Parameters:**
@@ -54,7 +54,7 @@ ___
▸ **connect**(): `void`
*Defined in [ws/index.ts:109](https://github.com/polkadot-js/api/blob/008c78f/packages/rpc-provider/src/ws/index.ts#L109)*
*Defined in [ws/index.ts:109](https://github.com/polkadot-js/api/blob/290123b/packages/rpc-provider/src/ws/index.ts#L109)*
*__summary__*: Manually connect
@@ -69,7 +69,7 @@ ___
▸ **isConnected**(): `boolean`
*Defined in [ws/index.ts:126](https://github.com/polkadot-js/api/blob/008c78f/packages/rpc-provider/src/ws/index.ts#L126)*
*Defined in [ws/index.ts:126](https://github.com/polkadot-js/api/blob/290123b/packages/rpc-provider/src/ws/index.ts#L126)*
*__summary__*: Whether the node is connected or not.
@@ -83,7 +83,7 @@ ___
▸ **on**(type: *`ProviderInterface$Emitted`*, sub: *`ProviderInterface$EmitCb`*): `void`
*Defined in [ws/index.ts:135](https://github.com/polkadot-js/api/blob/008c78f/packages/rpc-provider/src/ws/index.ts#L135)*
*Defined in [ws/index.ts:135](https://github.com/polkadot-js/api/blob/290123b/packages/rpc-provider/src/ws/index.ts#L135)*
*__summary__*: Listens on events after having subscribed using the [subscribe](_ws_index_.wsprovider.md#subscribe) function.
@@ -103,7 +103,7 @@ ___
▸ **send**(method: *`string`*, params: *`Array`<`any`>*, subscription?: *`SubscriptionHandler`*): `Promise`<`any`>
*Defined in [ws/index.ts:142](https://github.com/polkadot-js/api/blob/008c78f/packages/rpc-provider/src/ws/index.ts#L142)*
*Defined in [ws/index.ts:142](https://github.com/polkadot-js/api/blob/290123b/packages/rpc-provider/src/ws/index.ts#L142)*
*__summary__*: Send JSON data using WebSockets to configured HTTP Endpoint or queue.
@@ -124,7 +124,7 @@ ___
▸ **subscribe**(type: *`string`*, method: *`string`*, params: *`Array`<`any`>*, callback: *`ProviderInterface$Callback`*): `Promise`<`number`>
*Defined in [ws/index.ts:198](https://github.com/polkadot-js/api/blob/008c78f/packages/rpc-provider/src/ws/index.ts#L198)*
*Defined in [ws/index.ts:198](https://github.com/polkadot-js/api/blob/290123b/packages/rpc-provider/src/ws/index.ts#L198)*
*__name__*: subscribe
@@ -161,7 +161,7 @@ ___
▸ **unsubscribe**(type: *`string`*, method: *`string`*, id: *`number`*): `Promise`<`boolean`>
*Defined in [ws/index.ts:207](https://github.com/polkadot-js/api/blob/008c78f/packages/rpc-provider/src/ws/index.ts#L207)*
*Defined in [ws/index.ts:207](https://github.com/polkadot-js/api/blob/290123b/packages/rpc-provider/src/ws/index.ts#L207)*
*__summary__*: Allows unsubscribing to subscriptions made with [subscribe](_ws_index_.wsprovider.md#subscribe).