managarten/packages/shared-credit-ui/package.json
Till-JS 8cd5021b50 🐛 fix(mana-core-auth): use BASE_URL as JWT issuer for OIDC compatibility
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
2026-02-01 13:55:05 +01:00

51 lines
1.1 KiB
JSON

{
"name": "@manacore/shared-credit-ui",
"version": "1.0.0",
"private": true,
"description": "Credit system UI components for web (Svelte) and mobile (React Native)",
"exports": {
".": {
"types": "./src/web/index.ts",
"svelte": "./src/web/index.ts",
"default": "./src/web/index.ts"
},
"./web": {
"types": "./src/web/index.ts",
"svelte": "./src/web/index.ts",
"default": "./src/web/index.ts"
},
"./mobile": {
"types": "./src/mobile/index.ts",
"default": "./src/mobile/index.ts"
}
},
"scripts": {
"type-check": "svelte-check --tsconfig ./tsconfig.json"
},
"dependencies": {
"@manacore/credit-operations": "workspace:*"
},
"peerDependencies": {
"svelte": "^5.0.0",
"react": "^18.0.0",
"react-native": "^0.74.0 || ^0.75.0 || ^0.76.0 || ^0.77.0 || ^0.78.0 || ^0.79.0 || ^0.80.0 || ^0.81.0"
},
"peerDependenciesMeta": {
"svelte": {
"optional": true
},
"react": {
"optional": true
},
"react-native": {
"optional": true
}
},
"devDependencies": {
"@types/react": "^18.0.0",
"@types/react-native": "^0.73.0",
"svelte": "^5.0.0",
"svelte-check": "^4.0.0",
"typescript": "^5.0.0"
}
}