posthog-js
Advanced tools
Comparing version 1.13.7 to 1.13.8
@@ -0,1 +1,5 @@ | ||
## 1.13.8 - 2021-09-09 | ||
- Restore feature flag client-side override method (#280) | ||
## 1.13.7 - 2021-09-06 | ||
@@ -2,0 +6,0 @@ |
@@ -796,2 +796,15 @@ // Type definitions for exported methods | ||
): false | undefined | ||
/* | ||
* Override flags locally. | ||
* | ||
* ### Usage: | ||
* | ||
* - posthog.feature_flags.override(false) | ||
* - posthog.feature_flags.override(['beta-feature']) | ||
* - posthog.feature_flags.override({'beta-feature': 'variant', 'other-feature': True}) | ||
* | ||
* @param {Function} [callback] The callback function will be called once the feature flags are ready. It'll return a list of feature flags enabled for the user. | ||
*/ | ||
static override(flags: false | string[] | Record<string, boolean | string>): void | ||
} | ||
@@ -798,0 +811,0 @@ |
{ | ||
"name": "posthog-js", | ||
"version": "1.13.7", | ||
"version": "1.13.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
608789
12730