@xoxno/types 1.0.434 → 1.0.435

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.
@@ -91,3 +91,32 @@ export interface StellarReserveListItem {
91
91
  /** Whether the asset can be used as collateral in this spoke. */
92
92
  useAsCollateral: boolean;
93
93
  }
94
+ /**
95
+ * One row in a user's lending action feed — a single position leg the user
96
+ * performed, newest first. Sourced from `StellarLendingPositionActivity()`
97
+ * filtered by `Owner`; `usd` is the action delta valued at the event-time
98
+ * oracle price (`amountShort * oraclePrice`).
99
+ */
100
+ export interface StellarUserActivityItem {
101
+ /** Event time (ISO-8601). */
102
+ timestamp: string;
103
+ /** Monotonic event ordinal (`ledger * 1e6 + indexInLedger`); feed sort key. */
104
+ seq: number;
105
+ /** Action kind (supply/borrow/withdraw/repay/liqRepay/liqSeize/multiply/…). */
106
+ action: string;
107
+ /** Position side this leg mutated; `null` for non-position rows. */
108
+ side: 'supply' | 'borrow' | null;
109
+ /** Asset (token) contract address. */
110
+ token: string;
111
+ symbol: string;
112
+ decimals: number;
113
+ hubId: number;
114
+ spokeId: number | null;
115
+ reserveKey: string | null;
116
+ /** Action delta this tx, human-readable token units. */
117
+ amountShort: number;
118
+ /** Action delta valued in USD at event-time oracle price. */
119
+ usd: number;
120
+ /** Liquidator (caller) address on liquidation legs; `null` otherwise. */
121
+ liquidator: string | null;
122
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xoxno/types",
3
- "version": "1.0.434",
3
+ "version": "1.0.435",
4
4
  "description": "Shared types and utilities for XOXNO API.",
5
5
  "exports": {
6
6
  ".": {