@posthog/ai 8.6.0 → 8.6.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@posthog/ai",
3
- "version": "8.6.0",
3
+ "version": "8.6.2",
4
4
  "description": "PostHog Node.js AI integrations",
5
5
  "repository": {
6
6
  "type": "git",
@@ -20,7 +20,6 @@
20
20
  "@openai/agents": "^0.8.0",
21
21
  "@openai/agents-core": "^0.8.0",
22
22
  "@opentelemetry/api": "^1.9.0",
23
- "@opentelemetry/core": "^2.0.0",
24
23
  "@opentelemetry/exporter-trace-otlp-http": "^0.200.0",
25
24
  "@opentelemetry/otlp-exporter-base": "^0.200.0",
26
25
  "@opentelemetry/sdk-trace-base": "^2.0.0",
@@ -30,8 +29,8 @@
30
29
  "jest": "29.7.0",
31
30
  "node-fetch": "^3.3.2",
32
31
  "@posthog-tooling/rollup-utils": "1.1.1",
33
- "@posthog-tooling/tsconfig-base": "1.1.1",
34
- "posthog-node": "^5.47.0"
32
+ "posthog-node": "^5.47.8",
33
+ "@posthog-tooling/tsconfig-base": "1.1.1"
35
34
  },
36
35
  "keywords": [
37
36
  "posthog",
@@ -49,7 +48,7 @@
49
48
  "dependencies": {
50
49
  "uuid": "^11.1.0",
51
50
  "zod": "^4.1.13",
52
- "@posthog/core": "^1.46.0"
51
+ "@posthog/core": "^1.46.6"
53
52
  },
54
53
  "peerDependencies": {
55
54
  "@anthropic-ai/sdk": "^0.112.3",
@@ -148,7 +147,8 @@
148
147
  "homepage": "https://github.com/PostHog/posthog-js-lite#readme",
149
148
  "scripts": {
150
149
  "clean": "rimraf dist",
151
- "test:unit": "jest",
150
+ "test:unit": "jest && pnpm test:module-load",
151
+ "test:module-load": "node tests/otel-module-load.cjs",
152
152
  "lint": "eslint src tests",
153
153
  "lint:fix": "eslint src tests --fix",
154
154
  "build": "rollup -c",