@sensiblestats/widget-sdk 0.35.0 → 0.35.2

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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @sensiblestats/widget-sdk
2
2
 
3
+ ## 0.35.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 324f7eb: Injuries card: order columns by home/away (home left, away right).
8
+
9
+ ## 0.35.1
10
+
11
+ ### Patch Changes
12
+
13
+ - A suspended selection no longer appears in the market-odds ladder. The wire row now carries isSuspended, so the client can drop prices the bookmaker is not taking instead of offering an Add to slip button that always fails.
14
+
3
15
  ## 0.35.0
4
16
 
5
17
  ### Minor Changes
package/dist/index.d.cts CHANGED
@@ -164,6 +164,7 @@ interface InjuriesCardData {
164
164
  oursCrestUrl?: string | null;
165
165
  theirsCrestUrl?: string | null;
166
166
  emptyLabel: string;
167
+ oursIsHome: boolean;
167
168
  }
168
169
  interface InjuriesCard extends ClubFanDashboardCardBase {
169
170
  cardType: 'injuries';
@@ -471,6 +472,8 @@ interface MarketOddsRow {
471
472
  quotedAtUtc?: string;
472
473
  matchOddsId?: number | null;
473
474
  isMainLine?: boolean;
475
+ /** The bookmaker is not taking this selection. Absent on older servers -> treated as open. */
476
+ isSuspended?: boolean;
474
477
  previousPrice?: number | null;
475
478
  previousPriceAtUtc?: string | null;
476
479
  movementDirection?: 'shortened' | 'drifted' | null;
package/dist/index.d.ts CHANGED
@@ -164,6 +164,7 @@ interface InjuriesCardData {
164
164
  oursCrestUrl?: string | null;
165
165
  theirsCrestUrl?: string | null;
166
166
  emptyLabel: string;
167
+ oursIsHome: boolean;
167
168
  }
168
169
  interface InjuriesCard extends ClubFanDashboardCardBase {
169
170
  cardType: 'injuries';
@@ -471,6 +472,8 @@ interface MarketOddsRow {
471
472
  quotedAtUtc?: string;
472
473
  matchOddsId?: number | null;
473
474
  isMainLine?: boolean;
475
+ /** The bookmaker is not taking this selection. Absent on older servers -> treated as open. */
476
+ isSuspended?: boolean;
474
477
  previousPrice?: number | null;
475
478
  previousPriceAtUtc?: string | null;
476
479
  movementDirection?: 'shortened' | 'drifted' | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sensiblestats/widget-sdk",
3
- "version": "0.35.0",
3
+ "version": "0.35.2",
4
4
  "description": "Headless browser SDK for the SensibleStats chat widget gateway.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",