@posthog/ai 8.2.0 → 8.2.2

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.
@@ -116,7 +116,7 @@ const truncate = input => {
116
116
  return `${truncatedStr}... [truncated]`;
117
117
  };
118
118
 
119
- var version = "8.2.0";
119
+ var version = "8.2.2";
120
120
 
121
121
  // Warn when a wrapper's base_url points at the PostHog AI Gateway: the gateway
122
122
  // emits its own $ai_generation, so each call would be captured (and, for billable
@@ -114,7 +114,7 @@ const truncate = input => {
114
114
  return `${truncatedStr}... [truncated]`;
115
115
  };
116
116
 
117
- var version = "8.2.0";
117
+ var version = "8.2.2";
118
118
 
119
119
  // Warn when a wrapper's base_url points at the PostHog AI Gateway: the gateway
120
120
  // emits its own $ai_generation, so each call would be captured (and, for billable
@@ -397,7 +397,7 @@ function sanitizeValues(obj) {
397
397
  return jsonSafe;
398
398
  }
399
399
 
400
- var version = "8.2.0";
400
+ var version = "8.2.2";
401
401
 
402
402
  const DEFAULT_MAX_DEPTH = 3;
403
403
  const MAX_STACK_LINES = 20;
@@ -395,7 +395,7 @@ function sanitizeValues(obj) {
395
395
  return jsonSafe;
396
396
  }
397
397
 
398
- var version = "8.2.0";
398
+ var version = "8.2.2";
399
399
 
400
400
  const DEFAULT_MAX_DEPTH = 3;
401
401
  const MAX_STACK_LINES = 20;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@posthog/ai",
3
- "version": "8.2.0",
3
+ "version": "8.2.2",
4
4
  "description": "PostHog Node.js AI integrations",
5
5
  "repository": {
6
6
  "type": "git",
@@ -29,9 +29,9 @@
29
29
  "@types/jest": "^29.5.14",
30
30
  "jest": "29.7.0",
31
31
  "node-fetch": "^3.3.2",
32
+ "@posthog-tooling/rollup-utils": "1.1.1",
32
33
  "@posthog-tooling/tsconfig-base": "1.1.1",
33
- "posthog-node": "5.36.17",
34
- "@posthog-tooling/rollup-utils": "1.1.1"
34
+ "posthog-node": "^5.38.5"
35
35
  },
36
36
  "keywords": [
37
37
  "posthog",
@@ -49,7 +49,7 @@
49
49
  "dependencies": {
50
50
  "uuid": "^11.1.0",
51
51
  "zod": "^4.1.13",
52
- "@posthog/core": "1.32.3"
52
+ "@posthog/core": "^1.37.3"
53
53
  },
54
54
  "peerDependencies": {
55
55
  "@anthropic-ai/sdk": "^0.78.0",