- analytics-js wraps posthog-js 1.435.1 and posthog-react-native 4.78.2: reads NEXT_PUBLIC_/EXPO_PUBLIC_/VITE_ANALYTICS_SITE and _HOST, waits for consent (no client, no storage, no request before it), masks all inputs, [data-private]/.ph-mask text, blocks [data-block], no canvas, headers or bodies; Expo entry keeps the queue on the device and sends $screen per route change (screenTracker). - analytics-node wraps posthog-node 5.54.1. - test/a1: posthog-node (gzip), posthog-js under jsdom, one Chromium run (cached 1243, full build in new headless mode), React Native offline for 10 minutes plus a restart and a lost response: every event stored once. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
10 lines
451 B
Plaintext
10 lines
451 B
Plaintext
@railyard/analytics-js
|
|
Copyright 2026 Railyard. MIT License (see LICENSE).
|
|
|
|
This package wraps, unmodified, and depends on:
|
|
- posthog-js 1.435.1 (https://github.com/PostHog/posthog-js), Apache-2.0 AND
|
|
MIT (browser package MIT). Copyright PostHog Inc.
|
|
- posthog-react-native 4.78.2 (https://github.com/PostHog/posthog-js,
|
|
packages/react-native), MIT. Copyright PostHog Inc.
|
|
Both send with their public wire protocol to the Railyard analytics host.
|