Files
control/package.json
T
zeekayandHanzo Dev 0877755b9d the widget reports itself, and only itself
Rollout needs numbers, and the obvious way to get them is the defect this
codebase already has a scar from: a second client posting to /v1/event counted
every pageview twice.

A script tag cannot share the page's @hanzo/event client -- that client is a
module the app holds, with no global -- so coordination is not available. What
is available is not overlapping: three events named for the widget, emitted by
nothing else. No shared transport, no reconciliation, and a double count is not
expressible rather than merely avoided.

Same door, key and opt-out as the recordings, so a reader who declined
measurement is not measured here either.

Co-authored-by: Hanzo Dev <[email protected]>
2026-08-16 12:43:16 -07:00

33 lines
766 B
JSON

{
"name": "@hanzo/control",
"version": "0.3.0",
"description": "Hanzo Control \u2014 the controls surface for Hanzo apps and websites: appearance, language, help, and suggesting or editing the page you are viewing.",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/hanzoai/control.git"
},
"type": "module",
"files": [
"src",
"README.md",
"LICENSE"
],
"exports": {
".": "./src/control.js"
},
"scripts": {
"check": "node --check src/control.js"
},
"keywords": [
"hanzo",
"controls",
"appearance",
"language",
"help",
"suggest",
"edit"
],
"sideEffects": true
}