(client: AnalyticsClient | null)
| 235 | * non-React hosts (or tests). Pass `null` to restore the no-op default. |
| 236 | */ |
| 237 | export const setAnalyticsClient = (client: AnalyticsClient | null): void => { |
| 238 | currentAnalyticsClient = client; |
| 239 | }; |
| 240 | |
| 241 | /** |
| 242 | * Record one product event. Safe to call from anywhere (React handlers, |