@sensiblestats/widget-sdk 0.64.0 → 0.65.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.65.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 5cf2439: Add optional `live` to `PlayerPropsBundle`: true when the prices are in-game ones for a game in progress.
8
+
3
9
  ## 0.64.0
4
10
 
5
11
  ### Minor Changes
package/dist/index.d.cts CHANGED
@@ -920,6 +920,8 @@ interface PlayerPropsBundle {
920
920
  homeAbbreviation: string;
921
921
  awayAbbreviation: string;
922
922
  addToSlipEnabled: boolean;
923
+ /** True for in-game prices on a game in progress. Absent from servers older than live props. */
924
+ live?: boolean;
923
925
  players: Array<{
924
926
  playerId: number;
925
927
  name: string;
package/dist/index.d.ts CHANGED
@@ -920,6 +920,8 @@ interface PlayerPropsBundle {
920
920
  homeAbbreviation: string;
921
921
  awayAbbreviation: string;
922
922
  addToSlipEnabled: boolean;
923
+ /** True for in-game prices on a game in progress. Absent from servers older than live props. */
924
+ live?: boolean;
923
925
  players: Array<{
924
926
  playerId: number;
925
927
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sensiblestats/widget-sdk",
3
- "version": "0.64.0",
3
+ "version": "0.65.0",
4
4
  "description": "Headless browser SDK for the SensibleStats chat widget gateway.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",