posthog-js 1.155.2 → 1.155.4

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.
@@ -59,6 +59,7 @@ export declare class PostHog {
59
59
  __request_queue: QueuedRequestOptions[];
60
60
  decideEndpointWasHit: boolean;
61
61
  analyticsDefaultEndpoint: string;
62
+ version: string;
62
63
  SentryIntegration: typeof SentryIntegration;
63
64
  sentryIntegration: (options?: SentryIntegrationOptions) => ReturnType<typeof sentryIntegration>;
64
65
  private _internalEventEmitter;
@@ -140,7 +141,7 @@ export declare class PostHog {
140
141
  */
141
142
  capture(event_name: string, properties?: Properties | null, options?: CaptureOptions): CaptureResult | void;
142
143
  _addCaptureHook(callback: (eventName: string, eventPayload?: CaptureResult) => void): void;
143
- _calculate_event_properties(event_name: string, event_properties: Properties, timestamp: Date): Properties;
144
+ _calculate_event_properties(event_name: string, event_properties: Properties, timestamp?: Date): Properties;
144
145
  _calculate_set_once_properties(dataSetOnce?: Properties): Properties | undefined;
145
146
  /**
146
147
  * Register a set of super properties, which are included with all