@codaco/analytics 9.0.0 → 11.0.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.
- package/CHANGELOG.md +30 -0
- package/LICENSE +674 -0
- package/README.md +174 -305
- package/dist/{chunk-3NEQVIC4.js → chunk-TPZBZWEN.js} +19 -18
- package/dist/chunk-TPZBZWEN.js.map +1 -0
- package/dist/index.d.ts +11 -5
- package/dist/index.js +20 -9
- package/dist/index.js.map +1 -1
- package/dist/server.d.ts +1 -1
- package/dist/server.js +2 -1
- package/dist/server.js.map +1 -1
- package/dist/{types-Ymgjicqi.d.ts → types-BxfgCtu7.d.ts} +20 -8
- package/package.json +8 -8
- package/src/__tests__/client.test.ts +3 -1
- package/src/__tests__/index.test.ts +37 -1
- package/src/client.ts +2 -1
- package/src/config.ts +1 -0
- package/src/index.ts +5 -2
- package/src/provider.tsx +2 -2
- package/src/server.ts +1 -0
- package/src/types.ts +31 -7
- package/tsconfig.json +1 -1
- package/dist/chunk-3NEQVIC4.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
1
1
|
# @codaco/analytics
|
|
2
2
|
|
|
3
|
+
## 11.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- d0ace99: Add multi-app support with required `app` field on `AnalyticsConfig`. Multiple applications (Fresco, Architect, Studio, etc.) can now share a single PostHog project with events segmented by the `app` super property. Also exports `createAnalytics` for use in `instrumentation-client.ts` and adds `AppName` type and `appNames` constant.
|
|
8
|
+
|
|
9
|
+
## 9.0.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- cb70e1f: Bump posthog-js to 1.304.0
|
|
14
|
+
|
|
15
|
+
**architect-vite (private):**
|
|
16
|
+
|
|
17
|
+
- Add PostHog analytics tracking with Redux middleware for protocol events:
|
|
18
|
+
- Protocol opened
|
|
19
|
+
- Protocol previewed
|
|
20
|
+
- Stage added (with stage type)
|
|
21
|
+
- Protocol validation failed (with Zod-formatted error details)
|
|
22
|
+
- Protocol downloaded
|
|
23
|
+
- Enable session replay, pageview tracking, and automatic exception capture
|
|
24
|
+
- Add error tracking to AppErrorBoundary component
|
|
25
|
+
- Enable PostHog debug logging in development mode
|
|
26
|
+
|
|
27
|
+
**posthog-proxy-worker (private):**
|
|
28
|
+
|
|
29
|
+
- Simplify and refactor the Cloudflare Worker proxy implementation
|
|
30
|
+
- Add caching for static assets
|
|
31
|
+
- Forward client IP via X-Forwarded-For header
|
|
32
|
+
|
|
3
33
|
## 10.0.0
|
|
4
34
|
|
|
5
35
|
### Major Changes
|