@liberfi.io/ui-perpetuals 0.2.20 → 0.2.21

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.d.mts CHANGED
@@ -12,7 +12,7 @@ declare global {
12
12
  };
13
13
  }
14
14
  }
15
- declare const _default: "0.2.20";
15
+ declare const _default: "0.2.21";
16
16
 
17
17
  /**
18
18
  * Trading pair symbol format
@@ -3056,7 +3056,7 @@ type UsePositionsScriptResult = {
3056
3056
  * write-through, so we do **not** subscribe to `userEvents` here —
3057
3057
  * doing so would clobber the TP/SL + mark-price enrichment that
3058
3058
  * the client adds on the webData2 path).
3059
- * - own sort state (default `marginPnl ↓`, mirroring Axiom).
3059
+ * - own sort state (default `marginPnl ↓` biggest margin first).
3060
3060
  * - expose a `handleClosePosition` shim over `useCreateOrderMutation`.
3061
3061
  */
3062
3062
  declare function usePositionsScript({ userAddress, symbol, onCloseSuccess, onCloseError, }: UsePositionsScriptParams): UsePositionsScriptResult;
package/dist/index.d.ts CHANGED
@@ -12,7 +12,7 @@ declare global {
12
12
  };
13
13
  }
14
14
  }
15
- declare const _default: "0.2.20";
15
+ declare const _default: "0.2.21";
16
16
 
17
17
  /**
18
18
  * Trading pair symbol format
@@ -3056,7 +3056,7 @@ type UsePositionsScriptResult = {
3056
3056
  * write-through, so we do **not** subscribe to `userEvents` here —
3057
3057
  * doing so would clobber the TP/SL + mark-price enrichment that
3058
3058
  * the client adds on the webData2 path).
3059
- * - own sort state (default `marginPnl ↓`, mirroring Axiom).
3059
+ * - own sort state (default `marginPnl ↓` biggest margin first).
3060
3060
  * - expose a `handleClosePosition` shim over `useCreateOrderMutation`.
3061
3061
  */
3062
3062
  declare function usePositionsScript({ userAddress, symbol, onCloseSuccess, onCloseError, }: UsePositionsScriptParams): UsePositionsScriptResult;