posthog-js 1.148.1 → 1.148.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.
@@ -4,7 +4,7 @@ import { SurveyEventReceiver } from './utils/survey-event-receiver';
4
4
  import { DecideResponse } from './types';
5
5
  export declare const surveyUrlValidationMap: Record<SurveyUrlMatchType, (conditionsUrl: string) => boolean>;
6
6
  export declare class PostHogSurveys {
7
- instance: PostHog;
7
+ private readonly instance;
8
8
  private _decideServerResponse?;
9
9
  _surveyEventReceiver: SurveyEventReceiver | null;
10
10
  constructor(instance: PostHog);
@@ -13,4 +13,5 @@ export declare class PostHogSurveys {
13
13
  getSurveys(callback: SurveyCallback, forceReload?: boolean): void;
14
14
  getActiveMatchingSurveys(callback: SurveyCallback, forceReload?: boolean): void;
15
15
  getNextSurveyStep(survey: Survey, currentQuestionIndex: number, response: string | string[] | number | null): any;
16
+ private _canActivateRepeatedly;
16
17
  }