[CI Skip] 0.30.31

This commit is contained in:
Travis CI
2018-10-05 15:38:24 +00:00
parent d4990f8381
commit 0adf36122e
157 changed files with 3103 additions and 2174 deletions
@@ -7,8 +7,7 @@
*__description__*: It does not support subscriptions so you won't be able to listen to events such as new blocks or balance changes. It is usually preferrable using the [WsProvider](_ws_index_.wsprovider.md).
*__example__*:
```
```javascript
import createApi from '@polkadot/api';
import WsProvider from '@polkadot/api-provider/ws';
@@ -34,7 +33,7 @@ const api = createApi(provider);
⊕ **new HttpProvider**(endpoint: *`string`*): [HttpProvider](_http_index_.httpprovider.md)
*Defined in [http/index.ts:38](https://github.com/polkadot-js/api/blob/5b5caa1/packages/api-provider/src/http/index.ts#L38)*
*Defined in [http/index.ts:40](https://github.com/polkadot-js/api/blob/d4990f8/packages/api-provider/src/http/index.ts#L40)*
**Parameters:**
@@ -56,7 +55,7 @@ ___
*Implementation of [ProviderInterface](../interfaces/_types_d_.providerinterface.md).[isConnected](../interfaces/_types_d_.providerinterface.md#isconnected)*
*Defined in [http/index.ts:55](https://github.com/polkadot-js/api/blob/5b5caa1/packages/api-provider/src/http/index.ts#L55)*
*Defined in [http/index.ts:57](https://github.com/polkadot-js/api/blob/d4990f8/packages/api-provider/src/http/index.ts#L57)*
*__summary__*: Whether the node is connected or not.
@@ -72,7 +71,7 @@ ___
*Implementation of [ProviderInterface](../interfaces/_types_d_.providerinterface.md).[on](../interfaces/_types_d_.providerinterface.md#on)*
*Defined in [http/index.ts:63](https://github.com/polkadot-js/api/blob/5b5caa1/packages/api-provider/src/http/index.ts#L63)*
*Defined in [http/index.ts:65](https://github.com/polkadot-js/api/blob/d4990f8/packages/api-provider/src/http/index.ts#L65)*
*__summary__*: Events are not supported with the HttpProvider, see [WsProvider](_ws_index_.wsprovider.md).
@@ -96,7 +95,7 @@ ___
*Implementation of [ProviderInterface](../interfaces/_types_d_.providerinterface.md).[send](../interfaces/_types_d_.providerinterface.md#send)*
*Defined in [http/index.ts:70](https://github.com/polkadot-js/api/blob/5b5caa1/packages/api-provider/src/http/index.ts#L70)*
*Defined in [http/index.ts:72](https://github.com/polkadot-js/api/blob/d4990f8/packages/api-provider/src/http/index.ts#L72)*
*__summary__*: Send HTTP POST Request with Body to configured HTTP Endpoint.
@@ -118,7 +117,7 @@ ___
*Implementation of [ProviderInterface](../interfaces/_types_d_.providerinterface.md).[subscribe](../interfaces/_types_d_.providerinterface.md#subscribe)*
*Defined in [http/index.ts:92](https://github.com/polkadot-js/api/blob/5b5caa1/packages/api-provider/src/http/index.ts#L92)*
*Defined in [http/index.ts:94](https://github.com/polkadot-js/api/blob/d4990f8/packages/api-provider/src/http/index.ts#L94)*
*__summary__*: Subscriptions are not supported with the HttpProvider, see [WsProvider](_ws_index_.wsprovider.md).
@@ -142,7 +141,7 @@ ___
*Implementation of [ProviderInterface](../interfaces/_types_d_.providerinterface.md).[unsubscribe](../interfaces/_types_d_.providerinterface.md#unsubscribe)*
*Defined in [http/index.ts:101](https://github.com/polkadot-js/api/blob/5b5caa1/packages/api-provider/src/http/index.ts#L101)*
*Defined in [http/index.ts:103](https://github.com/polkadot-js/api/blob/d4990f8/packages/api-provider/src/http/index.ts#L103)*
*__summary__*: Subscriptions are not supported with the HttpProvider, see [WsProvider](_ws_index_.wsprovider.md).