posthog-js 1.89.2 → 1.90.1
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 +1 -1
- package/dist/array.full.js.map +1 -1
- package/dist/array.js +1 -1
- package/dist/array.js.map +1 -1
- package/dist/es.js +1 -1
- package/dist/es.js.map +1 -1
- package/dist/module.d.ts +3 -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/constants.d.ts +1 -0
- package/lib/src/constants.js +1 -0
- package/lib/src/constants.js.map +1 -1
- package/lib/src/extensions/replay/sessionrecording.d.ts +1 -1
- package/lib/src/extensions/replay/sessionrecording.js +19 -7
- package/lib/src/extensions/replay/sessionrecording.js.map +1 -1
- package/lib/src/extensions/surveys.js +5 -4
- package/lib/src/extensions/surveys.js.map +1 -1
- package/lib/src/posthog-surveys-types.d.ts +2 -0
- package/lib/src/posthog-surveys-types.js.map +1 -1
- package/lib/src/storage.d.ts +15 -0
- package/lib/src/storage.js +56 -6
- package/lib/src/storage.js.map +1 -1
- package/package.json +1 -1
package/dist/module.d.ts
CHANGED
|
@@ -873,7 +873,6 @@ declare class SessionRecording {
|
|
|
873
873
|
private receivedDecide;
|
|
874
874
|
private rrwebRecord;
|
|
875
875
|
private isIdle;
|
|
876
|
-
private _networkPayloadCapture;
|
|
877
876
|
private _linkedFlagSeen;
|
|
878
877
|
private _lastActivityTimestamp;
|
|
879
878
|
private windowId;
|
|
@@ -888,6 +887,7 @@ declare class SessionRecording {
|
|
|
888
887
|
private get isRecordingEnabled();
|
|
889
888
|
private get isConsoleLogCaptureEnabled();
|
|
890
889
|
private get recordingVersion();
|
|
890
|
+
private get networkPayloadCapture();
|
|
891
891
|
/**
|
|
892
892
|
* defaults to buffering mode until a decide response is received
|
|
893
893
|
* once a decide response is received status can be disabled, active or sampled
|
|
@@ -1070,6 +1070,7 @@ interface SurveyAppearance {
|
|
|
1070
1070
|
ratingButtonActiveColor?: string;
|
|
1071
1071
|
ratingButtonHoverColor?: string;
|
|
1072
1072
|
whiteLabel?: boolean;
|
|
1073
|
+
autoDisappear?: boolean;
|
|
1073
1074
|
displayThankYouMessage?: boolean;
|
|
1074
1075
|
thankYouMessageHeader?: string;
|
|
1075
1076
|
thankYouMessageDescription?: string;
|
|
@@ -1088,6 +1089,7 @@ interface SurveyQuestionBase {
|
|
|
1088
1089
|
question: string;
|
|
1089
1090
|
description?: string | null;
|
|
1090
1091
|
optional?: boolean;
|
|
1092
|
+
buttonText?: string;
|
|
1091
1093
|
}
|
|
1092
1094
|
interface BasicSurveyQuestion extends SurveyQuestionBase {
|
|
1093
1095
|
type: SurveyQuestionType.Open;
|