posthog-js
Advanced tools
Comparing version 1.29.3 to 1.30.0
@@ -0,1 +1,5 @@ | ||
## 1.30.0 - 2022-09-12 | ||
- feat(feature-flags): Enable bootstrapping the library (#444) | ||
## 1.29.3 - 2022-08-29 | ||
@@ -2,0 +6,0 @@ |
@@ -191,2 +191,7 @@ import { Integration, EventProcessor, Hub } from '@sentry/types'; | ||
_capture_performance: boolean; | ||
bootstrap: { | ||
distinctID?: string; | ||
isIdentifiedID?: boolean; | ||
featureFlags?: Record<string, boolean | string>; | ||
}; | ||
} | ||
@@ -422,3 +427,3 @@ interface OptInOutCapturingOptions { | ||
addFeatureFlagsHandler(handler: FeatureFlagsCallback): void; | ||
receivedFeatureFlags(response: DecideResponse): void; | ||
receivedFeatureFlags(response: Partial<DecideResponse>): void; | ||
override(flags: boolean | string[] | Record<string, string | boolean>): void; | ||
@@ -930,2 +935,3 @@ onFeatureFlags(callback: FeatureFlagsCallback): void; | ||
_execute_array(array: SnippetArrayItem[]): void; | ||
_hasBootstrappedFeatureFlags(): boolean; | ||
/** | ||
@@ -932,0 +938,0 @@ * push() keeps the standard async-array-push |
{ | ||
"name": "posthog-js", | ||
"version": "1.29.3", | ||
"version": "1.30.0", | ||
"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", |
{ | ||
"name": "posthog-js", | ||
"version": "1.29.3", | ||
"version": "1.30.0", | ||
"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 not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
2199177
14713