(client: AnalyticsClient | null)
| 182 | * non-React hosts (or tests). Pass `null` to restore the no-op default. |
| 183 | */ |
| 184 | export const setAnalyticsClient = (client: AnalyticsClient | null): void => { |
| 185 | currentAnalyticsClient = client; |
| 186 | }; |
| 187 | |
| 188 | /** |
| 189 | * Record one product event. Safe to call from anywhere (React handlers, |