@sensiblestats/widget-sdk 0.53.0 → 0.54.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 +6 -0
- package/dist/index.d.cts +3 -0
- package/dist/index.d.ts +3 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @sensiblestats/widget-sdk
|
|
2
2
|
|
|
3
|
+
## 0.54.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Add `MarketOddsCard.insights` (up to 2 stats, strongest first) alongside the existing single `insight`. Older servers only send `insight`; this is additive and optional.
|
|
8
|
+
|
|
3
9
|
## 0.53.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
package/dist/index.d.cts
CHANGED
|
@@ -511,6 +511,9 @@ interface MarketOddsCard {
|
|
|
511
511
|
kickoffLabel?: string | null;
|
|
512
512
|
/** The strongest stat for this card's market and fixture, already in the turn's language. */
|
|
513
513
|
insight?: MarketOddsCardInsight | null;
|
|
514
|
+
/** Up to 2 stats for this card's exact market, strongest first; insights[0] is always the same
|
|
515
|
+
* object as insight. Null exactly when insight is null. Absent on older servers. */
|
|
516
|
+
insights?: MarketOddsCardInsight[] | null;
|
|
514
517
|
/** Why the server sent this card unasked: `your_market` for the market the user bets on. */
|
|
515
518
|
tag?: string | null;
|
|
516
519
|
/** Present when the card is for a live (in-progress) fixture; null on pre-match cards. */
|
package/dist/index.d.ts
CHANGED
|
@@ -511,6 +511,9 @@ interface MarketOddsCard {
|
|
|
511
511
|
kickoffLabel?: string | null;
|
|
512
512
|
/** The strongest stat for this card's market and fixture, already in the turn's language. */
|
|
513
513
|
insight?: MarketOddsCardInsight | null;
|
|
514
|
+
/** Up to 2 stats for this card's exact market, strongest first; insights[0] is always the same
|
|
515
|
+
* object as insight. Null exactly when insight is null. Absent on older servers. */
|
|
516
|
+
insights?: MarketOddsCardInsight[] | null;
|
|
514
517
|
/** Why the server sent this card unasked: `your_market` for the market the user bets on. */
|
|
515
518
|
tag?: string | null;
|
|
516
519
|
/** Present when the card is for a live (in-progress) fixture; null on pre-match cards. */
|