propline-mcp 0.45.0 → 0.47.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 +12 -5
- package/dist/http.js.map +1 -1
- package/dist/index.js +12 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
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.
|
|
356
|
+
var VERSION = "0.47.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);
|
|
@@ -1258,7 +1265,7 @@ var tools = [
|
|
|
1258
1265
|
{
|
|
1259
1266
|
name: "propline_list_webhooks",
|
|
1260
1267
|
title: "List webhooks",
|
|
1261
|
-
description: "List the API key's webhook subscriptions (Streaming Lite tier and up; other tiers get a 403 with an upgrade URL). Read-only: signing secrets are always masked, and this server deliberately has no create/update/delete tools \u2014 manage subscriptions via the REST API or SDKs. Each row shows url, subscribed events (line_movement, resolution, steam, market_suspended), filters and active status. Use this first to find the webhook id for propline_get_webhook_deliveries.",
|
|
1268
|
+
description: "List the API key's webhook subscriptions (Streaming Lite tier and up; other tiers get a 403 with an upgrade URL). Read-only: signing secrets are always masked, and this server deliberately has no create/update/delete tools \u2014 manage subscriptions via the REST API or SDKs. Each row shows url, subscribed events (line_movement, resolution, steam, market_suspended, ev), filters (incl. min_ev_pct / max_ev_pct for ev events) and active status. Use this first to find the webhook id for propline_get_webhook_deliveries.",
|
|
1262
1269
|
inputSchema: {
|
|
1263
1270
|
type: "object",
|
|
1264
1271
|
properties: {},
|