@sensiblestats/widget-sdk 0.8.0 → 0.10.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/index.d.cts +7 -0
- package/dist/index.d.ts +7 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @sensiblestats/widget-sdk
|
|
2
2
|
|
|
3
|
+
## 0.10.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 3c93b88: Show odds movement on betting insight cards, using the same markup and neutral styling as market-odds rows.
|
|
8
|
+
|
|
9
|
+
The movement markup moves into a shared component and its CSS classes are renamed from `ss-w-mo-move` / `ss-w-mo-prev` / `ss-w-mo-arrow` to `ss-w-move` / `ss-w-move-prev` / `ss-w-move-arrow`, since the same element is now rendered by both card types. Operator stylesheets targeting the old names need updating.
|
|
10
|
+
|
|
11
|
+
## 0.9.0
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- Neutral odds price-movement display on market_odds card rows.
|
|
16
|
+
|
|
3
17
|
## 0.8.0
|
|
4
18
|
|
|
5
19
|
### Minor Changes
|
package/dist/index.d.cts
CHANGED
|
@@ -85,6 +85,9 @@ interface BettingInsightOdds {
|
|
|
85
85
|
quotedAtUtc?: string;
|
|
86
86
|
isLive?: boolean;
|
|
87
87
|
matchOddsId?: number;
|
|
88
|
+
previousValue?: number | null;
|
|
89
|
+
previousValueAtUtc?: string | null;
|
|
90
|
+
movementDirection?: 'shortened' | 'drifted' | null;
|
|
88
91
|
}
|
|
89
92
|
interface BettingInsightStat {
|
|
90
93
|
label: string;
|
|
@@ -130,6 +133,10 @@ interface MarketOddsRow {
|
|
|
130
133
|
quotedAtUtc?: string;
|
|
131
134
|
matchOddsId?: number | null;
|
|
132
135
|
isMainLine?: boolean;
|
|
136
|
+
previousPrice?: number | null;
|
|
137
|
+
previousPriceAtUtc?: string | null;
|
|
138
|
+
movementDirection?: 'shortened' | 'drifted' | null;
|
|
139
|
+
movementLookbackHours?: number | null;
|
|
133
140
|
[key: string]: unknown;
|
|
134
141
|
}
|
|
135
142
|
interface MarketOddsCard {
|
package/dist/index.d.ts
CHANGED
|
@@ -85,6 +85,9 @@ interface BettingInsightOdds {
|
|
|
85
85
|
quotedAtUtc?: string;
|
|
86
86
|
isLive?: boolean;
|
|
87
87
|
matchOddsId?: number;
|
|
88
|
+
previousValue?: number | null;
|
|
89
|
+
previousValueAtUtc?: string | null;
|
|
90
|
+
movementDirection?: 'shortened' | 'drifted' | null;
|
|
88
91
|
}
|
|
89
92
|
interface BettingInsightStat {
|
|
90
93
|
label: string;
|
|
@@ -130,6 +133,10 @@ interface MarketOddsRow {
|
|
|
130
133
|
quotedAtUtc?: string;
|
|
131
134
|
matchOddsId?: number | null;
|
|
132
135
|
isMainLine?: boolean;
|
|
136
|
+
previousPrice?: number | null;
|
|
137
|
+
previousPriceAtUtc?: string | null;
|
|
138
|
+
movementDirection?: 'shortened' | 'drifted' | null;
|
|
139
|
+
movementLookbackHours?: number | null;
|
|
133
140
|
[key: string]: unknown;
|
|
134
141
|
}
|
|
135
142
|
interface MarketOddsCard {
|