posthog-js 1.87.1 → 1.87.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/module.d.ts CHANGED
@@ -1044,9 +1044,6 @@ interface SurveyAppearance {
1044
1044
  }
1045
1045
  declare enum SurveyType {
1046
1046
  Popover = "popover",
1047
- Button = "button",
1048
- FullScreen = "full_screen",
1049
- Email = "email",
1050
1047
  API = "api"
1051
1048
  }
1052
1049
  declare type SurveyQuestion = BasicSurveyQuestion | LinkSurveyQuestion | RatingSurveyQuestion | MultipleSurveyQuestion;
@@ -1080,6 +1077,9 @@ declare enum SurveyQuestionType {
1080
1077
  Rating = "rating",
1081
1078
  Link = "link"
1082
1079
  }
1080
+ interface SurveyResponse {
1081
+ surveys: Survey[];
1082
+ }
1083
1083
  declare type SurveyCallback = (surveys: Survey[]) => void;
1084
1084
  declare type SurveyUrlMatchType = 'regex' | 'exact' | 'icontains';
1085
1085
  interface Survey {
@@ -1792,4 +1792,4 @@ declare class PostHog {
1792
1792
 
1793
1793
  declare const posthog: PostHog;
1794
1794
 
1795
- export { AutoCaptureCustomProperty, AutocaptureCompatibleElement, AutocaptureConfig, Breaker, CaptureCallback, CaptureOptions, CaptureResult, Compression, CompressionData, DecideResponse, DomAutocaptureEvents, EarlyAccessFeature, EarlyAccessFeatureCallback, EarlyAccessFeatureResponse, EventHandler, FeatureFlagsCallback, GDPROptions, JSC, JsonType, NetworkRequest, OptInOutCapturingOptions, PersistentStore, PostData, PostHog, PostHogConfig, Properties, Property, QueuedRequestData, RequestCallback, RetryQueueElement, SessionIdChangedCallback, SessionRecordingOptions, SnippetArrayItem, ToolbarParams, ToolbarSource, ToolbarUserIntent, ToolbarVersion, UUIDVersion, XHROptions, XHRParams, posthog as default, isFeatureEnabledOptions, posthog };
1795
+ export { AutoCaptureCustomProperty, AutocaptureCompatibleElement, AutocaptureConfig, BasicSurveyQuestion, Breaker, CaptureCallback, CaptureOptions, CaptureResult, Compression, CompressionData, DecideResponse, DomAutocaptureEvents, EarlyAccessFeature, EarlyAccessFeatureCallback, EarlyAccessFeatureResponse, EventHandler, FeatureFlagsCallback, GDPROptions, JSC, JsonType, LinkSurveyQuestion, MultipleSurveyQuestion, NetworkRequest, OptInOutCapturingOptions, PersistentStore, PostData, PostHog, PostHogConfig, Properties, Property, QueuedRequestData, RatingSurveyQuestion, RequestCallback, RetryQueueElement, SessionIdChangedCallback, SessionRecordingOptions, SnippetArrayItem, Survey, SurveyAppearance, SurveyCallback, SurveyQuestion, SurveyQuestionType, SurveyResponse, SurveyType, SurveyUrlMatchType, ToolbarParams, ToolbarSource, ToolbarUserIntent, ToolbarVersion, UUIDVersion, XHROptions, XHRParams, posthog as default, isFeatureEnabledOptions, posthog };