@uniswap/client-trading 0.12.0 → 0.12.1

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.
@@ -9437,6 +9437,15 @@ export declare class MarginPositionRow extends Message<MarginPositionRow> {
9437
9437
  * @generated from field: optional string collateral_at_open = 28;
9438
9438
  */
9439
9439
  collateralAtOpen?: string;
9440
+ /**
9441
+ * The collateral held right after the open over the equity deposited at the
9442
+ * open, as a decimal string formatted like `leverage`. Served on every
9443
+ * status. Absent when the store has not indexed the position, or did not
9444
+ * track the open's deposit.
9445
+ *
9446
+ * @generated from field: optional string leverage_at_open = 39;
9447
+ */
9448
+ leverageAtOpen?: string;
9440
9449
  /**
9441
9450
  * From the position store: the lifecycle whose every event
9442
9451
  * `GET /margin/positions/activity` serves. Absent for a position the store
@@ -10615,6 +10615,7 @@ MarginPositionRow.fields = proto3.util.newFieldList(() => [
10615
10615
  { no: 26, name: "close_tx_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
10616
10616
  { no: 27, name: "last_liquidation_tx_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
10617
10617
  { no: 28, name: "collateral_at_open", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
10618
+ { no: 39, name: "leverage_at_open", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
10618
10619
  { no: 37, name: "activity_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
10619
10620
  { no: 30, name: "cost_basis_in_debt", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
10620
10621
  { no: 31, name: "realized_pnl_to_date_in_debt", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-trading",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },