mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-22 08:06:42 +02:00
OIDC providers like Synapse expect the JWT issuer claim to match the discovery document's issuer URL. Changed JWT plugin config from JWT_ISSUER to BASE_URL to ensure consistency. Also adds: - @manacore/credit-operations package with operation definitions - @manacore/shared-credit-ui package with React Native and Svelte components - CreditInterceptor and @UseCredits decorator in nestjs-integration - Credit system integration in chat backend
20 lines
534 B
TypeScript
20 lines
534 B
TypeScript
/**
|
|
* Credit UI components for web (Svelte 5)
|
|
*/
|
|
|
|
export { default as CreditBalance } from './CreditBalance.svelte';
|
|
export { default as CreditToast } from './CreditToast.svelte';
|
|
export { default as CreditPricingTable } from './CreditPricingTable.svelte';
|
|
|
|
// Re-export useful functions from credit-operations
|
|
export {
|
|
formatCreditCost,
|
|
getCreditCost,
|
|
getOperationMetadata,
|
|
getPricingTable,
|
|
isFreeOperation,
|
|
isMicroCreditOperation,
|
|
isAiOperation,
|
|
CreditOperationType,
|
|
CreditCategory,
|
|
} from '@manacore/credit-operations';
|