Added
-
Contextune.clear(). Empties the event log (in memory and its persisted copy) without shutting the SDK down. Transport patches, subscribers, marketing and device capture, and the session clock all keep running, so the nextgetSnapshot()starts from a clean log on a session that is still live. Reach for it when the user's context resets but capture should continue, like on login. Unlikedestroy(), it leaves the patches, subscribers, and session cookie in place.onLogin(() => Contextune.clear());
npm: @contextune/sdk@0.2.0