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

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
@@ -398,6 +398,7 @@ function parseBank(bankJson) {
398
398
  assetMaintWeight: Number(bankJson.assetMaintWeight),
399
399
  totalAssetShares: Number(bankJson.totalAssetShares),
400
400
  assetShareValue: Number(bankJson.assetShareValue),
401
+ tokenYieldApy: Number(bankJson.tokenYieldApy),
401
402
  liabilityAmount: new anchor_1.BN(bankJson.liabilityAmount, "hex"),
402
403
  liabilityAmountUi: Number(bankJson.liabilityAmountUi),
403
404
  liabilityInitWeight: Number(bankJson.liabilityInitWeight),
package/dist/types.d.ts CHANGED
@@ -136,6 +136,7 @@ export interface Bank {
136
136
  group: web3.PublicKey;
137
137
  key: web3.PublicKey;
138
138
  mint: web3.PublicKey;
139
+ tokenYieldApy: number;
139
140
  supplyApy: number;
140
141
  borrowApy: number;
141
142
  utilizationRate: 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-fcc481c",
3
+ "version": "0.2.15-group-refactor1-dev-8af3926",
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
@@ -528,6 +528,7 @@ function parseBank(bankJson: any): Bank {
528
528
  assetMaintWeight: Number(bankJson.assetMaintWeight),
529
529
  totalAssetShares: Number(bankJson.totalAssetShares),
530
530
  assetShareValue: Number(bankJson.assetShareValue),
531
+ tokenYieldApy: Number(bankJson.tokenYieldApy),
531
532
  liabilityAmount: new BN(bankJson.liabilityAmount, "hex"),
532
533
  liabilityAmountUi: Number(bankJson.liabilityAmountUi),
533
534
  liabilityInitWeight: Number(bankJson.liabilityInitWeight),
package/src/types.ts CHANGED
@@ -156,6 +156,7 @@ export interface Bank {
156
156
  group: web3.PublicKey;
157
157
  key: web3.PublicKey;
158
158
  mint: web3.PublicKey;
159
+ tokenYieldApy: number;
159
160
  supplyApy: number;
160
161
  borrowApy: number;
161
162
  utilizationRate: number;