@typus/typus-perp-sdk 1.1.9 → 1.1.10

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/src/fetch.js CHANGED
@@ -487,7 +487,7 @@ function getLiquidationPriceAndPnl(config, pythClient, input) {
487
487
  finally { if (e_4) throw e_4.error; }
488
488
  }
489
489
  try {
490
- for (_e = __values(input.positions.slice(2, 3)), _f = _e.next(); !_f.done; _f = _e.next()) {
490
+ for (_e = __values(input.positions), _f = _e.next(); !_f.done; _f = _e.next()) {
491
491
  position = _f.value;
492
492
  TOKEN = (0, constants_1.typeArgToAsset)(position.collateralToken.name);
493
493
  BASE_TOKEN = (0, constants_1.typeArgToAsset)(position.symbol.baseToken.name);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typus/typus-perp-sdk",
3
- "version": "1.1.9",
3
+ "version": "1.1.10",
4
4
  "repository": "https://github.com/Typus-Lab/typus-perp-sdk.git",
5
5
  "author": "Typus",
6
6
  "description": "typus perp sdk",