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/index.js CHANGED
@@ -311,7 +311,8 @@ var PropLineClient = class {
311
311
  markets: opts.markets,
312
312
  bookmakers: opts.bookmakers,
313
313
  devig: opts.devig,
314
- fair_source: opts.fairSource
314
+ fair_source: opts.fairSource,
315
+ max_age: opts.maxAge
315
316
  });
316
317
  }
317
318
  getEventProjections(sportKey, eventId, opts = {}) {
@@ -351,7 +352,7 @@ var PropLineClient = class {
351
352
  };
352
353
 
353
354
  // src/server.ts
354
- var VERSION = "0.45.0";
355
+ var VERSION = "0.46.0";
355
356
  var DEMO_KEY = "be2b8487fcfacb1fbc292a8aa925a84c";
356
357
  var apiKey = process.env.PROPLINE_API_KEY;
357
358
  var baseUrl = process.env.PROPLINE_BASE_URL;
@@ -1170,7 +1171,12 @@ var tools = [
1170
1171
  },
1171
1172
  fair_source: {
1172
1173
  type: "string",
1173
- 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."
1174
+ 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."
1175
+ },
1176
+ max_age: {
1177
+ type: "integer",
1178
+ minimum: 0,
1179
+ 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."
1174
1180
  }
1175
1181
  },
1176
1182
  required: ["sport_key", "event_id"],
@@ -1184,7 +1190,8 @@ var tools = [
1184
1190
  markets: args.markets,
1185
1191
  bookmakers: args.bookmakers,
1186
1192
  devig: args.devig,
1187
- fairSource: args.fair_source
1193
+ fairSource: args.fair_source,
1194
+ maxAge: args.max_age
1188
1195
  }
1189
1196
  );
1190
1197
  return filterByMinEv(res, args.min_ev_pct);