@snf/qa-bot-core 0.3.0 → 0.3.1

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/README.md CHANGED
@@ -586,6 +586,10 @@ REACT_APP_RATING_ENDPOINT=https://your-api.com/rating # optional
586
586
  npm run build:lib
587
587
  ```
588
588
 
589
+ ### Turnstile widget styling
590
+
591
+ The Turnstile challenge modal only appears when the backend proxy requests it, which makes iterating on its styling slow. To force it to render unconditionally, set `VITE_FORCE_TURNSTILE_WIDGET=true` in the consumer's `.env` — the widget will mount on every chat session using `VITE_TURNSTILE_SITE_KEY` as its site key. The modal `onVerify`/`onError` callbacks still fire but no-op gracefully since there's no pending query to resubmit. Leave unset in production.
592
+
589
593
 
590
594
  ## License
591
595