@carrot-protocol/boost-http-client 0.2.15-group-refactor1-dev-ea8a618 → 0.2.15-group-refactor1-dev-ae9b5d7
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 +1 -0
- package/dist/types.d.ts +1 -0
- package/package.json +1 -1
- package/src/index.ts +4 -0
- package/src/types.ts +1 -0
package/dist/index.js
CHANGED
|
@@ -140,6 +140,7 @@ class Client {
|
|
|
140
140
|
liabilityValue: Number(b.liabilityValue),
|
|
141
141
|
liabilityBorrowCostApy: Number(b.liabilityBorrowCostApy),
|
|
142
142
|
liabilityEmissionsApy: Number(b.liabilityEmissionsApy),
|
|
143
|
+
emissionsOutstandingAndUnclaimed: new anchor_1.BN(b.emissionsOutstandingAndUnclaimed, "hex"),
|
|
143
144
|
price: Number(b.price),
|
|
144
145
|
liquidation,
|
|
145
146
|
};
|
package/dist/types.d.ts
CHANGED
|
@@ -138,6 +138,7 @@ export interface ClendAccountBalance {
|
|
|
138
138
|
liabilityValue: number;
|
|
139
139
|
liabilityBorrowCostApy: number;
|
|
140
140
|
liabilityEmissionsApy: number;
|
|
141
|
+
emissionsOutstandingAndUnclaimed: BN;
|
|
141
142
|
price: number;
|
|
142
143
|
liquidation: ClendAccountAssetLiquidation | null;
|
|
143
144
|
}
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -165,6 +165,10 @@ export class Client {
|
|
|
165
165
|
liabilityValue: Number(b.liabilityValue),
|
|
166
166
|
liabilityBorrowCostApy: Number(b.liabilityBorrowCostApy),
|
|
167
167
|
liabilityEmissionsApy: Number(b.liabilityEmissionsApy),
|
|
168
|
+
emissionsOutstandingAndUnclaimed: new BN(
|
|
169
|
+
b.emissionsOutstandingAndUnclaimed,
|
|
170
|
+
"hex",
|
|
171
|
+
),
|
|
168
172
|
price: Number(b.price),
|
|
169
173
|
liquidation,
|
|
170
174
|
};
|
package/src/types.ts
CHANGED
|
@@ -157,6 +157,7 @@ export interface ClendAccountBalance {
|
|
|
157
157
|
liabilityValue: number;
|
|
158
158
|
liabilityBorrowCostApy: number;
|
|
159
159
|
liabilityEmissionsApy: number;
|
|
160
|
+
emissionsOutstandingAndUnclaimed: BN;
|
|
160
161
|
price: number;
|
|
161
162
|
liquidation: ClendAccountAssetLiquidation | null;
|
|
162
163
|
}
|