@typus/typus-perp-sdk 1.1.12 → 1.1.13

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.
@@ -455,10 +455,10 @@ function getRealizeFundingFromSentio(userAddress, startTimestamp, events) {
455
455
  status: "Filled",
456
456
  size: undefined,
457
457
  base_token: base_token,
458
- collateral: Number(x.realized_funding_fee),
458
+ collateral: -Number(x.realized_funding_fee),
459
459
  collateral_token: x.collateral_token,
460
460
  price: undefined,
461
- realized_pnl: Number(x.realized_funding_fee_usd),
461
+ realized_pnl: -Number(x.realized_funding_fee_usd),
462
462
  timestamp: x.timestamp,
463
463
  tx_digest: x.transaction_hash,
464
464
  dov_index: undefined,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typus/typus-perp-sdk",
3
- "version": "1.1.12",
3
+ "version": "1.1.13",
4
4
  "repository": "https://github.com/Typus-Lab/typus-perp-sdk.git",
5
5
  "author": "Typus",
6
6
  "description": "typus perp sdk",