@pear-protocol/exchanges-sdk 0.0.8-test.1 → 0.0.8-test.3

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.
@@ -110,7 +110,7 @@ class HyperliquidOrchestrator extends BaseOrchestrator {
110
110
  if (!creds) throw new Error("Not connected");
111
111
  const asset = Number.parseInt(id, 10);
112
112
  if (Number.isNaN(asset)) throw new Error(`Invalid Hyperliquid asset index: ${id}`);
113
- const isCross = (marginMode ?? "cross") == "cross";
113
+ const isCross = (marginMode ?? "cross") === "cross";
114
114
  await setLeverage(creds, asset, Number.parseFloat(leverage), isCross);
115
115
  }
116
116
  canUntrackAsset(coin) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pear-protocol/exchanges-sdk",
3
- "version": "0.0.8-test.1",
3
+ "version": "0.0.8-test.3",
4
4
  "description": "Pear Protocol Exchanges SDK",
5
5
  "private": false,
6
6
  "type": "module",