Survey helpers moved to shared core; enum type usage changed
posthog-js@1.400.1
1 enhancementThis release1 enhancementImprovements to existing featuresAI-tallied from the release notes
From the original release noteView original ↗
1.400.1
Patch Changes
- #4090
6dd8827Thanks @lucasheriques! - chore: survey seen-key and repeat-activation helpers now live in @posthog/core, shared by the web and React Native SDKs. Core's survey enums are now const-object literal unions (matching the web SDK's existing pattern), so the same values type-check across both SDKs. No behavior change. Type-level note: enum members no longer work as standalone type annotations (e.g.SurveyType.Popoveras a type); use the exported union types instead. Runtime values are unchanged. (2026-07-14) - Updated dependencies [
6dd8827]:- @posthog/core@1.41.1
Fetched July 14, 2026
