-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(nibijs)!: inherit from StargateClient directly (#111)
* refactor: use cosmjs extensions * refactor: replace queryCmd with inherited StargateClient * chore: re-generate docs * fix: tests broken by change * chore: remove unused file * fix: use better operator for waiting for next block
- Loading branch information
Showing
31 changed files
with
383 additions
and
1,051 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
[NibiJS Documentation - v0.19.5](../intro.md) / [Exports](../modules.md) / NibiruQueryClient | ||
|
||
# Class: NibiruQueryClient | ||
|
||
## Hierarchy | ||
|
||
- `StargateClient` | ||
|
||
↳ **`NibiruQueryClient`** | ||
|
||
## Table of contents | ||
|
||
### Constructors | ||
|
||
- [constructor](NibiruQueryClient.md#constructor) | ||
|
||
### Properties | ||
|
||
- [nibiruExtensions](NibiruQueryClient.md#nibiruextensions) | ||
|
||
### Methods | ||
|
||
- [waitForHeight](NibiruQueryClient.md#waitforheight) | ||
- [waitForNextBlock](NibiruQueryClient.md#waitfornextblock) | ||
- [connect](NibiruQueryClient.md#connect) | ||
|
||
## Constructors | ||
|
||
### constructor | ||
|
||
• `Protected` **new NibiruQueryClient**(`tmClient`, `options`) | ||
|
||
#### Parameters | ||
|
||
| Name | Type | | ||
| :------ | :------ | | ||
| `tmClient` | `Tendermint34Client` | | ||
| `options` | `StargateClientOptions` | | ||
|
||
#### Overrides | ||
|
||
StargateClient.constructor | ||
|
||
#### Defined in | ||
|
||
[query/query.ts:40](https://github.com/NibiruChain/ts-sdk/blob/75477c4/packages/nibijs/src/query/query.ts#L40) | ||
|
||
## Properties | ||
|
||
### nibiruExtensions | ||
|
||
• `Readonly` **nibiruExtensions**: [`NibiruExtensions`](../modules.md#nibiruextensions) | ||
|
||
#### Defined in | ||
|
||
[query/query.ts:30](https://github.com/NibiruChain/ts-sdk/blob/75477c4/packages/nibijs/src/query/query.ts#L30) | ||
|
||
## Methods | ||
|
||
### waitForHeight | ||
|
||
▸ **waitForHeight**(`height`): `Promise`<`void`\> | ||
|
||
#### Parameters | ||
|
||
| Name | Type | | ||
| :------ | :------ | | ||
| `height` | `number` | | ||
|
||
#### Returns | ||
|
||
`Promise`<`void`\> | ||
|
||
#### Defined in | ||
|
||
[query/query.ts:55](https://github.com/NibiruChain/ts-sdk/blob/75477c4/packages/nibijs/src/query/query.ts#L55) | ||
|
||
___ | ||
|
||
### waitForNextBlock | ||
|
||
▸ **waitForNextBlock**(): `Promise`<`void`\> | ||
|
||
#### Returns | ||
|
||
`Promise`<`void`\> | ||
|
||
#### Defined in | ||
|
||
[query/query.ts:63](https://github.com/NibiruChain/ts-sdk/blob/75477c4/packages/nibijs/src/query/query.ts#L63) | ||
|
||
___ | ||
|
||
### connect | ||
|
||
▸ `Static` **connect**(`endpoint`, `options?`): `Promise`<[`NibiruQueryClient`](NibiruQueryClient.md)\> | ||
|
||
#### Parameters | ||
|
||
| Name | Type | | ||
| :------ | :------ | | ||
| `endpoint` | `string` | | ||
| `options` | `StargateClientOptions` | | ||
|
||
#### Returns | ||
|
||
`Promise`<[`NibiruQueryClient`](NibiruQueryClient.md)\> | ||
|
||
#### Overrides | ||
|
||
StargateClient.connect | ||
|
||
#### Defined in | ||
|
||
[query/query.ts:32](https://github.com/NibiruChain/ts-sdk/blob/75477c4/packages/nibijs/src/query/query.ts#L32) |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.