@sensiblestats/widget-sdk 0.45.0 → 0.46.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.46.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 8fd2f53: Combo card legs now carry a match pin and no longer link to the match page: a tap on the pin adds the match to the Following tab, and the right arrow that closed the widget on a phone is gone. Adds optional `pinEnabled` to `ComboLeg`; an older server that omits it shows no pin.
8
+
3
9
  ## 0.45.0
4
10
 
5
11
  ### Minor Changes
package/dist/index.d.cts CHANGED
@@ -540,6 +540,8 @@ interface ComboLeg {
540
540
  matchOddsId: number;
541
541
  bookmakerId: number;
542
542
  quotedAtUtc: string;
543
+ /** The server allows pinning this leg's match. Absent on an older server, which means no pin. */
544
+ pinEnabled?: boolean;
543
545
  /** The stat behind the leg (R9), never null. */
544
546
  insight: {
545
547
  insightId: string;
package/dist/index.d.ts CHANGED
@@ -540,6 +540,8 @@ interface ComboLeg {
540
540
  matchOddsId: number;
541
541
  bookmakerId: number;
542
542
  quotedAtUtc: string;
543
+ /** The server allows pinning this leg's match. Absent on an older server, which means no pin. */
544
+ pinEnabled?: boolean;
543
545
  /** The stat behind the leg (R9), never null. */
544
546
  insight: {
545
547
  insightId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sensiblestats/widget-sdk",
3
- "version": "0.45.0",
3
+ "version": "0.46.0",
4
4
  "description": "Headless browser SDK for the SensibleStats chat widget gateway.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",