@carrot-protocol/boost-http-client 0.2.15-group-refactor1-dev-a674ad3 → 0.2.15-group-refactor1-dev-6452dff

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
@@ -134,10 +134,12 @@ class Client {
134
134
  assetBalance: new anchor_1.BN(b.assetBalance, "hex"),
135
135
  assetBalanceUi: Number(b.assetBalanceUi),
136
136
  assetValue: Number(b.assetValue),
137
+ assetEmissionsApy: Number(b.assetEmissionsApy),
137
138
  liabilityBalance: new anchor_1.BN(b.liabilityBalance, "hex"),
138
139
  liabilityBalanceUi: Number(b.liabilityBalanceUi),
139
140
  liabilityValue: Number(b.liabilityValue),
140
141
  liabilityBorrowCostApy: Number(b.liabilityBorrowCostApy),
142
+ liabilityEmissionsApy: Number(b.liabilityEmissionsApy),
141
143
  price: Number(b.price),
142
144
  liquidation,
143
145
  };
@@ -149,6 +151,7 @@ class Client {
149
151
  netValue: Number(rawClendAccount.netValue),
150
152
  netApy: Number(rawClendAccount.netApy),
151
153
  pnl: Number(rawClendAccount.pnl),
154
+ totalEmissionsApy: Number(rawClendAccount.totalEmissionsApy),
152
155
  totalAssetValue: Number(rawClendAccount.totalAssetValue),
153
156
  totalLiabilityValue: Number(rawClendAccount.totalLiabilityValue),
154
157
  healthFactorNotional: Number(rawClendAccount.healthFactorNotional),
package/dist/types.d.ts CHANGED
@@ -102,6 +102,7 @@ export interface ClendAccount {
102
102
  netValue: number;
103
103
  netApy: number;
104
104
  pnl: number;
105
+ totalEmissionsApy: number;
105
106
  totalAssetValue: number;
106
107
  totalLiabilityValue: number;
107
108
  healthFactorNotional: number;
@@ -118,10 +119,12 @@ export interface ClendAccountBalance {
118
119
  assetBalance: BN;
119
120
  assetBalanceUi: number;
120
121
  assetValue: number;
122
+ assetEmissionsApy: number;
121
123
  liabilityBalance: BN;
122
124
  liabilityBalanceUi: number;
123
125
  liabilityValue: number;
124
126
  liabilityBorrowCostApy: number;
127
+ liabilityEmissionsApy: number;
125
128
  price: number;
126
129
  liquidation: ClendAccountAssetLiquidation | null;
127
130
  }
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-a674ad3",
3
+ "version": "0.2.15-group-refactor1-dev-6452dff",
4
4
  "description": "HTTP client for Carrot Boost",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -14,7 +14,7 @@
14
14
  },
15
15
  "dependencies": {
16
16
  "@coral-xyz/anchor": "^0.29.0",
17
- "@carrot-protocol/clend-common": "0.1.8-group-refactor1-dev-cb4b228",
17
+ "@carrot-protocol/clend-common": "0.1.8-group-refactor1-dev-0c262b0",
18
18
  "axios": "^1.8.3",
19
19
  "bs58": "^6.0.0",
20
20
  "decimal.js": "^10.5.0"
package/src/index.ts CHANGED
@@ -155,10 +155,12 @@ export class Client {
155
155
  assetBalance: new BN(b.assetBalance, "hex"),
156
156
  assetBalanceUi: Number(b.assetBalanceUi),
157
157
  assetValue: Number(b.assetValue),
158
+ assetEmissionsApy: Number(b.assetEmissionsApy),
158
159
  liabilityBalance: new BN(b.liabilityBalance, "hex"),
159
160
  liabilityBalanceUi: Number(b.liabilityBalanceUi),
160
161
  liabilityValue: Number(b.liabilityValue),
161
162
  liabilityBorrowCostApy: Number(b.liabilityBorrowCostApy),
163
+ liabilityEmissionsApy: Number(b.liabilityEmissionsApy),
162
164
  price: Number(b.price),
163
165
  liquidation,
164
166
  };
@@ -171,6 +173,7 @@ export class Client {
171
173
  netValue: Number(rawClendAccount.netValue),
172
174
  netApy: Number(rawClendAccount.netApy),
173
175
  pnl: Number(rawClendAccount.pnl),
176
+ totalEmissionsApy: Number(rawClendAccount.totalEmissionsApy),
174
177
  totalAssetValue: Number(rawClendAccount.totalAssetValue),
175
178
  totalLiabilityValue: Number(rawClendAccount.totalLiabilityValue),
176
179
  healthFactorNotional: Number(rawClendAccount.healthFactorNotional),
package/src/types.ts CHANGED
@@ -118,6 +118,7 @@ export interface ClendAccount {
118
118
  netValue: number;
119
119
  netApy: number;
120
120
  pnl: number;
121
+ totalEmissionsApy: number;
121
122
  totalAssetValue: number;
122
123
  totalLiabilityValue: number;
123
124
  healthFactorNotional: number;
@@ -135,10 +136,12 @@ export interface ClendAccountBalance {
135
136
  assetBalance: BN;
136
137
  assetBalanceUi: number;
137
138
  assetValue: number;
139
+ assetEmissionsApy: number;
138
140
  liabilityBalance: BN;
139
141
  liabilityBalanceUi: number;
140
142
  liabilityValue: number;
141
143
  liabilityBorrowCostApy: number;
144
+ liabilityEmissionsApy: number;
142
145
  price: number;
143
146
  liquidation: ClendAccountAssetLiquidation | null;
144
147
  }