@pear-protocol/utils 0.0.13 → 0.0.14

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.
@@ -13,6 +13,7 @@ function precisePrice(connector, raw, precision, side = "BUY", slippageTolerance
13
13
  case "binance":
14
14
  case "bybit":
15
15
  case "okx":
16
+ case "lighter":
16
17
  return preciseTickGridPrice(effectiveRaw, precision, side);
17
18
  }
18
19
  }
@@ -12,6 +12,7 @@ function preciseQuantity(connector, raw, precision, side) {
12
12
  case "binance":
13
13
  case "bybit":
14
14
  case "okx":
15
+ case "lighter":
15
16
  return preciseStepGridQuantity(raw, precision, side);
16
17
  }
17
18
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pear-protocol/utils",
3
- "version": "0.0.13",
3
+ "version": "0.0.14",
4
4
  "description": "Pear Protocol Utility functions",
5
5
  "private": false,
6
6
  "type": "module",
@@ -25,7 +25,7 @@
25
25
  "typecheck": "tsc --noEmit"
26
26
  },
27
27
  "dependencies": {
28
- "@pear-protocol/types": "0.0.13",
28
+ "@pear-protocol/types": "0.0.14",
29
29
  "bignumber.js": "9.3.1"
30
30
  },
31
31
  "devDependencies": {