posthog-js 1.85.4 → 1.87.0

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
@@ -314,6 +314,9 @@ interface DecideResponse {
314
314
  errorsWhileComputingFlags: boolean;
315
315
  autocapture_opt_out?: boolean;
316
316
  capturePerformance?: boolean;
317
+ analytics?: {
318
+ endpoint?: string;
319
+ };
317
320
  autocaptureExceptions?: boolean | {
318
321
  endpoint?: string;
319
322
  errors_to_ignore: string[];
@@ -1132,6 +1135,7 @@ declare class PostHog {
1132
1135
  __request_queue: [url: string, data: Record<string, any>, options: XHROptions, callback?: RequestCallback][];
1133
1136
  __autocapture: boolean | AutocaptureConfig | undefined;
1134
1137
  decideEndpointWasHit: boolean;
1138
+ analyticsDefaultEndpoint: string;
1135
1139
  SentryIntegration: typeof SentryIntegration;
1136
1140
  segmentIntegration: () => any;
1137
1141
  /** DEPRECATED: We keep this to support existing usage but now one should just call .setPersonProperties */
@@ -1158,6 +1162,7 @@ declare class PostHog {
1158
1162
  */
1159
1163
  init(token: string, config?: Partial<PostHogConfig>, name?: string): PostHog | void;
1160
1164
  _init(token: string, config?: Partial<PostHogConfig>, name?: string, initComplete?: (instance: PostHog) => void): void;
1165
+ _afterDecideResponse(response: DecideResponse): void;
1161
1166
  _loaded(): void;
1162
1167
  _start_queue_if_opted_in(): void;
1163
1168
  _dom_loaded(): void;