@sensiblestats/widget-react 0.107.1 → 0.107.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @sensiblestats/widget-react
2
2
 
3
+ ## 0.107.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @sensiblestats/widget-sdk@0.74.1
9
+
3
10
  ## 0.107.1
4
11
 
5
12
  ### Patch Changes
package/README.md CHANGED
@@ -35,7 +35,9 @@ Common `config` fields:
35
35
  - `baseUrl` — the widget gateway URL.
36
36
  - `locale` — `'en'` or `'tr'` for the widget's own chrome text.
37
37
  - `userContext` — `{ operatorUserId, defaultLanguage }` to tie the conversation
38
- and personalization to your signed-in user.
38
+ and personalization to your signed-in user. `operatorUserId` travels from the
39
+ browser, so make it a random, non-guessable value you map to the user on your
40
+ side (a UUID works): never an account number, email, username or sequential id.
39
41
  - White-label branding — `logoUrl`, `headerTitle`, `accent`, `cta`, `surface`,
40
42
  `ink`. Absent → the default SensibleStats look.
41
43
  - `page` — the page the widget sits on, `{ sport, kind?, matchId?, competitionId? }`, so the
package/dist/index.cjs CHANGED
@@ -1288,7 +1288,7 @@ function isEnglishLocale(locale) {
1288
1288
  }
1289
1289
 
1290
1290
  // src/version.generated.ts
1291
- var WIDGET_REACT_VERSION = "0.107.1";
1291
+ var WIDGET_REACT_VERSION = "0.107.2";
1292
1292
 
1293
1293
  // src/config.ts
1294
1294
  function normalizeUi(cfg) {