[CI Skip] 0.33.29
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
|
||||
**Ƭ Constants**: *`object`*
|
||||
|
||||
*Defined in [constants.ts:9](https://github.com/polkadot-js/common/blob/d47b865/packages/trie-db/src/constants.ts#L9)*
|
||||
*Defined in [constants.ts:9](https://github.com/polkadot-js/common/blob/89030f4/packages/trie-db/src/constants.ts#L9)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -22,7 +22,7 @@ ___
|
||||
|
||||
▸ **default**(codec: *`Codec`*): `object`
|
||||
|
||||
*Defined in [constants.ts:14](https://github.com/polkadot-js/common/blob/d47b865/packages/trie-db/src/constants.ts#L14)*
|
||||
*Defined in [constants.ts:14](https://github.com/polkadot-js/common/blob/89030f4/packages/trie-db/src/constants.ts#L14)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -29,20 +29,18 @@
|
||||
|
||||
## EncodedPath
|
||||
|
||||
**Ƭ EncodedPath**: * `Uint8Array` | `null`
|
||||
*
|
||||
**Ƭ EncodedPath**: *`Uint8Array` | `null`*
|
||||
|
||||
*Defined in [types.ts:28](https://github.com/polkadot-js/common/blob/d47b865/packages/trie-db/src/types.ts#L28)*
|
||||
*Defined in [types.ts:28](https://github.com/polkadot-js/common/blob/89030f4/packages/trie-db/src/types.ts#L28)*
|
||||
|
||||
___
|
||||
<a id="node"></a>
|
||||
|
||||
## Node
|
||||
|
||||
**Ƭ Node**: * [NodeEmpty](_types_.md#nodeempty) | [NodeNotEmpty](_types_.md#nodenotempty)
|
||||
*
|
||||
**Ƭ Node**: *[NodeEmpty](_types_.md#nodeempty) | [NodeNotEmpty](_types_.md#nodenotempty)*
|
||||
|
||||
*Defined in [types.ts:34](https://github.com/polkadot-js/common/blob/d47b865/packages/trie-db/src/types.ts#L34)*
|
||||
*Defined in [types.ts:34](https://github.com/polkadot-js/common/blob/89030f4/packages/trie-db/src/types.ts#L34)*
|
||||
|
||||
___
|
||||
<a id="nodebranch"></a>
|
||||
@@ -51,7 +49,7 @@ ___
|
||||
|
||||
**Ƭ NodeBranch**: *[[NodeEncodedOrEmpty](_types_.md#nodeencodedorempty), [NodeEncodedOrEmpty](_types_.md#nodeencodedorempty), [NodeEncodedOrEmpty](_types_.md#nodeencodedorempty), [NodeEncodedOrEmpty](_types_.md#nodeencodedorempty), [NodeEncodedOrEmpty](_types_.md#nodeencodedorempty), [NodeEncodedOrEmpty](_types_.md#nodeencodedorempty), [NodeEncodedOrEmpty](_types_.md#nodeencodedorempty), [NodeEncodedOrEmpty](_types_.md#nodeencodedorempty), [NodeEncodedOrEmpty](_types_.md#nodeencodedorempty), [NodeEncodedOrEmpty](_types_.md#nodeencodedorempty), [NodeEncodedOrEmpty](_types_.md#nodeencodedorempty), [NodeEncodedOrEmpty](_types_.md#nodeencodedorempty), [NodeEncodedOrEmpty](_types_.md#nodeencodedorempty), [NodeEncodedOrEmpty](_types_.md#nodeencodedorempty), [NodeEncodedOrEmpty](_types_.md#nodeencodedorempty), [NodeEncodedOrEmpty](_types_.md#nodeencodedorempty), [NodeEncodedOrEmpty](_types_.md#nodeencodedorempty)]*
|
||||
|
||||
*Defined in [types.ts:20](https://github.com/polkadot-js/common/blob/d47b865/packages/trie-db/src/types.ts#L20)*
|
||||
*Defined in [types.ts:20](https://github.com/polkadot-js/common/blob/89030f4/packages/trie-db/src/types.ts#L20)*
|
||||
|
||||
___
|
||||
<a id="nodeempty"></a>
|
||||
@@ -60,7 +58,7 @@ ___
|
||||
|
||||
**Ƭ NodeEmpty**: *`null`*
|
||||
|
||||
*Defined in [types.ts:14](https://github.com/polkadot-js/common/blob/d47b865/packages/trie-db/src/types.ts#L14)*
|
||||
*Defined in [types.ts:14](https://github.com/polkadot-js/common/blob/89030f4/packages/trie-db/src/types.ts#L14)*
|
||||
|
||||
___
|
||||
<a id="nodeencoded"></a>
|
||||
@@ -69,17 +67,16 @@ ___
|
||||
|
||||
**Ƭ NodeEncoded**: *`Uint8Array`*
|
||||
|
||||
*Defined in [types.ts:16](https://github.com/polkadot-js/common/blob/d47b865/packages/trie-db/src/types.ts#L16)*
|
||||
*Defined in [types.ts:16](https://github.com/polkadot-js/common/blob/89030f4/packages/trie-db/src/types.ts#L16)*
|
||||
|
||||
___
|
||||
<a id="nodeencodedorempty"></a>
|
||||
|
||||
## NodeEncodedOrEmpty
|
||||
|
||||
**Ƭ NodeEncodedOrEmpty**: * [NodeEncoded](_types_.md#nodeencoded) | [NodeEmpty](_types_.md#nodeempty)
|
||||
*
|
||||
**Ƭ NodeEncodedOrEmpty**: *[NodeEncoded](_types_.md#nodeencoded) | [NodeEmpty](_types_.md#nodeempty)*
|
||||
|
||||
*Defined in [types.ts:18](https://github.com/polkadot-js/common/blob/d47b865/packages/trie-db/src/types.ts#L18)*
|
||||
*Defined in [types.ts:18](https://github.com/polkadot-js/common/blob/89030f4/packages/trie-db/src/types.ts#L18)*
|
||||
|
||||
___
|
||||
<a id="nodekv"></a>
|
||||
@@ -88,17 +85,16 @@ ___
|
||||
|
||||
**Ƭ NodeKv**: *[[EncodedPath](_types_.md#encodedpath), [NodeEncodedOrEmpty](_types_.md#nodeencodedorempty)]*
|
||||
|
||||
*Defined in [types.ts:30](https://github.com/polkadot-js/common/blob/d47b865/packages/trie-db/src/types.ts#L30)*
|
||||
*Defined in [types.ts:30](https://github.com/polkadot-js/common/blob/89030f4/packages/trie-db/src/types.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="nodenotempty"></a>
|
||||
|
||||
## NodeNotEmpty
|
||||
|
||||
**Ƭ NodeNotEmpty**: * [NodeKv](_types_.md#nodekv) | [NodeBranch](_types_.md#nodebranch)
|
||||
*
|
||||
**Ƭ NodeNotEmpty**: *[NodeKv](_types_.md#nodekv) | [NodeBranch](_types_.md#nodebranch)*
|
||||
|
||||
*Defined in [types.ts:32](https://github.com/polkadot-js/common/blob/d47b865/packages/trie-db/src/types.ts#L32)*
|
||||
*Defined in [types.ts:32](https://github.com/polkadot-js/common/blob/89030f4/packages/trie-db/src/types.ts#L32)*
|
||||
|
||||
___
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **isBranchNode**(node: *[Node](_types_.md#node)*): `boolean`
|
||||
|
||||
*Defined in [util/is.ts:57](https://github.com/polkadot-js/common/blob/d47b865/packages/trie-db/src/util/is.ts#L57)*
|
||||
*Defined in [util/is.ts:57](https://github.com/polkadot-js/common/blob/89030f4/packages/trie-db/src/util/is.ts#L57)*
|
||||
|
||||
*__name__*: isBranchNode
|
||||
|
||||
@@ -33,7 +33,7 @@ ___
|
||||
|
||||
▸ **isEmptyNode**(node: *[Node](_types_.md#node)*): `boolean`
|
||||
|
||||
*Defined in [util/is.ts:17](https://github.com/polkadot-js/common/blob/d47b865/packages/trie-db/src/util/is.ts#L17)*
|
||||
*Defined in [util/is.ts:17](https://github.com/polkadot-js/common/blob/89030f4/packages/trie-db/src/util/is.ts#L17)*
|
||||
|
||||
*__name__*: isEmptyNode
|
||||
|
||||
@@ -58,7 +58,7 @@ ___
|
||||
|
||||
▸ **isExtensionNode**(node: *[Node](_types_.md#node)*): `boolean`
|
||||
|
||||
*Defined in [util/is.ts:37](https://github.com/polkadot-js/common/blob/d47b865/packages/trie-db/src/util/is.ts#L37)*
|
||||
*Defined in [util/is.ts:37](https://github.com/polkadot-js/common/blob/89030f4/packages/trie-db/src/util/is.ts#L37)*
|
||||
|
||||
*__name__*: isExtensionNode
|
||||
|
||||
@@ -83,7 +83,7 @@ ___
|
||||
|
||||
▸ **isKvNode**(node: *[Node](_types_.md#node)*): `boolean`
|
||||
|
||||
*Defined in [util/is.ts:27](https://github.com/polkadot-js/common/blob/d47b865/packages/trie-db/src/util/is.ts#L27)*
|
||||
*Defined in [util/is.ts:27](https://github.com/polkadot-js/common/blob/89030f4/packages/trie-db/src/util/is.ts#L27)*
|
||||
|
||||
*__name__*: isKvNode
|
||||
|
||||
@@ -108,7 +108,7 @@ ___
|
||||
|
||||
▸ **isLeafNode**(node: *[Node](_types_.md#node)*): `boolean`
|
||||
|
||||
*Defined in [util/is.ts:47](https://github.com/polkadot-js/common/blob/d47b865/packages/trie-db/src/util/is.ts#L47)*
|
||||
*Defined in [util/is.ts:47](https://github.com/polkadot-js/common/blob/89030f4/packages/trie-db/src/util/is.ts#L47)*
|
||||
|
||||
*__name__*: isLeafNode
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **computeExtensionKey**(nibbles: *`Uint8Array`*): [EncodedPath](_types_.md#encodedpath)
|
||||
|
||||
*Defined in [util/key.ts:36](https://github.com/polkadot-js/common/blob/d47b865/packages/trie-db/src/util/key.ts#L36)*
|
||||
*Defined in [util/key.ts:36](https://github.com/polkadot-js/common/blob/89030f4/packages/trie-db/src/util/key.ts#L36)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -25,7 +25,7 @@ ___
|
||||
|
||||
▸ **computeLeafKey**(nibbles: *`Uint8Array`*): [EncodedPath](_types_.md#encodedpath)
|
||||
|
||||
*Defined in [util/key.ts:40](https://github.com/polkadot-js/common/blob/d47b865/packages/trie-db/src/util/key.ts#L40)*
|
||||
*Defined in [util/key.ts:40](https://github.com/polkadot-js/common/blob/89030f4/packages/trie-db/src/util/key.ts#L40)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -42,7 +42,7 @@ ___
|
||||
|
||||
▸ **consumeCommonPrefix**(left: *`Uint8Array`*, right: *`Uint8Array`*): [`Uint8Array`, `Uint8Array`, `Uint8Array`]
|
||||
|
||||
*Defined in [util/key.ts:56](https://github.com/polkadot-js/common/blob/d47b865/packages/trie-db/src/util/key.ts#L56)*
|
||||
*Defined in [util/key.ts:56](https://github.com/polkadot-js/common/blob/89030f4/packages/trie-db/src/util/key.ts#L56)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -60,7 +60,7 @@ ___
|
||||
|
||||
▸ **getCommonPrefixLength**(left: *`Uint8Array`*, right: *`Uint8Array`*): `number`
|
||||
|
||||
*Defined in [util/key.ts:46](https://github.com/polkadot-js/common/blob/d47b865/packages/trie-db/src/util/key.ts#L46)*
|
||||
*Defined in [util/key.ts:46](https://github.com/polkadot-js/common/blob/89030f4/packages/trie-db/src/util/key.ts#L46)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -76,16 +76,16 @@ ___
|
||||
|
||||
## keyEquals
|
||||
|
||||
▸ **keyEquals**(key: * `Uint8Array` | `null`*, test: * `Uint8Array` | `null`*): `boolean`
|
||||
▸ **keyEquals**(key: *`Uint8Array` | `null`*, test: *`Uint8Array` | `null`*): `boolean`
|
||||
|
||||
*Defined in [util/key.ts:10](https://github.com/polkadot-js/common/blob/d47b865/packages/trie-db/src/util/key.ts#L10)*
|
||||
*Defined in [util/key.ts:10](https://github.com/polkadot-js/common/blob/89030f4/packages/trie-db/src/util/key.ts#L10)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Name | Type |
|
||||
| ------ | ------ |
|
||||
| key | `Uint8Array` | `null`|
|
||||
| test | `Uint8Array` | `null`|
|
||||
| key | `Uint8Array` | `null` |
|
||||
| test | `Uint8Array` | `null` |
|
||||
|
||||
**Returns:** `boolean`
|
||||
|
||||
@@ -94,16 +94,16 @@ ___
|
||||
|
||||
## keyStartsWith
|
||||
|
||||
▸ **keyStartsWith**(key: * `Uint8Array` | `null`*, partial: * `Uint8Array` | `null`*): `boolean`
|
||||
▸ **keyStartsWith**(key: *`Uint8Array` | `null`*, partial: *`Uint8Array` | `null`*): `boolean`
|
||||
|
||||
*Defined in [util/key.ts:20](https://github.com/polkadot-js/common/blob/d47b865/packages/trie-db/src/util/key.ts#L20)*
|
||||
*Defined in [util/key.ts:20](https://github.com/polkadot-js/common/blob/89030f4/packages/trie-db/src/util/key.ts#L20)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Name | Type |
|
||||
| ------ | ------ |
|
||||
| key | `Uint8Array` | `null`|
|
||||
| partial | `Uint8Array` | `null`|
|
||||
| key | `Uint8Array` | `null` |
|
||||
| partial | `Uint8Array` | `null` |
|
||||
|
||||
**Returns:** `boolean`
|
||||
|
||||
|
||||
@@ -6,16 +6,16 @@
|
||||
|
||||
## decodeNode
|
||||
|
||||
▸ **decodeNode**(codec: *`Codec`*, encoded: * `Uint8Array` | [Node](_types_.md#node)*): [Node](_types_.md#node)
|
||||
▸ **decodeNode**(codec: *`Codec`*, encoded: *`Uint8Array` | [Node](_types_.md#node)*): [Node](_types_.md#node)
|
||||
|
||||
*Defined in [util/node.ts:30](https://github.com/polkadot-js/common/blob/d47b865/packages/trie-db/src/util/node.ts#L30)*
|
||||
*Defined in [util/node.ts:30](https://github.com/polkadot-js/common/blob/89030f4/packages/trie-db/src/util/node.ts#L30)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Name | Type |
|
||||
| ------ | ------ |
|
||||
| codec | `Codec` |
|
||||
| encoded | `Uint8Array` | [Node](_types_.md#node)|
|
||||
| encoded | `Uint8Array` | [Node](_types_.md#node) |
|
||||
|
||||
**Returns:** [Node](_types_.md#node)
|
||||
|
||||
@@ -26,7 +26,7 @@ ___
|
||||
|
||||
▸ **encodeNode**(codec: *`Codec`*, node: *[Node](_types_.md#node)*): `Uint8Array`
|
||||
|
||||
*Defined in [util/node.ts:46](https://github.com/polkadot-js/common/blob/d47b865/packages/trie-db/src/util/node.ts#L46)*
|
||||
*Defined in [util/node.ts:46](https://github.com/polkadot-js/common/blob/89030f4/packages/trie-db/src/util/node.ts#L46)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -44,7 +44,7 @@ ___
|
||||
|
||||
▸ **getNodeType**(node: *[Node](_types_.md#node)*): [NodeType](../enums/_types_.nodetype.md)
|
||||
|
||||
*Defined in [util/node.ts:13](https://github.com/polkadot-js/common/blob/d47b865/packages/trie-db/src/util/node.ts#L13)*
|
||||
*Defined in [util/node.ts:13](https://github.com/polkadot-js/common/blob/89030f4/packages/trie-db/src/util/node.ts#L13)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user