posthog-node 4.1.1 → 4.2.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.
@@ -16,6 +16,7 @@ export declare abstract class PostHogCoreStateless {
16
16
  private captureMode;
17
17
  private removeDebugCallback?;
18
18
  private disableGeoip;
19
+ private historicalMigration;
19
20
  disabled: boolean;
20
21
  private defaultOptIn;
21
22
  private pendingPromises;
@@ -40,6 +40,8 @@ export declare type PostHogCoreOptions = {
40
40
  /** Whether to post events to PostHog in JSON or compressed format. Defaults to 'form' */
41
41
  captureMode?: 'json' | 'form';
42
42
  disableGeoip?: boolean;
43
+ /** Special flag to indicate ingested data is for a historical migration. */
44
+ historicalMigration?: boolean;
43
45
  };
44
46
  export declare enum PostHogPersistedProperty {
45
47
  AnonymousId = "anonymous_id",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "posthog-node",
3
- "version": "4.1.1",
3
+ "version": "4.2.0",
4
4
  "description": "PostHog Node.js integration",
5
5
  "repository": {
6
6
  "type": "git",