Skip to content

Add billing catalog control plane#1

Merged
kaustubhkagrawal merged 10 commits into
mainfrom
feat/catalog-control-plane
Apr 30, 2026
Merged

Add billing catalog control plane#1
kaustubhkagrawal merged 10 commits into
mainfrom
feat/catalog-control-plane

Conversation

@kaustubhkagrawal

Copy link
Copy Markdown
Owner

Summary

  • add defineBillingCatalog and better-auth-openmeter-plugin/catalog
  • validate app-owned meters, features, plans, prices, and provider ids
  • compile catalog plans to OpenMeter entitlement plans
  • compile provider-neutral product/price setup data for Stripe, Polar, Razorpay, Creem, Dodo, Autumn, and custom providers
  • let the billing adapter map event.plan through a catalog or run in entitlementMode: "none" for managed catalog/subscription systems
  • document the catalog setup workflow and bump the package to 0.3.0

Verification

  • npm run typecheck
  • npm test
  • npm run build && npm pack --dry-run
  • import smoke check for ./dist/catalog/index.js, ./dist/adapters/billing.js, and root ./dist/index.js

@kaustubhkagrawal kaustubhkagrawal merged commit e174da1 into main Apr 30, 2026
1 check passed
@kaustubhkagrawal kaustubhkagrawal deleted the feat/catalog-control-plane branch April 30, 2026 06:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant