Files
market/package.json
T
zeekayandHanzo Dev 0bcee42adf feat(market): send pageviews to Hanzo Insights
The marketplace shipped with no telemetry of any kind — no pageviews, no
sessions, no errors — so there was no way to say whether anyone uses it, or
which collection they came for. It is one of seven Lux surfaces going dark in
the same way, and all seven report through @hanzo/event, which posts to our own
door at api.hanzo.ai and to nobody else. A marketplace's traffic is not a thing
to hand to a third party, so no tag manager and no vendor script.

The provider wraps the client tree at the root, which is what makes every route
counted from one place. It sits outside the dynamically loaded wallet and
account providers on purpose: that chunk carries wagmi, IAM and the gui engine,
and a visitor whose wallet never arrives is exactly the visitor worth hearing
about. The provider counts the first load and usePageview counts every
navigation after it, so a single-page app stops looking like one visit that
never moves.

The ingest key is publishable — it attributes a write and can read nothing, so
it belongs in the bundle the way a public address does. An env override lets a
deploy swap it; the literal is what makes the site report today, since the
image is built with no arguments.

Co-authored-by: Hanzo Dev <[email protected]>
2026-08-13 11:49:15 -07:00

44 lines
1.2 KiB
JSON

{
"name": "@luxfi/market",
"version": "1.0.3",
"description": "Lux NFT Marketplace - Genesis NFTs, trading, and NFT AMM",
"private": true,
"license": "GPL-3.0-or-later",
"scripts": {
"dev": "next dev --port 3100",
"build": "next build",
"start": "next start --port 3100",
"typecheck": "tsc --noEmit",
"lint": "next lint"
},
"dependencies": {
"@hanzo/event": "^0.3.21",
"@hanzo/gui": "^7.3.0",
"@hanzo/iam": "^0.13.8",
"@luxfi/ui": "7.4.10",
"@radix-ui/react-dialog": "^1.1.0",
"@radix-ui/react-dropdown-menu": "^2.1.0",
"@radix-ui/react-slot": "^1.1.0",
"@tanstack/react-query": "5.77.2",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.0",
"next": "15.5.22",
"next-themes": "^0.4.0",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"react-native-web": "^0.21.0",
"tailwind-merge": "^2.3.0",
"viem": "2.43.3",
"wagmi": "2.15.5"
},
"devDependencies": {
"@tailwindcss/postcss": "^4.2.1",
"@types/node": "22.13.1",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"tailwindcss": "4.1.18",
"typescript": "^7.0.2"
},
"packageManager": "[email protected]"
}