From cda47a18d1ce2b886cd79ff413b22e9761cb9040 Mon Sep 17 00:00:00 2001 From: microwavedcola1 Date: Fri, 8 Sep 2023 12:15:50 +0200 Subject: [PATCH] v0.19.25 --- package.json | 2 +- ts/client/src/accounts/mangoAccount.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 9ea6eb743..0f322bc15 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/ts/client/src/accounts/mangoAccount.ts b/ts/client/src/accounts/mangoAccount.ts index 7f48d4efb..1f35b6f12 100644 --- a/ts/client/src/accounts/mangoAccount.ts +++ b/ts/client/src/accounts/mangoAccount.ts @@ -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, ) {} }