Files
zeekayandHanzo Dev 629db23fd0 event: raise the floor to ^0.3.3 (>=0.3.2 has the error envelope)
@hanzo/event <=0.3.1 shipped NO Sentry envelope code — captureError() collected
and dropped. 0.3.2 added it.

This repo already RESOLVED to 0.3.3 (the caret ranges permit it), so nothing
changes here at install time. The defect is in what the observe packages
PUBLISH: declaring ^0.3.0 lets any downstream consumer legitimately resolve to
0.3.0 or 0.3.1 and silently get a dead error plane. The floor now states the
real requirement.

pnpm install --frozen-lockfile green; @hanzo/observe 28 tests pass.

Co-authored-by: Hanzo Dev <[email protected]>
2026-07-26 23:47:07 -07:00

94 lines
2.2 KiB
JSON

{
"name": "@hanzo/observe-native",
"version": "0.1.0",
"description": "Native + desktop binding for @hanzo/observe. Instruments @hanzo/gui (Tamagui) / React Native presses and inputs, and bridges Tauri desktop, so native and desktop emit the SAME canonical Events as the web — through @hanzo/event to the ONE front door (POST /v1/event). Same semantic hierarchy, same privacy gate, fail-soft.",
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public",
"scope": "@hanzo"
},
"author": "Hanzo AI <[email protected]>",
"license": "BSD-3-Clause",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"sideEffects": false,
"files": [
"dist",
"src",
"README.md"
],
"repository": {
"type": "git",
"url": "git+https://github.com/hanzoai/ui.git",
"directory": "pkgs/observe-native"
},
"keywords": [
"analytics",
"autocapture",
"telemetry",
"semantic",
"tamagui",
"react-native",
"tauri",
"hanzo"
],
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"test": "vitest run",
"typecheck": "tsc --noEmit",
"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"
}
},
"./tauri": {
"import": {
"types": "./dist/tauri.d.ts",
"default": "./dist/tauri.mjs"
},
"require": {
"types": "./dist/tauri.d.cts",
"default": "./dist/tauri.cjs"
}
}
},
"dependencies": {
"@hanzo/event": "^0.3.3",
"@hanzo/observe": "^0.1.0"
},
"peerDependencies": {
"@tauri-apps/api": ">=1.0.0",
"react": "^18.0.0 || ^19.0.0"
},
"peerDependenciesMeta": {
"react": {
"optional": true
},
"@tauri-apps/api": {
"optional": true
}
},
"devDependencies": {
"@types/node": "^25.5.0",
"@types/react": "19.2.14",
"happy-dom": "^20.0.0",
"react": "19.2.4",
"react-dom": "19.2.4",
"@types/react-dom": "19.2.4",
"tsup": "^8.5.1",
"typescript": "^5.9.3",
"vitest": "^4.1.0"
}
}