@carrot-protocol/boost-http-client 0.2.8-debt-token-start-dev-12994fd → 0.2.8-debt-token-start-dev-eec6f7c
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 +2 -0
- package/dist/types.d.ts +2 -0
- package/package.json +1 -1
- package/src/index.ts +2 -0
- package/src/types.ts +2 -0
package/dist/index.js
CHANGED
|
@@ -184,6 +184,8 @@ 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
|
+
amountUi: event.amountUi ? Number(event.amountUi) : null,
|
|
188
|
+
value: event.value ? Number(event.value) : null,
|
|
187
189
|
price: event.price ? Number(event.price) : null,
|
|
188
190
|
closeBalance,
|
|
189
191
|
};
|
package/dist/types.d.ts
CHANGED
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -202,6 +202,8 @@ 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
|
+
amountUi: event.amountUi ? Number(event.amountUi) : null,
|
|
206
|
+
value: event.value ? Number(event.value) : null,
|
|
205
207
|
price: event.price ? Number(event.price) : null,
|
|
206
208
|
closeBalance,
|
|
207
209
|
};
|
package/src/types.ts
CHANGED