@sensiblestats/widget-sdk 0.8.0 → 0.9.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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @sensiblestats/widget-sdk
2
2
 
3
+ ## 0.9.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Neutral odds price-movement display on market_odds card rows.
8
+
3
9
  ## 0.8.0
4
10
 
5
11
  ### Minor Changes
package/dist/index.d.cts CHANGED
@@ -130,6 +130,10 @@ interface MarketOddsRow {
130
130
  quotedAtUtc?: string;
131
131
  matchOddsId?: number | null;
132
132
  isMainLine?: boolean;
133
+ previousPrice?: number | null;
134
+ previousPriceAtUtc?: string | null;
135
+ movementDirection?: 'shortened' | 'drifted' | null;
136
+ movementLookbackHours?: number | null;
133
137
  [key: string]: unknown;
134
138
  }
135
139
  interface MarketOddsCard {
package/dist/index.d.ts CHANGED
@@ -130,6 +130,10 @@ interface MarketOddsRow {
130
130
  quotedAtUtc?: string;
131
131
  matchOddsId?: number | null;
132
132
  isMainLine?: boolean;
133
+ previousPrice?: number | null;
134
+ previousPriceAtUtc?: string | null;
135
+ movementDirection?: 'shortened' | 'drifted' | null;
136
+ movementLookbackHours?: number | null;
133
137
  [key: string]: unknown;
134
138
  }
135
139
  interface MarketOddsCard {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sensiblestats/widget-sdk",
3
- "version": "0.8.0",
3
+ "version": "0.9.0",
4
4
  "description": "Headless browser SDK for the SensibleStats chat widget gateway.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",