posthog-js 1.75.3 → 1.76.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
@@ -252,7 +252,6 @@ interface PostHogConfig {
252
252
  featureFlagPayloads?: Record<string, JsonType>;
253
253
  };
254
254
  segment?: any;
255
- uuid_version?: UUIDVersion;
256
255
  }
257
256
  interface OptInOutCapturingOptions {
258
257
  capture: (event: string, properties: Properties, options: CaptureOptions) => void;
@@ -1027,7 +1026,6 @@ declare class RequestQueue extends RequestQueueScaffold {
1027
1026
  }
1028
1027
 
1029
1028
  declare class SessionIdManager {
1030
- private uuidFn;
1031
1029
  private config;
1032
1030
  private persistence;
1033
1031
  private _windowId;
@@ -1038,7 +1036,7 @@ declare class SessionIdManager {
1038
1036
  private _sessionActivityTimestamp;
1039
1037
  private _sessionTimeoutMs;
1040
1038
  private _sessionIdChangedHandlers;
1041
- constructor(config: Partial<PostHogConfig>, persistence: PostHogPersistence, uuidFn: () => string);
1039
+ constructor(config: Partial<PostHogConfig>, persistence: PostHogPersistence);
1042
1040
  onSessionId(callback: SessionIdChangedCallback): () => void;
1043
1041
  private _canUseSessionStorage;
1044
1042
  private _setWindowId;
@@ -1085,10 +1083,8 @@ declare class SentryIntegration implements _SentryIntegration {
1085
1083
  }
1086
1084
 
1087
1085
  declare class PageViewIdManager {
1088
- private uuidFn;
1089
1086
  _pageViewId: string | undefined;
1090
1087
  _seenFirstPageView: boolean;
1091
- constructor(uuidFn: () => string);
1092
1088
  onPageview(): void;
1093
1089
  getPageViewId(): string;
1094
1090
  }
@@ -1207,7 +1203,6 @@ declare class PostHog {
1207
1203
  decideEndpointWasHit: boolean;
1208
1204
  SentryIntegration: typeof SentryIntegration;
1209
1205
  segmentIntegration: () => any;
1210
- private uuidFn;
1211
1206
  /** DEPRECATED: We keep this to support existing usage but now one should just call .setPersonProperties */
1212
1207
  people: {
1213
1208
  set: (prop: string | Properties, to?: string, callback?: RequestCallback) => void;