@totalis/hip4-client 0.122.0 → 0.123.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/CHANGELOG.md +14 -0
- package/dist/generated/browse.d.ts +6 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,20 @@
|
|
|
3
3
|
`@totalis/hip4-client` follows [semantic versioning](https://semver.org).
|
|
4
4
|
The contract version the generated types come from is `sdkVersion` in `./version`.
|
|
5
5
|
|
|
6
|
+
## 0.123.0
|
|
7
|
+
|
|
8
|
+
### Added
|
|
9
|
+
|
|
10
|
+
Browse, additive (TT-2970):
|
|
11
|
+
|
|
12
|
+
- Optional `Publication.next_change_at`: the next instant after a page's
|
|
13
|
+
evaluation at which a listed card changes date bucket, live state, schedule
|
|
14
|
+
group or Combo availability, so the page, its counts or facets may change
|
|
15
|
+
without a new publication. Refetch then; absent when none is ahead.
|
|
16
|
+
- `live` and `combo` filters hold at the page's evaluation instant: the
|
|
17
|
+
listing's first page's, or `published_at` for a publication that bakes its
|
|
18
|
+
pages. Cursors stay opaque.
|
|
19
|
+
|
|
6
20
|
## 0.122.0
|
|
7
21
|
|
|
8
22
|
### Added
|
|
@@ -60,12 +60,12 @@ export type components = {
|
|
|
60
60
|
readonly limit?: components["schemas"]["PageLimit"];
|
|
61
61
|
readonly cursor?: components["schemas"]["PageCursor"];
|
|
62
62
|
/**
|
|
63
|
-
* @description Only cards in play at
|
|
63
|
+
* @description Only cards in play at the page's evaluation instant, inside their estimated live window, in the default or closing_soon order. Send it only as true, beside at most category, sort, limit and cursor (date_filter only as all); any other combination returns 400 INVALID_QUERY.
|
|
64
64
|
* @constant
|
|
65
65
|
*/
|
|
66
66
|
readonly live?: true;
|
|
67
67
|
/**
|
|
68
|
-
* @description Only cards with at least one market whose combo.state was OPEN at
|
|
68
|
+
* @description Only cards with at least one market whose combo.state was OPEN at the page's evaluation instant, in the default or closing_soon order, with facets counted over the same cards. Send it only as true, beside at most category, subcategory, sort, limit and cursor (date_filter only as all); any other combination, live included, returns 400 INVALID_QUERY.
|
|
69
69
|
* @constant
|
|
70
70
|
*/
|
|
71
71
|
readonly combo?: true;
|
|
@@ -588,6 +588,8 @@ export type components = {
|
|
|
588
588
|
readonly visibility_version: components["schemas"]["PositiveInt64String"];
|
|
589
589
|
readonly visibility_checked_at: components["schemas"]["Timestamp"];
|
|
590
590
|
readonly search_index_version: components["schemas"]["PositiveInt64String"] | null;
|
|
591
|
+
/** @description The next instant after this page's evaluation at which a listed card changes date bucket, live state, schedule group or Combo availability, so the page, its counts, its facets or the live counts may change without a new publication. Refetch then, even while the stream is live. Absent when no such instant is ahead. */
|
|
592
|
+
readonly next_change_at?: components["schemas"]["Timestamp"];
|
|
591
593
|
};
|
|
592
594
|
/** @enum {string} */
|
|
593
595
|
readonly Sort: "default" | "closing_soon" | "relevance";
|
|
@@ -599,10 +601,10 @@ export type components = {
|
|
|
599
601
|
readonly date_filter: components["schemas"]["DateFilter"];
|
|
600
602
|
readonly sort: components["schemas"]["Sort"];
|
|
601
603
|
readonly q: components["schemas"]["NormalizedSearchText"] | null;
|
|
602
|
-
/** @description Only cards in play at
|
|
604
|
+
/** @description Only cards in play at the page's evaluation instant: inside [date_at, estimated_live_until). The instant is the listing's first page's, or published_at for a publication that bakes its pages. */
|
|
603
605
|
readonly live: boolean;
|
|
604
606
|
/**
|
|
605
|
-
* @description Present, as true, only on a combo=true page: only cards with a market Combos were open to at
|
|
607
|
+
* @description Present, as true, only on a combo=true page: only cards with a market Combos were open to at the page's evaluation instant.
|
|
606
608
|
* @constant
|
|
607
609
|
*/
|
|
608
610
|
readonly combo?: true;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@totalis/hip4-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.123.0",
|
|
4
4
|
"description": "Totalis HIP-4 SDK: typed HTTP clients, signer-agnostic typed data, a retrying request layer, pagination, a realtime stream and taker/maker flows",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|