Files
ui/pkg/replay/package.json
zeekayandHanzo Dev 57f9435929 Keep every package in one directory
The workspace declared pkg/* and pkgs/* both, so one repo had two names
for one concept and a package's home was a coin toss. The shared build
tooling already lived in pkg/ui/scripts and pkgs reached back into it
two levels up; now it is a sibling. hanzo.yml gates on pkg/ui, so the
published library stays where CI already looks and the rest joins it.

The publish glob follows: one root, one pattern, nothing invisible to it.

Co-authored-by: Hanzo Dev <[email protected]>
2026-09-08 23:50:28 -07:00

73 lines
2.1 KiB
JSON

{
"name": "@hanzo/replay",
"version": "0.1.1",
"description": "Hanzo Replay \u2014 browser session-replay recorder. Wraps rrweb to capture a replayable DOM movie, batches it, and POSTs it to the ONE ingest endpoint (POST /v1/replay) attributed by a publishable pk- key. Masks at CAPTURE time using @hanzo/observe's redaction policy \u2014 inputs masked by default, marked subtrees excluded, credential-bearing URLs redacted through @hanzo/event, and no recording at all on OAuth callback routes. Orthogonal to @hanzo/observe: semantic capture there, pixels here.",
"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"
],
"repository": {
"type": "git",
"url": "git+https://github.com/hanzoai/ui.git",
"directory": "pkg/replay"
},
"keywords": [
"session-replay",
"rrweb",
"replay",
"analytics",
"telemetry",
"privacy",
"observability",
"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"
}
}
},
"dependencies": {
"@hanzo/event": "catalog:",
"@hanzo/observe": "catalog:"
},
"peerDependencies": {
"rrweb": ">=2"
},
"devDependencies": {
"@types/node": "catalog:",
"happy-dom": "catalog:",
"rrweb": "catalog:",
"tsup": "catalog:",
"typescript": "catalog:",
"vitest": "catalog:"
}
}