posthog-js
Advanced tools
Comparing version 1.16.7 to 1.16.8
@@ -0,1 +1,5 @@ | ||
## 1.16.8 - 2021-12-21 | ||
- add resetSessionId function (#345) | ||
## 1.16.7 - 2021-11-25 | ||
@@ -2,0 +6,0 @@ |
@@ -769,2 +769,16 @@ // Type definitions for exported methods | ||
export class sessionManager { | ||
/* | ||
* Allows you to manually reset the current session id. By default, the session id is reset after 30 minutes | ||
* of inactivity, but with this function, you can reset it earlier. This will also result in a new session recording. | ||
* | ||
* | ||
* ### Usage: | ||
* | ||
* posthog.sessionManager.resetSessionId() | ||
* | ||
*/ | ||
static resetSessionId(): void | ||
} | ||
export class featureFlags { | ||
@@ -771,0 +785,0 @@ static getFlags(): string[] |
{ | ||
"name": "posthog-js", | ||
"version": "1.16.7", | ||
"version": "1.16.8", | ||
"description": "Posthog-js allows you to automatically capture usage and send events to PostHog.", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/PostHog/posthog-js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
654048
13562