(client: AnalyticsClient | null)
| 199 | * non-React hosts (or tests). Pass `null` to restore the no-op default. |
| 200 | */ |
| 201 | export const setAnalyticsClient = (client: AnalyticsClient | null): void => { |
| 202 | currentAnalyticsClient = client; |
| 203 | }; |
| 204 | |
| 205 | /** |
| 206 | * Record one product event. Safe to call from anywhere (React handlers, |