@yoast/ai-insights-client 1.4.88 → 1.4.90

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
@@ -159,6 +159,14 @@ import 'ai-insights-client/dist/style.css';
159
159
 
160
160
  The component uses Tailwind CSS with the `yst-` prefix. If you're using Tailwind in your project, you may need to configure your build to include the component's styles or import the CSS file as shown above.
161
161
 
162
+ ## Dev Mode (Preview Environments)
163
+
164
+ For testing purposes, the application includes a dev mode that allows manual token entry to bypass normal authentication. This feature is only available when the `VITE_LOCALSTORAGE_AUTH` environment variable is set to `true`.
165
+
166
+ When enabled, a "Dev mode token" section appears in the sidebar that provides a textarea for entering authentication tokens. Tokens are auto-saved after a 1-second debounce (there is no save button). This is useful for preview environments and testing scenarios.
167
+
168
+ For more details, see [docs/dev-mode.md](./docs/dev-mode.md).
169
+
162
170
  ## TypeScript Support
163
171
 
164
172
  This library is built with TypeScript and includes full type definitions. All components and hooks are fully typed for the best development experience.