:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
feat(metrics): capture app network request durations (#100182)
Paul D'Ambra5e3cac9d4189
diff --git a/frontend/src/exporter/index.tsx b/frontend/src/exporter/index.tsxindex c4363d48ee4f..724de096c54e 100644--- a/frontend/src/exporter/index.tsx+++ b/frontend/src/exporter/index.tsx@@ -5,7 +5,7 @@ import './Exporter.scss'// before any module that builds a zod schema. See lib/configureZod.import '../lib/configureZod'-import { BeforeSendFn, CapturedNetworkRequest } from 'posthog-js'+import { BeforeSendFn, CapturedNetworkRequest, NetworkMetricsConfig } from 'posthog-js'import { createRoot } from 'react-dom/client'import { polyfillCountryFlags } from 'lib/countryFlagEmojiPolyfill'@@ -33,11 +33,15 @@ if (!isInterview) {// The interview URL embeds the SharingConfiguration access token (/interview/<token>/) and the// public start_call API path (/api/user_interviews/share/<token>/start_call/) embeds it too.-// Two hooks redact it everywhere a viewer of analytics or replay could otherwise read it:+// Three hooks redact it everywhere a viewer of analytics, replay, or metrics could otherwise read it:// - `before_send` strips URL-shaped event properties ($current_url, $pathname, $referrer, ...)// - `maskCapturedNetworkRequestFn` is also the hook posthog-js uses for ALL replay URL// surfaces — captured network requests, the rrweb `EventType.Meta` header, `$url_changed`// custom events on SPA route transitions, and masked $current_url in captured console events.+// - `metrics.network.attributes` overrides the `path` attribute posthog-js records on every+// automatic fetch/XHR duration metric. The default `path` only templates numeric or+// uuid-like segments to `:id`, and the access token (a `secrets.token_urlsafe` string) does+// not match that pattern, so without this override the token would reach the Metrics UI.// Together they cover every surface where the token could land for a viewer to reuse.const INTERVIEW_TOKEN_RE = /\/interview\/[^/?#]+|\/api\/user_interviews\/share\/[^/?#]+/gconst URL_PROPERTIES = ['$current_url', '$pathname', '$referrer', '$initial_current_url', '$initial_pathname']@@ -60,10 +64,14 @@ const interviewMaskNetworkRequest = (req: CapturedNetworkRequest): CapturedNetwo}return req}+const interviewNetworkMetricsAttributes: NonNullable<NetworkMetricsConfig['attributes']> = (request) => ({+ path: redactInterviewToken(new URL(request.url).pathname),+})loadPostHogJS({beforeSend: isInterview ? interviewBeforeSend : undefined,sessionRecording: isInterview ? { maskCapturedNetworkRequestFn: interviewMaskNetworkRequest } : undefined,+ metrics: isInterview ? { network: { attributes: interviewNetworkMetricsAttributes } } : undefined,})initKea({ replaceInitialPathInWindow: false })diff --git a/frontend/src/loadPostHogJS.tsx b/frontend/src/loadPostHogJS.tsxindex 521ddc5a6024..04f3b8c22392 100644--- a/frontend/src/loadPostHogJS.tsx+++ b/frontend/src/loadPostHogJS.tsx@@ -1,4 +1,4 @@-import posthog, { BeforeSendFn, PostHogInterface, SessionRecordingOptions } from 'posthog-js'+import posthog, { BeforeSendFn, BrowserMetricsConfig, PostHogInterface, SessionRecordingOptions } from 'posthog-js'import { FEATURE_FLAGS } from 'lib/constants'import { isOAuthMode } from 'lib/oauth/oauthClient'@@ -39,6 +39,13 @@ export interface LoadPostHogJSOptions {* / network-payload masking when the page renders sensitive bearer tokens in its own URL.*/sessionRecording?: Partial<SessionRecordingOptions>+ /**+ * Extra `metrics` config merged on top of the defaults. `before_send` and+ * `maskCapturedNetworkRequestFn` do not cover the network metrics channel, so the exporter+ * app uses this to override `network.attributes` and keep the SharingConfiguration access+ * token out of the captured `path`. See `frontend/src/exporter/index.tsx`.+ */+ metrics?: Partial<BrowserMetricsConfig>}export function loadPostHogJS(options: LoadPostHogJSOptions = {}): void {@@ -61,6 +68,7 @@ export function loadPostHogJS(options: LoadPostHogJSOptions = {}): void {error_tracking: {__capturePostHogExceptions: true,},+ metrics: { network: true, serviceName: 'posthog-app', ...options.metrics },before_send: options.beforeSend,loaded: (loadedInstance) => {if (loadedInstance.sessionRecording) {diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 946a4a3eefc5..2a9e0a036683 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -100,8 +100,8 @@ catalogs:specifier: ^0.57.0version: 0.57.0posthog-js:- specifier: ^1.430.3- version: 1.430.3+ specifier: ^1.431.4+ version: 1.431.4query-selector-shadow-dom:specifier: ^1.0.0version: 1.0.1@@ -421,7 +421,7 @@ importers:version: 3.1.0posthog-js:specifier: 'catalog:'- version: 1.430.3(@types/[email protected])([email protected])+ version: 1.431.4(@types/[email protected])([email protected])devDependencies:'@swc/core':specifier: ^1.11.29@@ -452,7 +452,7 @@ importers:version: 1.5.15posthog-js:specifier: 'catalog:'- version: 1.430.3(@types/[email protected])([email protected])+ version: 1.431.4(@types/[email protected])([email protected])devDependencies:'@swc/core':specifier: ^1.11.29@@ -859,7 +859,7 @@ importers:version: link:../packages/quill/packages/components'@posthog/react':specifier: 'catalog:'- version: 1.10.6(@types/[email protected])([email protected](@types/[email protected])([email protected]))([email protected])+ version: 1.10.6(@types/[email protected])([email protected](@types/[email protected])([email protected]))([email protected])'@posthog/replay-shared':specifier: workspace:*version: link:../common/replay-shared@@ -1174,7 +1174,7 @@ importers:version: 2.11.0posthog-js:specifier: 'catalog:'- version: 1.430.3(@types/[email protected])([email protected])+ version: 1.431.4(@types/[email protected])([email protected])query-selector-shadow-dom:specifier: 'catalog:'version: 1.0.1@@ -2365,7 +2365,7 @@ importers:version: 3.4.1([email protected](patch_hash=139b8d1f1304f9d9da452a9a1244c94ea679dbcb85687d8999563146879fb6f5)([email protected]))posthog-js:specifier: 'catalog:'- version: 1.430.3(@types/[email protected])([email protected])+ version: 1.431.4(@types/[email protected])([email protected])react:specifier: 18.3.1version: 18.3.1@@ -2432,7 +2432,7 @@ importers:version: 0.1.7posthog-js:specifier: 'catalog:'- version: 1.430.3(@types/[email protected])([email protected])+ version: 1.431.4(@types/[email protected])([email protected])react:specifier: 18.3.1version: 18.3.1@@ -2498,7 +2498,7 @@ importers:version: 3.0.1([email protected](patch_hash=139b8d1f1304f9d9da452a9a1244c94ea679dbcb85687d8999563146879fb6f5)([email protected]))posthog-js:specifier: 'catalog:'- version: 1.430.3(@types/[email protected])([email protected])+ version: 1.431.4(@types/[email protected])([email protected])react:specifier: 18.3.1version: 18.3.1@@ -2667,7 +2667,7 @@ importers:version: 3.4.1([email protected](patch_hash=139b8d1f1304f9d9da452a9a1244c94ea679dbcb85687d8999563146879fb6f5)([email protected]))posthog-js:specifier: 'catalog:'- version: 1.430.3(@types/[email protected])([email protected])+ version: 1.431.4(@types/[email protected])([email protected])react:specifier: 18.3.1version: 18.3.1@@ -2853,7 +2853,7 @@ importers:version: 3.3.0posthog-js:specifier: 'catalog:'- version: 1.430.3(@types/[email protected])([email protected])+ version: 1.431.4(@types/[email protected])([email protected])react:specifier: 18.3.1version: 18.3.1@@ -2949,7 +2949,7 @@ importers:version: 0.2.4([email protected](patch_hash=139b8d1f1304f9d9da452a9a1244c94ea679dbcb85687d8999563146879fb6f5)([email protected]))posthog-js:specifier: 'catalog:'- version: 1.430.3(@types/[email protected])([email protected])+ version: 1.431.4(@types/[email protected])([email protected])react:specifier: 18.3.1version: 18.3.1@@ -2991,7 +2991,7 @@ importers:version: 3.4.1([email protected](patch_hash=139b8d1f1304f9d9da452a9a1244c94ea679dbcb85687d8999563146879fb6f5)([email protected]))posthog-js:specifier: 'catalog:'- version: 1.430.3(@types/[email protected])([email protected])+ version: 1.431.4(@types/[email protected])([email protected])react:specifier: 18.3.1version: 18.3.1@@ -3186,7 +3186,7 @@ importers:version: 0.2.4([email protected](patch_hash=139b8d1f1304f9d9da452a9a1244c94ea679dbcb85687d8999563146879fb6f5)([email protected]))posthog-js:specifier: 'catalog:'- version: 1.430.3(@types/[email protected])([email protected])+ version: 1.431.4(@types/[email protected])([email protected])react:specifier: 18.3.1version: 18.3.1@@ -3399,7 +3399,7 @@ importers:version: 3.0.1([email protected](patch_hash=139b8d1f1304f9d9da452a9a1244c94ea679dbcb85687d8999563146879fb6f5)([email protected]))posthog-js:specifier: 'catalog:'- version: 1.430.3(@types/[email protected])([email protected])+ version: 1.431.4(@types/[email protected])([email protected])react:specifier: 18.3.1version: 18.3.1@@ -3498,7 +3498,7 @@ importers:version: 3.4.1([email protected](patch_hash=139b8d1f1304f9d9da452a9a1244c94ea679dbcb85687d8999563146879fb6f5)([email protected]))posthog-js:specifier: 'catalog:'- version: 1.430.3(@types/[email protected])([email protected])+ version: 1.431.4(@types/[email protected])([email protected])react:specifier: 18.3.1version: 18.3.1@@ -3549,7 +3549,7 @@ importers:'@posthog/react':specifier: 'catalog:'- version: 1.10.6(@types/[email protected])([email protected](@types/[email protected])([email protected]))([email protected])+ version: 1.10.6(@types/[email protected])([email protected](@types/[email protected])([email protected]))([email protected])'@storybook/react':specifier: 'catalog:'version: 10.4.6(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])([email protected](@testing-library/[email protected])(@types/[email protected])([email protected])([email protected]([email protected]))([email protected]))([email protected])@@ -3576,7 +3576,7 @@ importers:version: 3.4.1([email protected](patch_hash=139b8d1f1304f9d9da452a9a1244c94ea679dbcb85687d8999563146879fb6f5)([email protected]))posthog-js:specifier: 'catalog:'- version: 1.430.3(@types/[email protected])([email protected])+ version: 1.431.4(@types/[email protected])([email protected])react:specifier: 18.3.1version: 18.3.1@@ -3662,7 +3662,7 @@ importers:version: 3.4.1([email protected](patch_hash=139b8d1f1304f9d9da452a9a1244c94ea679dbcb85687d8999563146879fb6f5)([email protected]))posthog-js:specifier: 'catalog:'- version: 1.430.3(@types/[email protected])([email protected])+ version: 1.431.4(@types/[email protected])([email protected])react:specifier: 18.3.1version: 18.3.1@@ -3828,7 +3828,7 @@ importers:version: 5.4.1posthog-js:specifier: 'catalog:'- version: 1.430.3(@types/[email protected])([email protected])+ version: 1.431.4(@types/[email protected])([email protected])react:specifier: 18.3.1version: 18.3.1@@ -4033,7 +4033,7 @@ importers:version: 3.4.1([email protected](patch_hash=139b8d1f1304f9d9da452a9a1244c94ea679dbcb85687d8999563146879fb6f5)([email protected]))posthog-js:specifier: 'catalog:'- version: 1.430.3(@types/[email protected])([email protected])+ version: 1.431.4(@types/[email protected])([email protected])react:specifier: 18.3.1version: 18.3.1@@ -4085,7 +4085,7 @@ importers:version: 3.4.1([email protected](patch_hash=139b8d1f1304f9d9da452a9a1244c94ea679dbcb85687d8999563146879fb6f5)([email protected]))posthog-js:specifier: 'catalog:'- version: 1.430.3(@types/[email protected])([email protected])+ version: 1.431.4(@types/[email protected])([email protected])react:specifier: 18.3.1version: 18.3.1@@ -4134,7 +4134,7 @@ importers:version: 3.4.1([email protected](patch_hash=139b8d1f1304f9d9da452a9a1244c94ea679dbcb85687d8999563146879fb6f5)([email protected]))posthog-js:specifier: 'catalog:'- version: 1.430.3(@types/[email protected])([email protected])+ version: 1.431.4(@types/[email protected])([email protected])react:specifier: 18.3.1version: 18.3.1@@ -4155,7 +4155,7 @@ importers:version: link:../../packages/quill/packages/primitives'@posthog/react':specifier: 'catalog:'- version: 1.10.6(@types/[email protected])([email protected](@types/[email protected])([email protected]))([email protected])+ version: 1.10.6(@types/[email protected])([email protected](@types/[email protected])([email protected]))([email protected])'@storybook/react':specifier: 'catalog:'version: 10.4.6(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])([email protected](@testing-library/[email protected])(@types/[email protected])([email protected])([email protected]([email protected]))([email protected]))([email protected])@@ -4200,7 +4200,7 @@ importers:version: 0.55.1posthog-js:specifier: 'catalog:'- version: 1.430.3(@types/[email protected])([email protected])+ version: 1.431.4(@types/[email protected])([email protected])react:specifier: 18.3.1version: 18.3.1@@ -4273,7 +4273,7 @@ importers:version: 3.0.2posthog-js:specifier: 'catalog:'- version: 1.430.3(@types/[email protected])([email protected])+ version: 1.431.4(@types/[email protected])([email protected])react:specifier: 18.3.1version: 18.3.1@@ -4347,7 +4347,7 @@ importers:version: 3.1.1([email protected](patch_hash=139b8d1f1304f9d9da452a9a1244c94ea679dbcb85687d8999563146879fb6f5)([email protected]))posthog-js:specifier: 'catalog:'- version: 1.430.3(@types/[email protected])([email protected])+ version: 1.431.4(@types/[email protected])([email protected])react:specifier: 18.3.1version: 18.3.1@@ -4435,7 +4435,7 @@ importers:version: 4.7.0posthog-js:specifier: 'catalog:'- version: 1.430.3(@types/[email protected])([email protected])+ version: 1.431.4(@types/[email protected])([email protected])react:specifier: 18.3.1version: 18.3.1@@ -4578,7 +4578,7 @@ importers:version: 2.1.1posthog-js:specifier: 'catalog:'- version: 1.430.3(@types/[email protected])([email protected])+ version: 1.431.4(@types/[email protected])([email protected])react:specifier: 18.3.1version: 18.3.1@@ -4645,7 +4645,7 @@ importers:'@posthog/react':specifier: '*'- version: 1.9.0(@types/[email protected])([email protected](@types/[email protected])([email protected]))([email protected])+ version: 1.9.0(@types/[email protected])([email protected](@types/[email protected])([email protected]))([email protected])'@storybook/react':specifier: 'catalog:'version: 10.4.6(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])([email protected](@testing-library/[email protected])(@types/[email protected])([email protected])([email protected]([email protected]))([email protected]))([email protected])@@ -4663,7 +4663,7 @@ importers:version: 3.4.1([email protected](patch_hash=139b8d1f1304f9d9da452a9a1244c94ea679dbcb85687d8999563146879fb6f5)([email protected]))posthog-js:specifier: 'catalog:'- version: 1.430.3(@types/[email protected])([email protected])+ version: 1.431.4(@types/[email protected])([email protected])react:specifier: 18.3.1version: 18.3.1@@ -4736,7 +4736,7 @@ importers:version: 3.4.1([email protected](patch_hash=139b8d1f1304f9d9da452a9a1244c94ea679dbcb85687d8999563146879fb6f5)([email protected]))posthog-js:specifier: 'catalog:'- version: 1.430.3(@types/[email protected])([email protected])+ version: 1.431.4(@types/[email protected])([email protected])react:specifier: 18.3.1version: 18.3.1@@ -4873,7 +4873,7 @@ importers:version: 3.0.1([email protected](patch_hash=139b8d1f1304f9d9da452a9a1244c94ea679dbcb85687d8999563146879fb6f5)([email protected]))posthog-js:specifier: 'catalog:'- version: 1.430.3(@types/[email protected])([email protected])+ version: 1.431.4(@types/[email protected])([email protected])react:specifier: 18.3.1version: 18.3.1@@ -4916,7 +4916,7 @@ importers:version: 3.4.1([email protected](patch_hash=139b8d1f1304f9d9da452a9a1244c94ea679dbcb85687d8999563146879fb6f5)([email protected]))posthog-js:specifier: 'catalog:'- version: 1.430.3(@types/[email protected])([email protected])+ version: 1.431.4(@types/[email protected])([email protected])react:specifier: 18.3.1version: 18.3.1@@ -4938,7 +4938,7 @@ importers:'@posthog/react':specifier: '*'- version: 1.9.0(@types/[email protected])([email protected](@types/[email protected])([email protected]))([email protected])+ version: 1.9.0(@types/[email protected])([email protected](@types/[email protected])([email protected]))([email protected])'@storybook/react':specifier: 'catalog:'version: 10.4.6(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])([email protected](@testing-library/[email protected])(@types/[email protected])([email protected])([email protected]([email protected]))([email protected]))([email protected])@@ -4956,7 +4956,7 @@ importers:version: 3.4.1([email protected](patch_hash=139b8d1f1304f9d9da452a9a1244c94ea679dbcb85687d8999563146879fb6f5)([email protected]))posthog-js:specifier: 'catalog:'- version: 1.430.3(@types/[email protected])([email protected])+ version: 1.431.4(@types/[email protected])([email protected])react:specifier: 18.3.1version: 18.3.1@@ -5009,7 +5009,7 @@ importers:version: 3.0.1([email protected](patch_hash=139b8d1f1304f9d9da452a9a1244c94ea679dbcb85687d8999563146879fb6f5)([email protected]))posthog-js:specifier: 'catalog:'- version: 1.430.3(@types/[email protected])([email protected])+ version: 1.431.4(@types/[email protected])([email protected])query-selector-shadow-dom:specifier: 'catalog:'version: 1.0.1@@ -5061,7 +5061,7 @@ importers:version: 3.1.1([email protected](patch_hash=139b8d1f1304f9d9da452a9a1244c94ea679dbcb85687d8999563146879fb6f5)([email protected]))posthog-js:specifier: 'catalog:'- version: 1.430.3(@types/[email protected])([email protected])+ version: 1.431.4(@types/[email protected])([email protected])react:specifier: 18.3.1version: 18.3.1@@ -5128,7 +5128,7 @@ importers:version: 5.4.1posthog-js:specifier: 'catalog:'- version: 1.430.3(@types/[email protected])([email protected])+ version: 1.431.4(@types/[email protected])([email protected])react:specifier: 18.3.1version: 18.3.1@@ -10603,6 +10603,9 @@ packages:'@posthog/[email protected]':resolution: {integrity: sha512-Knx8442G2LyPVIzLvhcBX/TIdeHpZhrYrtZou3Uw8FWfbr9gQtQeOZDCog3MWcDxJ+4vAnMAAOzf5cYpc7Gxyw==}+ '@posthog/[email protected]':+ resolution: {integrity: sha512-ioBDeZtsFZej4vfX2bGGBud3DNCvSlmUUdk2KtQWOlpGytbdirMHVxG2iAFkxqemiukqcvf/Do6BtZb5hp9MYw==}+'@posthog/[email protected]':resolution: {integrity: sha512-50BR9KRFTkh4HszryGPZUdVdaSqbb4OuaxwmeONGEuI2TRFCyWgF6r7YdVg9ud7PVnp6R4L7O4oYhaARDHuP0g==}engines: {node: '>=18'}@@ -10670,6 +10673,9 @@ packages:'@posthog/[email protected]':resolution: {integrity: sha512-Gd7tnSYctcSXup3naVlAgavvenByRao6rsSYdMgWgP35KE9jFn+rMHNRJeI5LNjJuLzMXHEVcgzAN7xcATefdw==}+ '@posthog/[email protected]':+ resolution: {integrity: sha512-EP+lSTnEmftW/slhGXsuGcYAygO4oho3hjWqObP+GeceZ+6qcwK9qZwVRqJjsiZAl0xLPy5s0U0SZqGKayFyeQ==}+'@protobufjs/[email protected]':resolution: {integrity: sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==}@@ -20230,8 +20236,8 @@ packages:resolution: {integrity: sha512-gZGdk1GZlfs042phwlQCX44gNanhkwZFEoEqkOtKc/YWzSokQcvNTDss8fpnvfe083KmRRHnjHosJOv3n8uEaA==}- resolution: {integrity: sha512-+j/0wa36fXdXsiKhN7ghHOA4z9/ik893ZpMOLeqCluqXZSt/oe+iClIavWqLRcYhvvmJvl2D3EfKpt8Kg8GbUQ==}+ resolution: {integrity: sha512-t3jAqO4JKY0GqSQDHe/9oNJYVKj1gZIWxDjTFZr1ZIihi1PHIBIZid5qCsZpTW4FRhDLFlfeLeTXBLPo0rgjOQ==}peerDependencies:'@types/react': 18.3.27react: 18.3.1@@ -22827,8 +22833,8 @@ packages:resolution: {integrity: sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==}engines: {node: '>= 10.0.0'}- resolution: {integrity: sha512-2Lr8dFxtMLIAAjSTIHDx6lZDKOBeyfRBZRPWGx3U91eq+X1oSEPBQbGltGHOM+21UVEbcAAW1ja/KlnAIOxO0A==}+ resolution: {integrity: sha512-UZJhsKBpxZYz2R7gjM3Obm1PYXo9RLS6XJ25x7ZshhmBXeBcBqnE3p/0qSqRDNTikSzCeWXPUJFqHtQVSjf9Bw==}resolution: {integrity: sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==}@@ -30192,8 +30198,8 @@ snapshots:'@posthog/[email protected]':dependencies:- '@posthog/core': 1.53.2- '@posthog/types': 1.411.1+ '@posthog/core': 1.53.3+ '@posthog/types': 1.412.0'@posthog/[email protected]':dependencies:@@ -30207,6 +30213,10 @@ snapshots:dependencies:'@posthog/types': 1.411.1+ '@posthog/[email protected]':+ dependencies:+ '@posthog/types': 1.412.0+'@posthog/[email protected]([email protected])([email protected]([email protected]))([email protected])':dependencies:gsap: 3.14.2@@ -30241,16 +30251,16 @@ snapshots:optionalDependencies:'@modelcontextprotocol/sdk': 1.29.0(@cfworker/[email protected])([email protected])- '@posthog/[email protected](@types/[email protected])([email protected](@types/[email protected])([email protected]))([email protected])':+ '@posthog/[email protected](@types/[email protected])([email protected](@types/[email protected])([email protected]))([email protected])':dependencies:- posthog-js: 1.430.3(@types/[email protected])([email protected])+ posthog-js: 1.431.4(@types/[email protected])([email protected])react: 18.3.1optionalDependencies:'@types/react': 18.3.27- '@posthog/[email protected](@types/[email protected])([email protected](@types/[email protected])([email protected]))([email protected])':+ '@posthog/[email protected](@types/[email protected])([email protected](@types/[email protected])([email protected]))([email protected])':dependencies:- posthog-js: 1.430.3(@types/[email protected])([email protected])+ posthog-js: 1.431.4(@types/[email protected])([email protected])react: 18.3.1optionalDependencies:'@types/react': 18.3.27@@ -30261,6 +30271,8 @@ snapshots:'@posthog/[email protected]': {}+ '@posthog/[email protected]': {}+'@protobufjs/[email protected]': {}'@protobufjs/[email protected]': {}@@ -42483,11 +42495,11 @@ snapshots:dependencies:'@posthog/core': 1.51.2dependencies:'@posthog/browser-common': 0.8.3- '@posthog/core': 1.53.2- '@posthog/types': 1.411.1+ '@posthog/core': 1.53.3+ '@posthog/types': 1.412.0core-js: 3.49.0dompurify: 3.4.13fflate: 0.4.8@@ -43313,7 +43325,7 @@ snapshots:dependencies:react: 18.3.1- unlayer-types: 1.482.0+ unlayer-types: 1.483.0dependencies:@@ -45630,7 +45642,7 @@ snapshots:- [email protected]: {}+ [email protected]: {}diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yamlindex 18ca0e3a3e22..a656f91f26bb 100644--- a/pnpm-workspace.yaml+++ b/pnpm-workspace.yaml@@ -147,7 +147,7 @@ catalog:'@posthog/icons': ^0.38.0'@posthog/brand': 0.11.0'@posthog/react': ^1.10.6- posthog-js: ^1.430.3+ posthog-js: ^1.431.4# Build tools'@parcel/packager-ts': 2.16.4'@parcel/transformer-typescript-types': 2.16.4