pmxtjs 2.48.1 → 2.48.3

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.
@@ -80,6 +80,8 @@ export interface UnifiedMarket {
80
80
  down?: MarketOutcome;
81
81
  /** Alias for `title`. Matches the Python SDK's `market.question` property. */
82
82
  readonly question?: string;
83
+ /** Raw venue-specific metadata not captured by first-class fields (e.g. Kalshi series_ticker / series_title from the parent event, Polymarket series). Passed through verbatim so downstream consumers can recover anything the unified shape omits. Each venue populates what it has. */
84
+ sourceMetadata?: Record<string, unknown>;
83
85
  }
84
86
  /**
85
87
  * OHLCV price candle.
@@ -550,6 +552,8 @@ export interface UnifiedEvent {
550
552
  tags?: string[];
551
553
  /** The exchange/venue this event originates from (e.g. 'polymarket', 'kalshi'). Populated by the Router. */
552
554
  sourceExchange?: string;
555
+ /** Raw venue-specific metadata not captured by first-class fields (e.g. Kalshi series_ticker / series_title, Polymarket series). Passed through verbatim so downstream consumers can recover anything the unified shape omits. Each venue populates what it has. */
556
+ sourceMetadata?: Record<string, unknown>;
553
557
  }
554
558
  /**
555
559
  * Advanced criteria for filtering markets.
@@ -80,6 +80,8 @@ export interface UnifiedMarket {
80
80
  down?: MarketOutcome;
81
81
  /** Alias for `title`. Matches the Python SDK's `market.question` property. */
82
82
  readonly question?: string;
83
+ /** Raw venue-specific metadata not captured by first-class fields (e.g. Kalshi series_ticker / series_title from the parent event, Polymarket series). Passed through verbatim so downstream consumers can recover anything the unified shape omits. Each venue populates what it has. */
84
+ sourceMetadata?: Record<string, unknown>;
83
85
  }
84
86
  /**
85
87
  * OHLCV price candle.
@@ -550,6 +552,8 @@ export interface UnifiedEvent {
550
552
  tags?: string[];
551
553
  /** The exchange/venue this event originates from (e.g. 'polymarket', 'kalshi'). Populated by the Router. */
552
554
  sourceExchange?: string;
555
+ /** Raw venue-specific metadata not captured by first-class fields (e.g. Kalshi series_ticker / series_title, Polymarket series). Passed through verbatim so downstream consumers can recover anything the unified shape omits. Each venue populates what it has. */
556
+ sourceMetadata?: Record<string, unknown>;
553
557
  }
554
558
  /**
555
559
  * Advanced criteria for filtering markets.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmxtjs",
3
- "version": "2.48.1",
3
+ "version": "2.48.3",
4
4
  "description": "OpenAPI client for pmxtjs",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmxtjs",
3
- "version": "2.48.1",
3
+ "version": "2.48.3",
4
4
  "description": "Unified prediction market data API - The ccxt for prediction markets",
5
5
  "author": "PMXT Contributors",
6
6
  "repository": {
@@ -43,7 +43,7 @@
43
43
  "unified"
44
44
  ],
45
45
  "dependencies": {
46
- "pmxt-core": "2.48.1",
46
+ "pmxt-core": "2.48.3",
47
47
  "ws": "^8.18.0"
48
48
  },
49
49
  "devDependencies": {
package/pmxt/models.ts CHANGED
@@ -112,6 +112,9 @@ export interface UnifiedMarket {
112
112
 
113
113
  /** Alias for `title`. Matches the Python SDK's `market.question` property. */
114
114
  readonly question?: string;
115
+
116
+ /** Raw venue-specific metadata not captured by first-class fields (e.g. Kalshi series_ticker / series_title from the parent event, Polymarket series). Passed through verbatim so downstream consumers can recover anything the unified shape omits. Each venue populates what it has. */
117
+ sourceMetadata?: Record<string, unknown>;
115
118
  }
116
119
 
117
120
  /**
@@ -758,6 +761,9 @@ export interface UnifiedEvent {
758
761
 
759
762
  /** The exchange/venue this event originates from (e.g. 'polymarket', 'kalshi'). Populated by the Router. */
760
763
  sourceExchange?: string;
764
+
765
+ /** Raw venue-specific metadata not captured by first-class fields (e.g. Kalshi series_ticker / series_title, Polymarket series). Passed through verbatim so downstream consumers can recover anything the unified shape omits. Each venue populates what it has. */
766
+ sourceMetadata?: Record<string, unknown>;
761
767
  }
762
768
 
763
769
  // ----------------------------------------------------------------------------