@uniswap/client-trading 0.12.17 → 0.12.18

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.
@@ -7949,10 +7949,15 @@ export type MarginPositionRow = Message<"trading.v1.MarginPositionRow"> & {
7949
7949
  */
7950
7950
  oraclePrice?: string | undefined;
7951
7951
  /**
7952
- * ACTIVE only. The market price the position is marked at, which can differ
7953
- * from `oracle_price`. Counter per exposure, 1e18-scaled, in the same trader
7954
- * terms as `oracle_price`. Unlike the risk fields it can be served from a
7955
- * short-lived cache. Absent when none was read.
7952
+ * ACTIVE only. The pair's market price, which can differ from
7953
+ * `oracle_price`: the midpoint of a small fixed sale of the collateral for
7954
+ * the debt and a buy of about the same amount of collateral, each on its
7955
+ * cheapest single route, so the pool fee largely cancels out of it. Shared
7956
+ * by every position on the pair and up to 30 seconds old, so unlike the risk
7957
+ * fields it can be served from a cache. It leaves out the position's own
7958
+ * size and the pool fee, so a close realizes less than this values it at,
7959
+ * by that close's fee and price impact. Counter per exposure, 1e18-scaled,
7960
+ * in the same trader terms as `oracle_price`. Absent when none was read.
7956
7961
  *
7957
7962
  * @generated from field: optional string current_price = 38;
7958
7963
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-trading",
3
- "version": "0.12.17",
3
+ "version": "0.12.18",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },