Skip to content

Commit

Permalink
fix(fix): merge
Browse files Browse the repository at this point in the history
  • Loading branch information
cgilbe27 committed Sep 20, 2023
2 parents 7d6f772 + a4ddef5 commit 6a514fd
Show file tree
Hide file tree
Showing 43 changed files with 360 additions and 238 deletions.
12 changes: 12 additions & 0 deletions packages/nibijs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
## [@nibiruchain/nibijs-v0.21.25](https://github.com/NibiruChain/ts-sdk/compare/@nibiruchain/nibijs-v0.21.24...@nibiruchain/nibijs-v0.21.25) (2023-09-18)

### Code Refactors

- adding correct msg partial close parameters ([3ca59b8](https://github.com/NibiruChain/ts-sdk/commit/3ca59b8b38058cc60f8a80248a60acbc8bf08b23))

## [@nibiruchain/nibijs-v0.21.24](https://github.com/NibiruChain/ts-sdk/compare/@nibiruchain/nibijs-v0.21.23...@nibiruchain/nibijs-v0.21.24) (2023-09-18)

### Code Refactors

- latest nibijs ([7e958cb](https://github.com/NibiruChain/ts-sdk/commit/7e958cb75bb194f0b7180d7561e4c0af9f281877))

## [@nibiruchain/nibijs-v0.21.23](https://github.com/NibiruChain/ts-sdk/compare/@nibiruchain/nibijs-v0.21.22...@nibiruchain/nibijs-v0.21.23) (2023-09-14)

### Miscellaneous Chores
Expand Down
22 changes: 11 additions & 11 deletions packages/nibijs/docs/classes/CustomChain.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[NibiJS Documentation - v0.21.22](../intro.md) / [Exports](../modules.md) / CustomChain
[NibiJS Documentation - v0.21.24](../intro.md) / [Exports](../modules.md) / CustomChain

# Class: CustomChain

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

#### Defined in

[chain/chain.ts:57](https://github.com/NibiruChain/ts-sdk/blob/1afbc87/packages/nibijs/src/chain/chain.ts#L57)
[chain/chain.ts:57](https://github.com/NibiruChain/ts-sdk/blob/3ca59b8/packages/nibijs/src/chain/chain.ts#L57)

## Properties

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

#### Defined in

[chain/chain.ts:48](https://github.com/NibiruChain/ts-sdk/blob/1afbc87/packages/nibijs/src/chain/chain.ts#L48)
[chain/chain.ts:48](https://github.com/NibiruChain/ts-sdk/blob/3ca59b8/packages/nibijs/src/chain/chain.ts#L48)

---

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

#### Defined in

[chain/chain.ts:55](https://github.com/NibiruChain/ts-sdk/blob/1afbc87/packages/nibijs/src/chain/chain.ts#L55)
[chain/chain.ts:55](https://github.com/NibiruChain/ts-sdk/blob/3ca59b8/packages/nibijs/src/chain/chain.ts#L55)

---

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

#### Defined in

[chain/chain.ts:49](https://github.com/NibiruChain/ts-sdk/blob/1afbc87/packages/nibijs/src/chain/chain.ts#L49)
[chain/chain.ts:49](https://github.com/NibiruChain/ts-sdk/blob/3ca59b8/packages/nibijs/src/chain/chain.ts#L49)

---

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

#### Defined in

[chain/chain.ts:52](https://github.com/NibiruChain/ts-sdk/blob/1afbc87/packages/nibijs/src/chain/chain.ts#L52)
[chain/chain.ts:52](https://github.com/NibiruChain/ts-sdk/blob/3ca59b8/packages/nibijs/src/chain/chain.ts#L52)

---

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

#### Defined in

[chain/chain.ts:51](https://github.com/NibiruChain/ts-sdk/blob/1afbc87/packages/nibijs/src/chain/chain.ts#L51)
[chain/chain.ts:51](https://github.com/NibiruChain/ts-sdk/blob/3ca59b8/packages/nibijs/src/chain/chain.ts#L51)

---

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

#### Defined in

[chain/chain.ts:50](https://github.com/NibiruChain/ts-sdk/blob/1afbc87/packages/nibijs/src/chain/chain.ts#L50)
[chain/chain.ts:50](https://github.com/NibiruChain/ts-sdk/blob/3ca59b8/packages/nibijs/src/chain/chain.ts#L50)

---

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

#### Defined in

[chain/chain.ts:53](https://github.com/NibiruChain/ts-sdk/blob/1afbc87/packages/nibijs/src/chain/chain.ts#L53)
[chain/chain.ts:53](https://github.com/NibiruChain/ts-sdk/blob/3ca59b8/packages/nibijs/src/chain/chain.ts#L53)

## Methods

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

#### Defined in

[chain/chain.ts:76](https://github.com/NibiruChain/ts-sdk/blob/1afbc87/packages/nibijs/src/chain/chain.ts#L76)
[chain/chain.ts:76](https://github.com/NibiruChain/ts-sdk/blob/3ca59b8/packages/nibijs/src/chain/chain.ts#L76)

---

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

#### Defined in

[chain/chain.ts:66](https://github.com/NibiruChain/ts-sdk/blob/1afbc87/packages/nibijs/src/chain/chain.ts#L66)
[chain/chain.ts:66](https://github.com/NibiruChain/ts-sdk/blob/3ca59b8/packages/nibijs/src/chain/chain.ts#L66)
4 changes: 2 additions & 2 deletions packages/nibijs/docs/classes/ErrorTxBroadcast.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[NibiJS Documentation - v0.21.22](../intro.md) / [Exports](../modules.md) / ErrorTxBroadcast
[NibiJS Documentation - v0.21.24](../intro.md) / [Exports](../modules.md) / ErrorTxBroadcast

# Class: ErrorTxBroadcast

Expand Down Expand Up @@ -33,4 +33,4 @@ Error.constructor

#### Defined in

[chain/error.ts:33](https://github.com/NibiruChain/ts-sdk/blob/1afbc87/packages/nibijs/src/chain/error.ts#L33)
[chain/error.ts:33](https://github.com/NibiruChain/ts-sdk/blob/3ca59b8/packages/nibijs/src/chain/error.ts#L33)
4 changes: 2 additions & 2 deletions packages/nibijs/docs/classes/ErrorTxSimulation.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[NibiJS Documentation - v0.21.22](../intro.md) / [Exports](../modules.md) / ErrorTxSimulation
[NibiJS Documentation - v0.21.24](../intro.md) / [Exports](../modules.md) / ErrorTxSimulation

# Class: ErrorTxSimulation

Expand Down Expand Up @@ -33,4 +33,4 @@ Error.constructor

#### Defined in

[chain/error.ts:25](https://github.com/NibiruChain/ts-sdk/blob/1afbc87/packages/nibijs/src/chain/error.ts#L25)
[chain/error.ts:25](https://github.com/NibiruChain/ts-sdk/blob/3ca59b8/packages/nibijs/src/chain/error.ts#L25)
6 changes: 3 additions & 3 deletions packages/nibijs/docs/classes/MsgFactory.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[NibiJS Documentation - v0.21.22](../intro.md) / [Exports](../modules.md) / MsgFactory
[NibiJS Documentation - v0.21.24](../intro.md) / [Exports](../modules.md) / MsgFactory

# Class: MsgFactory

Expand Down Expand Up @@ -27,7 +27,7 @@

#### Defined in

[msg/index.ts:7](https://github.com/NibiruChain/ts-sdk/blob/1afbc87/packages/nibijs/src/msg/index.ts#L7)
[msg/index.ts:7](https://github.com/NibiruChain/ts-sdk/blob/3ca59b8/packages/nibijs/src/msg/index.ts#L7)

---

Expand All @@ -37,4 +37,4 @@

#### Defined in

[msg/index.ts:5](https://github.com/NibiruChain/ts-sdk/blob/1afbc87/packages/nibijs/src/msg/index.ts#L5)
[msg/index.ts:5](https://github.com/NibiruChain/ts-sdk/blob/3ca59b8/packages/nibijs/src/msg/index.ts#L5)
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.21.22](../intro.md) / [Exports](../modules.md) / NibiruQueryClient
[NibiJS Documentation - v0.21.24](../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/1afbc87/packages/nibijs/src/query/query.ts#L56)
[query/query.ts:56](https://github.com/NibiruChain/ts-sdk/blob/3ca59b8/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/1afbc87/packages/nibijs/src/query/query.ts#L44)
[query/query.ts:44](https://github.com/NibiruChain/ts-sdk/blob/3ca59b8/packages/nibijs/src/query/query.ts#L44)

---

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

#### Defined in

[query/query.ts:45](https://github.com/NibiruChain/ts-sdk/blob/1afbc87/packages/nibijs/src/query/query.ts#L45)
[query/query.ts:45](https://github.com/NibiruChain/ts-sdk/blob/3ca59b8/packages/nibijs/src/query/query.ts#L45)

## Methods

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

#### Defined in

[query/query.ts:80](https://github.com/NibiruChain/ts-sdk/blob/1afbc87/packages/nibijs/src/query/query.ts#L80)
[query/query.ts:80](https://github.com/NibiruChain/ts-sdk/blob/3ca59b8/packages/nibijs/src/query/query.ts#L80)

---

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

#### Defined in

[query/query.ts:88](https://github.com/NibiruChain/ts-sdk/blob/1afbc87/packages/nibijs/src/query/query.ts#L88)
[query/query.ts:88](https://github.com/NibiruChain/ts-sdk/blob/3ca59b8/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/1afbc87/packages/nibijs/src/query/query.ts#L47)
[query/query.ts:47](https://github.com/NibiruChain/ts-sdk/blob/3ca59b8/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.21.22](../intro.md) / [Exports](../modules.md) / NibiruSigningClient
[NibiJS Documentation - v0.21.24](../intro.md) / [Exports](../modules.md) / NibiruSigningClient

# Class: NibiruSigningClient

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

#### Defined in

[tx/signingClient.ts:69](https://github.com/NibiruChain/ts-sdk/blob/1afbc87/packages/nibijs/src/tx/signingClient.ts#L69)
[tx/signingClient.ts:69](https://github.com/NibiruChain/ts-sdk/blob/3ca59b8/packages/nibijs/src/tx/signingClient.ts#L69)

## Properties

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

#### Defined in

[tx/signingClient.ts:38](https://github.com/NibiruChain/ts-sdk/blob/1afbc87/packages/nibijs/src/tx/signingClient.ts#L38)
[tx/signingClient.ts:38](https://github.com/NibiruChain/ts-sdk/blob/3ca59b8/packages/nibijs/src/tx/signingClient.ts#L38)

---

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

#### Defined in

[tx/signingClient.ts:39](https://github.com/NibiruChain/ts-sdk/blob/1afbc87/packages/nibijs/src/tx/signingClient.ts#L39)
[tx/signingClient.ts:39](https://github.com/NibiruChain/ts-sdk/blob/3ca59b8/packages/nibijs/src/tx/signingClient.ts#L39)

## Methods

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

#### Defined in

[tx/signingClient.ts:94](https://github.com/NibiruChain/ts-sdk/blob/1afbc87/packages/nibijs/src/tx/signingClient.ts#L94)
[tx/signingClient.ts:94](https://github.com/NibiruChain/ts-sdk/blob/3ca59b8/packages/nibijs/src/tx/signingClient.ts#L94)

---

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

#### Defined in

[tx/signingClient.ts:102](https://github.com/NibiruChain/ts-sdk/blob/1afbc87/packages/nibijs/src/tx/signingClient.ts#L102)
[tx/signingClient.ts:102](https://github.com/NibiruChain/ts-sdk/blob/3ca59b8/packages/nibijs/src/tx/signingClient.ts#L102)

---

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

#### Defined in

[tx/signingClient.ts:41](https://github.com/NibiruChain/ts-sdk/blob/1afbc87/packages/nibijs/src/tx/signingClient.ts#L41)
[tx/signingClient.ts:41](https://github.com/NibiruChain/ts-sdk/blob/3ca59b8/packages/nibijs/src/tx/signingClient.ts#L41)
35 changes: 28 additions & 7 deletions packages/nibijs/docs/classes/PerpMsgFactory.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[NibiJS Documentation - v0.21.22](../intro.md) / [Exports](../modules.md) / PerpMsgFactory
[NibiJS Documentation - v0.21.24](../intro.md) / [Exports](../modules.md) / PerpMsgFactory

# Class: PerpMsgFactory

Expand All @@ -15,6 +15,7 @@
- [donateToPerpEF](PerpMsgFactory.md#donatetoperpef)
- [liquidate](PerpMsgFactory.md#liquidate)
- [openPosition](PerpMsgFactory.md#openposition)
- [partialClosePosition](PerpMsgFactory.md#partialcloseposition)
- [removeMargin](PerpMsgFactory.md#removemargin)

## Constructors
Expand Down Expand Up @@ -47,7 +48,7 @@ Returns a 'TxMessage' for adding margin to a position

#### Defined in

[msg/perp.ts:118](https://github.com/NibiruChain/ts-sdk/blob/1afbc87/packages/nibijs/src/msg/perp.ts#L118)
[msg/perp.ts:118](https://github.com/NibiruChain/ts-sdk/blob/3ca59b8/packages/nibijs/src/msg/perp.ts#L118)

---

Expand All @@ -67,7 +68,7 @@ Returns a 'TxMessage' for adding margin to a position

#### Defined in

[msg/perp.ts:155](https://github.com/NibiruChain/ts-sdk/blob/1afbc87/packages/nibijs/src/msg/perp.ts#L155)
[msg/perp.ts:155](https://github.com/NibiruChain/ts-sdk/blob/3ca59b8/packages/nibijs/src/msg/perp.ts#L155)

---

Expand All @@ -87,7 +88,7 @@ Returns a 'TxMessage' for adding margin to a position

#### Defined in

[msg/perp.ts:162](https://github.com/NibiruChain/ts-sdk/blob/1afbc87/packages/nibijs/src/msg/perp.ts#L162)
[msg/perp.ts:169](https://github.com/NibiruChain/ts-sdk/blob/3ca59b8/packages/nibijs/src/msg/perp.ts#L169)

---

Expand All @@ -107,7 +108,7 @@ Returns a 'TxMessage' for adding margin to a position

#### Defined in

[msg/perp.ts:125](https://github.com/NibiruChain/ts-sdk/blob/1afbc87/packages/nibijs/src/msg/perp.ts#L125)
[msg/perp.ts:125](https://github.com/NibiruChain/ts-sdk/blob/3ca59b8/packages/nibijs/src/msg/perp.ts#L125)

---

Expand All @@ -133,7 +134,27 @@ Returns a 'TxMessage' for adding margin to a position

#### Defined in

[msg/perp.ts:132](https://github.com/NibiruChain/ts-sdk/blob/1afbc87/packages/nibijs/src/msg/perp.ts#L132)
[msg/perp.ts:132](https://github.com/NibiruChain/ts-sdk/blob/3ca59b8/packages/nibijs/src/msg/perp.ts#L132)

---

### partialClosePosition

`Static` **partialClosePosition**(`msg`): [`TxMessage`](../interfaces/TxMessage.md)

#### Parameters

| Name | Type |
| :---- | :---------------- |
| `msg` | `MsgPartialClose` |

#### Returns

[`TxMessage`](../interfaces/TxMessage.md)

#### Defined in

[msg/perp.ts:162](https://github.com/NibiruChain/ts-sdk/blob/3ca59b8/packages/nibijs/src/msg/perp.ts#L162)

---

Expand All @@ -153,4 +174,4 @@ Returns a 'TxMessage' for adding margin to a position

#### Defined in

[msg/perp.ts:104](https://github.com/NibiruChain/ts-sdk/blob/1afbc87/packages/nibijs/src/msg/perp.ts#L104)
[msg/perp.ts:104](https://github.com/NibiruChain/ts-sdk/blob/3ca59b8/packages/nibijs/src/msg/perp.ts#L104)
10 changes: 5 additions & 5 deletions packages/nibijs/docs/classes/SpotMsgFactory.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[NibiJS Documentation - v0.21.22](../intro.md) / [Exports](../modules.md) / SpotMsgFactory
[NibiJS Documentation - v0.21.24](../intro.md) / [Exports](../modules.md) / SpotMsgFactory

# Class: SpotMsgFactory

Expand Down Expand Up @@ -39,7 +39,7 @@

#### Defined in

[msg/spot.ts:61](https://github.com/NibiruChain/ts-sdk/blob/1afbc87/packages/nibijs/src/msg/spot.ts#L61)
[msg/spot.ts:61](https://github.com/NibiruChain/ts-sdk/blob/3ca59b8/packages/nibijs/src/msg/spot.ts#L61)

---

Expand All @@ -59,7 +59,7 @@

#### Defined in

[msg/spot.ts:91](https://github.com/NibiruChain/ts-sdk/blob/1afbc87/packages/nibijs/src/msg/spot.ts#L91)
[msg/spot.ts:91](https://github.com/NibiruChain/ts-sdk/blob/3ca59b8/packages/nibijs/src/msg/spot.ts#L91)

---

Expand All @@ -79,7 +79,7 @@

#### Defined in

[msg/spot.ts:74](https://github.com/NibiruChain/ts-sdk/blob/1afbc87/packages/nibijs/src/msg/spot.ts#L74)
[msg/spot.ts:74](https://github.com/NibiruChain/ts-sdk/blob/3ca59b8/packages/nibijs/src/msg/spot.ts#L74)

---

Expand All @@ -99,4 +99,4 @@

#### Defined in

[msg/spot.ts:102](https://github.com/NibiruChain/ts-sdk/blob/1afbc87/packages/nibijs/src/msg/spot.ts#L102)
[msg/spot.ts:102](https://github.com/NibiruChain/ts-sdk/blob/3ca59b8/packages/nibijs/src/msg/spot.ts#L102)
Loading

0 comments on commit 6a514fd

Please sign in to comment.