[CI Skip] 0.38.10

This commit is contained in:
Travis CI
2019-01-10 16:44:46 +00:00
parent 2a2df9a1c3
commit 7b89e55f9a
369 changed files with 3398 additions and 2912 deletions
+20
View File
@@ -1,10 +1,30 @@
* ["balances/accountIdAndIndex"](modules/_balances_accountidandindex_.md)
* ["balances/accountIdToIndex"](modules/_balances_accountidtoindex_.md)
* ["balances/accountIndexToId"](modules/_balances_accountindextoid_.md)
* ["balances/accountIndexes"](modules/_balances_accountindexes_.md)
* ["balances/fees"](modules/_balances_fees_.md)
* ["balances/index"](modules/_balances_index_.md)
* ["balances/validatingBalance"](modules/_balances_validatingbalance_.md)
* ["balances/validatingBalances"](modules/_balances_validatingbalances_.md)
* ["balances/votingBalance"](modules/_balances_votingbalance_.md)
* ["balances/votingBalances"](modules/_balances_votingbalances_.md)
* ["balances/votingBalancesNominatorsFor"](modules/_balances_votingbalancesnominatorsfor_.md)
* ["chain/bestNumber"](modules/_chain_bestnumber_.md)
* ["chain/bestNumberFinalised"](modules/_chain_bestnumberfinalised_.md)
* ["chain/index"](modules/_chain_index_.md)
* ["democracy/index"](modules/_democracy_index_.md)
* ["democracy/referendumInfos"](modules/_democracy_referenduminfos_.md)
* ["democracy/referendumVotesFor"](modules/_democracy_referendumvotesfor_.md)
* ["democracy/referendums"](modules/_democracy_referendums_.md)
* ["democracy/votes"](modules/_democracy_votes_.md)
* ["index"](modules/_index_.md)
* [Derive](interfaces/_index_.derive.md)
* ["index.spec"](modules/_index_spec_.md)
* ["session/eraLength"](modules/_session_eralength_.md)
* ["session/eraProgress"](modules/_session_eraprogress_.md)
* ["session/index"](modules/_session_index_.md)
* ["session/sessionProgress"](modules/_session_sessionprogress_.md)
* ["types"](modules/_types_.md)
* ["util/cache"](modules/_util_cache_.md)
* ["util/cache.spec"](modules/_util_cache_spec_.md)
* ["util/drr"](modules/_util_drr_.md)
+20 -2
View File
@@ -6,13 +6,31 @@
# Properties
<a id="balances"></a>
## balances
**● balances**: *`ReturnTypes`<[&quot;balances/index&quot;](../modules/_balances_index_.md)>*
*Defined in [index.ts:25](https://github.com/polkadot-js/api/blob/2a2df9a/packages/api-derive/src/index.ts#L25)*
___
<a id="chain"></a>
## chain
**● chain**: *`ReturnTypes`<[&quot;chain/index&quot;](../modules/_chain_index_.md)>*
*Defined in [index.ts:23](https://github.com/polkadot-js/api/blob/07d6139/packages/api-derive/src/index.ts#L23)*
*Defined in [index.ts:26](https://github.com/polkadot-js/api/blob/2a2df9a/packages/api-derive/src/index.ts#L26)*
___
<a id="democracy"></a>
## democracy
**● democracy**: *`ReturnTypes`<[&quot;democracy/index&quot;](../modules/_democracy_index_.md)>*
*Defined in [index.ts:27](https://github.com/polkadot-js/api/blob/2a2df9a/packages/api-derive/src/index.ts#L27)*
___
<a id="session"></a>
@@ -21,7 +39,7 @@ ___
**● session**: *`ReturnTypes`<[&quot;session/index&quot;](../modules/_session_index_.md)>*
*Defined in [index.ts:24](https://github.com/polkadot-js/api/blob/07d6139/packages/api-derive/src/index.ts#L24)*
*Defined in [index.ts:28](https://github.com/polkadot-js/api/blob/2a2df9a/packages/api-derive/src/index.ts#L28)*
___
@@ -0,0 +1,34 @@
# Type aliases
<a id="idandindex"></a>
## IdAndIndex
**Ƭ IdAndIndex**: *[`AccountId` | `undefined`, `AccountIndex` | `undefined`]*
*Defined in [balances/accountIdAndIndex.ts:15](https://github.com/polkadot-js/api/blob/2a2df9a/packages/api-derive/src/balances/accountIdAndIndex.ts#L15)*
___
# Functions
<a id="accountidandindex"></a>
## accountIdAndIndex
▸ **accountIdAndIndex**(api: *`ApiRx`*): `(Anonymous function)`
*Defined in [balances/accountIdAndIndex.ts:17](https://github.com/polkadot-js/api/blob/2a2df9a/packages/api-derive/src/balances/accountIdAndIndex.ts#L17)*
**Parameters:**
| Name | Type |
| ------ | ------ |
| api | `ApiRx` |
**Returns:** `(Anonymous function)`
___
@@ -0,0 +1,22 @@
# Functions
<a id="accountidtoindex"></a>
## accountIdToIndex
▸ **accountIdToIndex**(api: *`ApiRx`*): `(Anonymous function)`
*Defined in [balances/accountIdToIndex.ts:13](https://github.com/polkadot-js/api/blob/2a2df9a/packages/api-derive/src/balances/accountIdToIndex.ts#L13)*
**Parameters:**
| Name | Type |
| ------ | ------ |
| api | `ApiRx` |
**Returns:** `(Anonymous function)`
___
@@ -0,0 +1,38 @@
# Type aliases
<a id="accountindexes"></a>
## AccountIndexes
**Ƭ AccountIndexes**: *`object`*
*Defined in [balances/accountIndexes.ts:14](https://github.com/polkadot-js/api/blob/2a2df9a/packages/api-derive/src/balances/accountIndexes.ts#L14)*
#### Type declaration
[index: `string`]: `AccountIndex`
___
# Functions
<a id="accountindexes-1"></a>
## accountIndexes
▸ **accountIndexes**(api: *`ApiRx`*): `(Anonymous function)`
*Defined in [balances/accountIndexes.ts:16](https://github.com/polkadot-js/api/blob/2a2df9a/packages/api-derive/src/balances/accountIndexes.ts#L16)*
**Parameters:**
| Name | Type |
| ------ | ------ |
| api | `ApiRx` |
**Returns:** `(Anonymous function)`
___
@@ -0,0 +1,22 @@
# Functions
<a id="accountindextoid"></a>
## accountIndexToId
▸ **accountIndexToId**(api: *`ApiRx`*): `(Anonymous function)`
*Defined in [balances/accountIndexToId.ts:14](https://github.com/polkadot-js/api/blob/2a2df9a/packages/api-derive/src/balances/accountIndexToId.ts#L14)*
**Parameters:**
| Name | Type |
| ------ | ------ |
| api | `ApiRx` |
**Returns:** `(Anonymous function)`
___
@@ -0,0 +1,22 @@
# Functions
<a id="fees"></a>
## fees
▸ **fees**(api: *`ApiRx`*): `(Anonymous function)`
*Defined in [balances/fees.ts:12](https://github.com/polkadot-js/api/blob/2a2df9a/packages/api-derive/src/balances/fees.ts#L12)*
**Parameters:**
| Name | Type |
| ------ | ------ |
| api | `ApiRx` |
**Returns:** `(Anonymous function)`
___
@@ -0,0 +1,2 @@
@@ -0,0 +1,22 @@
# Functions
<a id="validatingbalance"></a>
## validatingBalance
▸ **validatingBalance**(api: *`ApiRx`*): `(Anonymous function)`
*Defined in [balances/validatingBalance.ts:16](https://github.com/polkadot-js/api/blob/2a2df9a/packages/api-derive/src/balances/validatingBalance.ts#L16)*
**Parameters:**
| Name | Type |
| ------ | ------ |
| api | `ApiRx` |
**Returns:** `(Anonymous function)`
___
@@ -0,0 +1,22 @@
# Functions
<a id="validatingbalances"></a>
## validatingBalances
▸ **validatingBalances**(api: *`ApiRx`*): `(Anonymous function)`
*Defined in [balances/validatingBalances.ts:14](https://github.com/polkadot-js/api/blob/2a2df9a/packages/api-derive/src/balances/validatingBalances.ts#L14)*
**Parameters:**
| Name | Type |
| ------ | ------ |
| api | `ApiRx` |
**Returns:** `(Anonymous function)`
___
@@ -0,0 +1,22 @@
# Functions
<a id="votingbalance"></a>
## votingBalance
▸ **votingBalance**(api: *`ApiRx`*): `(Anonymous function)`
*Defined in [balances/votingBalance.ts:16](https://github.com/polkadot-js/api/blob/2a2df9a/packages/api-derive/src/balances/votingBalance.ts#L16)*
**Parameters:**
| Name | Type |
| ------ | ------ |
| api | `ApiRx` |
**Returns:** `(Anonymous function)`
___
@@ -0,0 +1,22 @@
# Functions
<a id="votingbalances"></a>
## votingBalances
▸ **votingBalances**(api: *`ApiRx`*): `(Anonymous function)`
*Defined in [balances/votingBalances.ts:13](https://github.com/polkadot-js/api/blob/2a2df9a/packages/api-derive/src/balances/votingBalances.ts#L13)*
**Parameters:**
| Name | Type |
| ------ | ------ |
| api | `ApiRx` |
**Returns:** `(Anonymous function)`
___
@@ -0,0 +1,22 @@
# Functions
<a id="votingbalancesnominatorsfor"></a>
## votingBalancesNominatorsFor
▸ **votingBalancesNominatorsFor**(api: *`ApiRx`*): `(Anonymous function)`
*Defined in [balances/votingBalancesNominatorsFor.ts:14](https://github.com/polkadot-js/api/blob/2a2df9a/packages/api-derive/src/balances/votingBalancesNominatorsFor.ts#L14)*
**Parameters:**
| Name | Type |
| ------ | ------ |
| api | `ApiRx` |
**Returns:** `(Anonymous function)`
___
@@ -8,7 +8,7 @@
▸ **bestNumber**(api: *`ApiRx`*): `(Anonymous function)`
*Defined in [chain/bestNumber.ts:13](https://github.com/polkadot-js/api/blob/07d6139/packages/api-derive/src/chain/bestNumber.ts#L13)*
*Defined in [chain/bestNumber.ts:15](https://github.com/polkadot-js/api/blob/2a2df9a/packages/api-derive/src/chain/bestNumber.ts#L15)*
Get the latest block number.
@@ -0,0 +1,24 @@
# Functions
<a id="bestnumberfinalised"></a>
## bestNumberFinalised
▸ **bestNumberFinalised**(api: *`ApiRx`*): `(Anonymous function)`
*Defined in [chain/bestNumberFinalised.ts:15](https://github.com/polkadot-js/api/blob/2a2df9a/packages/api-derive/src/chain/bestNumberFinalised.ts#L15)*
Get the latest finalised block number.
**Parameters:**
| Name | Type |
| ------ | ------ |
| api | `ApiRx` |
**Returns:** `(Anonymous function)`
___
@@ -0,0 +1,2 @@
@@ -0,0 +1,22 @@
# Functions
<a id="referenduminfos"></a>
## referendumInfos
▸ **referendumInfos**(api: *`ApiRx`*): `(Anonymous function)`
*Defined in [democracy/referendumInfos.ts:13](https://github.com/polkadot-js/api/blob/2a2df9a/packages/api-derive/src/democracy/referendumInfos.ts#L13)*
**Parameters:**
| Name | Type |
| ------ | ------ |
| api | `ApiRx` |
**Returns:** `(Anonymous function)`
___
@@ -0,0 +1,22 @@
# Functions
<a id="referendums"></a>
## referendums
▸ **referendums**(api: *`ApiRx`*): `(Anonymous function)`
*Defined in [democracy/referendums.ts:13](https://github.com/polkadot-js/api/blob/2a2df9a/packages/api-derive/src/democracy/referendums.ts#L13)*
**Parameters:**
| Name | Type |
| ------ | ------ |
| api | `ApiRx` |
**Returns:** `(Anonymous function)`
___
@@ -0,0 +1,22 @@
# Functions
<a id="referendumvotesfor"></a>
## referendumVotesFor
▸ **referendumVotesFor**(api: *`ApiRx`*): `(Anonymous function)`
*Defined in [democracy/referendumVotesFor.ts:17](https://github.com/polkadot-js/api/blob/2a2df9a/packages/api-derive/src/democracy/referendumVotesFor.ts#L17)*
**Parameters:**
| Name | Type |
| ------ | ------ |
| api | `ApiRx` |
**Returns:** `(Anonymous function)`
___
@@ -0,0 +1,22 @@
# Functions
<a id="votes"></a>
## votes
▸ **votes**(api: *`ApiRx`*): `(Anonymous function)`
*Defined in [democracy/votes.ts:12](https://github.com/polkadot-js/api/blob/2a2df9a/packages/api-derive/src/democracy/votes.ts#L12)*
**Parameters:**
| Name | Type |
| ------ | ------ |
| api | `ApiRx` |
**Returns:** `(Anonymous function)`
___
+1 -1
View File
@@ -20,7 +20,7 @@
▸ **decorateDerive**(api: *`ApiRx`*): [Derive](../interfaces/_index_.derive.md)
*Defined in [index.ts:27](https://github.com/polkadot-js/api/blob/07d6139/packages/api-derive/src/index.ts#L27)*
*Defined in [index.ts:31](https://github.com/polkadot-js/api/blob/2a2df9a/packages/api-derive/src/index.ts#L31)*
**Parameters:**
@@ -0,0 +1,22 @@
# Functions
<a id="eralength"></a>
## eraLength
▸ **eraLength**(api: *`ApiRx`*): `(Anonymous function)`
*Defined in [session/eraLength.ts:13](https://github.com/polkadot-js/api/blob/2a2df9a/packages/api-derive/src/session/eraLength.ts#L13)*
**Parameters:**
| Name | Type |
| ------ | ------ |
| api | `ApiRx` |
**Returns:** `(Anonymous function)`
___
@@ -0,0 +1,22 @@
# Functions
<a id="eraprogress"></a>
## eraProgress
▸ **eraProgress**(api: *`ApiRx`*): `(Anonymous function)`
*Defined in [session/eraProgress.ts:14](https://github.com/polkadot-js/api/blob/2a2df9a/packages/api-derive/src/session/eraProgress.ts#L14)*
**Parameters:**
| Name | Type |
| ------ | ------ |
| api | `ApiRx` |
**Returns:** `(Anonymous function)`
___
@@ -8,7 +8,7 @@
▸ **sessionProgress**(api: *`ApiRx`*): `(Anonymous function)`
*Defined in [session/sessionProgress.ts:14](https://github.com/polkadot-js/api/blob/07d6139/packages/api-derive/src/session/sessionProgress.ts#L14)*
*Defined in [session/sessionProgress.ts:14](https://github.com/polkadot-js/api/blob/2a2df9a/packages/api-derive/src/session/sessionProgress.ts#L14)*
**Parameters:**
+40
View File
@@ -0,0 +1,40 @@
# Type aliases
<a id="derivedbalances"></a>
## DerivedBalances
**Ƭ DerivedBalances**: *`object`*
*Defined in [types.ts:7](https://github.com/polkadot-js/api/blob/2a2df9a/packages/api-derive/src/types.ts#L7)*
#### Type declaration
___
<a id="derivedbalancesmap"></a>
## DerivedBalancesMap
**Ƭ DerivedBalancesMap**: *`object`*
*Defined in [types.ts:17](https://github.com/polkadot-js/api/blob/2a2df9a/packages/api-derive/src/types.ts#L17)*
#### Type declaration
[index: `string`]: [DerivedBalances](_types_.md#derivedbalances)
___
<a id="derivedreferendumvote"></a>
## DerivedReferendumVote
**Ƭ DerivedReferendumVote**: *`object`*
*Defined in [types.ts:21](https://github.com/polkadot-js/api/blob/2a2df9a/packages/api-derive/src/types.ts#L21)*
#### Type declaration
___
+1 -1
View File
@@ -8,7 +8,7 @@
▸ **cache**(fn: *`Function`*, map?: *`WeakMap`<`object`, `any`>*): `(Anonymous function)`
*Defined in [util/cache.ts:23](https://github.com/polkadot-js/api/blob/07d6139/packages/api-derive/src/util/cache.ts#L23)*
*Defined in [util/cache.ts:23](https://github.com/polkadot-js/api/blob/2a2df9a/packages/api-derive/src/util/cache.ts#L23)*
Create memoization for a 2-currified function.