(client: AnalyticsClient | null)
| 220 | * non-React hosts (or tests). Pass `null` to restore the no-op default. |
| 221 | */ |
| 222 | export const setAnalyticsClient = (client: AnalyticsClient | null): void => { |
| 223 | currentAnalyticsClient = client; |
| 224 | }; |
| 225 | |
| 226 | /** |
| 227 | * Record one product event. Safe to call from anywhere (React handlers, |