This commit is contained in:
microwavedcola1 2023-09-08 12:15:50 +02:00
parent a23caa244c
commit cda47a18d1
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@blockworks-foundation/mango-v4",
"version": "0.19.23",
"version": "0.19.25",
"description": "Typescript Client for mango-v4 program.",
"repository": "https://github.com/blockworks-foundation/mango-v4",
"author": {

View File

@ -1823,7 +1823,7 @@ export class TokenConditionalSwap {
dto.hasData == 1,
dto.allowCreatingDeposits == 1,
dto.allowCreatingBorrows == 1,
dto.priceDisplayStyle == 0
dto.displayPriceStyle == 0
? TokenConditionalSwapDisplayPriceStyle.sellTokenPerBuyToken
: TokenConditionalSwapDisplayPriceStyle.buyTokenPerSellToken,
tokenConditionalSwapIntentionFromDto(dto.intention),
@ -2070,7 +2070,7 @@ export class TokenConditionalSwapDto {
public hasData: number,
public allowCreatingDeposits: number,
public allowCreatingBorrows: number,
public priceDisplayStyle: number,
public displayPriceStyle: number,
public intention: number,
) {}
}