[CI Skip] 0.34.6

This commit is contained in:
Travis CI
2019-02-14 21:11:42 +00:00
parent c3fafbeab7
commit 4f155f2a8d
200 changed files with 754 additions and 561 deletions
+15 -15
View File
@@ -8,7 +8,7 @@
**● BRANCH_NODE_NO_VALUE**: *`254`* = 254
*Defined in [constants.ts:10](https://github.com/polkadot-js/common/blob/0710c73/packages/trie-codec/src/constants.ts#L10)*
*Defined in [constants.ts:10](https://github.com/polkadot-js/common/blob/c3fafbe/packages/trie-codec/src/constants.ts#L10)*
___
<a id="branch_node_with_value"></a>
@@ -17,7 +17,7 @@ ___
**● BRANCH_NODE_WITH_VALUE**: *`255`* = 255
*Defined in [constants.ts:11](https://github.com/polkadot-js/common/blob/0710c73/packages/trie-codec/src/constants.ts#L11)*
*Defined in [constants.ts:11](https://github.com/polkadot-js/common/blob/c3fafbe/packages/trie-codec/src/constants.ts#L11)*
___
<a id="empty_trie"></a>
@@ -26,7 +26,7 @@ ___
**● EMPTY_TRIE**: *`0`* = 0
*Defined in [constants.ts:5](https://github.com/polkadot-js/common/blob/0710c73/packages/trie-codec/src/constants.ts#L5)*
*Defined in [constants.ts:5](https://github.com/polkadot-js/common/blob/c3fafbe/packages/trie-codec/src/constants.ts#L5)*
___
<a id="extension_node_big"></a>
@@ -35,7 +35,7 @@ ___
**● EXTENSION_NODE_BIG**: *`253`* = 253
*Defined in [constants.ts:9](https://github.com/polkadot-js/common/blob/0710c73/packages/trie-codec/src/constants.ts#L9)*
*Defined in [constants.ts:9](https://github.com/polkadot-js/common/blob/c3fafbe/packages/trie-codec/src/constants.ts#L9)*
___
<a id="extension_node_offset"></a>
@@ -44,7 +44,7 @@ ___
**● EXTENSION_NODE_OFFSET**: *`128`* = 128
*Defined in [constants.ts:8](https://github.com/polkadot-js/common/blob/0710c73/packages/trie-codec/src/constants.ts#L8)*
*Defined in [constants.ts:8](https://github.com/polkadot-js/common/blob/c3fafbe/packages/trie-codec/src/constants.ts#L8)*
___
<a id="extension_node_small_max"></a>
@@ -53,7 +53,7 @@ ___
**● EXTENSION_NODE_SMALL_MAX**: *`number`* = EXTENSION_NODE_BIG - 1
*Defined in [constants.ts:15](https://github.com/polkadot-js/common/blob/0710c73/packages/trie-codec/src/constants.ts#L15)*
*Defined in [constants.ts:15](https://github.com/polkadot-js/common/blob/c3fafbe/packages/trie-codec/src/constants.ts#L15)*
___
<a id="extension_node_threshold"></a>
@@ -62,7 +62,7 @@ ___
**● EXTENSION_NODE_THRESHOLD**: *`number`* = EXTENSION_NODE_BIG - EXTENSION_NODE_OFFSET
*Defined in [constants.ts:13](https://github.com/polkadot-js/common/blob/0710c73/packages/trie-codec/src/constants.ts#L13)*
*Defined in [constants.ts:13](https://github.com/polkadot-js/common/blob/c3fafbe/packages/trie-codec/src/constants.ts#L13)*
___
<a id="leaf_node_big"></a>
@@ -71,7 +71,7 @@ ___
**● LEAF_NODE_BIG**: *`127`* = 127
*Defined in [constants.ts:7](https://github.com/polkadot-js/common/blob/0710c73/packages/trie-codec/src/constants.ts#L7)*
*Defined in [constants.ts:7](https://github.com/polkadot-js/common/blob/c3fafbe/packages/trie-codec/src/constants.ts#L7)*
___
<a id="leaf_node_offset"></a>
@@ -80,7 +80,7 @@ ___
**● LEAF_NODE_OFFSET**: *`1`* = 1
*Defined in [constants.ts:6](https://github.com/polkadot-js/common/blob/0710c73/packages/trie-codec/src/constants.ts#L6)*
*Defined in [constants.ts:6](https://github.com/polkadot-js/common/blob/c3fafbe/packages/trie-codec/src/constants.ts#L6)*
___
<a id="leaf_node_small_max"></a>
@@ -89,7 +89,7 @@ ___
**● LEAF_NODE_SMALL_MAX**: *`number`* = LEAF_NODE_BIG - 1
*Defined in [constants.ts:14](https://github.com/polkadot-js/common/blob/0710c73/packages/trie-codec/src/constants.ts#L14)*
*Defined in [constants.ts:14](https://github.com/polkadot-js/common/blob/c3fafbe/packages/trie-codec/src/constants.ts#L14)*
___
<a id="leaf_node_threshold"></a>
@@ -98,7 +98,7 @@ ___
**● LEAF_NODE_THRESHOLD**: *`number`* = LEAF_NODE_BIG - LEAF_NODE_OFFSET
*Defined in [constants.ts:12](https://github.com/polkadot-js/common/blob/0710c73/packages/trie-codec/src/constants.ts#L12)*
*Defined in [constants.ts:12](https://github.com/polkadot-js/common/blob/c3fafbe/packages/trie-codec/src/constants.ts#L12)*
___
<a id="node_type_branch"></a>
@@ -107,7 +107,7 @@ ___
**● NODE_TYPE_BRANCH**: *`1`* = 1
*Defined in [constants.ts:17](https://github.com/polkadot-js/common/blob/0710c73/packages/trie-codec/src/constants.ts#L17)*
*Defined in [constants.ts:17](https://github.com/polkadot-js/common/blob/c3fafbe/packages/trie-codec/src/constants.ts#L17)*
___
<a id="node_type_ext"></a>
@@ -116,7 +116,7 @@ ___
**● NODE_TYPE_EXT**: *`2`* = 2
*Defined in [constants.ts:18](https://github.com/polkadot-js/common/blob/0710c73/packages/trie-codec/src/constants.ts#L18)*
*Defined in [constants.ts:18](https://github.com/polkadot-js/common/blob/c3fafbe/packages/trie-codec/src/constants.ts#L18)*
___
<a id="node_type_leaf"></a>
@@ -125,7 +125,7 @@ ___
**● NODE_TYPE_LEAF**: *`3`* = 3
*Defined in [constants.ts:19](https://github.com/polkadot-js/common/blob/0710c73/packages/trie-codec/src/constants.ts#L19)*
*Defined in [constants.ts:19](https://github.com/polkadot-js/common/blob/c3fafbe/packages/trie-codec/src/constants.ts#L19)*
___
<a id="node_type_null"></a>
@@ -134,7 +134,7 @@ ___
**● NODE_TYPE_NULL**: *`0`* = 0
*Defined in [constants.ts:16](https://github.com/polkadot-js/common/blob/0710c73/packages/trie-codec/src/constants.ts#L16)*
*Defined in [constants.ts:16](https://github.com/polkadot-js/common/blob/c3fafbe/packages/trie-codec/src/constants.ts#L16)*
___
+1 -1
View File
@@ -8,7 +8,7 @@
▸ **decode**(input: *`null` | `Uint8Array`*): `Uint8Array` | `null` | `Array`<`null` | `Uint8Array` | `Array`<`null` | `Uint8Array`>>
*Defined in [decode.ts:95](https://github.com/polkadot-js/common/blob/0710c73/packages/trie-codec/src/decode.ts#L95)*
*Defined in [decode.ts:95](https://github.com/polkadot-js/common/blob/c3fafbe/packages/trie-codec/src/decode.ts#L95)*
**Parameters:**
+1 -1
View File
@@ -8,7 +8,7 @@
▸ **encode**(input?: *`null` | `Uint8Array` | `Array`<`null` | `Uint8Array`>*): `Uint8Array`
*Defined in [encode.ts:101](https://github.com/polkadot-js/common/blob/0710c73/packages/trie-codec/src/encode.ts#L101)*
*Defined in [encode.ts:101](https://github.com/polkadot-js/common/blob/c3fafbe/packages/trie-codec/src/encode.ts#L101)*
**Parameters:**
+7 -7
View File
@@ -8,7 +8,7 @@
▸ **addNibblesTerminator**(nibbles: *`Uint8Array`*): `Uint8Array`
*Defined in [nibbles.ts:31](https://github.com/polkadot-js/common/blob/0710c73/packages/trie-codec/src/nibbles.ts#L31)*
*Defined in [nibbles.ts:31](https://github.com/polkadot-js/common/blob/c3fafbe/packages/trie-codec/src/nibbles.ts#L31)*
**Parameters:**
@@ -25,7 +25,7 @@ ___
▸ **decodeNibbles**(value: *`null` | `Uint8Array`*): `Uint8Array`
*Defined in [nibbles.ts:52](https://github.com/polkadot-js/common/blob/0710c73/packages/trie-codec/src/nibbles.ts#L52)*
*Defined in [nibbles.ts:52](https://github.com/polkadot-js/common/blob/c3fafbe/packages/trie-codec/src/nibbles.ts#L52)*
**Parameters:**
@@ -42,7 +42,7 @@ ___
▸ **encodeNibbles**(nibbles: *`Uint8Array`*): `Uint8Array`
*Defined in [nibbles.ts:65](https://github.com/polkadot-js/common/blob/0710c73/packages/trie-codec/src/nibbles.ts#L65)*
*Defined in [nibbles.ts:65](https://github.com/polkadot-js/common/blob/c3fafbe/packages/trie-codec/src/nibbles.ts#L65)*
**Parameters:**
@@ -59,7 +59,7 @@ ___
▸ **extractKey**(key: *`null` | `Uint8Array`*): `Uint8Array`
*Defined in [nibbles.ts:15](https://github.com/polkadot-js/common/blob/0710c73/packages/trie-codec/src/nibbles.ts#L15)*
*Defined in [nibbles.ts:15](https://github.com/polkadot-js/common/blob/c3fafbe/packages/trie-codec/src/nibbles.ts#L15)*
**Parameters:**
@@ -76,7 +76,7 @@ ___
▸ **extractNodeKey**(__namedParameters: *[`null` | `Uint8Array`]*): `Uint8Array`
*Defined in [nibbles.ts:21](https://github.com/polkadot-js/common/blob/0710c73/packages/trie-codec/src/nibbles.ts#L21)*
*Defined in [nibbles.ts:21](https://github.com/polkadot-js/common/blob/c3fafbe/packages/trie-codec/src/nibbles.ts#L21)*
**Parameters:**
@@ -93,7 +93,7 @@ ___
▸ **isNibblesTerminated**(nibbles: *`Uint8Array`*): `boolean`
*Defined in [nibbles.ts:27](https://github.com/polkadot-js/common/blob/0710c73/packages/trie-codec/src/nibbles.ts#L27)*
*Defined in [nibbles.ts:27](https://github.com/polkadot-js/common/blob/c3fafbe/packages/trie-codec/src/nibbles.ts#L27)*
**Parameters:**
@@ -110,7 +110,7 @@ ___
▸ **removeNibblesTerminator**(nibbles: *`Uint8Array`*): `Uint8Array`
*Defined in [nibbles.ts:44](https://github.com/polkadot-js/common/blob/0710c73/packages/trie-codec/src/nibbles.ts#L44)*
*Defined in [nibbles.ts:44](https://github.com/polkadot-js/common/blob/c3fafbe/packages/trie-codec/src/nibbles.ts#L44)*
**Parameters:**
@@ -8,7 +8,7 @@
▸ **createBranch**(value: *`Uint8Array` | `null`*, hasChildren: *`Array`<`boolean`>*): `Uint8Array`
*Defined in [stream/createBranch.ts:10](https://github.com/polkadot-js/common/blob/0710c73/packages/trie-codec/src/stream/createBranch.ts#L10)*
*Defined in [stream/createBranch.ts:10](https://github.com/polkadot-js/common/blob/c3fafbe/packages/trie-codec/src/stream/createBranch.ts#L10)*
**Parameters:**
@@ -8,7 +8,7 @@
▸ **createEmpty**(): `Uint8Array`
*Defined in [stream/createEmpty.ts:7](https://github.com/polkadot-js/common/blob/0710c73/packages/trie-codec/src/stream/createEmpty.ts#L7)*
*Defined in [stream/createEmpty.ts:7](https://github.com/polkadot-js/common/blob/c3fafbe/packages/trie-codec/src/stream/createEmpty.ts#L7)*
**Returns:** `Uint8Array`
@@ -8,7 +8,7 @@
▸ **createExtension**(key: *`Uint8Array`*): `Uint8Array`
*Defined in [stream/createExtension.ts:7](https://github.com/polkadot-js/common/blob/0710c73/packages/trie-codec/src/stream/createExtension.ts#L7)*
*Defined in [stream/createExtension.ts:7](https://github.com/polkadot-js/common/blob/c3fafbe/packages/trie-codec/src/stream/createExtension.ts#L7)*
**Parameters:**
@@ -8,7 +8,7 @@
▸ **createLeaf**(key: *`Uint8Array`*, value: *`Uint8Array`*): `Uint8Array`
*Defined in [stream/createLeaf.ts:10](https://github.com/polkadot-js/common/blob/0710c73/packages/trie-codec/src/stream/createLeaf.ts#L10)*
*Defined in [stream/createLeaf.ts:10](https://github.com/polkadot-js/common/blob/c3fafbe/packages/trie-codec/src/stream/createLeaf.ts#L10)*
**Parameters:**
@@ -8,7 +8,7 @@
▸ **createSubstream**(value: *`Uint8Array`*): `Uint8Array`
*Defined in [stream/createSubstream.ts:8](https://github.com/polkadot-js/common/blob/0710c73/packages/trie-codec/src/stream/createSubstream.ts#L8)*
*Defined in [stream/createSubstream.ts:8](https://github.com/polkadot-js/common/blob/c3fafbe/packages/trie-codec/src/stream/createSubstream.ts#L8)*
**Parameters:**
@@ -8,7 +8,7 @@
▸ **createValue**(value: *`null` | `Uint8Array`*): `Uint8Array`
*Defined in [stream/createValue.ts:9](https://github.com/polkadot-js/common/blob/0710c73/packages/trie-codec/src/stream/createValue.ts#L9)*
*Defined in [stream/createValue.ts:9](https://github.com/polkadot-js/common/blob/c3fafbe/packages/trie-codec/src/stream/createValue.ts#L9)*
**Parameters:**
@@ -8,7 +8,7 @@
▸ **encBranch**(value: *`Uint8Array` | `null`*): `Uint8Array`
*Defined in [stream/endBranch.ts:7](https://github.com/polkadot-js/common/blob/0710c73/packages/trie-codec/src/stream/endBranch.ts#L7)*
*Defined in [stream/endBranch.ts:7](https://github.com/polkadot-js/common/blob/c3fafbe/packages/trie-codec/src/stream/endBranch.ts#L7)*
**Parameters:**
+1 -1
View File
@@ -8,7 +8,7 @@
**Ƭ Codec**: *`object`*
*Defined in [types.ts:5](https://github.com/polkadot-js/common/blob/0710c73/packages/trie-codec/src/types.ts#L5)*
*Defined in [types.ts:5](https://github.com/polkadot-js/common/blob/c3fafbe/packages/trie-codec/src/types.ts#L5)*
#### Type declaration
@@ -8,7 +8,7 @@
▸ **fromNibbles**(input: *`Uint8Array`*): `Uint8Array`
*Defined in [util/fromNibbles.ts:19](https://github.com/polkadot-js/common/blob/0710c73/packages/trie-codec/src/util/fromNibbles.ts#L19)*
*Defined in [util/fromNibbles.ts:19](https://github.com/polkadot-js/common/blob/c3fafbe/packages/trie-codec/src/util/fromNibbles.ts#L19)*
*__name__*: fromNibbles
@@ -8,7 +8,7 @@
▸ **fuseNibbles**(nibbles: *`Uint8Array`*, isLeaf: *`boolean`*): `Uint8Array`
*Defined in [util/fuseNibbles.ts:12](https://github.com/polkadot-js/common/blob/0710c73/packages/trie-codec/src/util/fuseNibbles.ts#L12)*
*Defined in [util/fuseNibbles.ts:12](https://github.com/polkadot-js/common/blob/c3fafbe/packages/trie-codec/src/util/fuseNibbles.ts#L12)*
**Parameters:**
@@ -8,7 +8,7 @@
▸ **sharedPrefixLength**(first: *`Uint8Array`*, second: *`Uint8Array`*): `number`
*Defined in [util/sharedPrefixLength.ts:5](https://github.com/polkadot-js/common/blob/0710c73/packages/trie-codec/src/util/sharedPrefixLength.ts#L5)*
*Defined in [util/sharedPrefixLength.ts:5](https://github.com/polkadot-js/common/blob/c3fafbe/packages/trie-codec/src/util/sharedPrefixLength.ts#L5)*
**Parameters:**
+1 -1
View File
@@ -8,7 +8,7 @@
▸ **toNibbles**(input?: *`Uint8Array` | `null`*): `Uint8Array`
*Defined in [util/toNibbles.ts:19](https://github.com/polkadot-js/common/blob/0710c73/packages/trie-codec/src/util/toNibbles.ts#L19)*
*Defined in [util/toNibbles.ts:19](https://github.com/polkadot-js/common/blob/c3fafbe/packages/trie-codec/src/util/toNibbles.ts#L19)*
*__name__*: toNibbles