[CI Skip] 0.31.102
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:64](https://github.com/polkadot-js/api/blob/cb9a48d/packages/rpc-provider/src/mock/index.ts#L64)*
|
||||
*Defined in [mock/index.ts:64](https://github.com/polkadot-js/api/blob/f1920e9/packages/rpc-provider/src/mock/index.ts#L64)*
|
||||
|
||||
**Returns:** [Mock](_mock_index_.mock.md)
|
||||
|
||||
@@ -33,7 +33,7 @@ ___
|
||||
|
||||
**● isUpdating**: *`boolean`* = true
|
||||
|
||||
*Defined in [mock/index.ts:42](https://github.com/polkadot-js/api/blob/cb9a48d/packages/rpc-provider/src/mock/index.ts#L42)*
|
||||
*Defined in [mock/index.ts:42](https://github.com/polkadot-js/api/blob/f1920e9/packages/rpc-provider/src/mock/index.ts#L42)*
|
||||
|
||||
___
|
||||
<a id="subscriptions"></a>
|
||||
@@ -49,7 +49,7 @@ ___
|
||||
return subs;
|
||||
}, ({} as MockState$Subscriptions))
|
||||
|
||||
*Defined in [mock/index.ts:53](https://github.com/polkadot-js/api/blob/cb9a48d/packages/rpc-provider/src/mock/index.ts#L53)*
|
||||
*Defined in [mock/index.ts:53](https://github.com/polkadot-js/api/blob/f1920e9/packages/rpc-provider/src/mock/index.ts#L53)*
|
||||
|
||||
___
|
||||
|
||||
@@ -61,7 +61,7 @@ ___
|
||||
|
||||
▸ **isConnected**(): `boolean`
|
||||
|
||||
*Defined in [mock/index.ts:70](https://github.com/polkadot-js/api/blob/cb9a48d/packages/rpc-provider/src/mock/index.ts#L70)*
|
||||
*Defined in [mock/index.ts:70](https://github.com/polkadot-js/api/blob/f1920e9/packages/rpc-provider/src/mock/index.ts#L70)*
|
||||
|
||||
**Returns:** `boolean`
|
||||
|
||||
@@ -72,7 +72,7 @@ ___
|
||||
|
||||
▸ **on**(type: *`ProviderInterface$Emitted`*, sub: *`ProviderInterface$EmitCb`*): `void`
|
||||
|
||||
*Defined in [mock/index.ts:74](https://github.com/polkadot-js/api/blob/cb9a48d/packages/rpc-provider/src/mock/index.ts#L74)*
|
||||
*Defined in [mock/index.ts:74](https://github.com/polkadot-js/api/blob/f1920e9/packages/rpc-provider/src/mock/index.ts#L74)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -90,7 +90,7 @@ ___
|
||||
|
||||
▸ **send**(method: *`string`*, params: *`Array`<`any`>*): `Promise`<`any`>
|
||||
|
||||
*Defined in [mock/index.ts:78](https://github.com/polkadot-js/api/blob/cb9a48d/packages/rpc-provider/src/mock/index.ts#L78)*
|
||||
*Defined in [mock/index.ts:78](https://github.com/polkadot-js/api/blob/f1920e9/packages/rpc-provider/src/mock/index.ts#L78)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -108,7 +108,7 @@ ___
|
||||
|
||||
▸ **subscribe**(type: *`string`*, method: *`string`*, ...params: *`Array`<`any`>*): `Promise`<`number`>
|
||||
|
||||
*Defined in [mock/index.ts:86](https://github.com/polkadot-js/api/blob/cb9a48d/packages/rpc-provider/src/mock/index.ts#L86)*
|
||||
*Defined in [mock/index.ts:86](https://github.com/polkadot-js/api/blob/f1920e9/packages/rpc-provider/src/mock/index.ts#L86)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -127,7 +127,7 @@ ___
|
||||
|
||||
▸ **unsubscribe**(type: *`string`*, method: *`string`*, id: *`number`*): `Promise`<`boolean`>
|
||||
|
||||
*Defined in [mock/index.ts:106](https://github.com/polkadot-js/api/blob/cb9a48d/packages/rpc-provider/src/mock/index.ts#L106)*
|
||||
*Defined in [mock/index.ts:106](https://github.com/polkadot-js/api/blob/f1920e9/packages/rpc-provider/src/mock/index.ts#L106)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user