stack/examples
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
..
cjs-test chore: update package versions 2026-06-23 18:48:44 +00:00
convex chore: update package versions 2026-06-23 18:48:44 +00:00
demo fix(demo): align payments-demo with its own hexclave.config.ts catalog 2026-06-23 12:20:44 -07:00
docs-examples chore: update package versions 2026-06-23 18:48:44 +00:00
e-commerce chore: update package versions 2026-06-23 18:48:44 +00:00
js-example chore: update package versions 2026-06-23 18:48:44 +00:00
lovable-react-18-example chore: update package versions 2026-06-23 18:48:44 +00:00
middleware chore: update package versions 2026-06-23 18:48:44 +00:00
react-example chore: update package versions 2026-06-23 18:48:44 +00:00
supabase chore: update package versions 2026-06-23 18:48:44 +00:00
tanstack-start-demo chore: update package versions 2026-06-23 18:48:44 +00:00