stack/examples/demo/src
Bilal Godil 8e5bd9a575 fix(demo): align payments-demo with its own hexclave.config.ts catalog
The payments-demo page and API routes referenced the internal project's
plan catalog (emails_per_month, products team/growth, PLAN_LIMITS/resolvePlanId)
from @hexclave/shared/plans. But the demo runs against a development-environment
project provisioned from examples/demo/hexclave.config.ts, which declares a
different catalog: items api_calls/seats and products pro/team_pro/extra_seats.

As a result team.useItem("emails_per_month") threw ItemNotFound and crashed
the whole payments-demo page. Switch the demo to its own catalog:
- useItem("seats") + seat-based metrics instead of email-quota metrics
- buy team_pro / extra_seats instead of team / growth
- a local resolveTeamPlan() instead of resolvePlanId()/PLAN_LIMITS
- update create-checkout-url + config-check routes to match
2026-06-23 12:20:44 -07:00
..
app fix(demo): align payments-demo with its own hexclave.config.ts catalog 2026-06-23 12:20:44 -07:00
components feat(hexclave): PR 3 — native @hexclave/* source rename + delete dual-publish wiring (#1482) 2026-05-29 15:21:59 -07:00
hexclave.tsx feat(hexclave): PR 5 — internal symbol/path/package renames + brand strings (#1547) 2026-06-03 18:57:09 -07:00