managarten/packages/shared-hono
Till JS 3fca0de680 feat(shared-hono): add credit client for Hono backends
Add credits.ts to @manacore/shared-hono as replacement for
CreditClientService from @mana-core/nestjs-integration.

Exports: getBalance, validateCredits, consumeCredits, refundCredits
Calls mana-credits service via MANA_CREDITS_URL + X-Service-Key.

Same API surface as the NestJS version but as pure functions
instead of an @Injectable() service class.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 10:13:34 +01:00
..
src feat(shared-hono): add credit client for Hono backends 2026-03-28 10:13:34 +01:00
package.json feat(shared-hono): add credit client for Hono backends 2026-03-28 10:13:34 +01:00
tsconfig.json refactor(infra): remove zitare + clock NestJS backends, add shared-hono package 2026-03-27 22:43:46 +01:00