@carrot-protocol/boost-http-client 0.2.3-withdraw-jlp-dev-4ead85f → 0.2.3-withdraw-jlp-dev-6905a38

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
@@ -141,6 +141,7 @@ class Client {
141
141
  if (event.closeBalance !== null) {
142
142
  closeBalance = Boolean(event.closeBalance);
143
143
  }
144
+ // parse amount
144
145
  const clendAccountEvent = {
145
146
  txSig: event.txSig,
146
147
  eventIndex: event.eventIndex,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carrot-protocol/boost-http-client",
3
- "version": "0.2.3-withdraw-jlp-dev-4ead85f",
3
+ "version": "0.2.3-withdraw-jlp-dev-6905a38",
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
@@ -176,6 +176,7 @@ export class Client {
176
176
  closeBalance = Boolean(event.closeBalance);
177
177
  }
178
178
 
179
+ // parse amount
179
180
  const clendAccountEvent: ClendAccountEvent = {
180
181
  txSig: event.txSig,
181
182
  eventIndex: event.eventIndex,
package/src/utils.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { web3 } from "@coral-xyz/anchor";
1
+ import { BN, web3 } from "@coral-xyz/anchor";
2
2
  import { ClendAccount } from "./types";
3
3
 
4
4
  // returns the net value of the clend account in a given tokens price