@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 +7 -0
- package/README.md +3 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
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