posthog-js
Advanced tools
Comparing version 1.4.0 to 1.4.1
@@ -0,4 +1,9 @@ | ||
## 1.4.1 - 2020-08-10 | ||
- Remove unused parameter for `.reloadFeatureFlags()` | ||
## 1.4.0 - 2020-08-10 | ||
- Add option `.reloadFeatureFlags()`. Pass it a callback to get the flags array upon reload. (See [#71](https://github.com/PostHog/posthog-js/pull/71)) | ||
- Add config option `sanitize_properties` that accepts a function which sanitizes your params (See [#75](https://github.com/PostHog/posthog-js/issues/75)) | ||
- Have `.onFeatureFlags(callback)` register multiple callbacks, which get called when feature flags are loaded or updated | ||
- Update feature flags when `identify` is called. | ||
- Add option `.reloadFeatureFlags()`. Call it to trigger a reload of feature flags. (See [#71](https://github.com/PostHog/posthog-js/pull/71)) | ||
- Add config option `sanitize_properties` that accepts a function which sanitizes parameters of events (See [#75](https://github.com/PostHog/posthog-js/issues/75)) | ||
@@ -5,0 +10,0 @@ ## 1.3.8 - 2020-08-07 |
@@ -685,3 +685,3 @@ // Type definitions for exported methods | ||
static reloadFeatureFlags(callback: (flags: string[]) => any): void | ||
static reloadFeatureFlags(): void | ||
@@ -688,0 +688,0 @@ /* |
{ | ||
"name": "posthog-js", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
309551