@uniswap/client-trading 0.12.16 → 0.12.17

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.
@@ -8015,12 +8015,13 @@ export type MarginPositionRow = Message<"trading.v1.MarginPositionRow"> & {
8015
8015
  /**
8016
8016
  * TERMINAL only, and likewise cost-basis derived. `realized_pnl` is raw
8017
8017
  * collateral-token units: collateral returned minus collateral deposited.
8018
- * On a terminal LONG `size` is the collateral it held when it closed. The
8019
- * store keeps no debt at the close, so on a terminal SHORT it is the debt
8020
- * drawn over the position's life, before interest: 0 when the store saw no
8021
- * draw. It overstates the debt held at the close after any leverage
8022
- * decrease or partial liquidation, and an increase after one adds its draw
8023
- * on top.
8018
+ * On a terminal LONG `size` is the collateral it held when it closed. On a
8019
+ * terminal SHORT it is the debt it owed when it closed, interest included,
8020
+ * or, when its debt was repaid before its collateral left, the debt that
8021
+ * repay cleared. Without that debt on record, as for a SHORT closed before
8022
+ * it was kept, it is the debt drawn over the position's life, before
8023
+ * interest: 0 when none was seen drawn, and more than it closed with after
8024
+ * a leverage decrease or partial liquidation.
8024
8025
  *
8025
8026
  * @generated from field: optional int64 closed_at = 20;
8026
8027
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-trading",
3
- "version": "0.12.16",
3
+ "version": "0.12.17",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },