propline-mcp 0.45.0 → 0.46.0

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.
package/dist/http.js CHANGED
@@ -312,7 +312,8 @@ var PropLineClient = class {
312
312
  markets: opts.markets,
313
313
  bookmakers: opts.bookmakers,
314
314
  devig: opts.devig,
315
- fair_source: opts.fairSource
315
+ fair_source: opts.fairSource,
316
+ max_age: opts.maxAge
316
317
  });
317
318
  }
318
319
  getEventProjections(sportKey, eventId, opts = {}) {
@@ -352,7 +353,7 @@ var PropLineClient = class {
352
353
  };
353
354
 
354
355
  // src/server.ts
355
- var VERSION = "0.45.0";
356
+ var VERSION = "0.46.0";
356
357
  var DEMO_KEY = "be2b8487fcfacb1fbc292a8aa925a84c";
357
358
  var apiKey = process.env.PROPLINE_API_KEY;
358
359
  var baseUrl = process.env.PROPLINE_BASE_URL;
@@ -1174,7 +1175,12 @@ var tools = [
1174
1175
  },
1175
1176
  fair_source: {
1176
1177
  type: "string",
1177
- description: "Optional anchor override: one book or a comma-separated list tried IN ORDER per line, from pinnacle, polymarket, kalshi, bovada, smarkets (anything else is a 400). Lines none of them anchor are dropped. Omit for the default order."
1178
+ description: "Optional anchor override: one book or a comma-separated list tried IN ORDER per line, from pinnacle, polymarket, kalshi, bovada, smarkets (anything else is a 400). Lines none of them anchor are dropped. Omit for the default order. The single value 'consensus' (not combinable with book names) uses the median no-vig probability across every book quoting a clean, fresh two-sided market (3+ books); each line then lists the books used in fair_books. It is opt-in and NOT a proven better anchor \u2014 never describe it as more profitable."
1179
+ },
1180
+ max_age: {
1181
+ type: "integer",
1182
+ minimum: 0,
1183
+ description: "Optional, seconds. Drops quoted prices the book has not delivered within that many seconds (each outcome carries last_update). The fair line is unaffected."
1178
1184
  }
1179
1185
  },
1180
1186
  required: ["sport_key", "event_id"],
@@ -1188,7 +1194,8 @@ var tools = [
1188
1194
  markets: args.markets,
1189
1195
  bookmakers: args.bookmakers,
1190
1196
  devig: args.devig,
1191
- fairSource: args.fair_source
1197
+ fairSource: args.fair_source,
1198
+ maxAge: args.max_age
1192
1199
  }
1193
1200
  );
1194
1201
  return filterByMinEv(res, args.min_ev_pct);