@splash-tech/jackpot-sdk 2.0.1 → 2.0.2

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.
Files changed (2) hide show
  1. package/README.md +2 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -53,9 +53,7 @@ splashJackpot.winWidget.launch({
53
53
  | data | object | null | Widget data from Splash backend |
54
54
  | container | string | document.body | CSS selector where widget will be injected |
55
55
  | mode | string | production | SDK environment (`local`, `dev`, `staging`, `production`) |
56
- | jackpotId | string | undefined | Jackpot identifier |
57
- | tag | string | undefined | Game tag |
58
- | brand | string | undefined | Operator brand |
56
+ | maxWidth | string | '1300px' | Maximum width of the footer widget |
59
57
 
60
58
  Example:
61
59
 
@@ -64,9 +62,7 @@ splashJackpot.footerWidget.launch({
64
62
  data: widgetData,
65
63
  container: '#game-container',
66
64
  mode: 'production',
67
- jackpotId: 'jackpot-id',
68
- tag: 'game-tag',
69
- brand: 'brand-name',
65
+ maxWidth: '100%',
70
66
  });
71
67
  ```
72
68
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@splash-tech/jackpot-sdk",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "SDK for managing jackpot widgets in iframes",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",