[CI Skip] 0.42.5
This commit is contained in:
@@ -19,7 +19,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/b2f0618/packages/rpc-provider/src/mock/index.ts#L68)*
|
||||
*Defined in [mock/index.ts:68](https://github.com/polkadot-js/api/blob/c1672e8/packages/rpc-provider/src/mock/index.ts#L68)*
|
||||
|
||||
**Returns:** [Mock](_mock_index_.mock.md)
|
||||
|
||||
@@ -33,7 +33,7 @@ ___
|
||||
|
||||
**● isUpdating**: *`boolean`* = true
|
||||
|
||||
*Defined in [mock/index.ts:43](https://github.com/polkadot-js/api/blob/b2f0618/packages/rpc-provider/src/mock/index.ts#L43)*
|
||||
*Defined in [mock/index.ts:43](https://github.com/polkadot-js/api/blob/c1672e8/packages/rpc-provider/src/mock/index.ts#L43)*
|
||||
|
||||
___
|
||||
<a id="subscriptions"></a>
|
||||
@@ -49,7 +49,7 @@ ___
|
||||
return subs;
|
||||
}, ({} as MockState$Subscriptions))
|
||||
|
||||
*Defined in [mock/index.ts:57](https://github.com/polkadot-js/api/blob/b2f0618/packages/rpc-provider/src/mock/index.ts#L57)*
|
||||
*Defined in [mock/index.ts:57](https://github.com/polkadot-js/api/blob/c1672e8/packages/rpc-provider/src/mock/index.ts#L57)*
|
||||
|
||||
___
|
||||
|
||||
@@ -61,7 +61,7 @@ ___
|
||||
|
||||
gethasSubscriptions(): `boolean`
|
||||
|
||||
*Defined in [mock/index.ts:74](https://github.com/polkadot-js/api/blob/b2f0618/packages/rpc-provider/src/mock/index.ts#L74)*
|
||||
*Defined in [mock/index.ts:74](https://github.com/polkadot-js/api/blob/c1672e8/packages/rpc-provider/src/mock/index.ts#L74)*
|
||||
|
||||
**Returns:** `boolean`
|
||||
|
||||
@@ -77,7 +77,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/b2f0618/packages/rpc-provider/src/mock/index.ts#L78)*
|
||||
*Defined in [mock/index.ts:78](https://github.com/polkadot-js/api/blob/c1672e8/packages/rpc-provider/src/mock/index.ts#L78)*
|
||||
|
||||
**Returns:** [Mock](_mock_index_.mock.md)
|
||||
|
||||
@@ -90,7 +90,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/b2f0618/packages/rpc-provider/src/mock/index.ts#L82)*
|
||||
*Defined in [mock/index.ts:82](https://github.com/polkadot-js/api/blob/c1672e8/packages/rpc-provider/src/mock/index.ts#L82)*
|
||||
|
||||
**Returns:** `void`
|
||||
|
||||
@@ -103,7 +103,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/b2f0618/packages/rpc-provider/src/mock/index.ts#L86)*
|
||||
*Defined in [mock/index.ts:86](https://github.com/polkadot-js/api/blob/c1672e8/packages/rpc-provider/src/mock/index.ts#L86)*
|
||||
|
||||
**Returns:** `boolean`
|
||||
|
||||
@@ -116,7 +116,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/b2f0618/packages/rpc-provider/src/mock/index.ts#L90)*
|
||||
*Defined in [mock/index.ts:90](https://github.com/polkadot-js/api/blob/c1672e8/packages/rpc-provider/src/mock/index.ts#L90)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -136,7 +136,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/b2f0618/packages/rpc-provider/src/mock/index.ts#L94)*
|
||||
*Defined in [mock/index.ts:94](https://github.com/polkadot-js/api/blob/c1672e8/packages/rpc-provider/src/mock/index.ts#L94)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -154,7 +154,7 @@ ___
|
||||
|
||||
▸ **subscribe**(type: *`string`*, method: *`string`*, ...params: *`Array`<`any`>*): `Promise`<`number`>
|
||||
|
||||
*Defined in [mock/index.ts:102](https://github.com/polkadot-js/api/blob/b2f0618/packages/rpc-provider/src/mock/index.ts#L102)*
|
||||
*Defined in [mock/index.ts:102](https://github.com/polkadot-js/api/blob/c1672e8/packages/rpc-provider/src/mock/index.ts#L102)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -175,7 +175,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/b2f0618/packages/rpc-provider/src/mock/index.ts#L122)*
|
||||
*Defined in [mock/index.ts:122](https://github.com/polkadot-js/api/blob/c1672e8/packages/rpc-provider/src/mock/index.ts#L122)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user