posthog-node 4.0.1 → 4.1.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.
@@ -1,6 +1,6 @@
1
1
  /// <reference types="node" />
2
2
  export declare type PostHogCoreOptions = {
3
- /** PostHog API host, usually 'https://app.posthog.com' or 'https://eu.posthog.com' */
3
+ /** PostHog API host, usually 'https://us.i.posthog.com' or 'https://eu.i.posthog.com' */
4
4
  host?: string;
5
5
  /** The number of events to queue before sending to PostHog (flushing) */
6
6
  flushAt?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "posthog-node",
3
- "version": "4.0.1",
3
+ "version": "4.1.0",
4
4
  "description": "PostHog Node.js integration",
5
5
  "repository": {
6
6
  "type": "git",
@@ -23,7 +23,7 @@
23
23
  "module": "lib/index.esm.js",
24
24
  "types": "lib/index.d.ts",
25
25
  "dependencies": {
26
- "axios": "^1.6.2",
26
+ "axios": "^1.7.4",
27
27
  "rusha": "^0.8.14"
28
28
  },
29
29
  "devDependencies": {
@@ -70,7 +70,7 @@ export class PostHogSentryIntegration implements _SentryIntegration {
70
70
  private readonly organization?: string,
71
71
  private readonly prefix?: string
72
72
  ) {
73
- this.posthogHost = posthog.options.host ?? 'https://app.posthog.com'
73
+ this.posthogHost = posthog.options.host ?? 'https://us.i.posthog.com'
74
74
  }
75
75
 
76
76
  public setupOnce(