@carrot-protocol/boost-http-client 0.2.7-actions1-dev-4c5f4e1 → 0.2.8-debt-token-start-dev-12994fd

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
@@ -184,6 +184,7 @@ class Client {
184
184
  bank: event.bank ? new anchor_1.web3.PublicKey(event.bank) : null,
185
185
  mint: event.mint ? new anchor_1.web3.PublicKey(event.mint) : null,
186
186
  amount: event.amount ? new anchor_1.BN(event.amount, "hex") : null,
187
+ price: event.price ? Number(event.price) : null,
187
188
  closeBalance,
188
189
  };
189
190
  txSummary.events.push(clendAccountEvent);
package/dist/types.d.ts CHANGED
@@ -137,5 +137,6 @@ export interface ClendAccountEvent {
137
137
  bank: web3.PublicKey | null;
138
138
  mint: web3.PublicKey | null;
139
139
  amount: BN | null;
140
+ price: number | null;
140
141
  closeBalance: boolean | null;
141
142
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carrot-protocol/boost-http-client",
3
- "version": "0.2.7-actions1-dev-4c5f4e1",
3
+ "version": "0.2.8-debt-token-start-dev-12994fd",
4
4
  "description": "HTTP client for Carrot Boost API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/index.ts CHANGED
@@ -202,6 +202,7 @@ export class Client {
202
202
  bank: event.bank ? new web3.PublicKey(event.bank) : null,
203
203
  mint: event.mint ? new web3.PublicKey(event.mint) : null,
204
204
  amount: event.amount ? new BN(event.amount, "hex") : null,
205
+ price: event.price ? Number(event.price) : null,
205
206
  closeBalance,
206
207
  };
207
208
  txSummary.events.push(clendAccountEvent);
package/src/types.ts CHANGED
@@ -155,5 +155,6 @@ export interface ClendAccountEvent {
155
155
  bank: web3.PublicKey | null;
156
156
  mint: web3.PublicKey | null;
157
157
  amount: BN | null;
158
+ price: number | null;
158
159
  closeBalance: boolean | null;
159
160
  }