Compare commits

...
1 Commits
Author SHA1 Message Date
hanzo-dev c9cd26e3ee fix(telemetry): require @hanzo/observe ^0.1.6 so clicks carry a position
Checks / unit-tests (push) Failing after 2m3s
Checks / checks (push) Failing after 2m35s
Co-authored-by: Hanzo Dev <dev@hanzo.ai>
2026-08-04 21:22:34 -07:00
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -30,7 +30,7 @@
},
"dependencies": {
"@hanzo/event": "^0.3.1",
"@hanzo/observe": "^0.1.0"
"@hanzo/observe": "^0.1.6"
},
"peerDependencies": {
"react": ">=18"
+6
View File
@@ -32,6 +32,12 @@ export function useReplay(
const start = (): void => {
if (cancelled) return
// ^0.1.6 is a FLOOR, not a preference: the pointer position ($x/$y and the
// viewport it is relative to) is what a heat map is drawn from, and observe
// did not measure it before 0.1.6. An older observe still loads, still
// annotates, and still reports every click — so the engine looks healthy
// while the heat map stays empty, which is exactly how this went unnoticed
// until the warehouse showed zero positions against 48 clicks.
import('@hanzo/observe')
.then(({ observe, wireProps }) => {
if (cancelled) return