Skip to content

Commit

Permalink
test(nibijs): make runs more consistent + fix export of dist/msg (#154)
Browse files Browse the repository at this point in the history
* fix(nibij): exports for dist/msg + make test runs more consistent

* build(nibijs): docs
  • Loading branch information
Unique-Divine authored May 27, 2023
1 parent 5c67f43 commit 37bc02f
Show file tree
Hide file tree
Showing 19 changed files with 181 additions and 157 deletions.
4 changes: 3 additions & 1 deletion packages/nibijs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline

- .

## v0.19.11
## v0.19.13

- feat(msg): implement msg factory for type parsing
- fix: exports for nibijs/dist/msg
- test: Make nibijs test runs more consistent counting account sequence mismatch as a non-failure
- test: Fix all nibijs tests.
- ci,test: Use a `nibid` localnet in CI tests. (2) Fix all nibijs tests.

Expand Down
26 changes: 13 additions & 13 deletions packages/nibijs/docs/classes/CustomChain.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[NibiJS Documentation - v0.19.12](../intro.md) / [Exports](../modules.md) / CustomChain
[NibiJS Documentation - v0.19.13](../intro.md) / [Exports](../modules.md) / CustomChain

# Class: CustomChain

Expand Down Expand Up @@ -56,7 +56,7 @@ export const TEST_CHAIN = new CustomChain({

#### Defined in

[chain/chain.ts:67](https://github.com/NibiruChain/ts-sdk/blob/c64b2f8/packages/nibijs/src/chain/chain.ts#L67)
[chain/chain.ts:67](https://github.com/NibiruChain/ts-sdk/blob/6bec800/packages/nibijs/src/chain/chain.ts#L67)

## Properties

Expand All @@ -72,7 +72,7 @@ chainId: identifier for the chain

#### Defined in

[chain/chain.ts:58](https://github.com/NibiruChain/ts-sdk/blob/c64b2f8/packages/nibijs/src/chain/chain.ts#L58)
[chain/chain.ts:58](https://github.com/NibiruChain/ts-sdk/blob/6bec800/packages/nibijs/src/chain/chain.ts#L58)

___

Expand All @@ -82,7 +82,7 @@ ___

#### Defined in

[chain/chain.ts:65](https://github.com/NibiruChain/ts-sdk/blob/c64b2f8/packages/nibijs/src/chain/chain.ts#L65)
[chain/chain.ts:65](https://github.com/NibiruChain/ts-sdk/blob/6bec800/packages/nibijs/src/chain/chain.ts#L65)

___

Expand All @@ -98,7 +98,7 @@ chainName: the name of the chain to display to the user

#### Defined in

[chain/chain.ts:59](https://github.com/NibiruChain/ts-sdk/blob/c64b2f8/packages/nibijs/src/chain/chain.ts#L59)
[chain/chain.ts:59](https://github.com/NibiruChain/ts-sdk/blob/6bec800/packages/nibijs/src/chain/chain.ts#L59)

___

Expand All @@ -114,7 +114,7 @@ endptGrpc: endpoint for the gRPC gateway. Usually on port 9090.

#### Defined in

[chain/chain.ts:62](https://github.com/NibiruChain/ts-sdk/blob/c64b2f8/packages/nibijs/src/chain/chain.ts#L62)
[chain/chain.ts:62](https://github.com/NibiruChain/ts-sdk/blob/6bec800/packages/nibijs/src/chain/chain.ts#L62)

___

Expand All @@ -130,7 +130,7 @@ endptRest: endpoint for the REST server. Also, the LCD endpoint.

#### Defined in

[chain/chain.ts:61](https://github.com/NibiruChain/ts-sdk/blob/c64b2f8/packages/nibijs/src/chain/chain.ts#L61)
[chain/chain.ts:61](https://github.com/NibiruChain/ts-sdk/blob/6bec800/packages/nibijs/src/chain/chain.ts#L61)

___

Expand All @@ -146,7 +146,7 @@ endptTm: endpoint for the Tendermint RPC server. Usually on port 26657.

#### Defined in

[chain/chain.ts:60](https://github.com/NibiruChain/ts-sdk/blob/c64b2f8/packages/nibijs/src/chain/chain.ts#L60)
[chain/chain.ts:60](https://github.com/NibiruChain/ts-sdk/blob/6bec800/packages/nibijs/src/chain/chain.ts#L60)

___

Expand All @@ -162,7 +162,7 @@ feeDenom: the denomination of the fee to be paid for transactions.

#### Defined in

[chain/chain.ts:63](https://github.com/NibiruChain/ts-sdk/blob/c64b2f8/packages/nibijs/src/chain/chain.ts#L63)
[chain/chain.ts:63](https://github.com/NibiruChain/ts-sdk/blob/6bec800/packages/nibijs/src/chain/chain.ts#L63)

## Methods

Expand All @@ -176,7 +176,7 @@ feeDenom: the denomination of the fee to be paid for transactions.

#### Defined in

[chain/chain.ts:77](https://github.com/NibiruChain/ts-sdk/blob/c64b2f8/packages/nibijs/src/chain/chain.ts#L77)
[chain/chain.ts:77](https://github.com/NibiruChain/ts-sdk/blob/6bec800/packages/nibijs/src/chain/chain.ts#L77)

___

Expand All @@ -190,7 +190,7 @@ ___

#### Defined in

[chain/chain.ts:92](https://github.com/NibiruChain/ts-sdk/blob/c64b2f8/packages/nibijs/src/chain/chain.ts#L92)
[chain/chain.ts:92](https://github.com/NibiruChain/ts-sdk/blob/6bec800/packages/nibijs/src/chain/chain.ts#L92)

___

Expand All @@ -204,7 +204,7 @@ ___

#### Defined in

[chain/chain.ts:87](https://github.com/NibiruChain/ts-sdk/blob/c64b2f8/packages/nibijs/src/chain/chain.ts#L87)
[chain/chain.ts:87](https://github.com/NibiruChain/ts-sdk/blob/6bec800/packages/nibijs/src/chain/chain.ts#L87)

___

Expand All @@ -218,4 +218,4 @@ ___

#### Defined in

[chain/chain.ts:82](https://github.com/NibiruChain/ts-sdk/blob/c64b2f8/packages/nibijs/src/chain/chain.ts#L82)
[chain/chain.ts:82](https://github.com/NibiruChain/ts-sdk/blob/6bec800/packages/nibijs/src/chain/chain.ts#L82)
14 changes: 7 additions & 7 deletions packages/nibijs/docs/classes/NibiruQueryClient.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[NibiJS Documentation - v0.19.12](../intro.md) / [Exports](../modules.md) / NibiruQueryClient
[NibiJS Documentation - v0.19.13](../intro.md) / [Exports](../modules.md) / NibiruQueryClient

# Class: NibiruQueryClient

Expand Down Expand Up @@ -45,7 +45,7 @@ StargateClient.constructor

#### Defined in

[query/query.ts:56](https://github.com/NibiruChain/ts-sdk/blob/c64b2f8/packages/nibijs/src/query/query.ts#L56)
[query/query.ts:56](https://github.com/NibiruChain/ts-sdk/blob/6bec800/packages/nibijs/src/query/query.ts#L56)

## Properties

Expand All @@ -55,7 +55,7 @@ StargateClient.constructor

#### Defined in

[query/query.ts:44](https://github.com/NibiruChain/ts-sdk/blob/c64b2f8/packages/nibijs/src/query/query.ts#L44)
[query/query.ts:44](https://github.com/NibiruChain/ts-sdk/blob/6bec800/packages/nibijs/src/query/query.ts#L44)

___

Expand All @@ -65,7 +65,7 @@ ___

#### Defined in

[query/query.ts:45](https://github.com/NibiruChain/ts-sdk/blob/c64b2f8/packages/nibijs/src/query/query.ts#L45)
[query/query.ts:45](https://github.com/NibiruChain/ts-sdk/blob/6bec800/packages/nibijs/src/query/query.ts#L45)

## Methods

Expand All @@ -85,7 +85,7 @@ ___

#### Defined in

[query/query.ts:80](https://github.com/NibiruChain/ts-sdk/blob/c64b2f8/packages/nibijs/src/query/query.ts#L80)
[query/query.ts:80](https://github.com/NibiruChain/ts-sdk/blob/6bec800/packages/nibijs/src/query/query.ts#L80)

___

Expand All @@ -99,7 +99,7 @@ ___

#### Defined in

[query/query.ts:88](https://github.com/NibiruChain/ts-sdk/blob/c64b2f8/packages/nibijs/src/query/query.ts#L88)
[query/query.ts:88](https://github.com/NibiruChain/ts-sdk/blob/6bec800/packages/nibijs/src/query/query.ts#L88)

___

Expand All @@ -124,4 +124,4 @@ StargateClient.connect

#### Defined in

[query/query.ts:47](https://github.com/NibiruChain/ts-sdk/blob/c64b2f8/packages/nibijs/src/query/query.ts#L47)
[query/query.ts:47](https://github.com/NibiruChain/ts-sdk/blob/6bec800/packages/nibijs/src/query/query.ts#L47)
14 changes: 7 additions & 7 deletions packages/nibijs/docs/classes/NibiruSigningClient.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[NibiJS Documentation - v0.19.12](../intro.md) / [Exports](../modules.md) / NibiruSigningClient
[NibiJS Documentation - v0.19.13](../intro.md) / [Exports](../modules.md) / NibiruSigningClient

# Class: NibiruSigningClient

Expand Down Expand Up @@ -46,7 +46,7 @@ SigningStargateClient.constructor

#### Defined in

[tx/signingClient.ts:64](https://github.com/NibiruChain/ts-sdk/blob/c64b2f8/packages/nibijs/src/tx/signingClient.ts#L64)
[tx/signingClient.ts:64](https://github.com/NibiruChain/ts-sdk/blob/6bec800/packages/nibijs/src/tx/signingClient.ts#L64)

## Properties

Expand All @@ -56,7 +56,7 @@ SigningStargateClient.constructor

#### Defined in

[tx/signingClient.ts:37](https://github.com/NibiruChain/ts-sdk/blob/c64b2f8/packages/nibijs/src/tx/signingClient.ts#L37)
[tx/signingClient.ts:37](https://github.com/NibiruChain/ts-sdk/blob/6bec800/packages/nibijs/src/tx/signingClient.ts#L37)

___

Expand All @@ -66,7 +66,7 @@ ___

#### Defined in

[tx/signingClient.ts:38](https://github.com/NibiruChain/ts-sdk/blob/c64b2f8/packages/nibijs/src/tx/signingClient.ts#L38)
[tx/signingClient.ts:38](https://github.com/NibiruChain/ts-sdk/blob/6bec800/packages/nibijs/src/tx/signingClient.ts#L38)

## Methods

Expand All @@ -86,7 +86,7 @@ ___

#### Defined in

[tx/signingClient.ts:89](https://github.com/NibiruChain/ts-sdk/blob/c64b2f8/packages/nibijs/src/tx/signingClient.ts#L89)
[tx/signingClient.ts:89](https://github.com/NibiruChain/ts-sdk/blob/6bec800/packages/nibijs/src/tx/signingClient.ts#L89)

___

Expand All @@ -100,7 +100,7 @@ ___

#### Defined in

[tx/signingClient.ts:97](https://github.com/NibiruChain/ts-sdk/blob/c64b2f8/packages/nibijs/src/tx/signingClient.ts#L97)
[tx/signingClient.ts:97](https://github.com/NibiruChain/ts-sdk/blob/6bec800/packages/nibijs/src/tx/signingClient.ts#L97)

___

Expand All @@ -127,4 +127,4 @@ SigningStargateClient.connectWithSigner

#### Defined in

[tx/signingClient.ts:40](https://github.com/NibiruChain/ts-sdk/blob/c64b2f8/packages/nibijs/src/tx/signingClient.ts#L40)
[tx/signingClient.ts:40](https://github.com/NibiruChain/ts-sdk/blob/6bec800/packages/nibijs/src/tx/signingClient.ts#L40)
14 changes: 7 additions & 7 deletions packages/nibijs/docs/enums/BECH32_PREFIX.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[NibiJS Documentation - v0.19.12](../intro.md) / [Exports](../modules.md) / BECH32\_PREFIX
[NibiJS Documentation - v0.19.13](../intro.md) / [Exports](../modules.md) / BECH32\_PREFIX

# Enumeration: BECH32\_PREFIX

Expand All @@ -23,7 +23,7 @@ ADDR defines the Bech32 prefix of an account address

#### Defined in

[tx/signer.ts:12](https://github.com/NibiruChain/ts-sdk/blob/c64b2f8/packages/nibijs/src/tx/signer.ts#L12)
[tx/signer.ts:12](https://github.com/NibiruChain/ts-sdk/blob/6bec800/packages/nibijs/src/tx/signer.ts#L12)

___

Expand All @@ -35,7 +35,7 @@ ADDR_VAL defines the Bech32 prefix of an validator's operator address

#### Defined in

[tx/signer.ts:14](https://github.com/NibiruChain/ts-sdk/blob/c64b2f8/packages/nibijs/src/tx/signer.ts#L14)
[tx/signer.ts:14](https://github.com/NibiruChain/ts-sdk/blob/6bec800/packages/nibijs/src/tx/signer.ts#L14)

___

Expand All @@ -47,7 +47,7 @@ ADDR_VALCONS defines the Bech32 prefix of a consensus node address

#### Defined in

[tx/signer.ts:16](https://github.com/NibiruChain/ts-sdk/blob/c64b2f8/packages/nibijs/src/tx/signer.ts#L16)
[tx/signer.ts:16](https://github.com/NibiruChain/ts-sdk/blob/6bec800/packages/nibijs/src/tx/signer.ts#L16)

___

Expand All @@ -59,7 +59,7 @@ PUB defines the Bech32 prefix of an account's public key

#### Defined in

[tx/signer.ts:18](https://github.com/NibiruChain/ts-sdk/blob/c64b2f8/packages/nibijs/src/tx/signer.ts#L18)
[tx/signer.ts:18](https://github.com/NibiruChain/ts-sdk/blob/6bec800/packages/nibijs/src/tx/signer.ts#L18)

___

Expand All @@ -71,7 +71,7 @@ PUB_VAL defines the Bech32 prefix of an validator's operator public key

#### Defined in

[tx/signer.ts:20](https://github.com/NibiruChain/ts-sdk/blob/c64b2f8/packages/nibijs/src/tx/signer.ts#L20)
[tx/signer.ts:20](https://github.com/NibiruChain/ts-sdk/blob/6bec800/packages/nibijs/src/tx/signer.ts#L20)

___

Expand All @@ -83,4 +83,4 @@ PUB_VALCONS defines the Bech32 prefix of a consensus node public key

#### Defined in

[tx/signer.ts:22](https://github.com/NibiruChain/ts-sdk/blob/c64b2f8/packages/nibijs/src/tx/signer.ts#L22)
[tx/signer.ts:22](https://github.com/NibiruChain/ts-sdk/blob/6bec800/packages/nibijs/src/tx/signer.ts#L22)
6 changes: 3 additions & 3 deletions packages/nibijs/docs/enums/Signer.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[NibiJS Documentation - v0.19.12](../intro.md) / [Exports](../modules.md) / Signer
[NibiJS Documentation - v0.19.13](../intro.md) / [Exports](../modules.md) / Signer

# Enumeration: Signer

Expand All @@ -17,7 +17,7 @@

#### Defined in

[tx/signer.ts:71](https://github.com/NibiruChain/ts-sdk/blob/c64b2f8/packages/nibijs/src/tx/signer.ts#L71)
[tx/signer.ts:71](https://github.com/NibiruChain/ts-sdk/blob/6bec800/packages/nibijs/src/tx/signer.ts#L71)

___

Expand All @@ -27,4 +27,4 @@ ___

#### Defined in

[tx/signer.ts:70](https://github.com/NibiruChain/ts-sdk/blob/c64b2f8/packages/nibijs/src/tx/signer.ts#L70)
[tx/signer.ts:70](https://github.com/NibiruChain/ts-sdk/blob/6bec800/packages/nibijs/src/tx/signer.ts#L70)
6 changes: 3 additions & 3 deletions packages/nibijs/docs/interfaces/Attribute.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[NibiJS Documentation - v0.19.12](../intro.md) / [Exports](../modules.md) / Attribute
[NibiJS Documentation - v0.19.13](../intro.md) / [Exports](../modules.md) / Attribute

# Interface: Attribute

Expand All @@ -17,7 +17,7 @@

#### Defined in

[chain/types.ts:53](https://github.com/NibiruChain/ts-sdk/blob/c64b2f8/packages/nibijs/src/chain/types.ts#L53)
[chain/types.ts:53](https://github.com/NibiruChain/ts-sdk/blob/6bec800/packages/nibijs/src/chain/types.ts#L53)

___

Expand All @@ -27,4 +27,4 @@ ___

#### Defined in

[chain/types.ts:54](https://github.com/NibiruChain/ts-sdk/blob/c64b2f8/packages/nibijs/src/chain/types.ts#L54)
[chain/types.ts:54](https://github.com/NibiruChain/ts-sdk/blob/6bec800/packages/nibijs/src/chain/types.ts#L54)
14 changes: 7 additions & 7 deletions packages/nibijs/docs/interfaces/Chain.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[NibiJS Documentation - v0.19.12](../intro.md) / [Exports](../modules.md) / Chain
[NibiJS Documentation - v0.19.13](../intro.md) / [Exports](../modules.md) / Chain

# Interface: Chain

Expand Down Expand Up @@ -40,7 +40,7 @@ chainId: identifier for the chain

#### Defined in

[chain/chain.ts:22](https://github.com/NibiruChain/ts-sdk/blob/c64b2f8/packages/nibijs/src/chain/chain.ts#L22)
[chain/chain.ts:22](https://github.com/NibiruChain/ts-sdk/blob/6bec800/packages/nibijs/src/chain/chain.ts#L22)

___

Expand All @@ -52,7 +52,7 @@ chainName: the name of the chain to display to the user

#### Defined in

[chain/chain.ts:24](https://github.com/NibiruChain/ts-sdk/blob/c64b2f8/packages/nibijs/src/chain/chain.ts#L24)
[chain/chain.ts:24](https://github.com/NibiruChain/ts-sdk/blob/6bec800/packages/nibijs/src/chain/chain.ts#L24)

___

Expand All @@ -64,7 +64,7 @@ endptGrpc: endpoint for the gRPC gateway. Usually on port 9090.

#### Defined in

[chain/chain.ts:20](https://github.com/NibiruChain/ts-sdk/blob/c64b2f8/packages/nibijs/src/chain/chain.ts#L20)
[chain/chain.ts:20](https://github.com/NibiruChain/ts-sdk/blob/6bec800/packages/nibijs/src/chain/chain.ts#L20)

___

Expand All @@ -76,7 +76,7 @@ endptRest: endpoint for the REST server. Also, the LCD endpoint.

#### Defined in

[chain/chain.ts:18](https://github.com/NibiruChain/ts-sdk/blob/c64b2f8/packages/nibijs/src/chain/chain.ts#L18)
[chain/chain.ts:18](https://github.com/NibiruChain/ts-sdk/blob/6bec800/packages/nibijs/src/chain/chain.ts#L18)

___

Expand All @@ -88,7 +88,7 @@ endptTm: endpoint for the Tendermint RPC server. Usually on port 26657.

#### Defined in

[chain/chain.ts:16](https://github.com/NibiruChain/ts-sdk/blob/c64b2f8/packages/nibijs/src/chain/chain.ts#L16)
[chain/chain.ts:16](https://github.com/NibiruChain/ts-sdk/blob/6bec800/packages/nibijs/src/chain/chain.ts#L16)

___

Expand All @@ -100,4 +100,4 @@ feeDenom: the denomination of the fee to be paid for transactions.

#### Defined in

[chain/chain.ts:26](https://github.com/NibiruChain/ts-sdk/blob/c64b2f8/packages/nibijs/src/chain/chain.ts#L26)
[chain/chain.ts:26](https://github.com/NibiruChain/ts-sdk/blob/6bec800/packages/nibijs/src/chain/chain.ts#L26)
Loading

0 comments on commit 37bc02f

Please sign in to comment.