Skip to content

Commit

Permalink
fix(protojs): proto gen script + protos for v0.19.2 (nibiru-itn-1) (#150
Browse files Browse the repository at this point in the history
)

* fix(protocgen.sh): dependencies fixed + script documentation upgraded

* fix(package.json): yarn lint command missing dependency

* chore: run build again
  • Loading branch information
Unique-Divine authored May 27, 2023
1 parent f979968 commit 24502db
Show file tree
Hide file tree
Showing 22 changed files with 640 additions and 331 deletions.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"@commitlint/config-conventional": "^13.1.0",
"@types/jest": "^27.0.1",
"@types/node": "^16.11.7",
"@typescript-eslint/eslint-plugin": "^5.59.7",
"@typescript-eslint/parser": "^5.30.7",
"commitizen": "^4.2.4",
"cz-conventional-changelog": "^3.3.0",
Expand All @@ -65,6 +66,7 @@
"prettier": "^2.4.1",
"ts-jest": "^27.0.5",
"ts-node": "^10.9.1",
"ts-proto": "1.117.0",
"typescript": "^4.4.3"
},
"config": {
Expand Down
24 changes: 12 additions & 12 deletions packages/nibijs/docs/classes/CustomChain.md
Original file line number Diff line number Diff line change
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/5ff9e06/packages/nibijs/src/chain/chain.ts#L67)
[chain/chain.ts:67](https://github.com/NibiruChain/ts-sdk/blob/df76007/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/5ff9e06/packages/nibijs/src/chain/chain.ts#L58)
[chain/chain.ts:58](https://github.com/NibiruChain/ts-sdk/blob/df76007/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/5ff9e06/packages/nibijs/src/chain/chain.ts#L65)
[chain/chain.ts:65](https://github.com/NibiruChain/ts-sdk/blob/df76007/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/5ff9e06/packages/nibijs/src/chain/chain.ts#L59)
[chain/chain.ts:59](https://github.com/NibiruChain/ts-sdk/blob/df76007/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/5ff9e06/packages/nibijs/src/chain/chain.ts#L62)
[chain/chain.ts:62](https://github.com/NibiruChain/ts-sdk/blob/df76007/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/5ff9e06/packages/nibijs/src/chain/chain.ts#L61)
[chain/chain.ts:61](https://github.com/NibiruChain/ts-sdk/blob/df76007/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/5ff9e06/packages/nibijs/src/chain/chain.ts#L60)
[chain/chain.ts:60](https://github.com/NibiruChain/ts-sdk/blob/df76007/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/5ff9e06/packages/nibijs/src/chain/chain.ts#L63)
[chain/chain.ts:63](https://github.com/NibiruChain/ts-sdk/blob/df76007/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/5ff9e06/packages/nibijs/src/chain/chain.ts#L77)
[chain/chain.ts:77](https://github.com/NibiruChain/ts-sdk/blob/df76007/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/5ff9e06/packages/nibijs/src/chain/chain.ts#L92)
[chain/chain.ts:92](https://github.com/NibiruChain/ts-sdk/blob/df76007/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/5ff9e06/packages/nibijs/src/chain/chain.ts#L87)
[chain/chain.ts:87](https://github.com/NibiruChain/ts-sdk/blob/df76007/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/5ff9e06/packages/nibijs/src/chain/chain.ts#L82)
[chain/chain.ts:82](https://github.com/NibiruChain/ts-sdk/blob/df76007/packages/nibijs/src/chain/chain.ts#L82)
12 changes: 6 additions & 6 deletions packages/nibijs/docs/classes/NibiruQueryClient.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ StargateClient.constructor

#### Defined in

[query/query.ts:56](https://github.com/NibiruChain/ts-sdk/blob/5ff9e06/packages/nibijs/src/query/query.ts#L56)
[query/query.ts:56](https://github.com/NibiruChain/ts-sdk/blob/df76007/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/5ff9e06/packages/nibijs/src/query/query.ts#L44)
[query/query.ts:44](https://github.com/NibiruChain/ts-sdk/blob/df76007/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/5ff9e06/packages/nibijs/src/query/query.ts#L45)
[query/query.ts:45](https://github.com/NibiruChain/ts-sdk/blob/df76007/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/5ff9e06/packages/nibijs/src/query/query.ts#L80)
[query/query.ts:80](https://github.com/NibiruChain/ts-sdk/blob/df76007/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/5ff9e06/packages/nibijs/src/query/query.ts#L88)
[query/query.ts:88](https://github.com/NibiruChain/ts-sdk/blob/df76007/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/5ff9e06/packages/nibijs/src/query/query.ts#L47)
[query/query.ts:47](https://github.com/NibiruChain/ts-sdk/blob/df76007/packages/nibijs/src/query/query.ts#L47)
12 changes: 6 additions & 6 deletions packages/nibijs/docs/classes/NibiruSigningClient.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ SigningStargateClient.constructor

#### Defined in

[tx/signingClient.ts:64](https://github.com/NibiruChain/ts-sdk/blob/5ff9e06/packages/nibijs/src/tx/signingClient.ts#L64)
[tx/signingClient.ts:64](https://github.com/NibiruChain/ts-sdk/blob/df76007/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/5ff9e06/packages/nibijs/src/tx/signingClient.ts#L37)
[tx/signingClient.ts:37](https://github.com/NibiruChain/ts-sdk/blob/df76007/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/5ff9e06/packages/nibijs/src/tx/signingClient.ts#L38)
[tx/signingClient.ts:38](https://github.com/NibiruChain/ts-sdk/blob/df76007/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/5ff9e06/packages/nibijs/src/tx/signingClient.ts#L89)
[tx/signingClient.ts:89](https://github.com/NibiruChain/ts-sdk/blob/df76007/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/5ff9e06/packages/nibijs/src/tx/signingClient.ts#L97)
[tx/signingClient.ts:97](https://github.com/NibiruChain/ts-sdk/blob/df76007/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/5ff9e06/packages/nibijs/src/tx/signingClient.ts#L40)
[tx/signingClient.ts:40](https://github.com/NibiruChain/ts-sdk/blob/df76007/packages/nibijs/src/tx/signingClient.ts#L40)
12 changes: 6 additions & 6 deletions packages/nibijs/docs/enums/BECH32_PREFIX.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/5ff9e06/packages/nibijs/src/tx/signer.ts#L12)
[tx/signer.ts:12](https://github.com/NibiruChain/ts-sdk/blob/df76007/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/5ff9e06/packages/nibijs/src/tx/signer.ts#L14)
[tx/signer.ts:14](https://github.com/NibiruChain/ts-sdk/blob/df76007/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/5ff9e06/packages/nibijs/src/tx/signer.ts#L16)
[tx/signer.ts:16](https://github.com/NibiruChain/ts-sdk/blob/df76007/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/5ff9e06/packages/nibijs/src/tx/signer.ts#L18)
[tx/signer.ts:18](https://github.com/NibiruChain/ts-sdk/blob/df76007/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/5ff9e06/packages/nibijs/src/tx/signer.ts#L20)
[tx/signer.ts:20](https://github.com/NibiruChain/ts-sdk/blob/df76007/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/5ff9e06/packages/nibijs/src/tx/signer.ts#L22)
[tx/signer.ts:22](https://github.com/NibiruChain/ts-sdk/blob/df76007/packages/nibijs/src/tx/signer.ts#L22)
4 changes: 2 additions & 2 deletions packages/nibijs/docs/enums/Signer.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

#### Defined in

[tx/signer.ts:71](https://github.com/NibiruChain/ts-sdk/blob/5ff9e06/packages/nibijs/src/tx/signer.ts#L71)
[tx/signer.ts:71](https://github.com/NibiruChain/ts-sdk/blob/df76007/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/5ff9e06/packages/nibijs/src/tx/signer.ts#L70)
[tx/signer.ts:70](https://github.com/NibiruChain/ts-sdk/blob/df76007/packages/nibijs/src/tx/signer.ts#L70)
4 changes: 2 additions & 2 deletions packages/nibijs/docs/interfaces/Attribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

#### Defined in

[chain/types.ts:53](https://github.com/NibiruChain/ts-sdk/blob/5ff9e06/packages/nibijs/src/chain/types.ts#L53)
[chain/types.ts:53](https://github.com/NibiruChain/ts-sdk/blob/df76007/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/5ff9e06/packages/nibijs/src/chain/types.ts#L54)
[chain/types.ts:54](https://github.com/NibiruChain/ts-sdk/blob/df76007/packages/nibijs/src/chain/types.ts#L54)
12 changes: 6 additions & 6 deletions packages/nibijs/docs/interfaces/Chain.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ chainId: identifier for the chain

#### Defined in

[chain/chain.ts:22](https://github.com/NibiruChain/ts-sdk/blob/5ff9e06/packages/nibijs/src/chain/chain.ts#L22)
[chain/chain.ts:22](https://github.com/NibiruChain/ts-sdk/blob/df76007/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/5ff9e06/packages/nibijs/src/chain/chain.ts#L24)
[chain/chain.ts:24](https://github.com/NibiruChain/ts-sdk/blob/df76007/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/5ff9e06/packages/nibijs/src/chain/chain.ts#L20)
[chain/chain.ts:20](https://github.com/NibiruChain/ts-sdk/blob/df76007/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/5ff9e06/packages/nibijs/src/chain/chain.ts#L18)
[chain/chain.ts:18](https://github.com/NibiruChain/ts-sdk/blob/df76007/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/5ff9e06/packages/nibijs/src/chain/chain.ts#L16)
[chain/chain.ts:16](https://github.com/NibiruChain/ts-sdk/blob/df76007/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/5ff9e06/packages/nibijs/src/chain/chain.ts#L26)
[chain/chain.ts:26](https://github.com/NibiruChain/ts-sdk/blob/df76007/packages/nibijs/src/chain/chain.ts#L26)
6 changes: 3 additions & 3 deletions packages/nibijs/docs/interfaces/ChainIdParts.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

#### Defined in

[chain/chain.ts:42](https://github.com/NibiruChain/ts-sdk/blob/5ff9e06/packages/nibijs/src/chain/chain.ts#L42)
[chain/chain.ts:42](https://github.com/NibiruChain/ts-sdk/blob/df76007/packages/nibijs/src/chain/chain.ts#L42)

___

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

#### Defined in

[chain/chain.ts:40](https://github.com/NibiruChain/ts-sdk/blob/5ff9e06/packages/nibijs/src/chain/chain.ts#L40)
[chain/chain.ts:40](https://github.com/NibiruChain/ts-sdk/blob/df76007/packages/nibijs/src/chain/chain.ts#L40)

___

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

#### Defined in

[chain/chain.ts:41](https://github.com/NibiruChain/ts-sdk/blob/5ff9e06/packages/nibijs/src/chain/chain.ts#L41)
[chain/chain.ts:41](https://github.com/NibiruChain/ts-sdk/blob/df76007/packages/nibijs/src/chain/chain.ts#L41)
4 changes: 2 additions & 2 deletions packages/nibijs/docs/interfaces/Event.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

#### Defined in

[chain/types.ts:49](https://github.com/NibiruChain/ts-sdk/blob/5ff9e06/packages/nibijs/src/chain/types.ts#L49)
[chain/types.ts:49](https://github.com/NibiruChain/ts-sdk/blob/df76007/packages/nibijs/src/chain/types.ts#L49)

___

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

#### Defined in

[chain/types.ts:48](https://github.com/NibiruChain/ts-sdk/blob/5ff9e06/packages/nibijs/src/chain/types.ts#L48)
[chain/types.ts:48](https://github.com/NibiruChain/ts-sdk/blob/df76007/packages/nibijs/src/chain/types.ts#L48)
2 changes: 1 addition & 1 deletion packages/nibijs/docs/interfaces/TxLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@

#### Defined in

[chain/types.ts:58](https://github.com/NibiruChain/ts-sdk/blob/5ff9e06/packages/nibijs/src/chain/types.ts#L58)
[chain/types.ts:58](https://github.com/NibiruChain/ts-sdk/blob/df76007/packages/nibijs/src/chain/types.ts#L58)
Loading

0 comments on commit 24502db

Please sign in to comment.