[CI Skip] 0.45.13

This commit is contained in:
Travis CI
2019-02-22 12:38:17 +00:00
parent d86b9c8b55
commit acbd19bb28
502 changed files with 690970 additions and 19397 deletions
@@ -12,7 +12,7 @@
▸ **decodeResponse**(response: *[JsonRpcResponse](../modules/_types_.md#jsonrpcresponse)*): `any`
*Defined in [coder/index.ts:12](https://github.com/polkadot-js/api/blob/8a946ae/packages/rpc-provider/src/coder/index.ts#L12)*
*Defined in [coder/index.ts:12](https://github.com/polkadot-js/api/blob/d86b9c8/packages/rpc-provider/src/coder/index.ts#L12)*
**Parameters:**
@@ -29,7 +29,7 @@ ___
▸ **encodeJson**(method: *`string`*, params: *`any` \| `Array`<`any`>*): `string`
*Defined in [coder/index.ts:33](https://github.com/polkadot-js/api/blob/8a946ae/packages/rpc-provider/src/coder/index.ts#L33)*
*Defined in [coder/index.ts:33](https://github.com/polkadot-js/api/blob/d86b9c8/packages/rpc-provider/src/coder/index.ts#L33)*
**Parameters:**
@@ -47,7 +47,7 @@ ___
▸ **encodeObject**(method: *`string`*, params: *`any` \| `Array`<`any`>*): [JsonRpcRequest](../modules/_types_.md#jsonrpcrequest)
*Defined in [coder/index.ts:39](https://github.com/polkadot-js/api/blob/8a946ae/packages/rpc-provider/src/coder/index.ts#L39)*
*Defined in [coder/index.ts:39](https://github.com/polkadot-js/api/blob/d86b9c8/packages/rpc-provider/src/coder/index.ts#L39)*
**Parameters:**
@@ -65,7 +65,7 @@ ___
▸ **getId**(): `number`
*Defined in [coder/index.ts:48](https://github.com/polkadot-js/api/blob/8a946ae/packages/rpc-provider/src/coder/index.ts#L48)*
*Defined in [coder/index.ts:48](https://github.com/polkadot-js/api/blob/d86b9c8/packages/rpc-provider/src/coder/index.ts#L48)*
**Returns:** `number`
File diff suppressed because it is too large Load Diff
@@ -35,7 +35,7 @@ const api = new Api(provider);
⊕ **new HttpProvider**(endpoint?: *`string`*): [HttpProvider](_http_index_.httpprovider.md)
*Defined in [http/index.ts:40](https://github.com/polkadot-js/api/blob/8a946ae/packages/rpc-provider/src/http/index.ts#L40)*
*Defined in [http/index.ts:40](https://github.com/polkadot-js/api/blob/d86b9c8/packages/rpc-provider/src/http/index.ts#L40)*
**Parameters:**
@@ -55,7 +55,7 @@ ___
gethasSubscriptions(): `boolean`
*Defined in [http/index.ts:55](https://github.com/polkadot-js/api/blob/8a946ae/packages/rpc-provider/src/http/index.ts#L55)*
*Defined in [http/index.ts:55](https://github.com/polkadot-js/api/blob/d86b9c8/packages/rpc-provider/src/http/index.ts#L55)*
*__summary__*: `true` when this provider supports subscriptions
@@ -73,7 +73,7 @@ ___
*Implementation of [ProviderInterface](../interfaces/_types_.providerinterface.md).[clone](../interfaces/_types_.providerinterface.md#clone)*
*Defined in [http/index.ts:62](https://github.com/polkadot-js/api/blob/8a946ae/packages/rpc-provider/src/http/index.ts#L62)*
*Defined in [http/index.ts:62](https://github.com/polkadot-js/api/blob/d86b9c8/packages/rpc-provider/src/http/index.ts#L62)*
*__description__*: Returns a clone of the object
@@ -88,7 +88,7 @@ ___
*Implementation of [ProviderInterface](../interfaces/_types_.providerinterface.md).[disconnect](../interfaces/_types_.providerinterface.md#disconnect)*
*Defined in [http/index.ts:69](https://github.com/polkadot-js/api/blob/8a946ae/packages/rpc-provider/src/http/index.ts#L69)*
*Defined in [http/index.ts:69](https://github.com/polkadot-js/api/blob/d86b9c8/packages/rpc-provider/src/http/index.ts#L69)*
*__description__*: Manually disconnect from the connection
@@ -103,7 +103,7 @@ ___
*Implementation of [ProviderInterface](../interfaces/_types_.providerinterface.md).[isConnected](../interfaces/_types_.providerinterface.md#isconnected)*
*Defined in [http/index.ts:77](https://github.com/polkadot-js/api/blob/8a946ae/packages/rpc-provider/src/http/index.ts#L77)*
*Defined in [http/index.ts:77](https://github.com/polkadot-js/api/blob/d86b9c8/packages/rpc-provider/src/http/index.ts#L77)*
*__summary__*: Whether the node is connected or not.
@@ -119,7 +119,7 @@ ___
*Implementation of [ProviderInterface](../interfaces/_types_.providerinterface.md).[on](../interfaces/_types_.providerinterface.md#on)*
*Defined in [http/index.ts:85](https://github.com/polkadot-js/api/blob/8a946ae/packages/rpc-provider/src/http/index.ts#L85)*
*Defined in [http/index.ts:85](https://github.com/polkadot-js/api/blob/d86b9c8/packages/rpc-provider/src/http/index.ts#L85)*
*__summary__*: Events are not supported with the HttpProvider, see [WsProvider](_ws_index_.wsprovider.md).
@@ -143,7 +143,7 @@ ___
*Implementation of [ProviderInterface](../interfaces/_types_.providerinterface.md).[send](../interfaces/_types_.providerinterface.md#send)*
*Defined in [http/index.ts:92](https://github.com/polkadot-js/api/blob/8a946ae/packages/rpc-provider/src/http/index.ts#L92)*
*Defined in [http/index.ts:92](https://github.com/polkadot-js/api/blob/d86b9c8/packages/rpc-provider/src/http/index.ts#L92)*
*__summary__*: Send HTTP POST Request with Body to configured HTTP Endpoint.
@@ -165,7 +165,7 @@ ___
*Implementation of [ProviderInterface](../interfaces/_types_.providerinterface.md).[subscribe](../interfaces/_types_.providerinterface.md#subscribe)*
*Defined in [http/index.ts:114](https://github.com/polkadot-js/api/blob/8a946ae/packages/rpc-provider/src/http/index.ts#L114)*
*Defined in [http/index.ts:114](https://github.com/polkadot-js/api/blob/d86b9c8/packages/rpc-provider/src/http/index.ts#L114)*
*__summary__*: Subscriptions are not supported with the HttpProvider, see [WsProvider](_ws_index_.wsprovider.md).
@@ -189,7 +189,7 @@ ___
*Implementation of [ProviderInterface](../interfaces/_types_.providerinterface.md).[unsubscribe](../interfaces/_types_.providerinterface.md#unsubscribe)*
*Defined in [http/index.ts:123](https://github.com/polkadot-js/api/blob/8a946ae/packages/rpc-provider/src/http/index.ts#L123)*
*Defined in [http/index.ts:123](https://github.com/polkadot-js/api/blob/d86b9c8/packages/rpc-provider/src/http/index.ts#L123)*
*__summary__*: Subscriptions are not supported with the HttpProvider, see [WsProvider](_ws_index_.wsprovider.md).
+11 -11
View File
@@ -20,7 +20,7 @@ A mock provider mainly used for testing.
⊕ **new Mock**(): [Mock](_mock_index_.mock.md)
*Defined in [mock/index.ts:68](https://github.com/polkadot-js/api/blob/8a946ae/packages/rpc-provider/src/mock/index.ts#L68)*
*Defined in [mock/index.ts:68](https://github.com/polkadot-js/api/blob/d86b9c8/packages/rpc-provider/src/mock/index.ts#L68)*
**Returns:** [Mock](_mock_index_.mock.md)
@@ -34,7 +34,7 @@ ___
**● isUpdating**: *`boolean`* = true
*Defined in [mock/index.ts:43](https://github.com/polkadot-js/api/blob/8a946ae/packages/rpc-provider/src/mock/index.ts#L43)*
*Defined in [mock/index.ts:43](https://github.com/polkadot-js/api/blob/d86b9c8/packages/rpc-provider/src/mock/index.ts#L43)*
___
<a id="subscriptions"></a>
@@ -50,7 +50,7 @@ ___
return subs;
}, ({} as MockState$Subscriptions))
*Defined in [mock/index.ts:57](https://github.com/polkadot-js/api/blob/8a946ae/packages/rpc-provider/src/mock/index.ts#L57)*
*Defined in [mock/index.ts:57](https://github.com/polkadot-js/api/blob/d86b9c8/packages/rpc-provider/src/mock/index.ts#L57)*
___
@@ -62,7 +62,7 @@ ___
gethasSubscriptions(): `boolean`
*Defined in [mock/index.ts:74](https://github.com/polkadot-js/api/blob/8a946ae/packages/rpc-provider/src/mock/index.ts#L74)*
*Defined in [mock/index.ts:74](https://github.com/polkadot-js/api/blob/d86b9c8/packages/rpc-provider/src/mock/index.ts#L74)*
**Returns:** `boolean`
@@ -78,7 +78,7 @@ ___
*Implementation of [ProviderInterface](../interfaces/_types_.providerinterface.md).[clone](../interfaces/_types_.providerinterface.md#clone)*
*Defined in [mock/index.ts:78](https://github.com/polkadot-js/api/blob/8a946ae/packages/rpc-provider/src/mock/index.ts#L78)*
*Defined in [mock/index.ts:78](https://github.com/polkadot-js/api/blob/d86b9c8/packages/rpc-provider/src/mock/index.ts#L78)*
**Returns:** [Mock](_mock_index_.mock.md)
@@ -91,7 +91,7 @@ ___
*Implementation of [ProviderInterface](../interfaces/_types_.providerinterface.md).[disconnect](../interfaces/_types_.providerinterface.md#disconnect)*
*Defined in [mock/index.ts:82](https://github.com/polkadot-js/api/blob/8a946ae/packages/rpc-provider/src/mock/index.ts#L82)*
*Defined in [mock/index.ts:82](https://github.com/polkadot-js/api/blob/d86b9c8/packages/rpc-provider/src/mock/index.ts#L82)*
**Returns:** `void`
@@ -104,7 +104,7 @@ ___
*Implementation of [ProviderInterface](../interfaces/_types_.providerinterface.md).[isConnected](../interfaces/_types_.providerinterface.md#isconnected)*
*Defined in [mock/index.ts:86](https://github.com/polkadot-js/api/blob/8a946ae/packages/rpc-provider/src/mock/index.ts#L86)*
*Defined in [mock/index.ts:86](https://github.com/polkadot-js/api/blob/d86b9c8/packages/rpc-provider/src/mock/index.ts#L86)*
**Returns:** `boolean`
@@ -117,7 +117,7 @@ ___
*Implementation of [ProviderInterface](../interfaces/_types_.providerinterface.md).[on](../interfaces/_types_.providerinterface.md#on)*
*Defined in [mock/index.ts:90](https://github.com/polkadot-js/api/blob/8a946ae/packages/rpc-provider/src/mock/index.ts#L90)*
*Defined in [mock/index.ts:90](https://github.com/polkadot-js/api/blob/d86b9c8/packages/rpc-provider/src/mock/index.ts#L90)*
**Parameters:**
@@ -137,7 +137,7 @@ ___
*Implementation of [ProviderInterface](../interfaces/_types_.providerinterface.md).[send](../interfaces/_types_.providerinterface.md#send)*
*Defined in [mock/index.ts:94](https://github.com/polkadot-js/api/blob/8a946ae/packages/rpc-provider/src/mock/index.ts#L94)*
*Defined in [mock/index.ts:94](https://github.com/polkadot-js/api/blob/d86b9c8/packages/rpc-provider/src/mock/index.ts#L94)*
**Parameters:**
@@ -155,7 +155,7 @@ ___
▸ **subscribe**(type: *`string`*, method: *`string`*, ...params: *`Array`<`any`>*): `Promise`<`number`>
*Defined in [mock/index.ts:102](https://github.com/polkadot-js/api/blob/8a946ae/packages/rpc-provider/src/mock/index.ts#L102)*
*Defined in [mock/index.ts:102](https://github.com/polkadot-js/api/blob/d86b9c8/packages/rpc-provider/src/mock/index.ts#L102)*
**Parameters:**
@@ -176,7 +176,7 @@ ___
*Implementation of [ProviderInterface](../interfaces/_types_.providerinterface.md).[unsubscribe](../interfaces/_types_.providerinterface.md#unsubscribe)*
*Defined in [mock/index.ts:122](https://github.com/polkadot-js/api/blob/8a946ae/packages/rpc-provider/src/mock/index.ts#L122)*
*Defined in [mock/index.ts:122](https://github.com/polkadot-js/api/blob/d86b9c8/packages/rpc-provider/src/mock/index.ts#L122)*
**Parameters:**
File diff suppressed because it is too large Load Diff
@@ -35,7 +35,7 @@ const api = new Api(provider);
⊕ **new WsProvider**(endpoint?: *`string`*, autoConnect?: *`boolean`*): [WsProvider](_ws_index_.wsprovider.md)
*Defined in [ws/index.ts:75](https://github.com/polkadot-js/api/blob/8a946ae/packages/rpc-provider/src/ws/index.ts#L75)*
*Defined in [ws/index.ts:75](https://github.com/polkadot-js/api/blob/d86b9c8/packages/rpc-provider/src/ws/index.ts#L75)*
**Parameters:**
@@ -56,7 +56,7 @@ ___
gethasSubscriptions(): `boolean`
*Defined in [ws/index.ts:101](https://github.com/polkadot-js/api/blob/8a946ae/packages/rpc-provider/src/ws/index.ts#L101)*
*Defined in [ws/index.ts:101](https://github.com/polkadot-js/api/blob/d86b9c8/packages/rpc-provider/src/ws/index.ts#L101)*
*__summary__*: `true` when this provider supports subscriptions
@@ -72,7 +72,7 @@ ___
▸ **clone**(): [WsProvider](_ws_index_.wsprovider.md)
*Defined in [ws/index.ts:108](https://github.com/polkadot-js/api/blob/8a946ae/packages/rpc-provider/src/ws/index.ts#L108)*
*Defined in [ws/index.ts:108](https://github.com/polkadot-js/api/blob/d86b9c8/packages/rpc-provider/src/ws/index.ts#L108)*
*__description__*: Returns a clone of the object
@@ -85,7 +85,7 @@ ___
▸ **connect**(): `void`
*Defined in [ws/index.ts:117](https://github.com/polkadot-js/api/blob/8a946ae/packages/rpc-provider/src/ws/index.ts#L117)*
*Defined in [ws/index.ts:117](https://github.com/polkadot-js/api/blob/d86b9c8/packages/rpc-provider/src/ws/index.ts#L117)*
*__summary__*: Manually connect
@@ -100,7 +100,7 @@ ___
▸ **disconnect**(): `void`
*Defined in [ws/index.ts:133](https://github.com/polkadot-js/api/blob/8a946ae/packages/rpc-provider/src/ws/index.ts#L133)*
*Defined in [ws/index.ts:133](https://github.com/polkadot-js/api/blob/d86b9c8/packages/rpc-provider/src/ws/index.ts#L133)*
*__description__*: Manually disconnect from the connection, clearing autoconnect logic
@@ -113,7 +113,7 @@ ___
▸ **isConnected**(): `boolean`
*Defined in [ws/index.ts:150](https://github.com/polkadot-js/api/blob/8a946ae/packages/rpc-provider/src/ws/index.ts#L150)*
*Defined in [ws/index.ts:150](https://github.com/polkadot-js/api/blob/d86b9c8/packages/rpc-provider/src/ws/index.ts#L150)*
*__summary__*: Whether the node is connected or not.
@@ -127,7 +127,7 @@ ___
▸ **on**(type: *[ProviderInterface$Emitted](../modules/_types_.md#providerinterface_emitted)*, sub: *[ProviderInterface$EmitCb](../modules/_types_.md#providerinterface_emitcb)*): `void`
*Defined in [ws/index.ts:159](https://github.com/polkadot-js/api/blob/8a946ae/packages/rpc-provider/src/ws/index.ts#L159)*
*Defined in [ws/index.ts:159](https://github.com/polkadot-js/api/blob/d86b9c8/packages/rpc-provider/src/ws/index.ts#L159)*
*__summary__*: Listens on events after having subscribed using the [subscribe](_ws_index_.wsprovider.md#subscribe) function.
@@ -147,7 +147,7 @@ ___
▸ **send**(method: *`string`*, params: *`Array`<`any`>*, subscription?: *`SubscriptionHandler`*): `Promise`<`any`>
*Defined in [ws/index.ts:169](https://github.com/polkadot-js/api/blob/8a946ae/packages/rpc-provider/src/ws/index.ts#L169)*
*Defined in [ws/index.ts:169](https://github.com/polkadot-js/api/blob/d86b9c8/packages/rpc-provider/src/ws/index.ts#L169)*
*__summary__*: Send JSON data using WebSockets to configured HTTP Endpoint or queue.
@@ -168,7 +168,7 @@ ___
▸ **subscribe**(type: *`string`*, method: *`string`*, params: *`Array`<`any`>*, callback: *[ProviderInterface$Callback](../modules/_types_.md#providerinterface_callback)*): `Promise`<`number`>
*Defined in [ws/index.ts:223](https://github.com/polkadot-js/api/blob/8a946ae/packages/rpc-provider/src/ws/index.ts#L223)*
*Defined in [ws/index.ts:223](https://github.com/polkadot-js/api/blob/d86b9c8/packages/rpc-provider/src/ws/index.ts#L223)*
*__name__*: subscribe
@@ -206,7 +206,7 @@ ___
▸ **unsubscribe**(type: *`string`*, method: *`string`*, id: *`number`*): `Promise`<`boolean`>
*Defined in [ws/index.ts:232](https://github.com/polkadot-js/api/blob/8a946ae/packages/rpc-provider/src/ws/index.ts#L232)*
*Defined in [ws/index.ts:232](https://github.com/polkadot-js/api/blob/d86b9c8/packages/rpc-provider/src/ws/index.ts#L232)*
*__summary__*: Allows unsubscribing to subscriptions made with [subscribe](_ws_index_.wsprovider.md#subscribe).