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

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
@@ -153,7 +153,7 @@ class Client {
153
153
  clendGroup: new anchor_1.web3.PublicKey(event.clendGroup),
154
154
  bank: event.bank ? new anchor_1.web3.PublicKey(event.bank) : null,
155
155
  mint: event.mint ? new anchor_1.web3.PublicKey(event.mint) : null,
156
- amount: event.amount ? new anchor_1.BN(event.amount, "hex") : null,
156
+ amount: event.amount ? new anchor_1.BN(event.amount) : null,
157
157
  closeBalance,
158
158
  };
159
159
  events.push(clendAccountEvent);
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-6905a38",
3
+ "version": "0.2.3-withdraw-jlp-dev-a8ece5c",
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
@@ -188,7 +188,7 @@ export class Client {
188
188
  clendGroup: new web3.PublicKey(event.clendGroup),
189
189
  bank: event.bank ? new web3.PublicKey(event.bank) : null,
190
190
  mint: event.mint ? new web3.PublicKey(event.mint) : null,
191
- amount: event.amount ? new BN(event.amount, "hex") : null,
191
+ amount: event.amount ? new BN(event.amount) : null,
192
192
  closeBalance,
193
193
  };
194
194
  events.push(clendAccountEvent);