@carrot-protocol/boost-http-client 0.2.15-group-refactor1-dev-8af3926 → 0.2.15-group-refactor1-dev-a674ad3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -130,10 +130,10 @@ class Client {
130
130
  return {
131
131
  mint: new anchor_1.web3.PublicKey(b.mint),
132
132
  bank: new anchor_1.web3.PublicKey(b.bank),
133
+ tokenYieldApy: Number(b.tokenYieldApy),
133
134
  assetBalance: new anchor_1.BN(b.assetBalance, "hex"),
134
135
  assetBalanceUi: Number(b.assetBalanceUi),
135
136
  assetValue: Number(b.assetValue),
136
- assetYieldApy: Number(b.assetYieldApy),
137
137
  liabilityBalance: new anchor_1.BN(b.liabilityBalance, "hex"),
138
138
  liabilityBalanceUi: Number(b.liabilityBalanceUi),
139
139
  liabilityValue: Number(b.liabilityValue),
package/dist/types.d.ts CHANGED
@@ -114,10 +114,10 @@ export interface ClendAccount {
114
114
  export interface ClendAccountBalance {
115
115
  mint: web3.PublicKey;
116
116
  bank: web3.PublicKey;
117
+ tokenYieldApy: number;
117
118
  assetBalance: BN;
118
119
  assetBalanceUi: number;
119
120
  assetValue: number;
120
- assetYieldApy: number;
121
121
  liabilityBalance: BN;
122
122
  liabilityBalanceUi: number;
123
123
  liabilityValue: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carrot-protocol/boost-http-client",
3
- "version": "0.2.15-group-refactor1-dev-8af3926",
3
+ "version": "0.2.15-group-refactor1-dev-a674ad3",
4
4
  "description": "HTTP client for Carrot Boost",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/index.ts CHANGED
@@ -151,10 +151,10 @@ export class Client {
151
151
  return {
152
152
  mint: new web3.PublicKey(b.mint),
153
153
  bank: new web3.PublicKey(b.bank),
154
+ tokenYieldApy: Number(b.tokenYieldApy),
154
155
  assetBalance: new BN(b.assetBalance, "hex"),
155
156
  assetBalanceUi: Number(b.assetBalanceUi),
156
157
  assetValue: Number(b.assetValue),
157
- assetYieldApy: Number(b.assetYieldApy),
158
158
  liabilityBalance: new BN(b.liabilityBalance, "hex"),
159
159
  liabilityBalanceUi: Number(b.liabilityBalanceUi),
160
160
  liabilityValue: Number(b.liabilityValue),
package/src/types.ts CHANGED
@@ -131,10 +131,10 @@ export interface ClendAccount {
131
131
  export interface ClendAccountBalance {
132
132
  mint: web3.PublicKey;
133
133
  bank: web3.PublicKey;
134
+ tokenYieldApy: number;
134
135
  assetBalance: BN;
135
136
  assetBalanceUi: number;
136
137
  assetValue: number;
137
- assetYieldApy: number;
138
138
  liabilityBalance: BN;
139
139
  liabilityBalanceUi: number;
140
140
  liabilityValue: number;