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.
- package/dist/array.full.js +2 -2
- package/dist/array.full.js.map +1 -1
- package/dist/array.js +1 -1
- package/dist/array.js.map +1 -1
- package/dist/lib/src/posthog-surveys.d.ts +2 -1
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/module.d.ts +2 -1
- package/dist/module.js +1 -1
- package/dist/module.js.map +1 -1
- package/dist/surveys.js +1 -1
- package/dist/surveys.js.map +1 -1
- package/lib/package.json +1 -1
- package/lib/src/entrypoints/surveys.js +3 -0
- package/lib/src/entrypoints/surveys.js.map +1 -1
- package/lib/src/posthog-surveys.d.ts +2 -1
- package/lib/src/posthog-surveys.js +12 -4
- package/lib/src/posthog-surveys.js.map +1 -1
- package/package.json +1 -1
package/dist/module.d.ts
CHANGED
|
@@ -1467,7 +1467,7 @@ declare class SurveyEventReceiver {
|
|
|
1467
1467
|
}
|
|
1468
1468
|
|
|
1469
1469
|
declare class PostHogSurveys {
|
|
1470
|
-
instance
|
|
1470
|
+
private readonly instance;
|
|
1471
1471
|
private _decideServerResponse?;
|
|
1472
1472
|
_surveyEventReceiver: SurveyEventReceiver | null;
|
|
1473
1473
|
constructor(instance: PostHog);
|
|
@@ -1476,6 +1476,7 @@ declare class PostHogSurveys {
|
|
|
1476
1476
|
getSurveys(callback: SurveyCallback, forceReload?: boolean): void;
|
|
1477
1477
|
getActiveMatchingSurveys(callback: SurveyCallback, forceReload?: boolean): void;
|
|
1478
1478
|
getNextSurveyStep(survey: Survey, currentQuestionIndex: number, response: string | string[] | number | null): any;
|
|
1479
|
+
private _canActivateRepeatedly;
|
|
1479
1480
|
}
|
|
1480
1481
|
|
|
1481
1482
|
declare class RateLimiter {
|