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

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
+ assetYieldApy: Number(bankJson.assetYieldApy),
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
@@ -145,6 +145,7 @@ export interface Bank {
145
145
  assetMaintWeight: number;
146
146
  totalAssetShares: number;
147
147
  assetShareValue: number;
148
+ assetYieldApy: number;
148
149
  liabilityAmount: BN;
149
150
  liabilityAmountUi: number;
150
151
  liabilityInitWeight: 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-dee3e7b",
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
+ assetYieldApy: Number(bankJson.assetYieldApy),
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
@@ -165,6 +165,7 @@ export interface Bank {
165
165
  assetMaintWeight: number;
166
166
  totalAssetShares: number;
167
167
  assetShareValue: number;
168
+ assetYieldApy: number;
168
169
  liabilityAmount: BN;
169
170
  liabilityAmountUi: number;
170
171
  liabilityInitWeight: number;