mirror of
https://github.com/hanzoai/ui.git
synced 2026-11-20 22:36:27 +00:00
fbevents reads its whole stub queue when it arrives, and a held 'consent revoke' with the 'consent grant' that Accept adds, both still waiting there, leave it revoked: no PageView and no event after it. Every eu visitor who accepted was invisible to the pixel. Replayed against fbevents 2.9.429 on a blank page: the queue revoke, LDU, init, grant, PageView sends nothing; the same queue without the pair sends the PageView. Before fbevents has been fetched it has seen nothing, so Accept strikes the held revoke from the queue instead of answering it with a grant. Once the library is on its way the grant is sent as before.
89 lines
2.3 KiB
JSON
89 lines
2.3 KiB
JSON
{
|
|
"name": "@hanzo/event",
|
|
"version": "0.3.66",
|
|
"description": "Hanzo Event — the ONE telemetry client. Emits pageview/event/identify/group to the Hanzo Cloud event stream (POST /v1/event), AND reports errors to Sentry as real Sentry envelopes — the error plane needs a DSN, without one nothing reaches Sentry. First-touch attribution, beacon-on-unload, auto error capture, client-side secret/PII scrubbing, a shared event + goal vocabulary. Subsumes @sentry.",
|
|
"publishConfig": {
|
|
"registry": "https://registry.npmjs.org/",
|
|
"access": "public",
|
|
"scope": "@hanzo"
|
|
},
|
|
"author": "Hanzo AI <[email protected]>",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"main": "./dist/index.cjs",
|
|
"module": "./dist/index.mjs",
|
|
"types": "./dist/index.d.ts",
|
|
"sideEffects": false,
|
|
"files": [
|
|
"dist",
|
|
"src",
|
|
"README.md",
|
|
"TAXONOMY.md"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/hanzoai/ui.git",
|
|
"directory": "pkg/event"
|
|
},
|
|
"keywords": [
|
|
"analytics",
|
|
"product-analytics",
|
|
"telemetry",
|
|
"events",
|
|
"error-tracking",
|
|
"sentry",
|
|
"attribution",
|
|
"funnel",
|
|
"hanzo"
|
|
],
|
|
"scripts": {
|
|
"prepublishOnly": "node ../../scripts/guard-publish.mjs",
|
|
"build": "tsup && tsc --emitDeclarationOnly --declaration --outDir dist && node ../../scripts/dts.mjs",
|
|
"dev": "tsup --watch",
|
|
"test": "vitest run",
|
|
"typecheck": "tsc --noEmit -p tsconfig.json",
|
|
"clean": "rm -rf dist"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"import": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.mjs"
|
|
},
|
|
"require": {
|
|
"types": "./dist/index.d.cts",
|
|
"default": "./dist/index.cjs"
|
|
}
|
|
},
|
|
"./react": {
|
|
"import": {
|
|
"types": "./dist/react.d.ts",
|
|
"default": "./dist/react.mjs"
|
|
},
|
|
"require": {
|
|
"types": "./dist/react.d.cts",
|
|
"default": "./dist/react.cjs"
|
|
}
|
|
}
|
|
},
|
|
"peerDependencies": {
|
|
"react": ">=19.2.8"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"react": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "catalog:",
|
|
"@types/react": "catalog:",
|
|
"react": "catalog:",
|
|
"tsup": "catalog:",
|
|
"typescript": "catalog:",
|
|
"vitest": "catalog:"
|
|
},
|
|
"dependencies": {
|
|
"@hanzo/events": "catalog:"
|
|
}
|
|
}
|