@0xinsider/sdk 0.126.6 → 0.126.8
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/README.md +4 -0
- package/dist/provenance.d.ts +1 -1
- package/dist/provenance.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -231,6 +231,10 @@ SDK 0.125.0 adds `place_exits_since` to `edgeHunter.observations` and types `pla
|
|
|
231
231
|
|
|
232
232
|
SDK 0.126.0 adds `listTradersGradeAt` (#36424): every wallet graded `min_grade` or better (`"S"`, `"A"` or `"B"`, the default) at one past instant, judged as `getTraderGradeAt` judges one wallet, so a backtest reads the whole set without one call per wallet. Walk it with `paginate()`; a page can hold fewer than `limit` wallets, even none, while `has_more` is true. A page `status` of `"unknown"` means `as_of` is before `available_from`, where the record starts naming the set, never that no wallet was graded. `listTradersGradeAtConditional` returns the typed 304. It also exports two row shapes as types of their own: `ReportLargeTrade`, a row of a report's `top_large_trades`, and `TraderPnlPeriodStat`, each window of `TraderPnl.stats`. No field changed.
|
|
233
233
|
|
|
234
|
+
SDK 0.126.7 documents when a `listGameMarkets` read with `expand: ["sharp_money"]` queues frame lines, for every key alike (#36471). A read queues them only when your key's last read of the same game came under 477 seconds before it, or 477 seconds or more before it but 2 minutes to 477 seconds after the read before that. Your first read of a game queues none and still serves the stored split: read the page again after the 30 seconds its `Cache-Control` max-age states, which queues them, and again a minute later. No type changes.
|
|
235
|
+
|
|
236
|
+
SDK 0.126.8 documents fewer `listGameMarkets` reads with `expand: ["sharp_money"]` that queue frame lines, for every key alike (#36618). A read queues them only when your key's last read of the same game came under 2 minutes before it, or under 477 seconds before it and that read came under 477 seconds after the one before. A key that reads a game 2 minutes to 477 seconds apart queues them from its third read, where it did from its second, and a read 477 seconds or more after one that came 2 minutes to 477 seconds after the read before it queues none. Every read still serves the stored split, and reading again after 30 seconds and a minute later still gets the lines. No type changes.
|
|
237
|
+
|
|
234
238
|
SDK 0.41.0 adds the closing line (#32517). `getMarketClose(conditionId)` reads a market's stored close: each outcome's price in the last provider minute bucket that ended at or before kickoff, captured once after settlement. Its `status` is `measured`, `pending` or `unavailable`, with `unavailable_reason`; a missing close is never 0. Every large trade (`listLargeTrades`, `listLargeTradeHistory`, `getLargeTrade`, and the expanded trades of the `getEventReplaySince` replay) now carries `clv`: cents per share against that close, positive when the trade beat it, measured on pre-kickoff trades only (`status` `measured`, `in_play`, `pending` or `unavailable`). `getTraderClv(address, { from, to, min_size, category })` summarizes one wallet's large trades in a window: the mean, stake-weighted and per-market mean CLV with a 95% interval, the share that beat the close, and the trades excluded by status. `batchGetMarketClose({ condition_ids })` reads up to 25 markets' closes in one request (#33025). New types: `MarketClose`, `TraderClv`.
|
|
235
239
|
|
|
236
240
|
```ts
|
package/dist/provenance.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const OPENAPI_SOURCE = "0xinsider/0xinsider:web/public/api/v1/openapi.json";
|
|
2
|
-
export declare const OPENAPI_SHA256 = "
|
|
2
|
+
export declare const OPENAPI_SHA256 = "bf386a75cd8f3bd46799edbc78d7fc5225184850eda0a3d387ef7f16cde7c2e0";
|
|
3
3
|
export declare const OPENAPI_VERSION = "1.0.0";
|
|
4
4
|
export declare const OPERATION_COUNT = 119;
|
|
5
5
|
export declare const APP_REPOSITORY = "0xinsider/0xinsider";
|
package/dist/provenance.js
CHANGED
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
// when it could be resolved, else null. Compare OPENAPI_SHA256 with the live
|
|
7
7
|
// document to see whether a release is behind the API.
|
|
8
8
|
export const OPENAPI_SOURCE = "0xinsider/0xinsider:web/public/api/v1/openapi.json";
|
|
9
|
-
export const OPENAPI_SHA256 = "
|
|
9
|
+
export const OPENAPI_SHA256 = "bf386a75cd8f3bd46799edbc78d7fc5225184850eda0a3d387ef7f16cde7c2e0";
|
|
10
10
|
export const OPENAPI_VERSION = "1.0.0";
|
|
11
11
|
export const OPERATION_COUNT = 119;
|
|
12
12
|
export const APP_REPOSITORY = "0xinsider/0xinsider";
|
|
13
13
|
export const APP_SPEC_PATH = "web/public/api/v1/openapi.json";
|
|
14
|
-
export const APP_COMMIT = "
|
|
14
|
+
export const APP_COMMIT = "d9a55be92be519d3c27a4bf71a42d9252f59b5cc";
|
|
15
15
|
//# sourceMappingURL=provenance.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@0xinsider/sdk",
|
|
3
|
-
"version": "0.126.
|
|
3
|
+
"version": "0.126.8",
|
|
4
4
|
"description": "Official TypeScript SDK for the 0xinsider API - analytics for Polymarket sports and esports markets (REST, cursor pagination, SSE stream, webhook verification)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|